/* 共同刻度上的各学院年度孵化构成。 */
.college-legend {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:3px clamp(6px,.7vw,14px); flex:none; padding:5px 0 2px;
  color:#b4dded; font-size:clamp(9px,.59vw,17px); line-height:1.1;
}
.college-legend span { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.college-legend i { display:inline-block; width:clamp(8px,.57vw,16px); height:clamp(7px,.53vw,15px); flex:none; box-shadow:0 0 5px #54dfff44; }
.college-0 { --shade-a:#0088cc; --shade-b:#47dcff; }
.college-1 { --shade-a:#00aeb2; --shade-b:#54f8d3; }
.college-2 { --shade-a:#83bd3d; --shade-b:#e6ee75; }
.college-3 { --shade-a:#155fd0; --shade-b:#57b6ff; }
.college-4 { --shade-a:#4c90d3; --shade-b:#b2dfff; }
.college-5 { --shade-a:#dd8c3d; --shade-b:#ffe09a; }
.college-6 { --shade-a:#8069d7; --shade-b:#d9b0ff; }
.college-legend i,.stack-segment { background:linear-gradient(105deg,var(--shade-a),var(--shade-b)); }
.wide-chart.stacked-chart { display:flex; min-height:0; padding:3px 5px 0; background:none; }
.stacked-plot { display:flex; flex-direction:column; justify-content:space-evenly; flex:1; min-width:0; min-height:0; }
.stack-row,.stack-axis { display:grid; grid-template-columns:clamp(33px,3vw,74px) minmax(0,1fr); align-items:center; }
.stack-row { flex:1; min-height:0; }
.stack-year { padding-right:7px; text-align:right; color:#acd9ee; font-size:clamp(10px,.72vw,20px); font-variant-numeric:tabular-nums; }
.stack-track {
  position:relative; display:flex; height:clamp(10px,1.3vh,23px); min-width:0;
  border-left:1px solid #52c9e5; background:linear-gradient(90deg,#0b426354,#0b426317);
  box-shadow:inset 0 0 0 1px #3a82a22b;
}
.stack-segment {
  position:relative; display:flex; flex:0 0 calc(var(--amount) * 5%); align-items:center; justify-content:center;
  min-width:0; border-right:1px solid #061b2cc4; box-sizing:border-box;
  box-shadow:inset 0 1px 0 #ffffff66,inset 0 -2px 2px #08325655;
}
.stack-segment b { position:relative; color:#082d40; text-shadow:0 1px #ffffff55; font-size:clamp(8px,.6vw,15px); line-height:1; font-weight:700; }
.stack-total { position:absolute; left:calc(90% + 5px); top:50%; transform:translateY(-50%); color:#c8edf9; font-size:clamp(9px,.64vw,18px); font-weight:700; font-variant-numeric:tabular-nums; }
.stack-axis { flex:none; color:#7db8d4; font-size:clamp(8px,.56vw,16px); font-variant-numeric:tabular-nums; }
.stack-ticks { display:flex; justify-content:space-between; line-height:1; }
.trend-panel-wide .chart-note { flex:none; margin:1px 0 0; }
@media (max-width:900px) {
  .college-legend { justify-content:flex-start; gap:4px 9px; }
  .wide-chart.stacked-chart { min-height:76px; }
}
