.tool-screen {
  min-height: 285px;
  height: 100%;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(3,18,43,.64);
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.tool-screen-head {
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.tool-screen-head .tool-symbol {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 19px;
  color: #fff;
  background: rgba(255,255,255,.12);
}

.tool-screen-head div { display: flex; flex-direction: column; }
.tool-screen-head small { font-size: 7px; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.tool-screen-head strong { margin-top: 3px; font-size: 12px; }
.tool-screen-head > em { margin-left: auto; font-style: normal; font-size: 7px; letter-spacing: .12em; color: rgba(255,255,255,.5); }

.stage-chart { position: relative; height: 220px; padding: 18px 15px 0; }
.stage-chart:before { content: ''; position: absolute; inset: 18px 15px 30px; background: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size: 38px 38px; }
.stage-zones { position: absolute; inset: 18px 15px 30px; display: grid; grid-template-columns: repeat(4,1fr); }
.stage-zones span { border-right: 1px dashed rgba(255,255,255,.12); padding: 8px; font-size: 9px; font-weight: 800; color: #79b9ff; }
.stage-zones span:nth-child(2) { color: #4cdbad; background: rgba(43,208,157,.06); }
.stage-zones span:nth-child(3) { color: #ffc05a; }
.stage-zones span:nth-child(4) { color: #ff7d94; border: 0; }
.stage-zones small { display: block; margin-top: 2px; font-size: 7px; opacity: .7; }
.stage-chart svg { position: relative; z-index: 2; width: 100%; height: 165px; overflow: visible; }
.stage-chart path { fill: none; vector-effect: non-scaling-stroke; }
.stage-chart .ma-line { stroke: #a78bfa; stroke-width: 2; opacity: .75; }
.stage-chart .price-line { stroke: #52dfa9; stroke-width: 3; filter: drop-shadow(0 0 7px rgba(82,223,169,.45)); }
.stage-chart circle { fill: #ffbd4a; stroke: rgba(255,255,255,.5); stroke-width: 2; }
.chart-caption { height: 26px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.55); font-size: 7px; }
.chart-caption span { display: flex; align-items: center; gap: 5px; }
.chart-caption i { width: 12px; height: 2px; background: #52dfa9; }
.chart-caption span:nth-child(2) i { background: #a78bfa; }
.chart-caption b { margin-left: auto; color: #7ce8c2; letter-spacing: .08em; }

.status-dashboard { min-height: 220px; padding: 22px; display: grid; grid-template-columns: 145px 1fr; gap: 24px; align-items: center; position: relative; }
.score-ring { width: 130px; height: 130px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#ffbc45 calc(var(--score) * 1%),rgba(255,255,255,.1) 0); position: relative; box-shadow: 0 0 30px rgba(255,188,69,.12); }
.score-ring:before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: #3f230a; }
.score-ring div { position: relative; text-align: center; display: flex; flex-direction: column; }
.score-ring strong { font-size: 38px; line-height: 1; }
.score-ring small { font-size: 8px; color: #ffc96d; margin-top: 7px; }
.status-metrics { display: grid; gap: 14px; }
.status-metrics > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.status-metrics span,.status-metrics b { font-size: 8px; color: rgba(255,255,255,.62); }
.status-metrics b { color: #ffd07b; }
.status-metrics i { grid-column: 1/3; height: 5px; border-radius: 5px; background: rgba(255,255,255,.09); overflow: hidden; }
.status-metrics em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#ff9d2f,#ffd065); }
.traffic-light { position: absolute; left: 182px; right: 22px; bottom: 15px; display: flex; align-items: center; gap: 6px; }
.traffic-light > span { width: 8px; height: 8px; border-radius: 50%; background: #ee4e68; opacity: .28; }
.traffic-light > span.active { background: #4fe0ad; opacity: 1; box-shadow: 0 0 10px #4fe0ad; }
.traffic-light small { margin-left: 5px; color: rgba(255,255,255,.55); font-size: 7px; }

.dca-dashboard { min-height: 220px; padding: 20px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 14px; }
.temp-scale { display: grid; gap: 6px; }
.temp-scale span { border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; font-size: 9px; font-weight: 800; background: rgba(255,255,255,.04); }
.temp-scale small { font-size: 7px; font-weight: 500; margin-top: 2px; color: rgba(255,255,255,.55); }
.temp-scale .hot { border-left: 3px solid #ff6c7f; }
.temp-scale .wait { border-left: 3px solid #ffc158; }
.temp-scale .invest { border-left: 3px solid #5be2bb; }
.temp-scale .cold { border-left: 3px solid #6ab8ff; }
.temp-scale .active { background: rgba(64,220,172,.16); border-color: rgba(91,226,187,.5); box-shadow: 0 0 18px rgba(50,214,166,.1); }
.allocation-card { border-radius: 11px; padding: 15px; background: rgba(3,30,68,.45); display: flex; flex-direction: column; }
.allocation-card > small { font-size: 7px; letter-spacing: .1em; color: rgba(255,255,255,.54); }
.allocation-card > strong { font-size: 40px; line-height: 1; margin-top: 12px; }
.allocation-card > span { font-size: 7px; margin-top: 4px; color: #b9ddfa; }
.allocation-bars { display: flex; gap: 3px; margin-top: 19px; }
.allocation-bars i { height: 24px; flex: 1; border-radius: 2px; background: #65dcba; }
.allocation-bars i:nth-child(n+7) { background: rgba(255,255,255,.12); }
.allocation-card p { margin: auto 0 0; font-size: 7px; color: rgba(255,255,255,.55); }
.allocation-card p b { color: #68e2be; font-size: 10px; }
.allocation-card p em { margin-left: 7px; color: #b9ddfa; font-style: normal; }

@media (max-width: 680px) {
  .status-dashboard { grid-template-columns: 115px 1fr; padding: 16px; gap: 14px; }
  .score-ring { width: 105px; height: 105px; }
  .score-ring:before { inset: 9px; }
  .score-ring strong { font-size: 31px; }
  .traffic-light { left: 145px; right: 16px; }
  .dca-dashboard { padding: 14px; }
}
