

.fc-page { display: flex; flex-direction: column; gap: 14px; }
.fc-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); }
.fc-h { font-family: var(--font); font-size: 13px; font-weight: 650; margin: 0 0 6px; color: var(--text-primary); }
.fc .mono, .fc b.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }


.fc-reads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fc-reads.fc-one { grid-template-columns: 1fr; }
.fc-one .fc-read-rec { max-width: 90ch; }
.fc-read { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; min-width: 0;
  border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--surface-1); }
.fc-read-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-read-main { display: flex; align-items: baseline; gap: 10px; }
.fc-big { font-family: var(--font-mono); font-size: 42px; line-height: 1; font-weight: 600;
  color: var(--text-primary); font-variant-numeric: tabular-nums; }
.fc-level { font-size: 15px; font-weight: 650; color: var(--text-secondary); }
.fc-read[data-tone="good"] .fc-level { color: var(--good); }
.fc-read[data-tone="warning"] .fc-level { color: var(--warning); }
.fc-read[data-tone="critical"] .fc-level { color: var(--critical); }
.fc-read-q { margin: 0; color: var(--text-secondary); }
.fc-read-rec { margin: 0; color: var(--text-secondary); }

.fc-meter { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  height: 8px; margin-top: 4px; }
.fc-seg { border-radius: 2px; opacity: .55; background: var(--text-muted); }
.fc-seg[data-tone="good"] { background: var(--good); }
.fc-seg[data-tone="warning"] { background: var(--warning); }
.fc-seg[data-tone="critical"] { background: color-mix(in oklab, var(--critical) 70%, var(--surface-1)); }
.fc-seg[data-tone="severe"] { background: var(--critical); }
.fc-mark { position: absolute; top: -4px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px;
  background: var(--text-primary); box-shadow: 0 0 0 2px var(--surface-1); }
.fc-base { position: absolute; top: -2px; width: 2px; height: 12px; margin-left: -1px;
  background: var(--text-secondary); opacity: .8; }
.fc-meter-scale { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--text-muted); }


.fc-rank { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px;
  border: 1px solid var(--border-strong); border-radius: 4px; font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 700; color: var(--text-primary); background: var(--surface-2); }
.fc-rank[data-r="S"], .fc-rank[data-r="A"] { border-color: var(--good); color: var(--good); }
.fc-rank[data-r="B"] { border-color: color-mix(in oklab, var(--good) 55%, var(--border-strong)); }
.fc-rank[data-r="E"] { border-color: var(--critical); color: var(--critical); }


.fc-hist-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 4px; }
.fc-hist-head .fc-h { margin: 0; }
.fc-tog { display: inline-flex; gap: 6px; align-items: center; color: var(--text-secondary); }
.fc-chart { width: 100%; overflow: hidden; }
.fc-hist { display: block; max-width: 100%; height: auto; }
.fc-hist .fc-rec { fill: var(--text-muted); opacity: .14; }
.fc-hist .fc-grid { stroke: var(--grid); stroke-width: 1; }
.fc-hist .fc-edge, .fc-cal .fc-edge { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 3; }
.fc-hist .fc-axis, .fc-cal .fc-axis { font-size: 10px; fill: var(--text-muted); font-family: var(--font-mono); }
.fc-hist .fc-line { fill: none; stroke: var(--series-1); stroke-width: 2; stroke-linejoin: round; }
.fc-hist .fc-member { fill: none; stroke-width: 1; opacity: .55; stroke-linejoin: round; }
.fc-hist .fc-member[data-k="0"] { stroke: var(--series-2); }
.fc-hist .fc-member[data-k="1"] { stroke: var(--series-3); }
.fc-hist .fc-member[data-k="2"] { stroke: var(--series-4); }
.fc-hist .fc-dot { fill: var(--series-1); stroke: var(--surface-1); stroke-width: 2; }
.fc-hist .fc-cross { stroke: var(--text-secondary); stroke-width: 1; }
.fc-hist .fc-hit { fill: transparent; cursor: crosshair; }


