/* Engineering analytics: one question per view, linked evidence and explicit denominators. */
.analytics-view .title-row, .analytics-view #kpis { display: none; }
.analytics-view #tabs { margin-top: 0; }
.analytics { --an-ink: #163b32; --an-green: #14785d; --an-soft: #e9f2ed; --an-blue: #416c8b; --an-clay: #b97554; --an-map: #4c947b; color: var(--text); padding-top: 8px; }
.analytics button, .analytics select, .analytics a { -webkit-tap-highlight-color: transparent; }
.analytics ol { list-style: none; margin: 0; padding: 0; }
.analytics :focus-visible { outline: 2px solid var(--an-green); outline-offset: 4px; }
.an-eyebrow { font-size: 10px; line-height: 16px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; color: var(--an-green); }
.an-hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(240px,1fr); gap: 40px; align-items: center; padding: 14px 0 24px; }
.an-hero h1 { max-width: 650px; margin: 9px 0 12px; font-size: clamp(26px,2.5vw,34px); font-weight: 550; line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; color: var(--an-ink); }
.an-hero-description { color: var(--muted); max-width: 62ch; line-height: 1.65; }
.an-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.an-button, .an-link { display: inline-flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; line-height: 18px; font-weight: 550; text-align: left; text-decoration: none; }
.an-button { min-height: 38px; border: 1px solid var(--control); border-radius: 7px; padding: 9px 13px; background: var(--surface); }
.an-button:hover { border-color: var(--an-green); background: #f5f9f6; }
.an-button.primary { color: white; border-color: var(--an-ink); background: var(--an-ink); }
.an-button.primary:hover { background: #235346; border-color: #235346; }
.an-link { padding: 8px 0; border: 0; background: none; color: var(--an-green); }
.an-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.an-button svg, .an-link svg, .an-case-open svg { width: 17px; height: 17px; flex: none; }
.an-button:disabled { cursor: default; opacity: .55; }
.an-hero-proof { align-self: stretch; display: flex; justify-content: center; flex-direction: column; padding: 22px 26px; background: #f0f5f1; border-radius: 12px; border: 1px solid #e3ebe4; }
.an-scope { display: block; font-size: 11px; color: var(--muted); }
.an-proof-value { display: flex; align-items: center; gap: 16px; margin: 12px 0 18px; }
.an-proof-value strong { color: var(--an-ink); font-size: clamp(34px,3.4vw,52px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.an-proof-value > span { font-size: 12px; line-height: 18px; max-width: 125px; }
.an-type-strip { display: flex; gap: 3px; height: 6px; overflow: hidden; border-radius: 3px; background: #dfe8e1; }
.an-type-strip > span { width: var(--part); flex: none; }
.an-type-strip .an-kind-field { background: var(--an-green); }
.an-type-strip .an-kind-lab { background: var(--an-blue); }
.an-type-strip .an-kind-sim { background: var(--an-clay); }
.an-type-strip .an-kind-method { background: #8e9590; }
.an-proof-caption { font-size: 10px; line-height: 16px; color: var(--muted); margin-top: 9px; }
.an-hero.compact { padding-top: 12px; padding-bottom: 22px; gap: 30px; }
.an-hero.compact h1 { font-size: 26px; max-width: 620px; margin-bottom: 8px; }
.an-hero.compact .an-hero-description { font-size: 12px; line-height: 18px; }
.an-hero.compact .an-hero-proof { padding: 14px 22px; }
.an-hero.compact .an-proof-value { margin: 8px 0 12px; }
.an-hero.compact .an-proof-value strong { font-size: 32px; }
.an-nav { position: sticky; top: calc(var(--topbar) + var(--pin-h,56px)); z-index: 7; margin-bottom: 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.an-nav > div { display: flex; gap: 26px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.an-tab { position: relative; white-space: nowrap; padding: 15px 0; border: 0; background: none; font-size: 13px; color: var(--muted); font-weight: 500; }
.an-tab[aria-selected="true"] { color: var(--an-ink); }
.an-tab[aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--an-green); border-radius: 2px 2px 0 0; }
.an-tab:hover { color: var(--an-green); }
.an-section { padding-bottom: 30px; margin-bottom: 32px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--topbar) + var(--pin-h,56px) + 72px); }
.an-section-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 24px; }
.an-section-head h2 { margin: 5px 0 9px; font-size: 23px; line-height: 29px; font-weight: 550; letter-spacing: -.025em; color: var(--an-ink); text-wrap: balance; }
.an-description { color: var(--muted); font-size: 12px; line-height: 19px; max-width: 82ch; }
.an-note { max-width: 100ch; font-size: 11px; line-height: 17px; color: var(--muted); margin-top: 16px; }
.an-cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.an-case { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); transition: border-color .15s; }
.an-case:hover { border-color: #a8c2b2; }
.an-case-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 11px; color: var(--muted); }
.an-kind-tag { display: inline-flex; border-radius: 4px; padding: 3px 7px; background: var(--raised); font-size: 10px; line-height: 15px; font-weight: 550; color: #424b46; }
.an-kind-tag.an-kind-field { background: #e9f3ed; color: #245f46; }
.an-kind-tag.an-kind-lab { background: #edf2f8; color: #3e5f7b; }
.an-kind-tag.an-kind-sim { background: #f8efe9; color: #82533d; }
.an-case h3 { font-size: 16px; line-height: 22px; letter-spacing: -.012em; font-weight: 600; margin-bottom: 18px; }
.an-case h3 a:hover { color: var(--an-green); text-decoration: underline; text-underline-offset: 3px; }
.an-case-evidence { display: grid; gap: 5px; }
.an-case-evidence dt { font-size: 10px; color: var(--muted); font-weight: 550; }
.an-case-evidence dd { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 19px; margin-bottom: 12px; }
.an-case-evidence .an-result { color: var(--an-ink); }
.an-case-scale { border-top: 1px solid var(--rule); padding-top: 11px; font-size: 11px; color: var(--muted); display: grid; gap: 4px; margin-top: auto; }
.an-case-scale span { font-weight: 600; color: var(--text); }
.an-case-limits { margin-top: 12px; font-size: 11px; line-height: 17px; }
.an-case-limits summary { color: var(--an-green); cursor: pointer; }
.an-case-limits p { margin-top: 8px; padding: 10px; background: var(--raised); border-radius: 5px; }
.an-case footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; margin-top: 18px; }
.an-case .cmp { padding: 5px 7px; font-size: 11px; min-height: 30px; }
.an-case-open { display: inline-flex; gap: 6px; align-items: center; color: var(--an-green); font-size: 11px; font-weight: 550; }
.an-observations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: -8px 0 36px; padding: 0 0 30px; border-bottom: 1px solid var(--border); }
.an-observation { display: block; width: 100%; border: 0; border-left: 2px solid #b7d0bf; padding: 2px 0 2px 16px; background: none; text-align: left; }
.an-observation strong { display: block; font-size: 13px; line-height: 20px; font-weight: 550; margin: 7px 0; }
.an-observation p { font-size: 11px; line-height: 17px; color: var(--muted); }
.an-observation:hover strong { color: var(--an-green); }
.an-validation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--border); }
.an-validation-item { padding: 22px 18px 8px 0; border: 0; background: none; display: grid; text-align: left; align-content: start; }
.an-validation-item + .an-validation-item { border-left: 1px solid var(--border); padding-left: 20px; }
.an-validation-symbol { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; font-size: 20px; color: var(--an-green); margin-bottom: 14px; }
.an-validation-symbol.an-kind-lab { color: var(--an-blue); }
.an-validation-symbol.an-kind-sim { color: var(--an-clay); }
.an-validation-item > strong { font-size: 31px; line-height: 36px; letter-spacing: -.04em; font-weight: 500; color: var(--an-ink); }
.an-validation-item h3 { font-size: 12px; font-weight: 600; margin: 6px 0; }
.an-validation-item p { max-width: 23ch; font-size: 11px; line-height: 17px; color: var(--muted); min-height: 34px; }
.an-validation-share { font-size: 11px; color: var(--an-green); margin-top: 13px; }
.an-validation-item:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.an-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; align-items: flex-end; }
.an-control { display: grid; gap: 5px; font-size: 10px; color: var(--muted); }
.an-control select, .an-period select { max-width: 240px; min-height: 32px; border: 1px solid var(--control); background: var(--surface); border-radius: 5px; padding: 4px 25px 4px 8px; color: var(--text); font-size: 12px; text-overflow: ellipsis; }
.an-segments { display: inline-flex; align-items: center; flex: none; border-radius: 6px; padding: 3px; background: #edf2ee; }
.an-segments button { min-height: 29px; padding: 5px 9px; border-radius: 4px; border: 0; background: transparent; font-size: 11px; color: var(--muted); }
.an-segments button[aria-pressed="true"] { background: var(--surface); color: var(--an-ink); box-shadow: 0 1px 3px #173b3212; }
.an-portfolio { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(220px,1fr); gap: 28px; align-items: start; padding-top: 6px; }
.an-portfolio-plot { min-width: 0; }
.an-portfolio-plot > svg { display: block; width: 100%; height: auto; overflow: visible; }
.an-axis-title { display: block; margin: 0 0 10px 10%; font-size: 10px; line-height: 16px; color: var(--muted); }
.an-grid-line { stroke: #e9eeea; stroke-width: 1; }
.an-midline { stroke: #b7c9be; stroke-width: 1; stroke-dasharray: 4 5; }
.an-axis-text { fill: #5f6d65; font-size: 10px; font-family: var(--font); }
.an-axis-caption { fill: #465b4f; font-size: 11px; font-family: var(--font); }
.an-bubble { cursor: pointer; }
.an-bubble circle { fill: #b5d0be; fill-opacity: .65; stroke: #77a78a; stroke-width: 1.25; transition: fill .15s,fill-opacity .15s; }
.an-bubble text { fill: #214c36; font-family: var(--font); font-size: 11px; font-weight: 600; pointer-events: none; }
.an-bubble:hover circle, .an-bubble:focus-visible circle, .an-bubble.selected circle { fill: var(--an-green); fill-opacity: .96; stroke: var(--an-ink); stroke-width: 2; }
.an-bubble.selected text, .an-bubble:hover text, .an-bubble:focus-visible text { fill: white; }
.an-portfolio-row { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 9px; align-items: center; width: 100%; padding: 10px 7px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; font-size: 11px; line-height: 16px; border-radius: 4px; }
.an-row-number { font-size: 10px; color: #637368; font-weight: 500; }
.an-portfolio-row[aria-pressed="true"] { background: #eaf3ed; color: var(--an-ink); border-bottom-color: transparent; }
.an-portfolio-row:hover { background: var(--raised); }
.an-portfolio-row strong { font-weight: 600; }
.an-focus { display: grid; grid-template-columns: minmax(180px,1fr) 1.1fr auto; gap: 24px; align-items: center; margin-top: 24px; padding: 22px 24px; border-radius: 8px; background: #f0f5f1; }
.an-focus h3 { font-size: 16px; line-height: 22px; margin-top: 5px; font-weight: 550; }
.an-focus-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.an-focus-numbers > div { display: grid; gap: 5px; }
.an-focus-numbers strong { font-size: 23px; line-height: 28px; letter-spacing: -.025em; font-weight: 500; color: var(--an-ink); }
.an-focus-numbers span { font-size: 10px; line-height: 16px; color: var(--muted); }
.an-focus-actions { display: grid; gap: 6px; justify-items: start; }
.an-connections { display: grid; grid-template-columns: minmax(120px,1fr) minmax(0,3.4fr); align-items: center; gap: 14px; }
.an-connection-origin { min-width: 0; }
.an-connection-origin h3 { font-size: 16px; line-height: 22px; margin: 8px 0 14px; font-weight: 550; }
.an-connection-origin strong { font-size: 28px; line-height: 34px; font-weight: 500; color: var(--an-ink); display: block; }
.an-connection-origin > span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.an-connections > svg { width: 100%; overflow: visible; }
.an-connection { cursor: pointer; }
.an-connection path { fill: none; stroke: #a5c6b1; opacity: .72; }
.an-connection circle { fill: var(--an-green); stroke: white; stroke-width: 2; }
.an-connection-label { font-size: 12px; fill: var(--text); font-family: var(--font); }
.an-connection-number { fill: var(--an-ink); font-size: 16px; font-weight: 550; font-family: var(--font); }
.an-connection:hover path, .an-connection:focus-visible path { stroke: var(--an-green); opacity: 1; }
.an-connection:hover .an-connection-label { fill: var(--an-green); }
.an-period { display: flex; align-items: flex-end; gap: 12px; }
.an-period > span { padding-bottom: 7px; color: var(--muted); }
.an-period label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.an-dumbbell-key { display: flex; align-items: center; gap: 20px; justify-content: flex-end; font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.an-dumbbell-key .before::before, .an-dumbbell-key .after::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #bac7be; }
.an-dumbbell-key .after::before { background: var(--an-green); }
.an-dumbbell-row { display: grid; grid-template-columns: minmax(130px,1.1fr) minmax(130px,1.4fr) 140px 78px; gap: 15px; align-items: center; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; }
.an-dumbbell-row:hover { background: #f6f9f6; }
.an-dumbbell-name { font-size: 12px; line-height: 18px; padding-right: 6px; }
.an-dumbbell-row > svg { width: 100%; height: auto; overflow: visible; }
.an-track { stroke: #edf1ed; stroke-width: 1; }
.an-dumbbell-link { stroke: #88af98; stroke-width: 2; }
.an-dumbbell-row .before { fill: #bdc9c0; stroke: white; stroke-width: 1.5; }
.an-dumbbell-row .after { fill: var(--an-green); stroke: white; stroke-width: 1.5; }
.an-dumbbell-values { font-size: 11px; color: var(--muted); white-space: nowrap; text-align: right; }
.an-delta { font-size: 12px; font-weight: 550; color: var(--muted); white-space: nowrap; text-align: right; }
.an-delta.positive { color: var(--an-green); }
.an-delta.negative { color: #9c654c; }
.an-units { display: grid; grid-template-columns: minmax(180px,1fr) minmax(0,2fr); gap: 34px; }
.an-unit-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; width: 100%; padding: 13px 12px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 5px; background: none; text-align: left; font-size: 12px; line-height: 18px; }
.an-unit-row:hover { background: var(--raised); }
.an-unit-row[aria-pressed="true"] { background: #eaf3ed; color: var(--an-ink); }
.an-unit-profile { border-left: 1px solid var(--border); padding: 8px 0 0 34px; }
.an-unit-profile h3 { margin: 5px 0 14px; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -.025em; }
.an-profile-total { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.an-profile-total strong { margin-right: 5px; color: var(--an-ink); font-size: 21px; font-weight: 550; }
.an-bars { margin-bottom: 20px; }
.an-bar-row { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; width: 100%; align-items: start; gap: 15px; padding: 12px 0 18px; border: 0; background: none; text-align: left; font-size: 12px; line-height: 18px; }
.an-bar-row i { position: absolute; bottom: 7px; left: 0; width: var(--fill); height: 4px; border-radius: 3px; background: #c4dccb; }
.an-bar-row:hover { color: var(--an-green); }
.an-bar-row:hover i { background: var(--an-green); }
.an-challenge-coverage { display: grid; grid-template-columns: minmax(230px,1fr) minmax(0,1.6fr); gap: 36px; }
.an-coverage-ring { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 6px; }
.an-coverage-ring > svg { width: 190px; height: 190px; }
.an-ring-direct { stroke: var(--an-green); }
.an-ring-approach { stroke: #a6c9b4; }
.an-ring-missing { stroke: #ecece6; }
.an-ring-number { font-size: 25px; font-family: var(--font); font-weight: 550; letter-spacing: -.04em; fill: var(--an-ink); }
.an-coverage-legend { display: grid; gap: 12px; margin-top: 14px; width: 100%; max-width: 290px; }
.an-coverage-legend li { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: center; gap: 9px; font-size: 11px; }
.an-coverage-legend i { width: 7px; height: 7px; border-radius: 2px; }
.an-coverage-legend .direct { background: var(--an-green); }
.an-coverage-legend .approach { background: #a6c9b4; }
.an-coverage-legend .missing { background: #d8d9cf; }
.an-challenge-list h3 { font-size: 13px; font-weight: 550; margin-bottom: 12px; }
.an-challenge-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--rule); text-align: left; background: none; font-size: 12px; line-height: 18px; }
.an-challenge-row small { grid-column: 1/-1; color: var(--an-green); font-size: 10px; }
.an-challenge-row:hover > span { color: var(--an-green); text-decoration: underline; text-underline-offset: 3px; }
.an-gap-details { margin-top: 24px; padding: 16px 18px; border: 1px solid #e5e6dc; border-radius: 7px; background: #fafaf6; font-size: 12px; }
.an-gap-details summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 550; }
.an-gap-details summary::before { content: "+"; color: var(--muted); }
.an-gap-details[open] summary::before { content: "−"; }
.an-gap-details ul { margin-top: 12px; display: grid; gap: 9px; list-style: disc; padding-left: 18px; line-height: 18px; }
.an-geography { display: grid; grid-template-columns: minmax(0,2.25fr) minmax(190px,1fr); gap: 26px; align-items: center; }
.an-map { padding: 20px 0 8px; min-width: 0; }
.an-map svg { width: 100%; height: auto; }
.an-land { fill: #e9eeea; stroke: #fff; stroke-width: .65; }
.an-land.populated { fill: var(--an-map); cursor: pointer; }
.an-land.selected { fill: var(--an-green); stroke: var(--an-ink); stroke-width: 1; }
.an-land.populated:hover { fill-opacity: 1; }
.an-map-dot { fill: var(--an-green); fill-opacity: .8; stroke: white; stroke-width: 1.1; cursor: pointer; }
.an-map-dot.selected { fill: var(--an-ink); fill-opacity: 1; stroke-width: 1.5; }
.an-map figcaption { font-size: 10px; line-height: 16px; color: var(--muted); max-width: 70ch; margin-top: 14px; }
.an-country-row { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 8px; align-items: center; width: 100%; padding: 10px 8px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 4px; background: none; text-align: left; font-size: 11px; }
.an-country-row:hover { background: var(--raised); }
.an-country-row[aria-pressed="true"] { background: #eaf3ed; }
.an-country-name, .an-country-focus h3 { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.an-country-focus { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 24px; padding: 20px 24px; background: #f0f5f1; border-radius: 8px; }
.an-country-focus h3 { font-size: 22px; line-height: 28px; font-weight: 550; margin-top: 5px; }
.an-country-focus > p { color: var(--muted); font-size: 12px; }
.an-country-focus > p strong { color: var(--an-ink); font-size: 23px; font-weight: 500; }
.an-organizations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.an-organization-row { display: grid; grid-template-columns: 22px minmax(0,1fr) auto 18px; align-items: start; width: 100%; gap: 12px; border: 0; border-bottom: 1px solid var(--rule); padding: 16px 0; background: none; text-align: left; font-size: 12px; line-height: 18px; }
.an-organization-row svg { width: 16px; height: 16px; color: var(--an-green); }
.an-organization-row:hover { color: var(--an-green); }
.an-empty { text-align: center; padding: 36px 24px; border-radius: 9px; background: #f6f8f5; border: 1px dashed #dbe4dc; color: var(--muted); }
.an-empty-mark { color: #82a08c; display: block; margin-bottom: 12px; font-size: 26px; }
.an-empty h3 { font-size: 15px; line-height: 22px; color: var(--an-ink); font-weight: 550; }
.an-empty p { max-width: 55ch; margin: 9px auto 0; font-size: 12px; line-height: 19px; }
#an-content > .an-empty + .an-button { margin-top: 16px; }
.an-method { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 18px; padding-bottom: 4px; }
.an-method summary { font-size: 11px; color: var(--muted); cursor: pointer; }
.an-method-content { display: grid; gap: 12px; max-width: 100ch; padding-top: 16px; font-size: 11px; line-height: 18px; color: var(--muted); }
.an-data-coverage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 25px; margin-top: 5px; }
.an-data-coverage > div { display: flex; gap: 18px; justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.an-data-coverage strong { font-weight: 500; color: var(--text); }
@media (max-width: 1250px) {
  .an-hero { gap: 24px; grid-template-columns: minmax(0,1.4fr) minmax(220px,1fr); }
  .an-case { padding: 16px; }
  .an-focus { grid-template-columns: minmax(170px,1fr) 1.3fr; }
  .an-focus-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 18px; }
  .an-dumbbell-row { grid-template-columns: minmax(130px,1fr) minmax(120px,1.2fr) 120px 72px; gap: 10px; }
}
@media (max-width: 950px) {
  .an-section-head { flex-wrap: wrap; }
  .an-controls { justify-content: flex-start; }
  .an-cases { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .an-case:last-child:nth-child(odd) { grid-column: 1/-1; }
  .an-portfolio { grid-template-columns: minmax(0,1.4fr) minmax(190px,1fr); gap: 20px; }
  .an-connections { grid-template-columns: minmax(110px,1fr) minmax(0,3fr); }
}
@media (max-width: 720px) {
  .analytics { padding-top: 8px; }
  .an-hero, .an-hero.compact { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 18px 0 22px; }
  .an-hero h1 { font-size: 30px; line-height: 34px; max-width: 20ch; margin: 10px 0 13px; }
  .an-hero.compact h1 { font-size: 25px; line-height: 29px; max-width: 24ch; }
  .an-hero-description { font-size: 12px; line-height: 19px; }
  .an-hero-proof { padding: 16px 18px; border-radius: 8px; }
  .an-proof-value { margin: 10px 0 12px; }
  .an-proof-value strong { font-size: 35px; }
  .an-proof-value > span { max-width: none; }
  .an-hero.compact .an-hero-proof { display: none; }
  .an-hero-actions { gap: 9px; }
  .an-button { min-height: 40px; }
  .an-nav { position: static; margin-bottom: 25px; }
  .an-nav > div { gap: 22px; }
  .an-tab { font-size: 12px; min-height: 45px; }
  .an-section { margin-bottom: 26px; padding-bottom: 26px; }
  .an-section-head { gap: 15px; margin-bottom: 18px; }
  .an-section-head h2 { font-size: 21px; line-height: 26px; }
  .an-description { font-size: 11px; line-height: 18px; }
  .an-cases, .an-observations { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .an-case:last-child:nth-child(odd) { grid-column: auto; }
  .an-case { padding: 18px; }
  .an-case h3 { font-size: 17px; line-height: 23px; margin-bottom: 14px; }
  .an-case-evidence dd { -webkit-line-clamp: 3; }
  .an-observations { padding-bottom: 24px; }
  .an-observation { padding-left: 14px; }
  .an-validation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .an-validation-item { padding: 18px 12px 18px 0; }
  .an-validation-item + .an-validation-item { padding-left: 16px; }
  .an-validation-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .an-validation-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .an-validation-item strong { font-size: 27px; }
  .an-validation-item p { max-width: 22ch; }
  .an-validation-symbol { margin-bottom: 9px; }
  .an-portfolio { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .an-portfolio-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 9px; }
  .an-portfolio-row { font-size: 10px; line-height: 15px; gap: 5px; grid-template-columns: 17px minmax(0,1fr) auto; padding: 9px 5px; min-height: 50px; }
  .an-axis-title { font-size: 10px; }
  .an-focus { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 18px; margin-top: 18px; }
  .an-focus-title h3 { font-size: 17px; line-height: 23px; }
  .an-focus-numbers { gap: 12px; }
  .an-focus-numbers strong { font-size: 23px; }
  .an-focus-actions { flex-direction: column; gap: 8px; }
  .an-control select { max-width: min(290px,80vw); min-height: 37px; font-size: 11px; }
  .an-connections { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .an-connection-origin { border-left: 2px solid #a6c6b1; padding: 4px 0 4px 14px; }
  .an-connection-origin h3 { margin-bottom: 8px; max-width: 40ch; }
  .an-connection-origin strong { display: inline; margin-right: 6px; font-size: 21px; }
  .an-connection-origin > span { display: inline; }
  .an-connection-label { font-size: 13px; }
  .an-period select { min-height: 36px; }
  .an-dumbbell-key { justify-content: flex-start; flex-wrap: wrap; gap: 10px 16px; }
  .an-dumbbell-key > span:last-child { flex-basis: 100%; }
  .an-dumbbell-row { grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; padding: 13px 0; }
  .an-dumbbell-name { grid-column: 1; font-size: 12px; }
  .an-dumbbell-row > svg { grid-row: 2; grid-column: 1/-1; margin: 1px 0 3px; }
  .an-dumbbell-values { grid-row: 3; grid-column: 1; text-align: left; font-size: 10px; }
  .an-delta { grid-row: 1; grid-column: 2; font-size: 11px; }
  .an-units { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .an-unit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .an-unit-row { font-size: 11px; line-height: 16px; padding: 10px 8px; border: 1px solid var(--border); }
  .an-unit-profile { border: 0; padding: 0; }
  .an-unit-profile h3 { font-size: 22px; }
  .an-challenge-coverage { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .an-coverage-ring { flex-direction: row; align-items: center; gap: 8px; }
  .an-coverage-ring > svg { width: 130px; height: 130px; flex: none; }
  .an-coverage-legend { margin: 0; gap: 11px; }
  .an-coverage-legend li { font-size: 10px; gap: 6px; }
  .an-ring-number { font-size: 24px; }
  .an-geography { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .an-map { padding-top: 5px; }
  .an-country-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 8px; }
  .an-country-row { font-size: 10px; grid-template-columns: 14px minmax(0,1fr) auto; gap: 5px; padding: 10px 4px; min-height: 39px; }
  .an-country-name { gap: 5px; }
  .an-country-name .flag { width: 13px; height: 10px; }
  .an-country-focus { gap: 12px; padding: 17px; }
  .an-country-focus h3 { font-size: 21px; }
  .an-country-focus > p strong { font-size: 21px; }
  .an-organizations { grid-template-columns: minmax(0,1fr); }
  .an-data-coverage { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { .analytics *, .analytics *::before, .analytics *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.an-connection-branches { display: grid; grid-template-columns: minmax(65px,1fr) minmax(0,2.7fr); gap: 14px; align-items: stretch; min-width: 0; }
.an-connection-curves { width: 100%; height: 100%; overflow: visible; }
.an-connection-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 14px; align-content: center; width: 100%; height: 72px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; }
.an-connection-row > span { font-size: 12px; line-height: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.an-connection-row strong { font-size: 17px; color: var(--an-ink); font-weight: 550; }
.an-connection-row small { grid-column: 1/-1; font-size: 10px; line-height: 15px; color: var(--muted); }
.an-connection-row:hover > span { color: var(--an-green); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width:720px) {
  .an-connection-branches { grid-template-columns: minmax(45px,1fr) minmax(0,3.7fr); gap: 10px; }
  .an-connection-row > span { font-size: 11px; }
  .an-connection-row strong { font-size: 16px; }
  .an-connection-row small { font-size: 9px; }
}

.an-portfolio-key { display: flex; justify-content: space-between; gap: 12px; padding: 0 7px 8px 38px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 10px; line-height: 16px; }
.an-bubble.highlight circle { fill: var(--an-green); fill-opacity: .96; stroke: var(--an-ink); stroke-width: 2; }
.an-bubble.highlight text { fill: white; }
.an-portfolio-row.highlight { background: #eaf3ed; color: var(--an-ink); }

@media (max-width:720px) {
  .an-portfolio-key { display: none; }
  .an-portfolio-row { font-size: 11px; line-height: 16px; }
  .an-portfolio-plot .an-axis-text, .an-portfolio-plot .an-axis-caption { font-size: 12px; }
  .an-bubble text { font-size: 12px; }
}

.an-static { cursor: default; }
.an-bar-row.an-static:hover, .an-organization-row.an-static:hover { color: inherit; }
.an-bar-row.an-static:hover i { background: #c4dccb; }
