/*
  Guides under /resources/.

  Loaded only by the guide pages, through "extraStylesheets" in each page header.
  It is linked BEFORE site.css, so every rule here is written to out-rank the
  .prose rules there rather than rely on source order.
*/

.guide .guide-meta {
  font-size: 14px;
  color: var(--muted);
}

/* The short answer, at the top of each guide. */
.guide .answer {
  display: grid;
  gap: 10px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  background: var(--mist);
}

.guide .answer h2 {
  margin-top: 0;
  font: 600 12.5px/1.3 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.guide .answer p {
  font-size: 17px;
}

.guide h3 {
  margin-top: 6px;
  font: 700 18px/1.3 var(--sans);
  color: var(--navy-ink);
}

.guide ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
}

.guide li > ul {
  margin-top: 8px;
}

.guide .table-scroll {
  margin-block: 4px;
}

.guide table {
  min-width: 520px;
  font-size: 14.5px;
}

.guide tbody th {
  width: 34%;
}

.guide .aside {
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  color: var(--muted);
}

.guide .aside strong {
  color: var(--ink);
}

.guide .sources {
  font-size: 14.5px;
  color: var(--muted);
}

.guide .guide-foot {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* Release trackers: date, release name with its kind beneath, what changed. */
.guide table.releases .when {
  white-space: nowrap;
  color: var(--muted);
}

.guide table.releases tbody th {
  width: 32%;
}

.guide table.releases .kind {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

/* Questions and answers: each answer sits close under its question, with air before the next question. */
.guide .faq {
  display: grid;
  gap: 6px;
}

.guide .faq h3 {
  margin-top: 14px;
}

.guide .faq h3:first-child {
  margin-top: 0;
}

/* The estimate box sits under the latest-release box and reads as the quieter of the two. */
.guide .answer.estimate {
  background: #fff;
}

/* Release-pace chart. Inline SVG; the colors are the first three slots of a categorical palette checked for
   color-blind separation. Aqua is under 3:1 on white, so every series also has its own marker shape, a legend
   entry and a direct label, and the timeline tables carry every value. */
.guide .chart {
  display: grid;
  gap: 10px;
  margin: 0;
}

.guide .chart .table-scroll svg {
  display: block;
  width: 100%;
  min-width: 560px;
  height: auto;
}

.guide .chart text {
  font-family: var(--sans);
  font-size: 12px;
  fill: var(--muted);
}

.guide .chart .lbl {
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
}

.guide .chart .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.guide .chart .today,
.guide .chart .leader {
  stroke: #9aa4b5;
  stroke-width: 1;
}

.guide .chart .line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.guide .chart .proj {
  stroke-dasharray: 4 5;
}

.guide .chart .key-proj {
  stroke: var(--muted);
}

.guide .chart .s1 { stroke: #2a78d6; }
.guide .chart .s2 { stroke: #eb6834; }
.guide .chart .s3 { stroke: #1baf7a; }
.guide .chart .f1 { fill: #2a78d6; }
.guide .chart .f2 { fill: #eb6834; }
.guide .chart .f3 { fill: #1baf7a; }

.guide .chart .ring {
  fill: #fff;
}

.guide .chart .hollow {
  fill: #fff;
  stroke-width: 2;
}

.guide .chart .hit {
  fill: transparent;
}

.guide .chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}

.guide .chart-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guide .chart-legend .key {
  flex: none;
}

.guide .chart figcaption {
  font-size: 13.5px;
  color: var(--muted);
}
