:root{
  --bg:#05080d;
  --panel:#0a1018;
  --panel2:#0d1520;
  --border:#1b2a3a;
  --text:#e9f1f8;
  --muted:#708196;
  --cyan:#23d9ff;
  --green:#28e98c;
  --red:#ff4f68;
  --amber:#ffc857;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:
    radial-gradient(circle at 50% 0%,#0c1c29 0%,#05080d 38%,#030509 100%);
  color:var(--text);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  min-height:100vh;
}

.shell{
  width:min(1600px,96%);
  margin:auto;
  padding:24px 0 40px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
  padding:5px 4px 20px;
  margin-bottom:20px;
}

.eyebrow{
  color:var(--cyan);
  font-size:11px;
  letter-spacing:4px;
  font-weight:800;
}

h1{
  margin:5px 0 2px;
  font-size:32px;
  letter-spacing:2px;
}

h1 span{color:var(--cyan)}

.topbar p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  letter-spacing:1px;
}

.status-group{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 12px var(--green);
}

.mode{
  margin-left:8px;
  border:1px solid #1d6b58;
  color:var(--green);
  padding:6px 9px;
  border-radius:5px;
}

.final-panel{
  text-align:center;
  padding:27px 20px;
  background:linear-gradient(180deg,#0d1621,#080d14);
  border:1px solid #263747;
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:0 10px 35px #0008;
}

.final-label{
  color:#8295aa;
  font-size:11px;
  font-weight:800;
  letter-spacing:3px;
}

.final-decision{
  font-size:44px;
  font-weight:900;
  letter-spacing:4px;
  margin:7px 0;
}

.final-decision.buy{color:var(--green);text-shadow:0 0 25px #28e98c44}
.final-decision.sell{color:var(--red);text-shadow:0 0 25px #ff4f6844}
.final-decision.wait{color:var(--amber);text-shadow:0 0 25px #ffc85733}

.alignment{
  font-size:13px;
  font-weight:800;
  color:var(--cyan);
  letter-spacing:2px;
}

.final-reason{
  color:#8998a8;
  font-size:12px;
  margin-top:8px;
}

.systems{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.system-card{
  background:linear-gradient(180deg,var(--panel2),var(--panel));
  border:1px solid var(--border);
  border-radius:11px;
  padding:17px;
  min-width:0;
  box-shadow:0 8px 28px #0006;
}

.card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
  padding-bottom:13px;
  margin-bottom:15px;
}

.card-head>div{
  display:flex;
  align-items:center;
  gap:9px;
}

.card-head h2{
  margin:0;
  font-size:18px;
  letter-spacing:1.5px;
}

.system-number{
  color:#405469;
  font-size:11px;
  font-weight:900;
}

.verdict{
  font-size:11px;
  font-weight:900;
  padding:6px 9px;
  border-radius:5px;
  letter-spacing:.8px;
}

.verdict.buy{
  color:var(--green);
  background:#28e98c12;
  border:1px solid #28e98c55;
}

.verdict.sell{
  color:var(--red);
  background:#ff4f6812;
  border:1px solid #ff4f6855;
}

.verdict.wait{
  color:var(--amber);
  background:#ffc85710;
  border:1px solid #ffc85755;
}

.section-title{
  color:#60758a;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.5px;
  margin:15px 0 6px;
}

.data-box{
  background:#070c12;
  border:1px solid #152231;
  border-radius:6px;
  padding:10px;
  color:#b8c6d4;
  font-size:11px;
  line-height:1.6;
  min-height:40px;
}

.data-box.compact{min-height:44px}

.hero-data{
  font-size:13px;
  font-weight:800;
  color:#dce8f2;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.blockers{
  background:#160e0f;
  border:1px solid #3a2025;
  border-radius:6px;
  padding:9px;
  color:#dba5ac;
  font-size:10px;
  line-height:1.55;
  min-height:37px;
}

.gap-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}

.metric{
  background:#070c12;
  border:1px solid #162432;
  border-radius:7px;
  padding:10px 7px;
  text-align:center;
}

.metric span{
  display:block;
  color:#60758a;
  font-size:8px;
  font-weight:900;
  margin-bottom:5px;
}

.metric strong{
  font-size:18px;
  color:#dce8f2;
}

.matrix{
  background:#070c12;
  border:1px solid #152231;
  border-radius:7px;
  overflow:hidden;
}

.matrix-row{
  display:grid;
  grid-template-columns:1fr auto;
  padding:7px 9px;
  border-bottom:1px solid #111c28;
  font-size:10px;
}

.matrix-row:last-child{border-bottom:0}

.matrix-row span:last-child{
  font-weight:900;
}

.bull{color:var(--green)}
.bear{color:var(--red)}
.neutral{color:var(--amber)}

.loading{
  padding:15px;
  color:var(--muted);
  font-size:11px;
}

.matrix-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  margin-top:8px;
}

.matrix-summary div{
  background:#070c12;
  border:1px solid #152231;
  border-radius:6px;
  padding:8px;
  text-align:center;
}

.matrix-summary span{
  display:block;
  font-size:7px;
  color:#61758a;
  font-weight:900;
}

.matrix-summary strong{
  display:block;
  margin-top:4px;
  font-size:16px;
}

.evidence-panel{
  margin-top:16px;
  background:#080d14;
  border:1px solid var(--border);
  border-radius:9px;
  padding:14px 17px;
  color:#aab8c5;
  font-size:11px;
  line-height:1.7;
}

footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
  padding:12px 4px;
  color:#4e6072;
  font-size:9px;
  font-weight:800;
  letter-spacing:1px;
}

.good{color:var(--green)}
.bad{color:var(--red)}
.warn{color:var(--amber)}
.info{color:var(--cyan)}

@media(max-width:1100px){
  .systems{grid-template-columns:1fr}
}

@media(max-width:650px){
  .shell{width:94%}
  .topbar{align-items:flex-start;gap:15px;flex-direction:column}
  .final-decision{font-size:34px}
  .two-col{grid-template-columns:1fr}
}