.fc-chain { display: flex; flex-direction: column; gap: 10px; max-width: 92ch; }
.fc-sec p { margin: 0; color: var(--text-secondary); line-height: 1.55; }
.fc-foot { margin: 4px 0 0; padding-top: 8px; border-top: 1px solid var(--border); }


.fc-group + .fc-group { margin-top: 14px; }
.fc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fc-card { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; min-width: 0;
  border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--surface-1); }
.fc-card-head { display: flex; flex-direction: column; gap: 1px; }
.fc-card-label { font-size: 12.5px; font-weight: 650; color: var(--text-primary); }
.fc-card-val { display: flex; align-items: baseline; gap: 8px; }
.fc-card-val b { font-size: 17px; color: var(--text-primary); }
.fc-card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fc-card-rec { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; color: var(--text-secondary); }
.fc-dir { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-secondary); }
.fc-dir::before { display: inline-block; margin-right: 4px; }
.fc-dir[data-d="up"] { color: var(--critical); }
.fc-dir[data-d="up"]::before { content: "\2191"; }
.fc-dir[data-d="down"] { color: var(--good); }
.fc-dir[data-d="down"]::before { content: "\2193"; }
.fc-dir[data-d="flat"]::before { content: "\2192"; }
.fc-verdict { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-primary); }
.fc-verdict::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 6px; background: var(--text-muted); vertical-align: 1px; }
.fc-verdict[data-v="yes"]::before { background: var(--good); }
.fc-verdict[data-v="weak"]::before { background: var(--warning); }
.fc-verdict[data-v="no"]::before { background: var(--critical); }
.fc-more summary { cursor: pointer; color: var(--text-secondary); min-height: 24px; }
.fc-more p { margin: .35rem 0 0; color: var(--text-secondary); }


.fc-lede { max-width: 110ch; margin: 0 0 8px; }
.fc-wx-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fc-wx-table th, .fc-wx-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.fc-wx-table thead th { font-weight: 650; color: var(--text-secondary); white-space: nowrap; }

.fc-cellbar { display: grid; gap: 2px; margin-top: 4px; width: 100%; min-width: 48px; }
.fc-cellbar i { display: block; height: 3px; border-radius: 2px; justify-self: end; }
.fc-cellbar i.u { background: color-mix(in oklab, var(--good) 70%, transparent); }
.fc-cellbar i.f { background: color-mix(in oklab, var(--critical) 70%, transparent); }

.fc-wx-table tbody th, .fc-rec-table tbody th {
  position: sticky; left: 0; top: auto; z-index: 1; background: var(--surface-1);
  text-align: left; text-transform: none; letter-spacing: 0; white-space: normal;
  font-family: var(--font); font-size: 12.5px; font-weight: 600; color: var(--text-primary); }
