/* Chart tokens. The host site (cosmo) is light-only, so the charts are too. */
:root, .wga {
  --surface: #fcfcfb;
  --page: #f9f9f7;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --ink-muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --zero: #f0efec;
  --ring: rgba(11, 11, 11, 0.10);
  --s-github: #2a78d6;
  --s-forums: #eb6834;
  --s-calls: #1baf7a;
  --s-conference: #eda100;
  --s-teams: #e87ba4;
}
.wga { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.4; color: var(--ink); }
.wga * { box-sizing: border-box; }
.wga a { color: inherit; }

/* Filter row: one row above everything it scopes */
.wga-filters { display: flex; flex-wrap: wrap; gap: 0.75em 1.5em; align-items: center; margin: 0 0 1em; }
.wga-group { display: flex; align-items: center; gap: 0.5em; }
.wga-group > label, .wga-group > .wga-label { font-size: 0.8em; color: var(--ink-2); margin: 0; font-weight: normal; }
.wga-seg { display: inline-flex; border: 1px solid var(--axis); border-radius: 6px; overflow: hidden; background: var(--surface); }
.wga-seg button { border: 0; background: transparent; padding: 0.3em 0.7em; font: inherit; font-size: 0.85em; color: var(--ink-2); cursor: pointer; border-left: 1px solid var(--grid); }
.wga-seg button:first-child { border-left: 0; }
.wga-seg button:hover { background: var(--zero); }
.wga-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.wga-seg button:focus-visible, .wga select:focus-visible, .wga input:focus-visible { outline: 2px solid var(--s-github); outline-offset: 1px; }
.wga select { font: inherit; font-size: 0.85em; padding: 0.3em 0.5em; border: 1px solid var(--axis); border-radius: 6px; background: var(--surface); color: var(--ink); }
.wga-check { font-size: 0.85em; color: var(--ink-2); display: inline-flex; gap: 0.35em; align-items: center; font-weight: normal; margin: 0; }

/* Stat tiles */
.wga-tiles { display: flex; flex-wrap: wrap; gap: 0.75em; margin: 0 0 1.25em; }
.wga-tile { flex: 1 1 11em; border: 1px solid var(--grid); border-radius: 8px; padding: 0.6em 0.9em; background: var(--surface); }
.wga-tile .l { font-size: 0.78em; color: var(--ink-2); }
.wga-tile .v { font-size: 1.6em; font-weight: 600; line-height: 1.2; }
.wga-tile .v.long { font-size: 1.05em; line-height: 1.5; padding: 0.2em 0; }
.wga-tile .n { font-size: 0.78em; color: var(--ink-muted); }

