.strategy-tabs { display:flex; flex-direction:row; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.strategy-tabs [aria-pressed="true"] { background:#e5eeff; color:#21489d; }
.strategy-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0 0 24px; }
.strategy-metrics div { background:#fff; padding:18px; border-bottom:3px solid #adc4f9; border-radius:8px; }
.strategy-metrics dd { margin:4px 0 0; font-size:2rem; font-weight:700; font-variant-numeric:tabular-nums; color:#21489d; }
.strategy-review-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.strategy-action { padding:14px 0; border-top:1px solid #e3eaf8; }
.strategy-action h3 span { padding-inline:6px; color:#355da6; }
.strategy-action p { margin:8px 0; }
.strategy-auto { display:block; margin:16px 0; }
.strategy-ai-result { overflow-wrap:anywhere; white-space:pre-wrap; line-height:1.7; }
.strategy-trend header { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; }
.strategy-trend header b { color:#2454cf; }
.strategy-trend header b:nth-child(2) { color:#5b9583; }
.strategy-bars { display:grid; gap:10px; padding-top:12px; }
.strategy-bars section { display:grid; grid-template-columns:55px 1fr 1fr; align-items:center; gap:14px; }
.strategy-track { display:flex; align-items:center; gap:5px; min-width:0; padding-right:22px; }
.strategy-track i { display:block; flex-shrink:0; height:15px; border-radius:2px; background:#2454cf; }
.strategy-track:nth-child(3) i { background:#5b9583; }
#strategy-stage:fullscreen { padding:clamp(16px,4vw,66px); overflow:auto; background:#f3f6fd; }
.strategy-graph > label { display:block; max-width:340px; margin-bottom:14px; }
.strategy-map {
 position:relative;
 height:clamp(470px,65vh,620px);
 isolation:isolate;
 border:1px solid #dbe6f6;
 border-radius:16px;
 background:radial-gradient(ellipse at center,#f7faff,#edf3fd 70%);
}
.strategy-map-legend {
 position:absolute;
 z-index:1;
 top:14px;
 inset-inline:4%;
 display:flex;
 justify-content:space-between;
 gap:12px;
 color:#293f5e;
 font-size:13px;
}
.strategy-map-legend span { display:inline-flex; align-items:center; gap:6px; }
.strategy-map-legend i { width:8px; height:8px; border-radius:50%; background:#4073d6; }
.strategy-map-legend .tasks i { background:#268273; }
.strategy-edges { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.strategy-edge {
 fill:none;
 stroke:#8daae3;
 stroke-width:1.4;
 vector-effect:non-scaling-stroke;
 stroke-dasharray:100;
 animation:strategy-trace .53s ease-out calc(var(--step)*36ms) both;
}
.strategy-edge.tasks { stroke:#7bb4ac; }
.strategy-map button { cursor:pointer; text-align:start; }
.strategy-hub,.strategy-leaf {
 position:absolute;
 translate:-50% -50%;
 min-width:0;
 display:grid;
 gap:1px;
}
.strategy-hub {
 z-index:1;
 left:50%;
 top:50%;
 width:24%;
 padding:clamp(6px,1.6vw,20px);
 border:1px solid #1c4799;
 border-radius:14px;
 background:#2455bf;
 color:#fff;
 box-shadow:0 8px 24px #24447832;
 animation:strategy-appear .36s ease-out both;
}
.strategy-hub-label { font-size:12px; color:#e0ebff; }
.strategy-hub strong { font-size:clamp(13px,2vw,21px); overflow-wrap:anywhere; }
.strategy-leaf {
 z-index:1;
 left:var(--x);
 top:var(--y);
 width:26%;
 height:9%;
 padding:2px clamp(4px,1vw,11px);
 align-content:center;
 border:1px solid #d4e1f7;
 border-inline-start:3px solid #5282d9;
 border-radius:8px;
 background:#fff;
 color:#253d63;
 overflow:hidden;
 animation:strategy-appear .38s ease-out calc(95ms + var(--step)*36ms) both;
}
.strategy-leaf.tasks { border-inline-start-color:#438f83; }
.strategy-leaf.is-empty { color:#627591; font-size:13px; }
.strategy-leaf strong,.strategy-leaf small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.strategy-leaf small { font-size:11px; color:#546884; }
.strategy-leaf:hover { background:#f4f8ff; border-color:#6995df; }
.strategy-map button:focus-visible { outline:2px solid #153e91; outline-offset:2px; }
.strategy-note-body { white-space:pre-wrap; overflow-wrap:anywhere; }
@keyframes strategy-trace { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@keyframes strategy-appear { from { opacity:0; transform:translateX(var(--from,0)) scale(.92); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) {
 .strategy-edge,.strategy-hub,.strategy-leaf { animation:none; }
}
@media (max-width:760px) {
 .strategy-review-layout { grid-template-columns:1fr; }
 .strategy-metrics { grid-template-columns:1fr 1fr; }
}
