:root {
  color-scheme: dark;
  --bg: #0a1010;
  --surface: #101818;
  --surface-2: #151f1e;
  --line: #25312e;
  --text: #edf3ed;
  --muted: #95a69e;
  --dim: #778a80;
  --green: #b4f589;
  --emerald: #64d5a5;
  --red: #f58e86;
  --amber: #ecc37b;
  --radius: 16px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 19px;
  font-weight: 540;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 550;
}
.fine {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.fine a {
  color: var(--green);
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -60px;
  background: var(--green);
  color: var(--bg);
  z-index: 100;
  padding: 10px;
}
.skip-link:focus {
  top: 12px;
}
.shell {
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  padding: 30px 18px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  background: #0c1312;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-size: 19px;
  font-weight: 690;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.brand-mark {
  background: var(--green);
  color: #132111;
  width: 31px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  transform: rotate(-5deg);
}
.brand-mark svg {
  width: 24px;
  height: 24px;
}
.brand-light {
  font-weight: 440;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.6px;
  color: var(--dim);
  margin-top: 7px;
}
.space-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 9px;
  margin: 33px 0 30px;
  font-size: 11px;
  font-weight: 540;
}
.space-switch small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
  max-width: 144px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-avatar {
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background: #28342b;
  display: grid;
  place-items: center;
  color: var(--green);
}
.chevron {
  margin-left: auto;
  color: var(--muted);
}
.nav-label,
.section-eyebrow {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
}
.nav-label {
  padding-left: 12px;
  margin-bottom: 13px;
}
.primary-nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  background: none;
  padding: 11px 12px;
  text-align: left;
  color: #99aaa0;
  border-radius: 7px;
  font-size: 12px;
}
.nav-item:hover {
  background: #151f1b;
  color: var(--text);
}
.nav-item.active {
  background: #1c2b20;
  color: var(--green);
}
.nav-item svg {
  width: 17px;
  height: 17px;
}
.nav-count {
  margin-left: auto;
  font-size: 9px;
  background: #26372b;
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--green);
}
.tiny-tag {
  font-size: 8px;
  margin-left: auto;
  border: 1px solid var(--line);
  padding: 1px 4px;
  border-radius: 3px;
}
.sidebar-watch {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 20px 10px;
}
.sidebar-watch .section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.watchlist-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.watch-chip {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #18211c;
  padding: 5px 7px;
  letter-spacing: 0.3px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 16px 4px 0;
}
.source-pulse {
  display: flex;
  gap: 8px;
  font-size: 10px;
  align-items: center;
  padding: 18px 5px;
  color: #b2c2b4;
}
.source-pulse small {
  display: block;
  color: var(--dim);
  font-size: 9px;
  margin-top: 4px;
}
.status-dot {
  height: 6px;
  width: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 9px #64d5a533;
  display: inline-block;
}
.account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 18px 4px 0;
  font-size: 10px;
}
.account-link small {
  display: block;
  color: var(--dim);
  font-size: 9px;
  margin-top: 3px;
}
.user-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #24312b;
  border-radius: 50%;
  color: var(--green);
  font-size: 17px;
}
.main-shell {
  margin-left: 238px;
}
.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--dim);
}
.breadcrumbs strong {
  font-weight: 450;
  color: #ccd9ce;
}
.slash {
  opacity: 0.4;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 11px;
}
.search-trigger svg {
  width: 15px;
  height: 15px;
}
kbd {
  font: 9px var(--font);
  border: 1px solid #334036;
  background: #172019;
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--muted);
}
.search-trigger kbd {
  margin-left: 40px;
}
.mode-pill {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--green);
  border: 1px solid #2e4730;
  background: #172219;
  padding: 5px 8px;
  border-radius: 4px;
}
.mode-pill.demo {
  color: var(--amber);
  background: #30281b;
  border-color: #625332;
}
.icon-button {
  border: 0;
  background: none;
  padding: 4px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.icon-button:hover {
  color: var(--green);
  background: #1b291f;
}
.mobile-only {
  display: none;
}
main {
  padding: 32px 38px 0;
  max-width: 1780px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 9px 0 30px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 550;
  color: var(--emerald);
  letter-spacing: 2px;
  margin-bottom: 9px;
}
h1 {
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 480;
  letter-spacing: -1.6px;
  line-height: 1.18;
}
.page-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 7px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  white-space: nowrap;
}
.button svg {
  width: 15px;
  height: 15px;
}
.button-primary {
  background: var(--green);
  border-color: var(--green);
  color: #17200f;
}
.button-primary:hover,
.button-light:hover {
  background: #cbffab;
}
.button-quiet:hover {
  border-color: #5a725a;
  background: #1b271e;
}
.button-light {
  background: #d2f6b9;
  color: #203014;
  border-color: transparent;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font-size: 10px;
  color: var(--muted);
  padding: 4px 0;
}
.text-button:hover {
  color: var(--green);
}
.text-button svg {
  width: 13px;
  height: 13px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.metric-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, #14201a, var(--surface));
  min-height: 123px;
  position: relative;
  overflow: hidden;
}
.metric-top {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.metric-top svg {
  width: 13px;
  height: 13px;
  color: #8b9b8c;
}
.metric-value {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 450;
  margin: 13px 0 7px;
  font-variant-numeric: tabular-nums;
}
.metric-note {
  font-size: 9px;
  color: var(--dim);
}
.metric-note .positive {
  color: var(--green);
}
.metric-mini {
  position: absolute;
  right: 15px;
  bottom: 24px;
  width: 62px;
  height: 35px;
  opacity: 0.8;
}
.metric-spark {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.3;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(265px, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 23px 16px;
}
.panel-heading .section-eyebrow {
  font-size: 8px;
  margin-bottom: 5px;
  letter-spacing: 1.5px;
}
.panel-heading h2 {
  font-size: 17px;
}
.world-panel {
  background: radial-gradient(
    ellipse at 55% 55%,
    #192a20 0,
    #0e1915 60%,
    #101818 100%
  );
}
.map-stage {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}
.world-map {
  width: 100%;
  height: auto;
  display: block;
  stroke-width: 0.45;
  aspect-ratio: 2/1;
  max-height: 370px;
}
.map-land {
  fill: #2a3b2e;
  stroke: #567449;
  opacity: 0.75;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#7097650a 1px, transparent 1px),
    linear-gradient(90deg, #7097650a 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse, #000, transparent 80%);
  pointer-events: none;
}
.map-points .event-pin {
  cursor: pointer;
  stroke: var(--green);
  fill: var(--green);
}
.map-points .event-pin:hover {
  fill: white;
  stroke: white;
}
.map-points .pin-halo {
  stroke: var(--green);
  fill: #b4f58910;
  stroke-width: 1;
}
.map-points text {
  stroke: none;
  fill: #c3d8b9;
  font-size: 8px;
  pointer-events: none;
}
.map-empty {
  position: absolute;
  bottom: 43px;
  left: 20px;
  right: 20px;
  font-size: 10px;
  color: #a6b5a1;
  text-align: center;
}
.map-legend {
  display: flex;
  gap: 15px;
  position: absolute;
  bottom: 10px;
  left: 23px;
  font-size: 8px;
  color: var(--muted);
}
.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.green {
  background: var(--green);
}
.amber {
  background: var(--amber);
}
.map-credit {
  position: absolute;
  bottom: 10px;
  right: 20px;
  color: #739079;
  font-size: 7px;
}
.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #27382a;
  padding: 13px 22px;
  color: #93aa95;
  font-size: 9px;
  background: #111d1677;
}
.subtle-pill {
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 8px;
  color: var(--muted);
  padding: 3px 6px;
  white-space: nowrap;
}
.exposure-ring-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 13px 0 19px;
  position: relative;
}
.exposure-ring {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: conic-gradient(#314838 0deg, #243126 360deg);
  position: relative;
  display: grid;
  place-items: center;
}
.exposure-ring:after {
  content: "";
  position: absolute;
  inset: 20px;
  background: var(--surface);
  border-radius: 50%;
}
.ring-label {
  position: relative;
  z-index: 1;
  text-align: center;
}
.ring-label strong {
  display: block;
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -1px;
}
.ring-label span {
  font-size: 9px;
  color: var(--muted);
}
.exposure-legend {
  padding: 0 23px 17px;
  display: grid;
  gap: 9px;
}
.exposure-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.exposure-row b {
  color: var(--text);
  font-weight: 450;
  margin-left: auto;
}
.exposure-color {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.panel-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  padding: 14px 23px;
  font-size: 10px;
  color: var(--muted);
}
.panel-link:hover {
  color: var(--green);
  background: #18231c;
}
.panel-link svg {
  width: 13px;
  height: 13px;
}
.exposure-panel {
  display: flex;
  flex-direction: column;
}
.exposure-panel .panel-link {
  margin-top: auto;
}
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(265px, 1fr);
  gap: 20px;
}
.filter-tabs {
  display: flex;
  gap: 5px;
  padding: 0 23px 15px;
  flex-wrap: wrap;
}
.filter {
  padding: 5px 9px;
  color: var(--muted);
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 9px;
}
.filter.active {
  background: #27382c;
  border-color: #3b4c34;
  color: var(--green);
}
.filter:hover {
  color: var(--green);
}
.event-row {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 16px;
  align-items: start;
  gap: 11px;
  padding: 19px 23px;
  border-top: 1px solid var(--line);
  text-align: left;
  width: 100%;
  background: transparent;
  color: inherit;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.event-row:hover {
  background: #16231b;
}
.event-icon {
  width: 33px;
  height: 33px;
  background: #233424;
  display: grid;
  place-items: center;
  border: 1px solid #304635;
  border-radius: 8px;
  color: var(--green);
}
.event-icon.natural {
  color: var(--amber);
  background: #2e2b20;
  border-color: #463d2a;
}
.event-icon svg {
  width: 17px;
  height: 17px;
}
.event-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 5px;
}
.event-kicker .category {
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.event-title {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 510;
  letter-spacing: -0.1px;
}
.event-meta {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.event-meta .tag {
  font-size: 8px;
  background: #223426;
  border: 1px solid #345039;
  color: #accb9d;
  padding: 1px 5px;
  border-radius: 3px;
}
.event-row > .row-arrow {
  color: var(--dim);
  font-size: 15px;
  margin-top: 18px;
}
.right-stack {
  display: grid;
  gap: 20px;
  align-content: start;
}
.market-panel .panel-heading {
  padding-bottom: 10px;
}
.mood-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0 23px;
}
.mood-value {
  font-size: 32px;
  font-weight: 450;
  letter-spacing: -1px;
}
.mood-name {
  font-size: 10px;
  color: var(--green);
  margin-left: auto;
}
.mood-scale {
  margin: 16px 23px 8px;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(
    90deg,
    #b26855,
    #c19c61,
    #b4c77c,
    #89c487,
    #6caa73
  );
  position: relative;
}
.mood-needle {
  height: 12px;
  width: 3px;
  background: white;
  position: absolute;
  top: -3px;
  border-radius: 2px;
  box-shadow: 0 0 0 2px #101818;
}
.scale-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 23px;
  font-size: 8px;
  color: var(--dim);
}
.market-date {
  padding: 15px 23px 20px;
  font-size: 8px;
  color: var(--dim);
}
.agent-teaser {
  border: 1px solid #35452d;
  border-radius: var(--radius);
  padding: 23px;
  background: radial-gradient(at 100% 0%, #263623, #17241a);
  position: relative;
  overflow: hidden;
}
.agent-teaser .section-eyebrow {
  font-size: 7px;
  color: #a9c29c;
  margin: 3px 0 13px;
  letter-spacing: 1.2px;
}
.agent-teaser h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  position: relative;
}
.agent-teaser p:not(.section-eyebrow) {
  font-size: 10px;
  color: #9fb19a;
  margin: 11px 0 19px;
  max-width: 240px;
}
.agent-teaser .button {
  font-size: 10px;
  padding: 8px 11px;
}
.agent-orbit {
  position: absolute;
  right: 18px;
  top: 45px;
  opacity: 0.17;
  transform: rotate(-15deg);
}
.agent-orbit svg {
  width: 65px;
  height: 65px;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--dim);
}
.workspace-footer div {
  display: flex;
  gap: 20px;
}
.workspace-footer a:hover {
  color: var(--green);
}
.footer-dot {
  margin: 0 6px;
}
.notice,
.demo-banner {
  border: 1px solid #584c2f;
  background: #292519;
  border-radius: 8px;
  font-size: 11px;
  color: #ddcc9d;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.demo-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.demo-banner button {
  border: 0;
  background: none;
  font-size: 10px;
  color: #eee0ba;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty-state {
  padding: 28px 24px;
  color: var(--muted);
  text-align: center;
}
.empty-state h3 {
  color: var(--text);
  font-size: 14px;
  font-weight: 480;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 11px;
  max-width: 330px;
  margin: 0 auto 15px;
  line-height: 1.8;
}
.empty-symbol {
  width: 40px;
  height: 40px;
  background: #203025;
  border: 1px solid #344735;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  color: var(--green);
}
.empty-exposure {
  padding-top: 30px;
  padding-bottom: 28px;
}
.view-panel {
  animation: arrive 0.25s ease-out;
}
.full-map {
  background: radial-gradient(at 50% 50%, #203222, var(--surface));
}
.full-map .map-stage {
  max-height: 440px;
}
.full-map .world-map {
  max-height: 440px;
}
.world-feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  margin-bottom: 10px;
}
.world-feed-toolbar .filter-tabs {
  padding: 0;
}
.inline-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 6px 10px;
}
.inline-search svg {
  width: 14px;
  height: 14px;
  color: var(--dim);
}
.inline-search input {
  color: var(--text);
  border: 0;
  background: none;
  font-size: 11px;
  outline: none;
  min-width: 0;
}
.expanded-feed {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.expanded-feed .event-row:first-child {
  border-top: 0;
}
.section-intro {
  margin: 27px 0 20px;
}
.section-intro h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}
.section-intro p {
  color: var(--muted);
  font-size: 12px;
  max-width: 650px;
  margin-top: 8px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.source-card {
  padding: 22px;
}
.source-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.source-monogram {
  height: 39px;
  width: 39px;
  display: grid;
  place-items: center;
  background: #29372a;
  border: 1px solid #415238;
  border-radius: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 550;
}
.source-card-header h3 {
  font-size: 14px;
}
.source-card-header .fine {
  font-size: 10px;
}
.source-card-header .subtle-pill {
  margin-left: auto;
}
.source-description {
  font-size: 11px;
  color: var(--muted);
  min-height: 40px;
}
.source-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 15px;
  gap: 10px;
}
.source-facts dt {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--dim);
}
.source-facts dd {
  font-size: 10px;
  margin: 4px 0 0;
  color: var(--text);
}
.source-card .text-button {
  margin-top: 12px;
}
.broker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.broker-card {
  padding: 22px;
}
.broker-card h3 {
  margin: 12px 0 7px;
}
.broker-card p {
  font-size: 11px;
  color: var(--muted);
  min-height: 50px;
}
.broker-card .button {
  margin-top: 17px;
  font-size: 10px;
}
.broker-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  height: 39px;
  display: flex;
  align-items: center;
  color: var(--green);
}
.broker-logo.webull {
  color: #64d5a5;
}
.broker-logo.robinhood {
  color: #c4e377;
}
.broker-logo.tastytrade {
  color: #f37f81;
}
.broker-logo.ibkr {
  color: #ef9c8f;
}
.agent-hero {
  border: 1px solid #334a32;
  background: radial-gradient(at 95% 50%, #334b29, #15231a 65%);
  border-radius: 16px;
  padding: 38px 35px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.agent-hero h2 {
  font-size: 34px;
  line-height: 1.23;
  letter-spacing: -1px;
}
.agent-hero p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #a5b7a1;
  max-width: 520px;
  margin: 18px 0;
}
.agent-large-icon {
  display: grid;
  place-items: center;
  min-width: 180px;
  opacity: 0.8;
}
.agent-large-icon svg {
  width: 115px;
  height: 115px;
  color: var(--green);
  stroke-width: 0.6;
}
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-row span {
  font-size: 9px;
  border: 1px solid #41583a;
  background: #273823;
  padding: 5px 8px;
  border-radius: 5px;
  color: #bbd3af;
}
.agent-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin: 22px 0;
}
.code-panel pre {
  padding: 20px;
  margin: 0 23px 15px;
  background: #0b1310;
  border: 1px solid var(--line);
  border-radius: 8px;
  font:
    10px/1.8 ui-monospace,
    monospace;
  overflow: auto;
  color: #afd097;
}
.code-panel > .fine {
  padding: 0 23px 22px;
}
.prompt-list {
  display: grid;
  padding: 0 23px 22px;
  gap: 10px;
}
.prompt-list button {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #15201a;
  padding: 14px;
  font-size: 11px;
  color: #b7cbb1;
}
.prompt-list button:hover {
  border-color: var(--green);
}
.agent-privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 23px;
  margin-bottom: 24px;
}
.agent-privacy p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 600px;
}
.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 14px;
  gap: 12px;
}
.portfolio-toolbar div {
  display: flex;
  gap: 8px;
}
.account-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.account-card {
  padding: 21px;
}
.account-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.account-card h3 {
  font-size: 13px;
}
.account-card .account-total {
  font-size: 26px;
  font-weight: 450;
  letter-spacing: -0.7px;
  margin: 17px 0 7px;
}
.account-card .fine {
  font-size: 9px;
}
.account-card .account-actions {
  display: flex;
  gap: 15px;
  margin-top: 13px;
}
.danger {
  color: var(--red);
}
.table-wrap {
  overflow: auto;
}
.holdings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.holdings-table th {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.holdings-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.holdings-table tr:last-child td {
  border: 0;
}
.holdings-table td small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.holdings-table .symbol-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-icon {
  height: 30px;
  width: 30px;
  border-radius: 8px;
  background: #26382b;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #b7d8a8;
}
.holdings-table .number {
  text-align: right;
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.coverage-note {
  padding: 15px 22px;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
dialog {
  background: #121d17;
  color: var(--text);
  border: 1px solid #3b4d38;
  border-radius: 15px;
  padding: 26px;
  width: min(610px, calc(100vw - 32px));
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 35px 140px #0009;
}
dialog::backdrop {
  background: #020906b9;
  backdrop-filter: blur(6px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 17px;
  margin-bottom: 18px;
}
.dialog-top h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.7px;
}
.dialog-top .icon-button {
  margin-top: 1px;
}
.dialog-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}
.dialog-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 18px;
}
.connect-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  background: #19271c;
  border: 1px solid #304631;
  border-radius: 9px;
  margin-top: 10px;
  text-align: left;
}
.connect-option:hover {
  border-color: #7da367;
}
.connect-option strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.connect-option small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.connect-option .option-arrow {
  margin-left: auto;
}
.connect-option svg {
  color: var(--green);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 15px;
}
label {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
label input,
label select,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #344532;
  background: #0d1711;
  border-radius: 6px;
  padding: 10px;
  color: var(--text);
  font-size: 12px;
}
textarea {
  resize: vertical;
  font:
    10px/1.5 ui-monospace,
    monospace;
}
.upload-area {
  border: 1px dashed #526c47;
  background: #19271a;
  border-radius: 9px;
  padding: 22px;
  text-align: center;
  margin: 17px 0;
}
.upload-area > svg {
  height: 28px;
  width: 28px;
  color: var(--green);
  margin-bottom: 6px;
}
.upload-area h3 {
  font-size: 14px;
}
.upload-area p {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0 15px;
}
.upload-area input {
  max-width: 100%;
  font-size: 10px;
}
.upload-area .text-button {
  display: block;
  margin: 13px auto 0;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.detail-dialog {
  width: min(620px, calc(100vw - 32px));
}
.detail-title {
  font-size: 27px;
  font-weight: 470;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin: 18px 0;
}
.detail-summary {
  font-size: 13px;
  color: #b7c8b4;
  line-height: 1.9;
  margin-bottom: 20px;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 24px;
}
.detail-facts dt {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.detail-facts dd {
  margin: 5px 0 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.detail-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  border-left: 2px solid #648858;
  padding: 10px 14px;
  background: #1a291c;
  margin: 18px 0;
}
.detail-data {
  background: #0c1610;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 15px;
  font:
    10px/1.7 ui-monospace,
    monospace;
  overflow: auto;
  max-height: 260px;
}
.search-dialog {
  padding: 0;
  max-width: 640px;
}
.command-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.command-input input {
  margin: 0;
  border: 0;
  background: none;
  padding: 3px;
  outline: none;
  font-size: 13px;
}
.command-input svg {
  color: var(--green);
}
#search-results {
  padding: 10px;
  max-height: 380px;
  overflow: auto;
}
.search-result {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 12px;
  color: var(--text);
  border-radius: 5px;
  font-size: 12px;
}
.search-result:hover {
  background: #253729;
}
.search-result small {
  color: var(--muted);
  margin-left: auto;
  font-size: 9px;
}
.search-result svg {
  color: var(--green);
  width: 15px;
  height: 15px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #d0edb9;
  color: #182510;
  border: 1px solid #a2c188;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12px;
  box-shadow: 0 10px 40px #0008;
  max-width: calc(100vw - 30px);
}
.toast.error {
  background: #f0c8b7;
  color: #421c18;
}
.preview-summary {
  margin-top: 15px;
  padding: 15px;
  background: #21321f;
  border: 1px solid #405b37;
  border-radius: 8px;
  font-size: 11px;
}
.preview-summary strong {
  color: var(--green);
}
.preview-summary ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.busy svg {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  main {
    padding-left: 48px;
    padding-right: 48px;
  }
  .metric-card {
    min-height: 143px;
  }
  .metric-value {
    font-size: 33px;
  }
  .map-stage {
    min-height: 330px;
  }
  .event-row {
    padding-top: 23px;
    padding-bottom: 23px;
  }
  .event-title {
    font-size: 14px;
  }
  .panel-heading h2 {
    font-size: 20px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 208px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-shell {
    margin-left: 208px;
  }
  .topbar {
    padding: 0 24px;
  }
  main {
    padding: 24px 24px 0;
  }
  .overview-grid,
  .lower-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
    gap: 15px;
  }
  .panel-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .metric-card {
    padding: 15px;
  }
  .metric-value {
    font-size: 24px;
  }
  .page-heading {
    gap: 15px;
  }
  .heading-actions .button {
    font-size: 10px;
    padding: 10px;
  }
  .search-trigger kbd {
    margin-left: 15px;
  }
  .metrics-grid {
    gap: 10px;
  }
  .map-stage {
    min-height: 250px;
  }
  .broker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agent-grid {
    grid-template-columns: 1fr;
  }
  .agent-hero h2 {
    font-size: 29px;
  }
}
@media (max-width: 1000px) {
  .overview-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .exposure-panel #exposure-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
  }
  .exposure-legend {
    min-width: 180px;
    padding-top: 10px;
  }
  .right-stack {
    grid-template-columns: 1fr 1fr;
  }
  .map-stage {
    min-height: 260px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .heading-actions {
    width: 100%;
  }
  .metric-card {
    min-height: 112px;
  }
  .agent-large-icon {
    min-width: 100px;
  }
  .agent-large-icon svg {
    width: 85px;
    height: 85px;
  }
  .account-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-trigger span {
    display: none;
  }
  .search-trigger kbd {
    margin-left: 0;
  }
  .top-actions {
    gap: 10px;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 238px;
    box-shadow: 20px 0 70px #0008;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-shell {
    margin-left: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 18px;
  }
  .mobile-only {
    display: flex;
  }
  .breadcrumbs {
    font-size: 10px;
    gap: 8px;
  }
  .mode-pill {
    font-size: 7px;
  }
  .top-actions {
    gap: 8px;
  }
  main {
    padding: 24px 18px 0;
  }
  .page-heading {
    margin: 3px 0 23px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-subtitle {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .heading-actions .button {
    padding: 10px 13px;
  }
  .metrics-grid {
    gap: 10px;
    margin-bottom: 16px;
  }
  .metric-card {
    padding: 15px 13px;
    min-height: 112px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric-top {
    font-size: 9px;
  }
  .metric-note {
    font-size: 8px;
  }
  .metric-mini {
    display: none;
  }
  .overview-grid,
  .lower-grid {
    gap: 16px;
    margin-bottom: 16px;
  }
  .right-stack {
    grid-template-columns: 1fr;
  }
  .panel-heading {
    padding: 19px 18px 14px;
  }
  .panel-heading h2 {
    font-size: 17px;
  }
  .panel-heading .text-button {
    font-size: 9px;
  }
  .map-stage {
    min-height: 200px;
  }
  .map-credit {
    font-size: 6px;
    right: 10px;
    bottom: 10px;
  }
  .map-legend {
    font-size: 7px;
    left: 13px;
    gap: 8px;
  }
  .map-footer {
    padding: 12px 15px;
    font-size: 8px;
  }
  .map-empty {
    bottom: 33px;
    font-size: 9px;
  }
  .filter-tabs {
    padding-left: 18px;
    padding-right: 18px;
  }
  .event-row {
    padding: 17px 18px;
    grid-template-columns: 29px minmax(0, 1fr) 12px;
    gap: 9px;
  }
  .event-icon {
    width: 28px;
    height: 28px;
  }
  .event-title {
    font-size: 12px;
  }
  .event-kicker {
    font-size: 7px;
  }
  .event-meta {
    font-size: 8px;
  }
  .exposure-ring {
    width: 135px;
    height: 135px;
  }
  .exposure-legend {
    padding-left: 5px;
    padding-right: 16px;
    min-width: 155px;
  }
  .exposure-panel #exposure-content {
    gap: 5px;
    padding: 5px 10px;
  }
  .exposure-row {
    font-size: 9px;
  }
  .agent-teaser h2 {
    font-size: 25px;
  }
  .agent-teaser p:not(.section-eyebrow) {
    max-width: none;
  }
  .workspace-footer {
    align-items: start;
    flex-direction: column;
    margin-top: 23px;
    font-size: 8px;
    gap: 12px;
  }
  .workspace-footer div {
    gap: 16px;
  }
  .demo-banner {
    font-size: 10px;
    padding: 12px;
    align-items: start;
  }
  .demo-banner button {
    font-size: 9px;
    min-width: 100px;
  }
  .source-grid,
  .broker-grid,
  .agent-grid,
  .account-cards {
    grid-template-columns: 1fr;
  }
  .agent-hero {
    padding: 26px 22px;
  }
  .agent-hero h2 {
    font-size: 27px;
  }
  .agent-large-icon {
    display: none;
  }
  .agent-privacy {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .world-feed-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .inline-search {
    width: 100%;
  }
  .inline-search input {
    width: 100%;
  }
  .portfolio-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .section-intro h2 {
    font-size: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .dialog-top h2 {
    font-size: 21px;
  }
  dialog {
    padding: 20px;
  }
  .detail-title {
    font-size: 24px;
  }
  .detail-facts {
    gap: 14px;
  }
  .detail-facts dd {
    font-size: 11px;
  }
  .search-trigger kbd {
    display: none;
  }
  .holdings-table td,
  .holdings-table th {
    padding-left: 15px;
    padding-right: 15px;
  }
  .broker-card p {
    min-height: 0;
  }
  .source-description {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.price-summary {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 5px 24px 0;
}
.price-summary strong {
  font-size: 35px;
  letter-spacing: -1px;
  font-weight: 450;
}
.price-summary > span {
  font-size: 13px;
}
.price-summary small {
  font-size: 10px;
  color: var(--muted);
  margin-left: 5px;
}
.price-chart {
  width: 100%;
  height: auto;
  max-height: 360px;
  stroke-width: 1;
  display: block;
}
.price-chart text {
  fill: var(--muted);
  stroke: none;
  font: 10px var(--font);
}
.research-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.calendar-event {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 17px 22px;
  border-top: 1px solid var(--line);
}
.calendar-date {
  font-size: 10px;
  color: var(--green);
  min-width: 88px;
}
.calendar-event h3 {
  font-size: 12px;
}
.calendar-event p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.fine {
  font-size: 12px;
}
.section-eyebrow,
.panel-heading .section-eyebrow {
  font-size: 9px;
}
.metric-note {
  font-size: 10px;
}
.event-meta,
.event-kicker {
  font-size: 10px;
}
.map-legend {
  font-size: 9px;
}
.map-credit {
  font-size: 8px;
}
.source-facts dt {
  font-size: 9px;
}
.workspace-footer {
  font-size: 10px;
}
.connection-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; border-top:1px solid var(--line); }
.connection-row > div { min-width:0; }
.connection-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.connection-actions .text-button { padding:6px 0; }
.news-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.news-filters [aria-pressed="true"] { color:var(--lime, #b4f589); border-color:#70bd91; }
.development-card { display:block; padding:24px; margin-bottom:12px; color:inherit; text-decoration:none; }
.development-card h3 { font-size:19px; line-height:1.45; margin:10px 0; }
.news-story-link { color:inherit; text-decoration:none; }
.news-story-link:hover, .news-story-link:focus-visible { text-decoration:underline; }
.development-card:hover { border-color:#70bd91; }
.choice-row { display:flex; align-items:center; gap:12px; padding:12px 0; }
.choice-row input[type="checkbox"] { width:18px; height:18px; flex:0 0 18px; accent-color:#70bd91; }
.private-config { white-space:pre-wrap; overflow-wrap:anywhere; font-size:11px; padding:16px; background:#101b14; border-radius:10px; }
#private-agents-body { margin-bottom:24px; }
.strategy-counts { display:flex; flex-wrap:wrap; gap:20px; margin:20px 0; }
.strategy-counts strong { display:block; font-size:26px; }
.primary-nav { max-height:55vh; overflow-y:auto; }
@media (max-width:800px) { .development-card { padding:18px; } .connection-row { flex-wrap:wrap; } .primary-nav { max-height:60vh; } }
@media (max-width: 800px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
  .event-meta,
  .event-kicker {
    font-size: 9px;
  }
  .metric-note {
    font-size: 9px;
  }
  .map-legend {
    position: static;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin: 10px 16px 6px;
    font-size: 9px;
  }
  .map-credit {
    position: static;
    padding: 0 16px 10px;
    font-size: 8px;
  }
  .map-empty {
    bottom: 68px;
  }
}

#private-agents-body > .fine { padding:0 22px 16px; }
.briefing-summary { padding: 0 22px 12px; }
.briefing-topics { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 24px; }
.briefing-topics [aria-pressed="true"], [data-evidence-mode][aria-pressed="true"] { background:var(--green); color:#17200f; }
.briefing-topics button span { margin-left:7px; opacity:.7; }
.briefing-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.briefing-card { padding:24px; min-width:0; }
.briefing-card h3 { font-size:20px; line-height:1.35; margin:12px 0; overflow-wrap:anywhere; }
.briefing-card h3 a, .report-source a, .development-row { color:inherit; text-decoration:none; }
.briefing-card a:hover, .report-source a:hover { text-decoration:underline; }
.briefing-reason { color:var(--muted); font-size:13px; line-height:1.55; margin:14px 0; }
.report-sources { margin-top:18px; border-top:1px solid var(--line); padding-top:14px; }
.report-sources summary, .briefing-coverage summary, .world-observations > summary { cursor:pointer; font-weight:550; }
.report-source { padding:14px 0; border-bottom:1px solid var(--line); font-size:13px; overflow-wrap:anywhere; }
.briefing-coverage, .world-observations { padding:22px; margin:22px 0; }
.world-observations > summary { margin-bottom:16px; }
.world-observations > summary .fine { display:block; margin-top:6px; }
@media(max-width:800px) { .briefing-grid { grid-template-columns:1fr; } .briefing-card { padding:18px; } }
.strategy-summary-card { padding:22px; }
.configured-strategy-card { padding:22px; min-width:0; }
.configured-strategy-card h4 { margin:8px 0 12px; font-size:16px; font-weight:550; }
.configured-strategy-card > .fine { margin-top:10px; }

.schedule-details { color:var(--muted); font-size:11px; margin-top:8px; }
.schedule-details summary { cursor:pointer; }
/* Recorded run evidence has its own clock and stays separate from configuration. */
.execution-run { margin-top: 14px; padding: 18px; }
.execution-run > summary { display: flex; flex-wrap: wrap; gap: 8px 20px; cursor: pointer; }
.execution-run > summary strong { color: var(--text); }
.execution-run > summary span { color: var(--muted); font-size: .86rem; }
.execution-components { display: grid; gap: 10px; margin: 14px 0; }
.execution-component { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.execution-component h4 { margin: 0; }
.execution-component > .subtle-pill { align-self: start; }
.execution-history { margin-bottom: 18px; }
.execution-history > .fine { padding: 0 22px; }
.execution-counts { grid-column: 1 / -1; }
.execution-run .schedule-details p { overflow-wrap: anywhere; }
.execution-run > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (max-width: 600px) {
  .execution-run { padding: 14px; }
  .execution-component { grid-template-columns: minmax(0, 1fr); }
  .execution-component > .subtle-pill { justify-self: start; }
}
.schedule-stack { display: grid; gap: 20px; }
.earnings-watchlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.earnings-watchlist article { padding: 12px 0; border-bottom: 1px solid var(--line); }
.preview-attribution { padding: 0 16px 12px 54px; font-size: 12px; }
.preview-attribution summary { cursor: pointer; color: var(--muted); }

/* Environment names remain explicit without relying on badge color. */
.environment-badge { display:inline-block; padding:5px 8px; border:1px solid var(--line); border-radius:6px; font-size:11px; font-weight:650; line-height:1.4; white-space:normal; }
.environment-paper { border-color:#b79b59; }
.environment-badge.environment-paper, .environment-notice.environment-paper { background:#302a19; color:#f0d493; border-style:dashed; }
.environment-badge.environment-live { background:#163327; color:#b4e6c8; border-color:#4f8668; }
.environment-badge.environment-unknown, .environment-notice.environment-unknown { background:#252b30; color:#d8dfe5; border-style:dashed; }
.environment-badge.environment-demo, .environment-notice.environment-demo { background:#28243a; color:#ded1f3; }
.environment-notice { border:1px solid var(--line); border-radius:8px; padding:14px 16px; margin:0 0 18px; font-size:12px; line-height:1.6; }
.account-card.environment-paper { border-style:dashed; border-width:2px; }
.account-card-top { flex-wrap:wrap; }
.holdings-table .environment-badge { margin-top:6px; }
.alpaca-environments { border:1px solid var(--line); border-radius:8px; padding:12px 16px; margin:18px 0; }
.alpaca-environments legend { padding:0 5px; font-weight:650; }
.alpaca-environments .choice-row { align-items:flex-start; }
.alpaca-environments input { flex:0 0 auto; width:18px; height:18px; margin-top:3px; accent-color:#70bd91; }
