:root {
  --teal: #42ffdc;
  --cyan: #00d7c5;
  --glass: #061719;
  --edge: #2d625f;
  --background: #02090b;
}
body {
  background: radial-gradient(ellipse at 52% 19%, #073738 0, #031416 38%, var(--background) 72%);
  color: #e8faf7;
}
.terminal { max-width: 1500px; padding: 0 0 25px; }
.terminal main { padding: 0 4.8%; }
.terminal svg { stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; width: 24px; height: 24px; flex: none; }
.terminal-header {
  height: 66px; padding: 0 4%; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr;
  border-color: #295b5d; background: #040b0ee0;
  box-shadow: 0 2px 22px #00edd61f;
}
.terminal-header .brand { width: max-content; }
.brand-z { color: var(--teal); filter: drop-shadow(0 0 9px #06d3c7); }
.brand-z svg { width: 60px; height: 47px; stroke-width: 1.5; fill: #04e8bf88; }
.z-inner { fill: none; stroke: #e0fffa; }
.terminal .wordmark { font-size: 23px; font-style: italic; font-weight: 900; letter-spacing: -1px; }
.terminal .wordmark b { color: var(--teal); }
.terminal .wordmark small { letter-spacing: 7px; font-size: 8px; margin-top: 4px; }
.terminal-name {
  position: relative; padding: 5px 22px; color: #67f8d9;
  font-size: clamp(17px, 2.2vw, 29px); font-weight: 600;
  text-shadow: 0 0 22px #28f4ce66;
}
.terminal-name::before, .terminal-name::after {
  content: ''; position: absolute; inset: 0; width: 11px;
  border: 2px solid #53e9d3; border-radius: 5px; border-right: 0;
  box-shadow: -3px 0 12px #1bd5c878;
}
.terminal-name::after { left: auto; right: 0; transform: scaleX(-1); }
.terminal-header .top-actions { justify-content: flex-end; }
.terminal-badge, .mode, .phase-chip {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--edge);
  padding: 6px 12px; border-radius: 30px; background: #07251f;
  color: #7bffe0; font-size: 11px; white-space: nowrap;
}
.terminal-badge i, .mode::before, .phase-chip i {
  content: ''; width: 7px; height: 7px; border-radius: 100%; background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}
.command { margin: 0 -5.3%; position: relative; display: grid; grid-template-columns: 215px minmax(0,1fr); }
.command::before {
  content: ''; position: absolute; inset: 0; background: url(terrain.svg) center bottom / 100% 100% no-repeat;
  pointer-events: none; opacity: .9;
}
.side-nav {
  position: relative; padding: 28px 14px; align-self: start; display: grid; gap: 7px;
  border-right: 1px solid #32646870; border-bottom: 1px solid #32646850;
  background: linear-gradient(155deg,#040d11f2,#04212388);
  border-radius: 0 0 14px 0; z-index: 1;
}
.side-nav a {
  display: flex; align-items: center; gap: 11px; min-height: 46px;
  padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; font-size: 13px;
}
.side-nav a:first-child, .side-nav a:hover, .side-nav a:focus-visible {
  border-color: #3ac5b2; background: #06423568; box-shadow: inset 0 0 19px #20bda433;
}
.side-nav a:first-child svg, .side-nav a:hover svg { color: var(--teal); }
.side-nav svg { width: 21px; height: 21px; }
.scene { position: relative; text-align: center; min-width: 0; padding: 16px 4% 30px 2%; }
.mode { position: absolute; right: 4%; top: 17px; color: #d6fff8; font: 10px var(--mono); }
.reviewing .mode { border-color: #ab89ff; color: #d9c9ff; background: #211736; }
.reviewing .mode::before { background: #c5a6ff; box-shadow: 0 0 12px #a875ff; }
.scene-heading h1 {
  font-size: clamp(28px, 3.5vw, 51px); line-height: 1.05; font-weight: 850; font-style: italic;
  letter-spacing: .035em; text-shadow: 0 0 20px #38fbdd8a; color: #ecfffc;
}
.scene-heading p { font-size: 13px; color: #c6e5e2; margin-top: 5px; }
.scene-grid {
  position: relative; display: grid; grid-template-columns: minmax(160px,1fr) minmax(260px,1.45fr) minmax(160px,1fr);
  grid-template-rows: repeat(3, 1fr); height: 270px; gap: 8px 2%; align-items: center;
}
.orb-zone { grid-area: 1/2/4/3; height: 100%; position: relative; }
.orb-zone #core-orb { inset: -12% -13% auto; width: 126%; height: 110%; }
.orb-logo {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%,-50%); color: #7dfff3;
  filter: drop-shadow(0 0 9px #13ffe7) drop-shadow(0 0 24px #00b3ac);
}
.orb-logo svg { width: clamp(68px,8vw,104px); height: auto; stroke-width: 2; fill: #00e7d233; }
.beam {
  position: absolute; top: 8%; height: 88%; width: 4px; left: 50%; translate: -50% 0;
  background: linear-gradient(transparent,#47ffdb75,#89fff0,transparent);
  box-shadow: 0 0 25px 4px #18dfc735; animation: breathe 3s ease-in-out infinite alternate;
}
.plinth { position: absolute; bottom: 1%; left: 50%; translate: -50% 0; width: 86%; height: 35px; }
.plinth span {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid #31edca;
  box-shadow: inset 0 0 13px #00ffd65c, 0 0 20px #00ffd66b;
  transform: scaleY(.68); animation: breathe 3s ease-in-out infinite alternate;
}
.plinth span:nth-child(2) { inset: 2px 13%; animation-delay: -.9s; }
.plinth span:nth-child(3) { inset: 7px 25%; border-color: #d7fffa; animation-delay: -1.8s; }
@keyframes breathe { from { opacity: .55; } to { opacity: 1; } }
.module {
  min-width: 0; position: relative; z-index: 1; display: grid;
  grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; text-align: left;
  min-height: 42px; padding: 6px 11px; border-radius: 28px;
  background: linear-gradient(115deg,#093432,#07171bf0 38%,#081719);
  border: 1px solid #3b7b76; font-size: clamp(10px,1.05vw,14px);
}
.module:nth-child(-n+4) { grid-column: 1; }
.module:nth-child(n+5) { grid-column: 3; }
.module-0, .module-3 { grid-row: 1; align-self: end; }
.module-1, .module-4 { grid-row: 2; }
.module-2, .module-5 { grid-row: 3; align-self: start; }
.module::after {
  content: ''; position: absolute; z-index: -1; width: 19%; height: 1px;
  left: 100%; top: 50%; background: linear-gradient(90deg,#4beed4,transparent);
}
.module:nth-child(n+5)::after { left: auto; right: 100%; transform: scaleX(-1); }
.module svg { color: var(--teal); }
.module i { width: 13px; height: 13px; border: 1px solid #567879; border-radius: 50%; }
.module[data-state=active] {
  border-color: var(--teal); box-shadow: inset 0 0 18px #00ffd329, 0 0 15px #00ffd335;
}
.module[data-state=active] i { border-color: var(--teal) transparent var(--teal) var(--teal); animation: rotate 1s linear infinite; }
.module[data-state=done] i { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 11px #00ffce69; position: relative; }
.module[data-state=done] i::before { content: '✓'; position: absolute; color: #052a24; font: 800 10px/11px system-ui; inset: 0; text-align: center; }
.module[data-state=rejected] i { background: #ffc881; border-color: #ffc881; }
@keyframes rotate { to { transform: rotate(360deg); } }
.scene-status {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px; position: relative;
  color: #ebfffc; background: #031b1b; border: 1px solid #63ffeb;
  box-shadow: 0 0 22px #16f1d772, inset 0 0 18px #0cdbba50; border-radius: 28px;
  padding: 9px 24px; font-size: clamp(12px,1.6vw,21px); min-height: 43px; text-transform: uppercase;
}
.scene-status svg, .readouts svg, .sequence h2 svg, .trade-layout h2 svg { color: var(--teal); }
.terminal[data-phase=execution] .scene-status { border-color: #f4c87a; box-shadow: 0 0 24px #ffaf4e6a; }
.terminal[data-phase=loss] .scene-status { border-color: #ff9caa; box-shadow: 0 0 24px #fa6c9166; }
.readouts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; position: relative; }
.readouts article {
  display: flex; gap: clamp(10px,2vw,26px); align-items: center; padding: 12px clamp(12px,2vw,28px);
  background: linear-gradient(128deg,#082222,#040f12); border: 1px solid #34615b;
  box-shadow: inset 0 0 18px #18c7a312; border-radius: 13px; min-width: 0;
}
.readouts article svg { width: 30px; height: 30px; }
.readouts article span { display: block; color: #bad0cd; font-size: 12px; }
.readouts article strong { display: block; font-size: clamp(18px,2vw,27px); font-weight: 670; white-space: nowrap; }
.readouts .metric-value { letter-spacing: 0; }
.readouts article:nth-child(even) strong, .result-card > strong { color: var(--teal); }
.sequence, .terminal-card {
  position: relative; overflow: hidden; background: radial-gradient(ellipse at bottom,#09363465,transparent 70%), #041114;
  border: 1px solid var(--edge); border-radius: 17px;
}
.sequence { margin: 17px 0 12px; min-height: 169px; }
.sequence header, .trade-card header { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 19px; position: relative; z-index: 1; }
.sequence h2, .trade-layout h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 650; }
.sequence-tools { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #b2d9d2; }
#orb-market { padding: 5px 10px; border: 1px solid var(--edge); border-radius: 6px; }
#wave { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; }
.sequence-content { position: relative; display: flex; align-items: center; gap: 18px; padding: 0 22px 15px; }
.radar-scope {
  width: 102px; aspect-ratio: 1; flex: none; position: relative; border-radius: 50%; border: 1px solid #43e9cb;
  background: linear-gradient(transparent 49.5%,#35af9a66 50%,transparent 51%),linear-gradient(90deg,transparent 49.5%,#35af9a66 50%,transparent 51%),repeating-radial-gradient(circle,#2bc7a85c 0 1px,transparent 1px 13px);
  box-shadow: 0 0 20px #17ffce33; overflow: hidden;
}
.radar-scope i { position: absolute; inset: 0; background: conic-gradient(transparent 73%,#13f3c515 84%,#45ffe1c9 99%,#8affef); border-radius: 50%; animation: rotate 2.5s linear infinite; }
.radar-scope b { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #a7ffee; box-shadow: 0 0 9px 2px #3dffe5; animation: breathe 1.8s infinite alternate; left: 28%; top: 60%; }
.radar-scope b:nth-child(3) { left: 70%; top: 31%; animation-delay: -.8s; }
.radar-scope b:nth-child(4) { left: 65%; top: 65%; animation-delay: -.4s; }
.sequence .opportunity-card { flex: 1; min-height: 0; border: 0; background: none; padding: 0; }
.sequence .opportunity-card strong { font-size: clamp(16px,2vw,23px); }
.phase-chip { align-self: center; }
.phase-chip i { animation: breathe 1s infinite alternate; }
.paused .radar-scope i, .paused .radar-scope b, .paused .module i, .paused .phase-chip i, .paused .beam, .paused .plinth span { animation-play-state: paused; }
.play-buttons { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 12px; }
.terminal-primary, .terminal-secondary, .speed-select {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid #486764; border-radius: 10px;
  background: #0a2023; color: #e8fbf6; padding: 7px 12px; font-size: 13px; font-weight: 620;
}
.terminal-primary, .reviewing .terminal-secondary { border-color: #52ffde; background: #063a32; box-shadow: inset 0 0 11px #45ffe455,0 0 10px #12ffd346; }
.reviewing .terminal-primary { border-color: #486764; box-shadow: none; background: #0a2023; }
.terminal-primary:hover, .terminal-secondary:hover { background: #11534a; }
.speed-select select { background: #102729; border: 1px solid #4b7370; color: #ecfffc; border-radius: 6px; padding: 3px 9px; }
.timeline { display: flex; align-items: center; gap: 13px; padding: 9px 4px 0; font: 10px var(--mono); color: #a6bfbd; }
.timeline progress { flex: 1; height: 4px; accent-color: var(--teal); }
.playback .hint { margin: 4px 4px 12px; }
.trade-layout, .details-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 15px; margin-top: 15px; }
.details-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.trade-card header { flex-wrap: wrap; border-bottom: 1px solid #315350; }
.trade-card header a { color: var(--teal); font-size: 11px; }
.filter { display: flex; gap: 4px; }
.filter button { font-size: 10px; border-radius: 18px; background: #0b2324; color: #c1d8d5; border: 1px solid #325553; padding: 4px 9px; }
.filter button[aria-pressed=true] { background: #1de4a9; color: #052a23; border-color: #1de4a9; }
#trade-rows { max-height: 188px; overflow: auto; }
.trade-row { display: grid; grid-template-columns: 1.2fr 1fr .8fr auto; text-align: left; width: 100%; gap: 8px; padding: 10px 19px; background: transparent; color: #e5f5f1; border: 0; border-bottom: 1px solid #1c393a; }
.trade-row:hover { background: #133b36; }
.trade-row time, .trade-row strong { font: 11px var(--mono); align-self: center; }
.trade-pair { font-weight: 660; font-size: 12px; }
.trades-empty { padding: 22px 19px; color: #a4c2bd; font-size: 12px; }
.result-card { padding: 14px 19px 21px; }
.result-card > strong { position: relative; z-index: 1; font-size: clamp(26px,4vw,43px); line-height: 1.2; display: block; margin-top: 11px; }
.result-card > p { position: relative; z-index: 1; font-size: 12px; color: #adc8c4; }
.result-mark { position: absolute; bottom: 7px; right: 6%; width: 35%; max-width: 120px; text-align: center; color: #46f8e3; filter: drop-shadow(0 0 9px #0bffe3); }
.result-mark svg { width: 62%; height: auto; margin: 0 auto; fill: #17d5c13f; }
.result-mark::after { content: ''; display: block; height: 12px; border: 1px solid #7afff1; border-radius: 50%; box-shadow: inset 0 0 12px #1cf4dd; }
.terminal .details-grid .card, .terminal .history { border-color: #284d4d; background: #081518; }
.terminal .radar { display: flex; flex-direction: column; padding: 0; }
.terminal .radar .map-area { min-height: 0; height: auto; aspect-ratio: 2.15; }
.terminal .core .allocation-art { display: none; }
#trade-detail form { margin-top: 18px; }
@media (max-width: 1020px) {
  .command { grid-template-columns: 160px minmax(0,1fr); }
  .side-nav { padding: 17px 7px; }
  .side-nav a { gap: 8px; padding: 7px 8px; font-size: 11px; }
  .scene-grid { grid-template-columns: minmax(115px,1fr) minmax(180px,1.25fr) minmax(115px,1fr); }
  .module { gap: 5px; padding: 6px 8px; }
  .module svg { width: 17px; height: 17px; }
  .scene-heading { padding-top: 8px; }
  .mode { top: 12px; font-size: 8px; padding: 5px 7px; }
}
@media (max-width: 740px) {
  .terminal { padding: 0; }
  .terminal main { padding: 0 4%; }
  .terminal-header { height: 57px; gap: 6px; }
  .terminal-header .brand { gap: 4px; }
  .brand-z svg { width: 34px; height: 34px; }
  .terminal .wordmark { font-size: 14px; }
  .terminal .wordmark small { font-size: 6px; letter-spacing: 3px; }
  .terminal-name { font-size: 14px; padding: 3px 10px; }
  .terminal-name::before, .terminal-name::after { width: 5px; border-width: 1px; }
  .terminal-badge { font-size: 8px; padding: 3px 5px; gap: 4px; }
  .terminal-badge i { width: 4px; height: 4px; }
  .terminal-header .reset { display: none; }
  .command { margin: 0 -4.35%; display: block; }
  .side-nav { display: flex; overflow-x: auto; padding: 7px; gap: 3px; border-radius: 0; }
  .side-nav a { flex: none; min-height: 35px; font-size: 10px; padding: 4px 8px; }
  .side-nav svg { width: 14px; height: 14px; }
  .scene { padding: 22px 4% 16px; }
  .scene-heading { padding-top: 14px; }
  .scene-heading h1 { font-size: 31px; }
  .scene-heading p { font-size: 10px; }
  .scene-grid { height: auto; grid-template: 175px repeat(3,32px) / repeat(2,minmax(0,1fr)); gap: 5px 8px; margin-bottom: 10px; }
  .orb-zone { grid-area: 1/1/2/3; max-width: 350px; width: 90%; justify-self: center; }
  .orb-zone #core-orb { inset: -10% -5% auto; width: 110%; height: 105%; }
  .orb-logo svg { width: 59px; }
  .module:nth-child(-n+4) { grid-column: 1; }
  .module:nth-child(n+5) { grid-column: 2; }
  .module-0, .module-3 { grid-row: 2; }
  .module-1, .module-4 { grid-row: 3; }
  .module-2, .module-5 { grid-row: 4; }
  .module { min-height: 30px; font-size: 9px; align-self: center; padding: 4px 6px; }
  .module i { width: 10px; height: 10px; }
  .module[data-state=done] i::before { font-size: 8px; line-height: 8px; }
  .module::after { display: none; }
  .scene-status { padding: 4px 12px; font-size: 12px; min-height: 33px; }
  .scene-status svg { width: 17px; height: 17px; }
  .readouts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .readouts article { padding: 8px 9px; border-radius: 8px; }
  .readouts article svg { width: 19px; height: 19px; }
  .readouts article span { font-size: 9px; }
  .readouts article strong { font-size: 17px; }
  .sequence { margin-top: 11px; min-height: 135px; }
  .sequence header, .trade-card header { padding: 10px; }
  .sequence h2, .trade-layout h2 { font-size: 13px; }
  .sequence h2 svg, .trade-layout h2 svg { width: 18px; height: 18px; }
  .sequence-tools { gap: 4px; font-size: 9px; }
  #orb-market { padding: 3px 5px; }
  .sequence-content { padding: 0 10px 10px; gap: 9px; }
  .radar-scope { width: 52px; }
  .sequence .opportunity-card strong { font-size: 14px; }
  .sequence .opportunity-card small { font-size: 9px; }
  .phase-chip { display: none; }
  .play-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .terminal-primary, .terminal-secondary { font-size: 10px; gap: 5px; padding: 5px; }
  .play-buttons svg { width: 16px; height: 16px; }
  .speed-select { grid-column: 1/-1; min-height: 0; padding: 5px; font-size: 10px; }
  .timeline { gap: 6px; font-size: 9px; }
  .trade-layout, .details-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 11px; }
  .trade-card header { gap: 5px; }
  .filter button { font-size: 9px; padding: 3px 5px; }
  .trade-card header a { font-size: 9px; }
  .trade-row { padding: 9px 11px; }
  .terminal .foot { margin-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .terminal *, .terminal *::before, .terminal *::after { animation: none !important; }
}
.terminal .chart svg { width: 100%; height: auto; stroke: none; }
.side-nav a:first-child:not([aria-current]) { border-color: transparent; background: none; box-shadow: none; }
.side-nav a[aria-current="location"], .side-nav a:first-child:hover {
  border-color: #3ac5b2; background: #06423568; box-shadow: inset 0 0 19px #20bda433;
}
@media (max-width: 740px) {
  .terminal-header .reset { display: inline-block; font-size: 8px; padding: 4px; }
  .terminal-header .top-actions { gap: 2px; }
  .terminal-header .top-actions:has(.reset:not([hidden])) .terminal-badge { display: none; }
}
/* Hologram and statement archive */
.orb-zone #core-orb { inset: -13% -12% auto; width: 124%; height: 109%; }
.orb-logo { top: 41%; }
.beam {
  width: 3px; top: 0; height: 100%;
  background: linear-gradient(transparent,#a9fff6 22%,#2affd63a 29%,transparent 37%,transparent 53%,#8ffff4 80%,#aefff6 98%);
  box-shadow: 0 0 19px 2px #2cffe485;
}
.lens-flare {
  position: absolute; z-index: 1; pointer-events: none; width: 72%; height: 4px; bottom: 7%; left: 14%;
  background: linear-gradient(90deg,transparent,#38ffcb68,#dcfff8,#32ffcf70,transparent);
  box-shadow: 0 0 30px #0cffe68e;
  animation: breathe 2.1s ease-in-out infinite alternate;
}
.paused .lens-flare { animation-play-state: paused; }
.plinth { bottom: 0; height: 45px; }
.plinth::before {
  content:''; position:absolute; inset: 24% -3% -15%; border: 1px solid #59ffda83;
  background: linear-gradient(180deg,#0b3b39,#041516);
  clip-path: polygon(9% 0,91% 0,100% 86%,80% 100%,20% 100%,0 86%);
  box-shadow: inset 0 -7px 18px #1cffd23a;
}
.plinth span { box-shadow: inset 0 0 15px #00ffd683, 0 0 19px #00ffd694; }
.scene-status { max-width:100%; }
#trade-rows { max-height: 510px; padding: 0 17px 17px; scrollbar-color: #287b71 #061719; }
.trade-card header { padding: 16px 17px 4px; border: 0; align-items: flex-start; }
.trade-card header h2 { font-size: clamp(20px,3vw,29px); letter-spacing: -.025em; }
.archive-info { padding: 0 17px; margin: 3px 0 11px; color: #a8c8c6; font-size: 12px; }
.archive-toolbar { padding: 0 17px 12px; display: flex; flex-wrap: wrap; align-items:center; justify-content: space-between; gap: 8px; }
#history-count { font-size: 11px; color: #abd4cc; }
.filter button { font-size: 12px; padding: 6px 11px; }
.archive-trade {
  --signal: #69e6c4;
  background: linear-gradient(122deg,#092627,#071719);
  border: 1px solid #2d6661; border-left: 3px solid var(--signal); border-radius: 11px;
  padding: 12px 13px; margin-bottom: 9px; color: #ebfff8 !important;
}
.archive-trade.negative { --signal: #ffa8ad; }
.trade-top,.trade-mid { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.trade-top > div { display:flex; align-items:center; gap: 8px; }
.instrument { font-size: 16px; letter-spacing:.02em; }
.side-pill { border:1px solid #358776; border-radius:6px; padding:2px 6px; font:10px var(--mono); text-transform:uppercase; color:#91ffe3; }
.side-pill.sell { border-color:#826448; color:#ffd096; }
.trade-return { color:var(--signal); font:700 16px var(--mono); white-space: nowrap; }
.trade-mid,.trade-prices { font:11px/1.6 var(--mono); color:#b2d5d0; }
.trade-mid { margin-top:4px; }
.return-track { height:4px; border-radius:4px; background:#1c3739; overflow:hidden; margin:8px 0 9px; }
.return-track i { background:var(--signal); display:block; height:100%; }
.order-button,.session-link { background:#0c302d; border:1px solid #396b63; color:#c3faeb; border-radius:7px; padding:5px 8px; font-size:11px; }
.order-button:hover,.session-link:hover { background:#145849; }
.archive-select { margin:8px 0 0; display:flex; align-items:center; gap:10px; flex-wrap:wrap; color:#acd0ca; font-size:12px; }
.archive-select select { color:#d8fff4; border:1px solid var(--edge); border-radius:6px; padding:5px 8px; background:#071d20; }
#session-summary { color:#8bb5af; font-size:11px; }
.period-stats { margin-top:16px; display:grid; gap:9px; }
.period-stats > div { display:flex; justify-content:space-between; gap:6px; border-top:1px solid #224240; padding-top:8px; color:#b2d5d0; font-size:12px; }
.period-stats b { color:#d7fff4; white-space:nowrap; }
.result-card .method { color:#90b6b2; font-size:10px; margin-top:13px; line-height:1.6; }
.trade-facts { display:grid; gap:5px; }
.trade-facts div { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px; border-bottom:1px solid #294b47; padding: 4px 0; }
.trade-facts dt { font-size:11px; color:#9ac7bf; }
.trade-facts dd { margin:0; font:11px var(--mono); }
.trade-plot { display:block; width:100%; height:auto; border-radius:8px; background:#061617; stroke:#4af4ce; stroke-width:2; fill:#48f4ce; }
.trade-plot path { fill:none; }
@media (max-width:740px) {
  .orb-zone #core-orb { inset:-10% -5% auto; width:110%; height:105%; }
  .trade-top,.trade-mid { gap:4px; }
  .trade-mid,.trade-prices { font-size:10px; }
  .archive-toolbar { align-items:start; flex-direction:column; }
  #trade-rows { padding:0 10px 10px; }
}