.fc-wx-table tbody th { min-width: 11em; }
.fc-wx-table tbody th .small { display: block; font-weight: 400; color: var(--text-muted); }
.fc-mk { display: block; color: var(--text-primary); }
.fc-th-rank { display: flex; justify-content: flex-end; gap: 4px; margin-top: 3px; font-weight: 400; }
.fc-th-rank .fc-rank { min-width: 16px; height: 16px; font-size: 10px; }
.fc-up, .fc-fall { display: block; font-family: var(--font-mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fc-up.hist, .fc-fall.hist { color: var(--text-muted); }
.fc-up.model, .fc-fall.model { color: var(--text-primary); font-weight: 700; }
.fc-wx-table td.num { text-align: right; }


.fc-record { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 22px; }
.fc-col { min-width: 0; }
.fc-col .fc-h + .tablewrap, .fc-col .fc-h + svg, .fc-col .fc-h + ul { margin-top: 4px; }
.fc-col .fc-h:not(:first-child) { margin-top: 14px; }
.fc-rec-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fc-rec-table th, .fc-rec-table td { padding: 5px 8px; border-bottom: 1px solid var(--border); }
.fc-rec-table td.num, .fc-rec-table th.num { text-align: right; font-family: var(--font-mono); }
.fc-list { margin: 4px 0 0; padding-left: 1.1em; color: var(--text-secondary); }
.fc-cal { display: block; }
.fc-cal .fc-cal-pt { fill: var(--series-1); stroke: var(--surface-1); stroke-width: 1.5; }
.fc-method p { max-width: 110ch; margin: .3rem 0; }

@media (max-width: 900px) {
  .fc-record { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .fc-reads { grid-template-columns: 1fr; }
  .fc-big { font-size: 32px; }
  .fc-cards { grid-template-columns: 1fr; }
  .fc-wx-table tbody th { min-width: 8.5em; }
}


.fc-read-w { margin: 0; }
.fc-world-table td.num .small { display: block; }
.fc-world-table td.num .fc-rank { margin-top: 3px; }
.fc-lr-list { display: grid; gap: 0; margin: 10px 0 14px; border-top: 1px solid var(--border); }
.fc-lr-row { display: grid; grid-template-columns: minmax(10em, 1.4fr) 1fr 1.2fr 0.9fr 1.3fr; gap: 6px 14px;
  padding: 10px 2px; border-bottom: 1px solid var(--border); align-items: start; }
.fc-lr-name .small, .fc-lr-cell .small { display: block; }
.fc-lr-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12.5px; }
.fc-lr-cell .mono { font-family: var(--font-mono); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.fc-lr-cell .fc-eyebrow { font-size: 10px; }
.fc-lr-wide { grid-column: 2 / -1; }
@media (max-width: 620px) {
  .fc-lr-row { grid-template-columns: 1fr 1fr; }
  .fc-lr-name { grid-column: 1 / -1; }
}


.fc-fan-pick { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 8px 0 10px; }
.fc-fan-seg { flex-wrap: wrap; max-width: 100%; border-radius: var(--radius-sm); }
.fc-fan-form { display: flex; gap: 6px; align-items: center; }
.fc-fan-form input { width: 9.5em; font-family: var(--font-mono); font-size: 12.5px; padding: 6px 8px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-xs); background: var(--surface-1); color: var(--text-primary); }
.fc-fan-form .seg-go { font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 12px; cursor: pointer;
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text-primary); }
.fc-fan-form .seg-go:focus-visible, .fc-fan-form input:focus-visible { outline: 2px solid var(--series-1); outline-offset: 2px; }
.fc-hist .fc-fan-band { stroke: none; }
.fc-hist .fc-fan-band[data-b="0"] { fill: color-mix(in oklab, var(--series-1) 12%, transparent); }
.fc-hist .fc-fan-band[data-b="1"] { fill: color-mix(in oklab, var(--series-1) 16%, transparent); }
.fc-hist .fc-fan-band[data-b="2"] { fill: color-mix(in oklab, var(--series-1) 24%, transparent); }
.fc-hist .fc-fan-mid { fill: none; stroke: var(--series-1); stroke-width: 1.4; stroke-dasharray: 4 3; }
.fc-screen-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 10px 0; }
.fc-screen-dl { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; }
.fc-screen-dl div { display: flex; flex-direction: column; gap: 2px; }
.fc-screen-dl dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.fc-screen-dl dd { margin: 0; font-size: 12.5px; }
.fc-screen-q .fc-list { margin: 0; }
#fcFan .fc-rec-table tbody th { white-space: nowrap; }


.fc-mix-form input { width: 4.5em; }
.fc-mix-table tbody th { white-space: nowrap; }
.fc-mix-table tr.fc-now th, .fc-mix-table tr.fc-now td { background: color-mix(in oklab, var(--series-1) 10%, var(--surface-1)); }

