.scaling input[type="range"] { display:block; width:min(100%,36rem); accent-color:#bbf46c; margin-block:.75rem 1.5rem; }
.scale-chart { margin-bottom:1.5rem; }
.scale-chart .achievement-bar { transition:height .38s ease; }
.scale-table { overflow-x:auto; }
.scale-table table { width:100%; min-width:39rem; border-collapse:collapse; }
.scale-table :is(th,td) { text-align:left; padding:.75rem; border-bottom:1px solid #34455b; }
.scale-calculator { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.75rem; align-items:center; }
.scale-calculator :is(h3,output) { grid-column:1/-1; }
.scale-calculator :is(input,select) { width:100%; min-width:0; }
.scale-calculator output { color:#bbf46c; font-weight:700; }
.scale-flow { display:flex; flex-wrap:wrap; gap:.75rem; padding:0; list-style:none; }
.scale-flow li { border:1px solid #42617a; border-radius:.55rem; padding:.65rem .85rem; background:#142539; box-shadow:.2rem .24rem #233d54; }
@media(prefers-reduced-motion:reduce) { .scale-chart .achievement-bar { transition:none; } }

.scale-hero {
  background: radial-gradient(ellipse at 90% 8%, #23493d 0, transparent 57%),
    linear-gradient(135deg, #17283e, #0e1624 72%);
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid #355266;
  border-radius: 1.4rem;
  box-shadow: 0 1.4rem 3rem #04091055;
}
.scale-hero h1 { max-width: 13ch; font-size: clamp(2.65rem, 7vw, 6.5rem); }
.scale-lab-controls, .scale-fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .9rem;
}
.scale-lab-controls label { display: grid; gap: .4rem; align-content: start; }
.scale-lab-controls :is(input,select) { width: 100%; min-width: 0; }
.scale-fit-grid article {
  padding: 1rem;
  border: 1px solid #42617a;
  border-radius: .85rem;
  background: linear-gradient(150deg, #192d41, #101b2c);
}
.fit-result { color: #bbf46c; font-weight: 700; }
.fit-over .fit-result { color: #ffb78f; }
.fit-pool { margin-top: .8rem; font-size: .875rem; }
.fit-pool span { display: block; height: .65rem; margin-top: .35rem; border-radius: .3rem; background: #33485e; }
.fit-pool i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg,#c0e7fa,#5899bf);
  box-shadow: 0 2px #294b66;
  transition: width .35s ease;
}
.fit-pool:last-child i { background: linear-gradient(180deg,#bbf46c,#6a9b3d); }
.fit-pool i.over-capacity { background: #ec926d; }
@media (prefers-reduced-motion: reduce) { .fit-pool i { transition: none; } }

.global-report .scale-hero h1 { max-width: 18ch; }
.global-report blockquote {
  margin-inline: 0;
  padding-inline: 1.25rem;
  border-inline-start: 2px solid #42617a;
}
.global-report .report-note {
  margin-block: 1rem;
  padding: .85rem 1rem;
  border: 1px solid #516747;
  border-radius: .7rem;
  background: #18251f;
  color: #e3efdc;
}
.global-report pre { overflow-x: auto; }
.global-report .scale-table table { min-width: 48rem; }
.global-report .report-chart .achievement-grid { max-width: 45rem; }

.forward-diagram { margin: 1rem 0; }
.forward-scroll { overflow-x: auto; border: 1px solid #34495b; border-radius: 1rem; background: #101a28; }
.forward-scroll svg { display: block; width: 100%; height: auto; min-width: 720px; }
.forward-diagram figcaption { margin-top: .65rem; }
