/* Compact portfolio viewer. Grid ranks are transcribed from the source scans. */
.evidence-section { padding: 34px 0 90px; background: #f8f9fc; }
.evidence-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.evidence-heading { max-width: 710px; margin: 0 auto 32px; text-align: center; }
.evidence-heading .eyebrow { margin-bottom: 14px; font-size: 10px; letter-spacing: .12em; }
.evidence-heading h2 { margin: 0 0 14px; font-size: clamp(29px, 3.3vw, 43px); line-height: 1.15; letter-spacing: -.045em; }
.evidence-heading p { margin: 0; color: #737d91; font-size: 13px; }
.evidence-shell { position: relative; isolation: isolate; overflow: hidden; padding: 31px 36px 0; border: 1px solid #26324c; border-radius: 24px; color: #eaf0ff; background: #171f37; box-shadow: 0 14px 35px #17213b0c; }
.evidence-shell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 100% 0%, #35477435, transparent 65%); pointer-events: none; }
.evidence-panel[hidden], .evidence-controls[hidden] { display: none; }
.evidence-panel + .evidence-panel { margin-top: 32px; border-top: 1px solid #ffffff14; padding-top: 28px; }
.evidence-enhanced .evidence-panel { margin: 0; padding-top: 0; border-top: 0; }
.evidence-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.evidence-identity { display: flex; gap: 12px; align-items: center; }
.evidence-business-icon { display: grid; place-items: center; flex: none; width: 39px; height: 39px; color: #b3c2ff; background: #96aaff10; border: 1px solid #96aaff21; border-radius: 11px; }
.evidence-business-icon svg { width: 21px; height: 21px; }
.evidence-identity h3 { margin: 0 0 3px; color: #f2f5ff; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.evidence-identity p { margin: 0; color: #9caaca; font-size: 11px; }
.evidence-period { display: flex; gap: 7px; align-items: center; font-size: 10px; color: #a7b5d5; }
.evidence-period svg { width: 14px; height: 14px; }
.evidence-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 40px; align-items: center; }
.evidence-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.evidence-stat { position: relative; padding: 21px 20px 18px; border: 1px solid #a3b6f21b; border-radius: 13px; background: #d2dfff04; }
.evidence-stat-icon { position: absolute; right: 17px; top: 20px; color: #93a6de; }
.evidence-stat-icon svg { width: 18px; height: 18px; }
.evidence-stat strong { display: block; margin: 0 24px 10px 0; color: #eff3ff; font-size: clamp(28px, 3vw, 39px); line-height: 1.1; font-weight: 600; letter-spacing: -.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.evidence-unit { color: #a8b9e2; margin-left: 4px; font-size: .48em; letter-spacing: -.015em; }
.evidence-stat-label { display: block; color: #aebbd7; font-size: 11px; line-height: 1.5; }
.evidence-highlights { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 23px; }
.evidence-highlight { display: flex; align-items: center; gap: 7px; color: #9cacca; font-size: 11px; }
.evidence-highlight svg { width: 15px; height: 15px; color: #aebeff; flex: none; }
.evidence-highlight strong { color: #d9e3ff; font-weight: 550; }
.evidence-grid { margin: 0; min-width: 0; }
.evidence-grid-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; }
.evidence-grid-top span { display: flex; gap: 7px; align-items: center; font-size: 10px; color: #b1bfdb; }
.evidence-grid-top svg { width: 14px; height: 14px; }
.evidence-grid-top strong { color: #8498c3; font-size: 9px; font-weight: 500; letter-spacing: .07em; }
.rank-map { display: block; width: 100%; height: 250px; border-radius: 15px; border: 1px solid #8ca4df1a; background: #111a2d80; }
.rank-line { stroke: #99b1e811; stroke-width: 1; }
.rank-cell { transform-box: fill-box; transform-origin: center; }
.rank-dot { fill: #5cba8a17; stroke: #75c69c45; stroke-width: .7; }
.rank-cell text { fill: #a9dfc1; font-family: inherit; font-size: 8px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.rank-cell.rank-first .rank-dot { fill: #5dba8b30; stroke: #85d6aa85; }
.rank-cell.rank-first text { fill: #c2f0d5; }
.rank-cell.rank-unknown .rank-dot { fill: #8191b315; stroke: #93a4ce30; }
.rank-cell.rank-unknown text { fill: #90a1c6; }
.rank-business { color: #bbcbff; }
.rank-business circle { fill: #32467b; stroke: #a2b6ff75; stroke-width: 1; }
.rank-business path { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; }
.evidence-grid-legend { display: flex; flex-wrap: wrap; gap: 7px 13px; align-items: center; margin-top: 10px; font-size: 9px; color: #91a3c5; }
.evidence-grid-legend span { display: inline-flex; gap: 5px; align-items: center; }
.evidence-grid-legend i { width: 5px; height: 5px; border-radius: 50%; background: #90ccab; }
.evidence-grid figcaption { margin-top: 6px; color: #7f91b6; font-size: 9px; line-height: 1.6; }
.evidence-work { display: grid; grid-template-columns: 175px 1fr; gap: 25px; margin-top: 25px; padding: 20px 0; border-top: 1px solid #bdccf210; }
.evidence-work span { display: block; margin-bottom: 4px; color: #8a9bbf; font-size: 8px; letter-spacing: .11em; text-transform: uppercase; }
.evidence-work strong { color: #bfcee9; font-size: 10px; font-weight: 500; }
.evidence-work p { color: #98a9c9; margin: 0; font-size: 10px; line-height: 1.75; }
.evidence-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; padding: 14px 0 17px; border-top: 1px solid #bdccf210; }
.evidence-progress { display: flex; align-items: center; gap: 17px; }
.evidence-count { font-size: 11px; color: #8092b9; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.evidence-count b { color: #cbd8f7; font-weight: 500; }
.evidence-dots { display: flex; gap: 5px; }
.evidence-dots span { width: 4px; height: 4px; border-radius: 50%; background: #455577; transition: width .25s ease, background .25s ease; }
.evidence-dots span.is-active { width: 17px; border-radius: 3px; background: #b2c4ff; }
.evidence-next { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; color: #b2c0e0; background: transparent; font: inherit; font-size: 11px; cursor: pointer; }
.evidence-next-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #afc0ff33; border-radius: 50%; color: #c6d3ff; background: #b6c5ff09; transition: background .25s, color .25s; }
.evidence-next-icon svg { width: 18px; height: 18px; transition: transform .25s; }
.evidence-next:hover .evidence-next-icon { background: #dce5ff; color: #263972; }
.evidence-next:hover svg { transform: translateX(2px); }
.evidence-footnote { max-width: 1000px; margin: 17px auto 0; padding: 0 5px; text-align: center; color: #7d879b; font-size: 10px; line-height: 1.75; }
.evidence-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.evidence-panel.is-counting .rank-cell { animation: rank-appear .45s var(--ease) both; animation-delay: var(--cell-delay, 0ms); }
@keyframes rank-appear { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@media (max-width: 1050px) {
  .evidence-shell { padding-inline: 26px; }
  .evidence-content { gap: 25px; grid-template-columns: minmax(0, 1fr) minmax(275px, .9fr); }
  .evidence-stat { padding: 19px 15px 16px; }
  .evidence-stat-icon { right: 13px; top: 18px; }
  .evidence-stat-icon svg { width: 16px; height: 16px; }
  .evidence-stat strong { font-size: 32px; }
}
@media (max-width: 760px) {
  .evidence-section { padding: 25px 0 70px; }
  .evidence-wrap { width: min(100% - 36px, 560px); }
  .evidence-heading { margin-bottom: 26px; }
  .evidence-heading h2 { font-size: clamp(29px, 7vw, 37px); }
  .evidence-heading p { font-size: 12px; }
  .evidence-shell { padding: 24px 22px 0; border-radius: 21px; }
  .evidence-panel-head { flex-direction: column; align-items: start; gap: 11px; margin-bottom: 22px; }
  .evidence-identity h3 { font-size: 18px; }
  .evidence-period { font-size: 9px; }
  .evidence-content { grid-template-columns: 1fr; gap: 24px; }
  .evidence-stat { padding: 18px 14px 16px; }
  .evidence-stat strong { font-size: 31px; margin-right: 22px; }
  .evidence-stat-label { font-size: 10px; }
  .evidence-stat-icon { right: 12px; top: 18px; }
  .evidence-highlights { margin-top: 17px; gap: 9px 17px; }
  .evidence-highlight { font-size: 10px; }
  .rank-map { height: 270px; }
  .evidence-work { grid-template-columns: 1fr; gap: 12px; margin-top: 21px; padding-block: 17px; }
  .evidence-work p { font-size: 10px; }
  .evidence-footnote { font-size: 9px; text-align: left; padding-inline: 0; }
}
@media (max-width: 380px) {
  .evidence-wrap { width: calc(100% - 30px); }
  .evidence-shell { padding-inline: 17px; }
  .evidence-stats { gap: 10px; }
  .evidence-stat { padding: 14px 11px; }
  .evidence-stat-icon { display: none; }
  .evidence-stat strong { margin-right: 0; font-size: 29px; }
  .rank-map { height: 245px; }
  .evidence-highlights { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .evidence-section *, .evidence-section *::before, .evidence-section *::after { animation: none !important; transition: none !important; }
}
@media print {
  .evidence-panel[hidden] { display: block; margin-top: 24px; }
  .evidence-controls { display: none; }
  .evidence-panel { break-inside: avoid; }
}
