/* Kit v3 Development (R73). Tokens from v3.css only; shares parts with observatory.css. */
.dev-left { inset-block: 76px 12px; inset-inline-start: 76px; width: 380px; }
.dev-left .seg { margin-block-start: 10px; }
.dev-left .row { grid-template-columns: 22px minmax(0,1fr) auto 48px; }
.dev-main { inset-block: 76px 12px; inset-inline-end: 12px; width: min(600px, calc(100% - 640px)); }
.dev-left .find { margin-block-start: 12px; }
.dev-main > .panel__hd { padding: 16px 20px 0; border: 0; }
.dhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dhead .title { font-size: 26px; }
.dhead .chips2 { display: flex; gap: 6px; flex-wrap: wrap; margin-block-start: 10px; }
.dtabs { display: flex; gap: 2px; margin-block-start: 14px; border-block-end: 1px solid var(--line); }
.dtabs button { position: relative; height: 38px; padding-inline: 12px; border: 0; background: transparent; color: var(--ink-3); font-weight: 500; }
.dtabs button em { font-style: normal; font-size: 11.5px; margin-inline-start: 6px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dtabs button:hover { color: var(--ink); }
.dtabs button[aria-selected="true"] { color: var(--ink); }
.dtabs button[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 10px; inset-block-end: -1px; height: 2px; border-radius: var(--r); background: var(--red); }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-block-start: 14px; border: 1px solid var(--line); }
.kpi { background: var(--bg-1); padding: 12px 14px; min-width: 0; }
.kpi b { display: block; font: 600 26px/1.05 var(--f); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b.t { font-size: 15px; letter-spacing: 0; line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 34px; }
.kpi b.t + span { margin-block-start: 0; }
.kpi span { display: block; margin-block-start: 6px; color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small { display: block; color: var(--ink-3); font-size: 11px; margin-block-start: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbody { padding: 16px 20px 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tile { min-width: 0; padding: 14px 16px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line); }
.tile--w { grid-column: 1 / -1; }
.tile__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tile__h h3 { margin: 0; font: 600 15px/1.2 var(--f); }
.tile__h .mono { font-size: 10.5px; color: var(--ink-3); }
.big { display: flex; align-items: baseline; gap: 8px; margin-block-start: 10px; }
.big b { font: 600 30px/1 var(--f); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big span { color: var(--ink-3); font-size: 12px; }
.tile .meter { margin-block: 10px 6px; }
.ir { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border: 0; border-block-start: 1px solid var(--line); background: transparent; text-align: start; color: var(--ink-2); font-size: 12.5px; text-decoration: none; }
.ir span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ir span small { color: var(--ink-3); margin-inline-start: 6px; }
.ir em { font-style: normal; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.ir:hover { color: var(--ink); }
.ir--fig { color: var(--ink); }
.ir--fig em { color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { font: 500 10.5px/1 var(--f); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); text-align: start; padding: 10px 8px; border-block-end: 1px solid var(--line); white-space: nowrap; }
.tbl th button { border: 0; background: transparent; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }
.tbl th button:hover, .tbl th button[aria-pressed="true"] { color: var(--ink); }
.tbl td { padding: 9px 8px; border-block-end: 1px solid var(--line); vertical-align: middle; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl tbody tr { cursor: pointer; }
.tbl tbody tr:hover td { background: var(--bg-2); }
.tbl tbody tr[aria-selected="true"] td { background: var(--red-soft); }
.tbl .n { text-align: end; font-variant-numeric: tabular-nums; }
.tbl .mut { color: var(--ink-3); }
.tbl--empty td { color: var(--ink-3); cursor: default; }
.tbl--empty tbody tr:hover td { background: transparent; }
.split { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 16px; align-items: start; }
.rescards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-block-start: 12px; }
.rc { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 14px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.rc:hover { border-color: var(--line-2); }
.rc b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc small { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc p { margin: 0; color: var(--ink-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc .foot span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rc .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-block-start: 4px; font-size: 11.5px; color: var(--ink-3); }
.rep { display: grid; grid-template-columns: 96px minmax(0,1fr) 120px 64px; gap: 14px; align-items: center; padding: 11px 4px; border-block-end: 1px solid var(--line); color: inherit; text-decoration: none; }
.rep:hover { background: var(--bg-2); }
.rep b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep small { display: block; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-block-start: 2px; }
.rep .y { font: 500 12px/1 var(--m); color: var(--ink-2); text-align: end; white-space: nowrap; }
.prog { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.prog .tile { display: flex; flex-direction: column; gap: 8px; }
.pc { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 10px 0; border: 0; border-block-start: 1px solid var(--line); background: transparent; text-align: start; color: inherit; }
.pc b { font-weight: 600; display: block; }
.pc small { display: block; color: var(--ink-3); margin-block-start: 2px; font-size: 12px; }
.pc[aria-expanded="true"] { color: var(--ink); }
.pc + .pd { padding: 0 0 10px; }
.pd ul { margin: 0; padding-inline-start: 16px; color: var(--ink-2); font-size: 12.5px; }
.ghost { color: var(--ink-3); }
@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .split { grid-template-columns: minmax(0,1fr); }
  .prog { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .dev-left { display: none; }
  .dev-main { inset-inline: 8px; width: auto; inset-block: auto 8px; max-height: 58vh; }
  .dev-main > .panel__hd { padding: 14px 14px 0; }
  .dhead .title { font-size: 22px; }
  .dbody { padding: 12px 14px 16px; }
  .dev-main { overflow: auto; }
  .dev-main > .panel__bd { flex: none; overflow: visible; }
  .kpis { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .kpi { padding: 10px; }
  .kpi b { font-size: 20px; }
  .kpi b.t { font-size: 13px; min-height: 0; }
  .kpi small { display: none; }
  .dtabs button { white-space: nowrap; flex: none; }
  .dhead .chips2 .chip:not(.chip--red) { display: none; }
  .grid { grid-template-columns: minmax(0,1fr); }
  .dtabs { overflow-x: auto; scrollbar-width: none; }
  .rep { grid-template-columns: minmax(0,1fr) 52px; }
  .rep > :first-child, .rep > :nth-child(3) { display: none; }
  .tbl .hide-s { display: none; }
}

.tbl--fix { table-layout: fixed; }
.tbl--fix col.c1 { width: 17%; } .tbl--fix col.c2 { width: 11%; } .tbl--fix col.c3 { width: 25%; } .tbl--fix col.c4 { width: 27%; } .tbl--fix col.c5 { width: 8%; } .tbl--fix col.c6 { width: 6%; } .tbl--fix col.c7 { width: 9%; }
@media (max-width: 760px) { .tbl--fix col.c2, .tbl--fix col.c4, .tbl--fix col.c5, .tbl--fix col.c7 { width: 0; } .tbl--fix col.c1 { width: 34%; } .tbl--fix col.c3 { width: 50%; } .tbl--fix col.c6 { width: 16%; } }

.dtabs button em, [dir="rtl"] .group__h .eyebrow b { unicode-bidi: isolate; }
[dir="rtl"] .dtabs button em { margin-inline: 0 6px; }
[dir="rtl"] .dtabs button { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 6px; }
[dir="rtl"] .dtabs button em { margin: 0; }

/* Flags (SPINE.flag) where a place is named */
.tbl td .fl, .rc small .fl { width: 18px; height: 12px; margin-inline-end: 8px; vertical-align: -2px; }
.dhead .title--fl span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Data bars: the pastel gradient sized to the whole track; red only on the selection */
.dev-left .row .meter { --meter-w: 48px; }

/* The platform rail floats on the inline end: the main panel clears it */
.has-rail-end .dev-main { inset-inline-end: 76px; width: min(600px, calc(100% - 700px)); }
/* The globe shows between the panels: the main panel keeps its own columns narrow */
.dev-main .kpis { grid-template-columns: repeat(3, minmax(0,1fr)); }
.dev-main .split { grid-template-columns: minmax(0,1fr); }
.dev-main .prog { grid-template-columns: minmax(0,1fr); }
@media (min-width: 761px) {
.dev-main .tbl--fix col.c4, .dev-main .tbl--fix col.c7 { width: 0; }
.dev-main .tbl--fix col.c1 { width: 25%; } .dev-main .tbl--fix col.c2 { width: 16%; } .dev-main .tbl--fix col.c3 { width: 30%; } .dev-main .tbl--fix col.c5 { width: 17%; } .dev-main .tbl--fix col.c6 { width: 12%; }
.dev-main .tbl--fix .hide-m { display: none; }
}
.dev-main .tbl th { overflow: hidden; text-overflow: ellipsis; }
[dir="rtl"] .dev-main .tbl td:not(.n) { unicode-bidi: plaintext; text-align: right; }
[dir="rtl"] .kpi small, [dir="rtl"] .kpi b.t { unicode-bidi: plaintext; text-align: right; }
@media (max-width: 760px) {
  .has-rail-end .dev-main { inset-inline-end: 8px; width: auto; }
}

/* The reader's context: a line that says for which place the list is ranked */
.forln { margin: 0 0 10px; }
.sugg { font-size: 12.5px; }

/* Sourced figures as a figure grid; the community-size cell keeps its measure, year and label (QA, 5 Nov) */
.figs.dv-figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-block-start: 10px; }
.dv-figs .fg { min-width: 0; padding: 12px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line); overflow-wrap: anywhere; }
.dv-figs .fg > b { display: block; font: 600 20px/1.15 var(--f); letter-spacing: -.02em; }
.dv-figs .fg > b.sm { font-size: 14px; letter-spacing: 0; line-height: 1.35; }
.dv-figs .fg small { display: block; margin-block-start: 4px; color: var(--ink-3); }
.dv-figs .fg .src { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-block-start: 8px; padding-block-start: 8px; border-block-start: 1px solid var(--line); }
.dv-figs .fg .src a, .dv-figs .fg .src span:first-child { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dv-gap { margin-block-start: 10px; }
.tbl td.dv-cs { white-space: normal; }
.tbl td.dv-cs b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl td.dv-cs small { display: block; color: var(--ink-3); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