/* Heatmap */
.wga-card { border: 1px solid var(--grid); border-radius: 8px; background: var(--surface); padding: 1em; margin: 0 0 1em; }
.hm-scroll { overflow-x: auto; }
.hm { --label-w: 190px; --meta-w: 92px; min-width: 760px; }   /* px: rows have different font sizes */
.hm-row { display: grid; grid-template-columns: var(--label-w) repeat(var(--cols), minmax(7px, 1fr)) var(--meta-w); column-gap: 2px; align-items: center; margin-bottom: 2px; }
.hm-head { margin-bottom: 4px; font-size: 0.72em; color: var(--ink-muted); height: 1.2em; }
.hm-head .m { white-space: nowrap; overflow: visible; }
.hm-name { font-size: 0.85em; padding-right: 0.75em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-name a { text-decoration: none; }
.hm-name a:hover { text-decoration: underline; }
.hm-name .x { color: var(--ink-muted); font-size: 0.72em; }
.hm-meta { font-size: 0.78em; color: var(--ink-2); padding-left: 0.75em; white-space: nowrap; }
.hm-meta .d { color: var(--ink-muted); }
.hm-cell { height: 20px; border-radius: 3px; background: var(--zero); cursor: pointer; }
.hm-cell:hover { outline: 2px solid var(--ink); outline-offset: -1px; }
.hm-cell:focus-visible { outline: 2px solid var(--s-github); outline-offset: 1px; }
.hm-cell.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.hm-cell.na { background-color: transparent; background-image: repeating-linear-gradient(45deg, transparent 0 3px, var(--axis) 3px 4px); cursor: default; }
.hm-cell.cur { box-shadow: inset 0 -3px 0 var(--ink-muted); }
.hm-empty { font-size: 0.8em; color: var(--ink-muted); margin: 0.75em 0 0; }

.wga-legend { display: flex; flex-wrap: wrap; gap: 0.5em 1.5em; align-items: center; font-size: 0.78em; color: var(--ink-2); margin-top: 0.9em; }
.wga-legend .item { display: inline-flex; align-items: center; gap: 0.4em; }
.wga-legend .sw { width: 14px; height: 14px; border-radius: 3px; background: var(--zero); display: inline-block; }
.wga-legend .sw.na { background-color: transparent; background-image: repeating-linear-gradient(45deg, transparent 0 3px, var(--axis) 3px 4px); }
.wga-legend .ramp { width: 9em; height: 10px; border-radius: 3px; display: inline-block; }

/* Tooltip */
#wga-tip { position: fixed; z-index: 10000; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--axis); border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); padding: 0.5em 0.7em; font: 13px system-ui, -apple-system, "Segoe UI", sans-serif; max-width: 20em; display: none; }
#wga-tip .t { font-weight: 600; }
#wga-tip .s { color: var(--ink-2); font-size: 0.75em; margin-bottom: 0.3em; }
#wga-tip .r { display: flex; align-items: center; gap: 0.45em; margin-top: 0.15em; }
#wga-tip .r .k { width: 12px; height: 3px; border-radius: 2px; flex: none; }
#wga-tip .r .v { font-weight: 600; min-width: 2em; }
#wga-tip .r .n { color: var(--ink-2); }
#wga-tip .h { color: var(--ink-muted); font-size: 0.72em; margin-top: 0.35em; }

/* Detail panel and lists */
.wga-card h4 { margin: 0 0 0.5em; font-size: 1em; font-weight: 600; }
.wga .sub { color: var(--ink-2); font-size: 0.82em; margin-bottom: 0.3em; }
.wga-detail .sub { margin-bottom: 0.6em; }
.wga-list { list-style: none; padding: 0; margin: 0; font-size: 0.85em; }
.wga-list li { display: flex; gap: 0.5em; padding: 0.2em 0; border-top: 1px solid var(--grid); }
.wga-list li:first-child { border-top: 0; }
.wga-list .k { width: 10px; height: 10px; border-radius: 2px; flex: none; margin-top: 0.4em; }
.wga-list .ty { color: var(--ink-muted); font-size: 0.75em; min-width: 6.5em; flex: none; padding-top: 0.1em; }
.wga-list a { text-decoration: underline; text-decoration-color: var(--axis); }
.wga-note { color: var(--ink-2); font-size: 0.82em; }

/* Table view */
.wga-table { width: 100%; font-size: 0.82em; border-collapse: collapse; }
.wga-table th, .wga-table td { padding: 0.3em 0.5em; border-top: 1px solid var(--grid); text-align: right; }
.wga-table th:first-child, .wga-table td:first-child { text-align: left; }
.wga-table thead th { border-top: 0; color: var(--ink-2); font-weight: 600; }
.wga-table td { font-variant-numeric: tabular-nums; }

/* WG page */
.sm-block { margin: 0 0 0.9em; }
.sm-block .sm-h { display: flex; align-items: center; gap: 0.5em; font-size: 0.85em; margin-bottom: 0.1em; }
.sm-block .sm-h .k { width: 12px; height: 3px; border-radius: 2px; }
.sm-block .sm-h .tot { color: var(--ink-muted); font-size: 0.78em; }
.sm-svg { width: 100%; height: auto; display: block; }
.sm-svg text { fill: var(--ink-muted); font-size: 10px; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.sm-svg .hit:hover { fill: rgba(11, 11, 11, 0.05); }

@media (max-width: 700px) { .hm { --label-w: 120px; --meta-w: 70px; } .wga-group { flex-wrap: wrap; } .wga-seg { flex-wrap: wrap; max-width: 100%; } .wga-tile .v { font-size: 1.3em; } }
@media (prefers-reduced-motion: reduce) { .wga * { transition: none !important; } }

/* Keep the first-level headings of the Rmd pages in the GIS style */
.rmdimportant { padding: 1em 1em 1em 1em; margin-bottom: 10px; background: #f5f5f5; }

/* Collaboration page */
.wga-chips { display: flex; flex-wrap: wrap; gap: 0.4em; margin: 0.4em 0; }
.wga-chip { border: 1px solid var(--grid); border-radius: 999px; padding: 0.1em 0.7em; font-size: 0.85em; color: var(--ink); text-decoration: none; }
.wga-chip:hover { border-color: var(--axis); }
.wga-plain { margin: 0 0 0.5em; padding-left: 1.2em; font-size: 0.88em; color: var(--ink); }
.wga-gap { margin-top: 0.5em; }
.wga-card details { margin-top: 0.4em; font-size: 0.9em; }
.wga-card summary { cursor: pointer; color: var(--ink-2); margin-bottom: 0.3em; }
.wga h3 { margin: 1.2em 0 0.3em; font-size: 1.2em; }

/* v2 additions to the tokens: an accent from the GitHub series blue, and a warm accent from the forums orange,
   reserved for collaboration opportunities. */
:root, .wga {
  --accent: #2a78d6;
  --accent-ink: #184f95;
  --accent-soft: #e6f0fc;
  --warm: #d4572a;
  --warm-ink: #9a3d17;
  --warm-soft: #fff5ef;
  --warm-line: #f3d3c3;
}

/* ===================== v2 components (pages, rows, calendar) ===================== */
.wga-page-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.75em; margin: 0.4em 0 1em; }
.wga-page-h h1 { margin: 0; font-size: 1.9em; font-weight: 600; }
.wga-page-h .sub { margin: 0.25em 0 0; font-size: 0.92em; }
.wga-crumb { font-size: 0.82em; color: var(--ink-muted); margin-bottom: 0.4em; }
.wga-crumb a { color: var(--accent); }

/* layout */
.wga-cols { display: flex; flex-wrap: wrap; gap: 1.25em; align-items: flex-start; }
.wga-cols > .main { flex: 999 1 620px; min-width: 0; }
.wga-cols > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 1em; }
.wga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.85em; }
.wga-card.tight { padding: 0.9em 1em; }
.wga-card h3 { margin: 0 0 0.6em; font-size: 1.1em; font-weight: 600; }
.wga-card.warm { background: var(--warm-soft); border-color: var(--warm-line); }
.wga-card.warm h3, .wga-card.warm .warm-ink { color: var(--warm-ink); }
.wga-row-h { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75em; flex-wrap: wrap; }