.fc-mix-table tr.fc-now th .small { font-family: var(--font-mono); color: color-mix(in oklab, var(--series-1) 55%, var(--text-primary)); text-transform: uppercase; letter-spacing: .06em; }
.fc-take { margin: 8px 0 12px; padding: 8px 10px; border-left: 3px solid var(--series-1); background: var(--surface-1); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.fc-read-why { margin: 0; color: var(--text-secondary); }
.fc-why { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in oklab, var(--series-1) 55%, var(--text-primary)); margin-right: 4px; }


.fc-min { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.fc-min-row { display: grid; grid-template-columns: minmax(12em, 1.3fr) minmax(7em, auto) 24px minmax(0, 2fr);
  align-items: center; gap: 4px 14px; padding: 8px 2px; border-bottom: 1px solid var(--border); }
.fc-min-label { font-weight: 600; color: var(--text-primary); font-size: 13px; }
.fc-min-val { font-family: var(--font-mono); font-size: 17px; font-weight: 600; color: var(--text-primary);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc-min-word { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.fc-min-none { display: inline-block; width: 20px; }
@media (max-width: 620px) {
  .fc-min-row { grid-template-columns: 1fr auto 24px; }
  .fc-min-note { grid-column: 1 / -1; }
}


.fc-lead-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fc-lead .fc-big { font-size: 56px; }
.fc-lead .fc-level { font-size: 17px; }
.fc-lead .fc-read { padding: 14px 16px; }
.fc-minute { margin-top: 16px; }
#fcHist > .fc-hist-head { margin-top: 0; }
.fc-part { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 18px 0 0;
  color: var(--text-primary); scroll-margin-top: calc(var(--il-chrome-h, 114px) + 12px); }
.fc-part:focus { outline: none; }
.fc-page > .card[id] { scroll-margin-top: calc(var(--il-chrome-h, 114px) + 12px); }
.fc-page > .card[tabindex="-1"]:focus { outline: none; }
.fc-index { padding: 2px 4px 0; }
.fc-index ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.fc-index li { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 4px 12px; align-items: baseline; }
.fc-index button { font: inherit; font-size: 13px; background: none; border: 0; padding: 4px 0; min-height: 28px; cursor: pointer;
  color: var(--text-secondary); text-align: left; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklab, var(--text-secondary) 40%, transparent); }
.fc-index button:hover { color: var(--text-primary); text-decoration-color: currentColor; }
.fc-index button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.fc-index .fc-index-part { font-weight: 650; color: var(--text-primary); text-decoration: none; }
.fc-index-items { display: flex; flex-wrap: wrap; gap: 0 18px; }

.fc-fold { margin-top: 2px; }
.fc-fold > summary { min-height: 32px; display: flex; align-items: center; gap: 6px; list-style: none; }
.fc-fold > summary::before { content: "+"; font-family: var(--font-mono); color: var(--text-muted); width: 1ch; }
.fc-fold[open] > summary::before { content: "−"; }
.fc-fold > summary::-webkit-details-marker { display: none; }
.fc-fold[open] > summary { margin-bottom: 8px; }
.fc-fold .fc-sec + .fc-sec { margin-top: 10px; }
.fc-fold > .fc-read-why + .fc-read-w { margin: 6px 0 0; }
.fc-wx-table[data-all="0"] .fc-wx-rest { display: none; }
.fc-wx-all { display: block; width: 100%; margin: 8px 0; min-height: 36px; }

@media (min-width: 1560px) { .fc-page { max-width: 1240px; } }
@media (max-width: 620px) {
  .fc-lead .fc-big { font-size: 46px; }
  .fc-part { font-size: 22px; }
  
  .fc-index ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
  .fc-index li { display: block; }
  .fc-index-items { display: none; }
  .fc-index button { min-height: 44px; padding: 10px 0; }
  .fc-index .fc-index-part { text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--text-secondary) 40%, transparent); }
}
