/* Shared by the discoverability board and deployment benchmark. */
/* ----- main ----- */
.main-wrap { position: relative; overflow: hidden; display: flex; min-width: 0; flex: 1; min-height: 0; }
.main { flex: 1; overflow-y: auto; overflow-x: hidden; min-width: 0; padding: 0; }
.crumbs { display: flex; align-items: center; gap: 7px; padding: 12px 22px 0; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; color: var(--ink-4); }
.crumbs a { color: var(--ink-3); text-decoration: none; cursor: pointer; }
.crumbs a:hover { color: var(--brick); }
.crumbs b { color: var(--ink); font-weight: 500; }
/* Centered, not baseline: the tier pill and the stats sit next to a 21px
   title, and baseline alignment left them hanging visibly below it. */
.cat-head { display: flex; align-items: center; gap: 12px; padding: 14px 24px 10px; flex-wrap: wrap; }
.cat-head h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.cat-head .upd { font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); }
.cat-head .open-d { margin-left: auto; appearance: none; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; border: 1px solid var(--ink); background: #fff; padding: 7px 14px; transition: all 130ms ease; }
.cat-head .open-d:hover { background: var(--brick); border-color: var(--brick); color: #FEFCFB; }
.cat-sub { margin: 4px 0 0; padding: 0 22px; font-size: 11.5px; line-height: 1.55; color: var(--ink-3); max-width: 84ch; }
.dt-back { appearance: none; cursor: pointer; font: inherit; font-size: 11px; font-weight: 600; border: 1px solid var(--ink); background: #fff; padding: 6px 12px; }
.dt-back:hover { background: var(--ink); color: #FEFCFB; }
.kpis { display: flex; gap: 12px; padding: 10px 22px 0; flex-wrap: wrap; }
.mtoolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 12px 24px 0; background: transparent; }
.mtoolbar .crumbs { min-width: 0; padding: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-context { min-width: 0; }
.tb-discover { display: flex; align-items: stretch; gap: 7px; width: 100%; }
.tb-filters { appearance: none; cursor: pointer; flex: none; font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; font-size: 11.5px; font-weight: 650; border: 1px solid var(--ink); background: #fff; color: var(--ink); padding: 7px 13px; transition: border-color 130ms ease, color 130ms ease, background 130ms ease; }
.tb-filters svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.tb-filters:hover { border-color: var(--brick); color: var(--brick); }
.tb-filters.on { border-color: var(--brick); background: var(--brick); color: #fff; }
.tb-filters i { font-style: normal; font-family: var(--font-mono); font-size: 9px; background: var(--brick); color: #FEFCFB; padding: 0 5px; }
.tb-filters i:empty { display: none; }
.tb-filters.on i { background: #fff; color: var(--brick); }
.tb-search { appearance: none; cursor: text; min-width: 0; flex: 1; font: inherit; display: inline-flex; align-items: center; gap: 10px; min-height: 38px; border: 1px solid var(--ink); background: #fff; color: var(--ink-2); padding: 7px 8px 7px 13px; font-size: 12.5px; text-align: left; transition: border-color 130ms ease; }
.tb-search:hover, .tb-search:focus-visible { border-color: var(--brick); color: var(--ink); outline: 0; }
.tb-search svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--brick); stroke-width: 1.7; }
.tb-search-label { min-width: 0; flex: 1; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-shortcut { flex: none; display: inline-flex; margin-left: auto; }
/* both glyphs live in their own box with line-height 1, flex-centered, so
   their vertical centers coincide in every browser; baseline alignment of an
   anonymous text node rendered differently per engine */
.tb-shortcut kbd { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 46px; height: 26px; padding: 0 8px; box-sizing: border-box; border: 1px solid #CFC7BF; background: var(--bg); color: var(--ink-3); box-shadow: 0 1px 0 #CFC7BF; font: 600 10.5px/1 var(--font-mono); letter-spacing: .08em; }
.tb-shortcut kbd i { display: block; font-style: normal; font-size: 15.5px; line-height: 1; transform: translateY(1px); }
.tb-shortcut kbd b { display: block; font-weight: 600; line-height: 1; }
.tb-active { order: 2; flex: 1 1 100%; display: flex; align-items: center; gap: 7px; min-width: 0; padding-top: 1px; }
.tb-chips { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.mtoolbar .tb-runs { margin-left: auto; }
@media (max-width: 880px) {
  .app-bar { grid-template-columns: max-content minmax(220px, 1fr) max-content; gap: 10px; }
  .app-ttl em { display: none; }
}
@media (max-width: 700px) {
  .app-ttl { font-size: 0; gap: 0; }
  .app-ttl .sep { display: none; }
  .tb-shortcut { display: none; }
  .app-bar .fsbtn { padding-inline: 8px; font-size: 0; gap: 0; }
  .app-bar .fsbtn svg { width: 14px; height: 14px; }
  #fsBtn { font-size: 15px; line-height: 1; }
}
@media (max-width: 520px) {
  .mtoolbar { padding: 9px 12px 0; }
  .tb-search-label { font-size: 0; }
  .tb-search-label::after { content: 'Search'; font-size: 12.5px; }
  .tb-filters { padding-inline: 10px; }
}
.fpanel.pulse { animation: fpPulse 1s ease 2; }
@keyframes fpPulse { 0%, 100% { box-shadow: 4px 4px 0 rgba(9, 8, 8, 0.85); } 50% { box-shadow: 0 0 0 3px var(--brick), 4px 4px 0 rgba(9, 8, 8, 0.85); } }
.fbar .fbl { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brick); margin-right: 3px; }
.fchip2 { appearance: none; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; border: 1px solid var(--bg-3); background: var(--bg); color: var(--ink); padding: 2px 8px; }
.fchip2 i { font-style: normal; color: var(--ink-4); }
.fchip2:hover { border-color: var(--brick); color: var(--brick); }
.fchip2:hover i { color: var(--brick); }
.fcount { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); }
/* The runs jump always sits at the right edge of the toolbar, whether or not
   filter chips share the row. */
.mtoolbar .tb-runs, .tb-runs.solo { margin-left: auto; }
.fclear { appearance: none; cursor: pointer; font: inherit; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; border: 0; background: none; color: var(--brick); }
.fclear:hover { text-decoration: underline; }
.kstrip { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 8px 22px 0; }
.kc { display: inline-flex; align-items: baseline; gap: 5px; border: 1px solid var(--bg-2); background: var(--bg); padding: 3px 9px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-4); }
.kc b { font-family: var(--font-body); font-size: 12px; font-weight: 650; color: var(--ink); text-transform: none; letter-spacing: 0; }
.kc.click { cursor: pointer; }
.kc.click:hover { border-color: var(--ink); }
.kpi { flex: 1; min-width: 120px; border: 1px solid var(--bg-2); background: var(--bg); padding: 7px 11px; }
.kpi.click { cursor: pointer; transition: border-color 120ms ease; }
.kpi.click:hover { border-color: var(--ink); }
.kpi b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.lgr .tlogo { width: 20px; height: 20px; }
.lgr .tlogo img { width: 13px; height: 13px; }
.tlogo { width: 22px; height: 22px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bg-2); background: #fff; font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
.tlogo img { width: 15px; height: 15px; object-fit: contain; display: block; }
.tlogo svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
.tlogo.lg { width: 34px; height: 34px; }
.tlogo.lg img { width: 22px; height: 22px; }
.repo-link { color: inherit; text-decoration: none; }
.rico { width: 17px; height: 17px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.rico img { width: 14px; height: 14px; object-fit: contain; display: block; }
.rico svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-4); stroke-width: 1.4; }


/* ===== board design system: warm canvas, white square panels ===== */
.main { background: #F8F5F1; }
.mtoolbar { background: transparent; }
.board-loading { padding: 22px 24px; }
.board-loading-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.board-loading-head i { width: 9px; height: 9px; background: var(--brick); animation: miPulse 1.1s ease-in-out infinite; }
.board-loading-head b { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.board-loading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.board-loading-card { height: 112px; border: 1px solid #E9E2DB; background: #fff; padding: 16px; box-sizing: border-box; }
.board-loading-line { display: block; height: 9px; margin-bottom: 10px; background: linear-gradient(90deg, #EEE9E4 20%, #F8F5F1 45%, #EEE9E4 70%); background-size: 220% 100%; animation: lbLoad 1.25s linear infinite; }
.board-loading-line.short { width: 54%; }
@keyframes lbLoad { to { background-position: -220% 0; } }
@media (max-width: 700px) { .board-loading-grid { grid-template-columns: 1fr; } .board-loading-card:nth-child(n+3) { display: none; } }
/* the board header sits on the canvas: crumbs, then the title, its tier and
   the jump to the runs on one row; the card below carries the separation */
.cat-head { padding: 10px 24px 6px; }
.cat-head .tb-runs { margin-left: auto; font-size: 10.5px; letter-spacing: 0.06em; padding: 8px 14px; gap: 8px; border-color: var(--ink); color: var(--ink); }
.cat-head .tb-runs svg { width: 11px; height: 11px; }
.cat-head h2 { font-size: 21px; }
.cat-head .upd { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-4); }
.hstats { display: flex; gap: 28px; margin-left: auto; }
.tier { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brick); border: 1px solid rgba(200, 65, 13, 0.45); background: rgba(200, 65, 13, 0.06); padding: 3px 9px; }
.lede2 { margin: 0; padding: 0 24px 14px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); max-width: 96ch; }
.lede2 b { font-weight: 700; color: var(--ink); }
.keyl { margin: 0 24px 16px; padding: 14px 18px 12px; background: #fff; border: 1px solid #E9E2DB; border-left: 3px solid var(--brick); }
.keyl ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
@media (max-width: 1050px) { .keyl ul { columns: 1; } }
.keyl li { position: relative; break-inside: avoid; margin: 0 0 8px; padding-left: 15px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.keyl li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--brick); }
.keyl b { font-weight: 700; color: var(--ink); }
/* digest form: one headline, a few key learnings, then the smaller ones */
/* The digest: one card under the header. It stands apart from the soft
   panels with the site's ink border and hard shadow, and breathes inside. */
.keyl.dg { margin: 12px 24px 22px; padding: 22px 26px 20px; background: #fff; border: 1px solid var(--ink); border-radius: 2px; box-shadow: 4px 4px 0 var(--ink); }
.keyl.dg .dg-lead p { margin: 10px 0 0; font-size: 13px; line-height: 1.7; }
.main > .keyl.dg:first-child { margin-top: 20px; }
.keyl.dg .dg-notes.fb { margin-top: 16px; }
.keyl.dg .dg-notes.fb ul { margin-top: 0; }
.dg-lead h3 { margin: 2px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; }
.dg-lead p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
/* the numbered learnings: a gray box each, two to a row, no hairlines */
.dg-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 20px; }
@media (max-width: 1050px) { .dg-keys { grid-template-columns: 1fr; } }
.dg-key { background: #F4F1ED; border-radius: 3px; padding: 14px 16px 13px; }
.dg-key h5 { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dg-key p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.68; color: var(--ink-2); }
/* the other results sit behind a toggle; the list stays in the DOM. The
   front page folds the main results the same way. */
.dg-notes { margin-top: 16px; }
.dg-fold { margin-top: 16px; }
.dg-ntg.big { font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.dg-ntg.big:hover { color: var(--brick); }
.dg-ntg.big .dg-car { border-left-width: 5px; border-top-width: 4.5px; border-bottom-width: 4.5px; margin-right: 9px; }
.dg-fold .dg-foldin { display: none; }
.dg-fold.open .dg-foldin { display: block; }
.dg-fold .dg-keys { margin-top: 14px; }
.dg-fold .dg-key h5 { font-size: 14.5px; }
.dg-fold .dg-key p { font-size: 13.5px; line-height: 1.65; }
.dg-notes.plain { margin-top: 22px; }
.dg-nlbl { margin: 0; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.dg-notes.plain ul { margin-top: 12px; }
.dg-fold .dg-car { transition: transform .15s; }
.dg-fold.open .dg-car { transform: rotate(90deg); }
.dg-ntg { appearance: none; border: 0; background: none; padding: 2px 0; margin: 0; display: inline-flex; align-items: center; cursor: pointer; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.dg-ntg:hover { color: var(--ink); }
.dg-car { width: 0; height: 0; border-left: 4px solid currentColor; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; margin-right: 7px; transition: transform .15s; }
.dg-notes.open .dg-car { transform: rotate(90deg); }
.dg-nn { margin-left: 7px; padding: 1px 5px; border: 1px solid #E9E2DB; border-radius: 2px; font-size: 8.5px; letter-spacing: 0.04em; color: var(--ink-4); }
.dg-notes ul { display: none; margin: 12px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.dg-notes.open ul { display: block; }
@media (max-width: 1050px) { .dg-notes ul { columns: 1; } }
.dg-notes li { position: relative; break-inside: avoid; margin: 0 0 10px; padding-left: 15px; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.dg-notes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--brick); }
.dg-notes b { font-weight: 700; color: var(--ink); }
/* digest anchors: the board's logos inline where a name appears, an index on
   each key, logos as the markers of notes */
.dg-head { display: flex; align-items: center; gap: 10px; }
.dg-logos { display: flex; gap: 3px; flex: none; }
/* mention chips: a small logo at text height, a bold name, and a click that
   opens the player or applies the filter (same handlers as the board) */
.dg-nm { appearance: none; border: 0; background: none; padding: 0; margin: 0 0 0 2px; font: inherit; line-height: inherit; color: var(--ink); font-weight: 600; white-space: nowrap; cursor: pointer; display: inline; }
.dg-nm:hover { color: var(--brick); }
.dg-nm .tlogo { width: 12px; height: 12px; border: 0; background: none; vertical-align: -1px; margin-right: 4px; }
.dg-nm .tlogo img { width: 12px; height: 12px; }
.dg-nm .tlogo svg { width: 11px; height: 11px; }
.dg-lg { appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; display: inline-flex; }
.dg-lg:hover .tlogo { border-color: var(--brick); }
.dg-ix { font-style: normal; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: var(--brick); margin-right: 8px; vertical-align: 2px; }
.dg-notes li.ic { display: flex; align-items: flex-start; gap: 9px; padding-left: 0; }
.dg-notes li.ic::before { display: none; }
.dg-notes li.ic .dg-mk { display: flex; gap: 3px; flex: none; margin-top: -1px; }
.seewin { margin-top: 4px; appearance: none; cursor: pointer; font: inherit; font-size: 11.5px; font-weight: 650; border: 1px solid var(--ink); background: #fff; color: var(--ink); padding: 6px 12px; }
.seewin:hover { background: var(--ink); color: #FEFCFB; }
.keyl.dg .seewin { margin-top: 16px; }
.main > .cbnote { margin: 0 24px 12px; }
.go2 { font-family: var(--font-body); font-size: 15px; color: var(--bg-3); margin-left: 2px; transition: color 120ms ease, transform 120ms ease; }
.prow:hover .go2 { color: var(--brick); transform: translateX(2px); }
.goview { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brick); opacity: 0; transition: opacity 120ms ease; white-space: nowrap; }
.prow:hover .goview { opacity: 1; }
.prow[data-tool]:hover .ptx > b { text-decoration: underline; text-underline-offset: 3px; }
.tb-runs { margin-left: auto; appearance: none; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--bg-3); background: #fff; color: var(--ink-2); padding: 5px 10px; transition: all 130ms ease; }
.tb-runs svg { width: 10px; height: 10px; fill: currentColor; stroke: none; }
.tb-runs:hover { border-color: var(--brick); color: var(--brick); }
.rnav { display: inline-flex; align-items: center; gap: 4px; }
.rnav button { appearance: none; cursor: pointer; font: inherit; width: 24px; height: 24px; border: 1px solid var(--bg-3); background: #fff; color: var(--ink-2); font-size: 14px; line-height: 1; }
.rnav button:hover:not(:disabled) { border-color: var(--ink); }
.rnav button:disabled { opacity: 0.35; cursor: default; }
.rnav em { font-style: normal; font-family: var(--font-mono); font-size: 9px; color: var(--ink-4); }
.tiny-tier { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-4); border: 1px dashed var(--bg-3); padding: 2px 7px; }
.ccard footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.faq { border-top: 1px solid #F0EAE4; }
.faq:first-of-type { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 10px 2px; font-size: 13px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tw { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); transition: transform 140ms ease; }
.faq[open] summary .tw { transform: rotate(90deg); }
.faq p { margin: 0 0 12px; padding: 0 2px; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); max-width: 90ch; }
.hstats span { text-align: right; }
.hstats b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.1; }
.hstats small { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; padding: 2px 24px 26px; }
.ccard { cursor: pointer; transition: border-color 130ms ease, box-shadow 130ms ease; display: flex; flex-direction: column; }
.ccard:hover { border-color: var(--ink); box-shadow: 3px 3px 0 rgba(9, 8, 8, 0.12); }
.ccard > header h3 { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink); font-weight: 600; letter-spacing: 0.05em; }
.ccard > header h3 svg { width: 13px; height: 13px; fill: none; stroke: var(--brick); stroke-width: 1.5; }
.ccard.soon > header h3 svg { stroke: var(--ink-4); }
.ccard.soon { cursor: default; color: var(--ink-4); }
.ccard.soon:hover { border-color: #E9E2DB; box-shadow: none; }
.ccard .ghost { display: flex; flex-direction: column; gap: 12px; padding: 10px 0 4px; }
.ccard .ghost i { height: 9px; background: var(--bg-2); }
.crow { display: flex; align-items: center; gap: 9px; padding: 6px 0; }
.crow + .crow { border-top: 1px solid #F5F0EA; }
.ccard .crow:first-of-type span { color: var(--brick); font-weight: 650; }
.crow em { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); width: 12px; }
.crow .tlogo { width: 22px; height: 22px; }
.crow .tlogo img { width: 15px; height: 15px; }
.crow b { font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.crow span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ccard footer { margin-top: auto; padding-top: 10px; }
.cta2 { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brick); }
.ccard:hover .cta2 { text-decoration: underline; }
.cat-head.home h2 { font-size: 21px; }

.panel { background: #fff; border: 1px solid #E9E2DB; padding: 14px 16px 16px; min-width: 0; }
.panel.sp12 { grid-column: span 12; }
.panel.sp7 { grid-column: span 7; }
.panel.sp8 { grid-column: span 8; }
.panel.sp6 { grid-column: span 6; }
.panel.sp5 { grid-column: span 5; }
.panel.sp4 { grid-column: span 4; }
@media (max-width: 1050px) { .panel.sp7, .panel.sp8, .panel.sp6, .panel.sp5, .panel.sp4 { grid-column: span 12; } }
@media (min-width: 1500px) { .panel.ccard.sp4 { grid-column: span 3; } }
.panel > header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.panel > header h3 { margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.panel .pmeta { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; color: var(--ink-4); text-align: right; }
.pnote { margin: 6px 0 0; font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); }
.pmore { margin: 10px 0 0; appearance: none; cursor: pointer; font: inherit; border: 0; background: none; color: var(--brick); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 0; }
.pmore:hover { text-decoration: underline; }
/* local-only sector reordering (see LOCAL_EDIT) */
.orderbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 0 24px 12px; padding: 8px 12px; border: 1px dashed var(--brick); font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); }
.orderbar em { font-style: normal; color: var(--ink-4); }
.orderbar em.bad { color: var(--brick); }
.orderbar .pmore { margin: 0 0 0 auto; }
.ccard .grip { appearance: none; border: 0; background: none; cursor: grab; color: var(--ink-4); font-size: 13px; line-height: 1; padding: 0 2px; margin-left: 4px; }
.ccard .grip:hover { color: var(--ink); }
.ccard.dragging { opacity: 0.4; }
.ccard.drop-before { box-shadow: -4px 0 0 var(--brick); }
.ccard.drop-after { box-shadow: 4px 0 0 var(--brick); }
.pdiv { margin: 14px 0 8px; padding-top: 10px; border-top: 1px dashed #E9E2DB; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); }
.pairs2 { display: flex; flex-wrap: wrap; gap: 6px; }

/* the row pattern: content over a tinted bar */
.prow { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; cursor: pointer; }
.lbt .prow + .prow, .panel .prow + .prow { border-top: 1px solid #F7F2EC; }
.prow.still { cursor: default; }
.prow.flat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 172px); gap: 12px; padding: 7px 10px; align-items: center; }
.prow.flat:hover { background: none; }
.prow.flat + .prow.flat { border-top: 1px solid #F5F0EA; }
.prow.flat .pl { flex: none; }
.prow.flat .pr { justify-self: start; }
.prow.flat .topk { align-items: flex-start; }
.prow.flat .topk .tlogo { margin-top: 1px; }
.tkc { display: inline-flex; flex-direction: column; align-items: flex-start; margin-left: 2px; }
.tkc small { font-family: var(--font-mono); font-size: 8px; color: var(--ink-4); letter-spacing: 0.02em; }
.pfoot { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #E9E2DB; font-family: var(--font-mono); font-size: 9px; color: var(--ink-4); }
.prow:hover:not(.still) { background: rgba(9, 8, 8, 0.025); }
.prow .pbar { position: absolute; left: 0; top: 4px; bottom: 4px; z-index: 0; pointer-events: none; transition: width 320ms cubic-bezier(0.4, 0, 0.2, 1); }
.prow.first .pbar { box-shadow: inset 2px 0 0 var(--brick); }
.panel.lead > header h3 { color: var(--ink); font-weight: 700; }
.panel.lead > header h3::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--brick); margin-right: 7px; }
.prow.big { padding: 11px 10px; }
.prow.big .tlogo { width: 30px; height: 30px; }
.prow.big .tlogo img { width: 20px; height: 20px; }
.prow.big .ptx b { font-size: 15px; }
.prow.big .pct { font-size: 22px; }
.prow.first .pct { color: var(--brick); }
.prow.first.ink .pct, .pct.ink { color: var(--ink); }
.prow.first.ink .pbar { box-shadow: inset 2px 0 0 var(--ink); }
.prow.diyrow .tlogo { background: var(--ink); border-color: var(--ink); }
.prow.diyrow .tlogo svg { stroke: #FEFCFB; }
.ptx.grp b { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.arr2 { font-style: normal; color: var(--ink-4); margin-right: 2px; }
.noanswer { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-4); }
.unan { display: flex; align-items: center; gap: 16px; }
.unan p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); max-width: 70ch; }
.unan b { font-weight: 700; color: var(--ink); }
.unan .pmore { margin: 0 0 0 auto; flex: none; }
.topk .tkn { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.prow .pl { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.prow .pr { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; flex: none; }
.prow .rk.tied::after { content: '='; opacity: .55; margin-left: 1px; }
.prow .rk { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); width: 14px; }
.prow .tlogo { width: 24px; height: 24px; background: #fff; }
.prow .tlogo img { width: 16px; height: 16px; }
.prow .ptx { min-width: 0; }
.prow .ptx b { display: block; font-size: 13px; font-weight: 650; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .ptx small { display: block; font-family: var(--font-mono); font-size: 8.5px; color: var(--ink-4); letter-spacing: 0.02em; }
.pct { font-family: var(--font-display); font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pct.sm { font-size: 14px; }
.glogo { width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.glogo img { width: 15px; height: 15px; object-fit: contain; }
.topk { display: inline-flex; align-items: center; gap: 7px; }
.topk .tlogo { width: 20px; height: 20px; }
.topk .tlogo img { width: 13px; height: 13px; }

/* hero chart */
.schips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.schip { appearance: none; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #EFE8E1; background: #FDFBF9; padding: 4px 10px 4px 7px; transition: border-color 120ms ease; }
.schip:hover { border-color: var(--ink); }
.schip i { width: 8px; height: 8px; flex: none; }
.schip .tlogo { width: 18px; height: 18px; border: 0; background: none; }
.schip .tlogo img { width: 14px; height: 14px; }
.schip b { font-size: 11.5px; font-weight: 650; }
.schip em { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); }
.area { display: block; width: 100%; height: auto; }

/* ----- board: donut + legend ----- */
.band { padding: 18px 24px 22px; border-bottom: 1px solid var(--bg-2); }
.band.hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 12px; }
@media (max-width: 1050px) { .band.hero { grid-template-columns: 1fr; } }
.heroL { display: flex; flex-direction: column; gap: 16px; }
.heroR { min-width: 0; }
.outc h4 { margin: 0 0 4px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.splits3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1050px) { .splits3 { grid-template-columns: 1fr; } }
.evgrid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 1050px) { .evgrid { grid-template-columns: 1fr; } }
.evc h3 { margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.pairsline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--bg-2); }
.pl-l { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); margin-right: 4px; }

/* the leaderboard table */
.lbt { min-width: 0; }
.lbtr { display: grid; grid-template-columns: 20px 10px 26px minmax(140px, 1fr) 74px minmax(90px, 220px) 72px 46px 42px; gap: 12px; align-items: center; padding: 8px 6px; border-top: 1px solid var(--bg-2); cursor: pointer; transition: background 120ms ease; }
.lbtr:hover { background: var(--bg); }
.lbtr.hd { border-top: 0; cursor: default; padding: 0 6px 6px; }
.lbtr.hd:hover { background: none; }
.lbtr.hd span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.lbtr em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); }
.lbtr .sw { width: 9px; height: 9px; }
.lbtr .tlogo { width: 24px; height: 24px; }
.lbtr .tlogo img { width: 16px; height: 16px; }
.lbtr .nm { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbtr .pct { font-family: var(--font-display); font-weight: 500; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.bars2 { position: relative; height: 14px; overflow: hidden; }
.bars2 i { position: absolute; left: 0; top: 1px; height: 8px; }
.bars2 u { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--bg-3); }
.lbtr .spk { display: inline-flex; align-items: center; justify-content: flex-end; }
.nospark { font-style: normal; color: var(--bg-3); }
.tr2 { text-align: right; }
.lbtr .m2 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lbt-more { margin: 10px 0 0; appearance: none; cursor: pointer; font: inherit; border: 0; background: none; color: var(--brick); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; padding: 0; }
.lbt-more:hover { text-decoration: underline; }
.lbt-foot { margin-top: 10px; font-family: var(--font-mono); font-size: 8.5px; color: var(--ink-4); }
@media (max-width: 900px) { .donutwrap { grid-template-columns: 1fr; } }
.dnt { position: relative; width: 230px; height: 230px; margin: 0 auto; }
.dnt svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dnt svg circle { fill: none; stroke-width: 30; cursor: pointer; transition: opacity 140ms ease; }
.dnt svg circle.still { cursor: default; }
.dnt.focus svg circle { opacity: 0.25; }
.dnt.focus svg circle.hl { opacity: 1; }
.dnt.focus .dnt-lb { opacity: 0.25; }
.dnt.focus .dnt-lb.hl { opacity: 1; }
.understats { display: flex; justify-content: center; gap: 26px; padding-top: 4px; border-top: 1px solid var(--bg-2); padding-top: 12px; }
.understats span { text-align: center; font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.understats b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--ink); text-transform: none; }
.dnt-lb { position: absolute; z-index: 2; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: #fff; border: 1px solid var(--bg-2); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(9, 8, 8, 0.25); cursor: pointer; font-family: var(--font-mono); font-size: 9px; color: var(--ink-3); }
.dnt-lb img { width: 12px; height: 12px; object-fit: contain; display: block; }
.dnt-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.dnt-c b { font-family: var(--font-display); font-weight: 500; font-size: 27px; line-height: 1; }
.dnt-c span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); margin-top: 5px; max-width: 110px; line-height: 1.5; }
.lg-sec { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); margin: 8px 0 3px; }
.lg-sec:first-child { margin-top: 0; }
.lgr { display: grid; grid-template-columns: 10px 20px minmax(0, 1fr) 48px 36px; gap: 8px; align-items: center; padding: 2px 6px; cursor: pointer; transition: background 120ms ease; }
.lgr.hl { background: var(--bg); }
.lgr:hover { background: var(--bg); }
.lgr.still { cursor: default; }
.lgr.still:hover { background: none; }
.lgr .sw { width: 9px; height: 9px; }
.lgr .nm { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgr.sp .nm { font-weight: 500; color: var(--ink-2); }
.lgr b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.lgr em { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-4); text-align: right; font-variant-numeric: tabular-nums; }
.lgr-more { display: inline-block; margin: 8px 0 0 6px; cursor: pointer; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brick); }

/* ----- board minis: split cards ----- */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px 22px 4px; }
@media (max-width: 980px) { .minis { grid-template-columns: 1fr; } }
.mini { border: 0; border-top: 1px solid var(--bg-2); background: none; padding: 9px 2px 0; }
.mini h4 { margin: 0 0 3px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.mini .mex { margin: 0 0 10px; font-size: 10px; line-height: 1.5; color: var(--ink-4); }
.srow { margin: 7px 0 0; }
.srow .sl { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; }
.srow .sl img { width: 14px; height: 14px; object-fit: contain; }
.srow .sl b { font-size: 11px; font-weight: 650; }
.srow .sl em { font-style: normal; margin-left: auto; font-family: var(--font-mono); font-size: 9px; color: var(--ink-4); }
.stk100 { display: flex; height: 8px; background: var(--bg); overflow: hidden; }
.stk100 i { height: 100%; }
.mlegend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; }
.minis.compact .mlegend { display: none; }
.minis.compact .mex { display: none; }
.minis.compact .srow .sl { margin-bottom: 3px; }
.mlegend span { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; color: var(--ink-3); }
.mlegend img { width: 11px; height: 11px; object-fit: contain; }
.mlegend i { width: 7px; height: 7px; flex: none; }

/* ----- sections (details / tool / panel) ----- */
.dr-sec { padding: 18px 24px 22px; border-bottom: 1px solid var(--bg-2); }
.panel .rlh { padding-top: 0; }
.main .dr-sec:last-child { border-bottom: 0; }
.dr-sec h3 { margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.sec-ex { margin: 3px 0 14px; font-size: 11px; line-height: 1.55; color: var(--ink-4); max-width: 84ch; }

/* full ranking rows */
.rkr { display: grid; grid-template-columns: 22px 24px 190px minmax(0, 1fr) 54px 54px 40px; gap: 10px; align-items: center; padding: 7px 6px; border-top: 1px solid var(--bg-2); cursor: pointer; transition: background 120ms ease; }
.rkr:first-of-type { border-top: 0; }
.rkr:hover { background: var(--bg); }
.rkr.hd { cursor: default; padding: 0 6px 6px; border-top: 0; }
.rkr.hd:hover { background: none; }
.rkr.hd span { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.rkr em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-4); }
.rkr .nm { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rkr.sp .nm { font-weight: 500; color: var(--ink-2); }
.rkr .bars { position: relative; height: 14px; overflow: hidden; }
.rkr .bars .b1 { position: absolute; left: 0; top: 0; height: 8px; background: var(--brick); }
.rkr.sp .bars .b1 { background: #8F8880; }
.rkr .bars .b2 { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--bg-3); }
.rkr b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.rkr .m2 { color: var(--ink-4); font-weight: 400; }

/* split grid (details) */
.splitgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .splitgrid { grid-template-columns: 1fr; } }
.split { border: 1px solid var(--bg-2); background: var(--bg); padding: 14px 16px; }
.split h4 { margin: 0 0 2px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-4); font-weight: 500; }
.split .mex { margin: 0 0 8px; font-size: 10px; line-height: 1.5; color: var(--ink-4); }