/* chips and badges */
.wga-badge { display: inline-block; font-size: 0.72em; font-weight: 600; padding: 0.2em 0.65em; border-radius: 999px; background: var(--zero); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.wga-badge.blue { background: var(--accent-soft); color: var(--accent-ink); }
.wga-badge.warm { background: #fff0e5; color: var(--warm-ink); }
.wga-chip.warm { border-color: var(--warm-line); color: var(--warm-ink); background: #fff; }
.wga-tile.warm { background: var(--warm-soft); border-color: var(--warm-line); }
.wga-tile.warm .l, .wga-tile.warm .v, .wga-tile.warm .n, .wga-tile.warm a { color: var(--warm-ink); }

/* link cards (project cards, group cards, similar-work cards) */
a.wga-lcard, .wga-lcard { display: flex; flex-direction: column; gap: 0.4em; background: var(--surface); border: 1px solid var(--grid); border-radius: 10px; padding: 0.85em 1em; color: var(--ink); text-decoration: none; }
a.wga-lcard:hover { border-color: var(--axis); box-shadow: 0 1px 4px var(--ring); text-decoration: none; color: var(--ink); }
.wga-lcard .t { font-weight: 600; font-size: 0.98em; display: flex; justify-content: space-between; gap: 0.5em; align-items: baseline; }
.wga-lcard .m { font-size: 0.8em; color: var(--ink-muted); }
.wga-lcard .d { font-size: 0.82em; color: var(--ink-2); }
.wga-mini { margin: 0; padding: 0; list-style: none; font-size: 0.82em; }
.wga-mini li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 0.6em; padding: 0.25em 0; border-top: 1px solid var(--grid); }
.wga-mini li:first-child { border-top: 0; }
.wga-mini .g { font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wga-mini a { color: var(--ink); }

/* strip: a one-row mini heatmap */
.wga-strip { display: grid; grid-template-columns: repeat(var(--n, 26), minmax(0, 1fr)); gap: 2px; }
.wga-strip span { height: 12px; border-radius: 2px; background: var(--zero); }

/* heatmap extras */
.hm-name button.tg { border: 0; background: none; padding: 0 0.3em 0 0; color: var(--ink-muted); cursor: pointer; font: inherit; }
.hm-row.sub .hm-name { padding-left: 1.4em; color: var(--ink-2); }
.hm-row.sub .hm-cell { height: 14px; }
.hm-name .tag { color: var(--ink-muted); font-size: 0.78em; }
.hm-mark { box-shadow: inset 0 0 0 2px var(--warm); }

/* lists */
.wga-feed { list-style: none; margin: 0; padding: 0; }
.wga-feed li { display: grid; grid-template-columns: 4.8em 8.5em 9em minmax(0, 1fr); gap: 0.75em; padding: 0.45em 0; border-top: 1px solid var(--grid); font-size: 0.88em; align-items: baseline; }
.wga-feed li:first-child { border-top: 0; }
.wga-feed .dt { color: var(--ink-muted); font-size: 0.92em; }
.wga-feed .ty { font-size: 0.8em; font-weight: 600; color: var(--ink-2); }
.wga-feed .ty.out { color: var(--accent-ink); }
.wga-feed .who { font-size: 0.85em; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wga-feed a { color: var(--ink); }
@media (max-width: 700px) { .wga-feed li { grid-template-columns: 4.5em minmax(0, 1fr); } .wga-feed .ty, .wga-feed .who { display: none; } }

/* tables */
.wga-table.left th, .wga-table.left td { text-align: left; }
.wga-table td .sub { margin: 0; }

/* matrix (symposium crosswalk, compatibility) */
.wga-matrix { display: grid; gap: 3px; align-items: center; min-width: 760px; }
.wga-matrix .h { font-size: 0.75em; font-weight: 600; color: var(--ink-muted); text-align: center; line-height: 1.2; }
.wga-matrix .r { font-size: 0.85em; font-weight: 500; }
.wga-matrix .c { font-size: 0.82em; font-weight: 600; text-align: center; padding: 0.45em 0; border-radius: 6px; background: var(--page); color: #a2a9b3; }
.wga-matrix .flag { font-size: 0.75em; font-weight: 600; color: var(--warm-ink); text-align: right; }

/* network */
.wga-net { position: relative; width: 100%; }
.wga-net svg { display: block; width: 100%; height: auto; }
.wga-net .node { cursor: pointer; }
.wga-net .node rect { fill: #fff; stroke: var(--axis); stroke-width: 1.5; }
.wga-net .node.hub rect { stroke: var(--accent-ink); stroke-width: 2; }
.wga-net .node.sel rect { fill: var(--accent-soft); stroke: var(--accent-ink); stroke-width: 2.5; }
.wga-net .node.dim { opacity: 0.25; }
.wga-net .node text { font: 600 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--ink); }
.wga-net .edge { stroke: #8db2e3; stroke-linecap: round; cursor: pointer; }
.wga-net .edge.sim { stroke: var(--warm); stroke-dasharray: 6 5; }
.wga-net .edge.plan { stroke: var(--accent-ink); stroke-dasharray: 1 6; }
.wga-net .edge.dim { opacity: 0.12; }
.wga-net .edge.sel { stroke: var(--accent-ink); }
.wga-net .edge:hover { stroke: var(--accent-ink); }
.wga-net .node:focus-visible rect { stroke: var(--accent); stroke-width: 3; }

.wga-empty { color: var(--ink-muted); font-size: 0.88em; padding: 0.6em 0; }
.wga-input { font: inherit; font-size: 0.88em; padding: 0.4em 0.6em; border: 1px solid var(--axis); border-radius: 8px; background: #fff; color: var(--ink); min-width: 14em; }
.wga-btn { font: inherit; font-size: 0.85em; padding: 0.4em 0.8em; border: 1px solid var(--axis); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.wga-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.wga-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===================== calendar ===================== */
.cal-list { list-style: none; margin: 0; padding: 0; }
.cal-list > li.cal-dh { font-size: 0.78em; font-weight: 600; color: var(--ink-muted); padding: 0.6em 0 0.15em; border: 0; }
.cal-day { padding: 0.6em 0; border-top: 1px solid var(--grid); }
.cal-day:first-child { border-top: 0; padding-top: 0; }
.cal-day.today .cal-dh { color: var(--accent-ink); }
.cal-dh { font-weight: 600; font-size: 0.95em; margin-bottom: 0.25em; }
.cal-ev { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 0.6em; padding: 0.35em 0 0.35em 0.6em; border-left: 3px solid var(--accent); margin: 0.25em 0; font-size: 0.9em; }
.cal-ev.k-community_call { border-left-color: var(--s-calls); }
.cal-ev.k-symposium { border-left-color: var(--s-conference); }
.cal-ev.x { opacity: 0.6; }
.cal-t { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cal-b { display: flex; flex-direction: column; gap: 0.1em; min-width: 0; }
.cal-n { font-weight: 600; }
.cal-g { font-weight: 500; color: var(--accent); }
.cal-m { font-size: 0.85em; color: var(--ink-muted); }
.cal-l { font-size: 0.85em; }
.cal-month { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 3px; min-width: 780px; }
.cal-mh { font-size: 0.75em; font-weight: 600; color: var(--ink-muted); padding: 0 0.3em; }
.cal-mc { min-height: 104px; background: var(--page); border-radius: 6px; padding: 0.3em; display: flex; flex-direction: column; gap: 2px; }
.cal-mc.out { opacity: 0.45; }
.cal-mc.today { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.cal-md { font-size: 0.75em; font-weight: 600; color: var(--ink-2); }
a.cal-chip { display: block; font-size: 0.72em; line-height: 1.3; padding: 1px 4px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
a.cal-chip:hover { text-decoration: underline; }
a.cal-chip.k-community_call { background: #ddf3ea; color: #0d5c3f; }
a.cal-chip.k-symposium { background: #fdf0d2; color: #7a5300; }
a.cal-chip.x { text-decoration: line-through; opacity: 0.6; }
.cal-more { border: 0; background: none; padding: 0 4px; font: inherit; font-size: 0.72em; color: var(--ink-muted); cursor: pointer; text-align: left; }
.wga-legend .cal-sw.k-meeting { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.wga-legend .cal-sw.k-community_call { background: #ddf3ea; box-shadow: inset 3px 0 0 var(--s-calls); }
.wga-legend .cal-sw.k-symposium { background: #fdf0d2; box-shadow: inset 3px 0 0 var(--s-conference); }

/* ===================== row lists (groups, projects, pairs, similar work) ===================== */
.wga-rows { border: 1px solid var(--grid); border-radius: 8px; background: var(--surface); }
.wga-rows .rh, .wga-rows .r { display: grid; grid-template-columns: var(--cols); gap: 1.1em; padding: 0.9em 1em; align-items: start; }
.wga-rows .rh { font-size: 0.75em; font-weight: 600; color: var(--ink-muted); padding: 0.55em 1em; border-bottom: 1px solid var(--grid); text-transform: none; }
.wga-rows .r + .r { border-top: 1px solid var(--grid); }
.wga-rows .r:hover { background: var(--page); }
.wga-rows .nm { font-weight: 600; font-size: 1.02em; line-height: 1.3; }
.wga-rows .nm a { text-decoration: none; }
.wga-rows .nm a:hover { text-decoration: underline; }
.wga-rows .sm { font-size: 0.82em; color: var(--ink-2); line-height: 1.45; margin-top: 0.2em; }
.wga-rows .mu { color: var(--ink-muted); }
.wga-rows .sm a, .wga-rows ul a { color: var(--accent); }
.wga-rows .num { font-variant-numeric: tabular-nums; font-size: 0.9em; }
.wga-rows .num b { font-size: 1.1em; }
.wga-rows .wga-strip { margin-top: 0.25em; }
.wga-rows .wga-strip span { height: 16px; }
.wga-rows ul { margin: 0; padding: 0; list-style: none; font-size: 0.84em; }
.wga-rows ul li { padding: 0.1em 0; }
.wga-rows .warm-ink { color: var(--warm-ink); }
.wga-rows .empty { padding: 1em; color: var(--ink-muted); font-size: 0.9em; }
@media (max-width: 760px) { .wga-rows .rh { display: none; } .wga-rows .r { grid-template-columns: 1fr; gap: 0.35em; } }
.wga-linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-align: left; }
.wga-linkbtn:hover { text-decoration: underline; }

/* ===================== width: use the screen (content and navbar) ===================== */
body .main-container { max-width: 1500px; width: 94%; }
.navbar > .container, .navbar > .container-fluid { width: 94%; max-width: 1500px; }
@media (max-width: 767px) { body .main-container, .navbar > .container { width: 100%; } }

/* weighted group list (Topics: most active groups) */
.wga-wlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; min-width: 240px; }
.wga-wlist li { display: grid; grid-template-columns: minmax(110px, 0.9fr) minmax(60px, 1fr) 2.5em; gap: 0.5em; align-items: center; font-size: 0.85em; }
.wga-wlist.plain li { display: block; }
.wga-wlist a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--accent); }
.wga-wlist a:hover { text-decoration: underline; }
.wga-wlist .bar { height: 10px; border-radius: 2px; background: var(--s-github); }
.wga-rows ul.wga-wlist { font-size: 1em; min-width: 0; }
.wga-rows ul.wga-wlist li { padding: 0; grid-template-columns: minmax(0, 1fr) 52px 2.9em; }
.wga-movers { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.25em 0.9em; align-items: baseline; font-size: 0.9em; }
.wga-movers .hd { font-size: 0.78em; font-weight: 600; color: var(--ink-muted); text-align: right; }
.wga-movers a { color: var(--accent); line-height: 1.3; }
.wga-movers .v { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wga-movers .v.up { color: var(--accent); }
.wga-movers .v.down { color: var(--warm-ink); }
.wga-movers .p { color: var(--ink-muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wga-wlist .n { color: var(--ink-muted); font-variant-numeric: tabular-nums; text-align: right; }

/* Links to other pages on this site are underlined wherever they appear in content.
   Whole-card links, chips and calendar chips keep their own look; external links stay plain blue. */
.wga a[href]:not([href^="http"]):not([href^="mailto"]):not(.wga-lcard):not(.wga-chip):not(.cal-chip) {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
}

/* Effort chart (assets/effort.js): one wedge per group, sources stacked and scored against other groups */
.wga-effort .ef-body { display: flex; flex-wrap: wrap; gap: 1.5em; align-items: flex-start; }
.wga-effort .ef-chart { flex: 1 1 640px; max-width: 860px; min-width: 0; }
.wga-effort .ef-chart svg { display: block; width: 100%; height: auto; font-family: inherit; }
.wga-effort .ef-side { flex: 0 1 380px; min-width: 250px; display: flex; flex-direction: column; gap: 0.9em; }
.wga-effort .ef-legend { display: flex; flex-direction: column; gap: 0.35em; font-size: 0.88em; }
.wga-effort .ef-src { display: flex; align-items: center; gap: 0.5em; width: 100%; font: inherit; text-align: left; background: var(--surface); border: 1px solid var(--grid); border-radius: 6px; padding: 0.3em 0.6em; cursor: pointer; }
.wga-effort .ef-src:hover { border-color: var(--axis); }
.wga-effort .ef-src[aria-pressed="false"] { background: transparent; color: var(--ink-muted); }
.wga-effort .ef-src[aria-pressed="false"] .k { background: var(--axis) !important; }
.wga-effort .ef-src[aria-pressed="false"] .nm { text-decoration: line-through; }
.wga-effort .ef-legend .nm { flex: 1; }
.wga-effort .k { width: 11px; height: 11px; border-radius: 2px; flex: none; display: inline-block; }
.wga-effort .mu { color: var(--ink-muted); }
.wga-effort .ef-panel { border: 1px solid var(--grid); border-radius: 8px; background: var(--page); padding: 0.8em 1em; min-height: 11em; display: flex; flex-direction: column; gap: 0.4em; }
.wga-effort .ef-name { font-size: 1.1em; font-weight: 700; }
.wga-effort .ef-tbl { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 6.5em; gap: 0.3em 0.6em; align-items: center; font-size: 0.88em; }
.wga-effort .ef-tbl .hd { font-size: 0.82em; color: var(--ink-muted); }
.wga-effort .ef-tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.wga-effort .ef-tbl .b { font-weight: 600; }
.wga-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em; font-size: 0.92em; background: #eef4fc; border: 1px solid #c7dbf3; border-radius: 6px; padding: 0.5em 0.8em; margin: 0.4em 0; }
.wga-card-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5em; }
.wga-card-h h3 { margin: 0; }

/* OKRs page */
.okr-list { display: grid; gap: 0.85em; }
.okr-obj { margin: 0.7em 0; padding-left: 0.8em; border-left: 3px solid var(--grid); }
.okr-obj.hit { border-left-color: var(--s-github); }
.okr-o { display: flex; gap: 0.6em; font-weight: 600; }
.okr-n { flex: none; color: var(--ink-2); font-weight: 600; min-width: 1.8em; }
.okr-krs { margin: 0.3em 0 0; padding-left: 1.2em; font-size: 0.93em; }
.okr-krs li { margin: 0.15em 0; }
.okr-obj .okr-krs { margin-left: 2.4em; }
.okr-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em 0.8em; margin-top: 0.8em; font-size: 0.9em; }
.okr-links { margin-left: auto; }
