.stats-tabs{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}.stats-tabs [aria-current]{color:#ffd76a;text-decoration:underline}.stat-copy{font:inherit;color:#999;background:none;border:1px solid #333;padding:8px;cursor:pointer}.stats-hero{margin:30px 0;padding:24px;border:1px solid #ffd76a44;border-radius:12px}.stats-hero a{color:#ffd76a}.bird-trail{display:flex;align-items:center;justify-content:space-between;min-height:200px;gap:12px;border-bottom:1px dotted #ffd76a66}.bird-trail img{width:100px;height:100px;object-fit:contain}.bird-trail .diogenes{width:140px}.bird-trail .flight{color:#ffd76a;text-align:center;animation:bird-float 5s ease-in-out infinite}.bird-trail.scene-1{align-items:end}.bird-trail.scene-2{background:radial-gradient(ellipse at right,#ff7a1015,transparent 60%)}.bird-counts{display:grid;grid-template-columns:1fr 1fr;gap:24px}.bird-counts h2{font-size:16px}.map-preview{display:block;padding:38px;background:#0d1014;border:1px solid #ffd76a33;color:#ffd76a}.st table{width:100%;text-align:left;border-collapse:collapse}.st th,.st td{padding:8px 4px;border-bottom:1px solid #222}.st pre{white-space:pre-wrap}.stat-item{display:flex;justify-content:space-between;gap:14px;padding:8px 0}@keyframes bird-float{50%{transform:translateY(-5px)}}@media(max-width:600px){.bird-trail img{width:60px;height:80px}.bird-trail .diogenes{width:90px}.bird-counts{grid-template-columns:1fr}.stats-tabs{gap:10px}}
/* Reserve shared chrome and asynchronous totals before scripts arrive. */
.people-page:has(.stats-tabs) main{padding-top:64px}.people-page:has(.stats-tabs) #lang-switcher{min-height:34px}.st #outbound{min-height:70px}.st #visitors-line{min-height:44px}.st #total-line{min-height:44px}.st #visitors{min-height:100px}.st #section-output{min-height:260px}

.country-section{padding:20px;border:1px solid #ffd76a33;border-radius:12px;background:#090a0b}.st .country-section h2{font-size:16px;color:#ffd76a}.country-list{list-style:none;margin:16px 0;padding:0}.country-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #242424}.country-name{overflow-wrap:anywhere}.country-count{font-variant-numeric:tabular-nums;color:#ffd76a;font-weight:600}.country-bar{position:absolute;bottom:-1px;left:0;height:2px;background:#ffd76a66}.country-note,#countries-period{font-size:12px;line-height:1.6}.country-map-link{display:inline-block;min-height:44px;padding:12px 0;box-sizing:border-box;color:#ffd76a}#countries{min-height:48px}@media(max-width:480px){.country-section{padding:16px}.country-row{gap:12px}}

.coffee-counts{display:flex;flex-wrap:wrap;gap:1rem 2.2rem;margin:1.2rem 0}
.coffee-counts dt,.coffee-context{color:#999;font-size:.75rem}
.coffee-counts dd{margin:.35rem 0;color:#ffd76a;font-size:1.6rem}
.coffee-stat [data-cups]{overflow-wrap:anywhere;line-height:1.7;max-width:36em}
.coffee-context{max-width:68ch;line-height:1.6;margin-top:.8rem}

.st .coffee-stat h1{font-size:clamp(1.75rem,6vw,3rem);line-height:1.1;letter-spacing:-.045em;max-width:16ch}

.snapshot-age,[data-snapshot-age]{min-height:1.5em;color:#999;font-size:.75rem}
.health-check{margin:1.25rem 0}.health-check p,.health-check small{font-size:.76rem;color:#bbb}
.health-strip{display:grid;grid-template-columns:repeat(30,1fr);gap:3px;max-width:32rem}
.health-strip i{aspect-ratio:1;border-radius:2px;background:#343434}
.health-strip .health-ok{background:#6ba780}.health-strip .health-degraded{background:#d4a347}.health-strip .health-down{background:#bb615e}
#records,#sf-leads,#x-log{min-height:4rem}.st #section-output{contain:layout}.st [data-counts]{min-height:7rem}

.private-stats main{display:block;min-height:100svh}.private-stats .wrap{margin:0 auto}
.private-stats #private-pending{min-height:65vh;font-size:.85rem;color:#999}
.private-slot{min-height:8rem}.private-slot>.st-sec{margin:0}
.st #health-title{font-size:clamp(2rem,8vw,4rem);overflow-wrap:anywhere;min-height:2.4em;line-height:1.15}

.stats-feedback{max-width:40rem;margin:1rem 0;color:#d0c7b1;font-size:.82rem;line-height:1.5}
.stats-feedback p{margin:0 0 .5rem}
.stats-track{height:3px;background:#322d22;border-radius:2px;overflow:hidden;max-width:22rem}
.stats-track i{display:block;height:100%;width:40%;background:#ffd76a;animation:stats-travel 1.6s ease-in-out infinite alternate}
@keyframes stats-travel{from{transform:translateX(0)}to{transform:translateX(150%)}}
.stats-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.stats-actions button{color:#ffd76a;border:1px solid #665632;background:transparent;border-radius:4px;font:inherit;padding:.4rem .65rem;cursor:pointer}
.stats-actions a{color:#aaa}
@media(prefers-reduced-motion:reduce){.stats-track i{animation:none;width:100%;background:repeating-linear-gradient(90deg,#a48a46 0 6px,transparent 6px 10px)}}
