/* 4th Down + Charts pages (on top of position-v2.css) */
.an-layout { padding: 2rem; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 2.25rem; }
.an-bar { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.an-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.an-tile { border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; background: rgba(255,255,255,0.05); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.an-tile-label { font-size: 0.72rem; letter-spacing: 0.1em; opacity: 0.65; }
.an-tile-value { font-size: 2.1rem; letter-spacing: 0.02em; line-height: 1.1; }
.an-tile-sub { font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.7; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.an-card { border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; background: rgba(255,255,255,0.05); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.an-card h2 { font-size: 1.05rem; letter-spacing: 0.08em; }
.an-card .an-sub { font-size: 0.7rem; letter-spacing: 0.06em; opacity: 0.65; }
.an-mix { display: flex; height: 34px; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255,255,255,0.2); }
.an-mix > div { display: flex; align-items: center; justify-content: center; font-size: 0.78rem; letter-spacing: 0.05em; min-width: 0; }
.an-mix-go { background: #4cd787; color: #0a3a28; }
.an-mix-fg { background: #f2c94c; color: #3a2e05; }
.an-mix-punt { background: rgba(255,255,255,0.3); }
.an-legend { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.85; }
.an-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.an-dot { width: 12px; height: 12px; display: inline-block; }
.an-svg { width: 100%; height: auto; display: block; }
.an-svg text { font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; }
.an-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.an-chip { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; background: rgba(255,255,255,0.05); color: #fff; border: 1.5px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 0.4rem 0.9rem; cursor: pointer; opacity: 0.7; }
.an-chip:hover { opacity: 1; }
.an-chip.active { opacity: 1; color: #f2c94c; border-color: rgba(242,201,76,0.6); background: rgba(242,201,76,0.12); }
.an-table-wrap { overflow-x: auto; border: 2px solid rgba(255,255,255,0.15); border-radius: 8px; }
.an-table { width: 100%; border-collapse: collapse; font-family: 'Anton', sans-serif; text-transform: uppercase; min-width: 760px; }
.an-table th, .an-table td { padding: 0.6rem 0.75rem; font-size: 0.78rem; letter-spacing: 0.03em; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); white-space: nowrap; }
.an-table thead th { font-size: 0.68rem; letter-spacing: 0.08em; opacity: 0.65; background: #0e4934; position: sticky; top: 0; }
.an-table tr.an-desc td { white-space: normal; text-transform: none; font-size: 0.72rem; opacity: 0.6; letter-spacing: 0.02em; padding-top: 0; font-family: Arial, sans-serif; }
.an-res-good { color: #4cd787; } .an-res-bad { color: #e2665b; } .an-res-neutral { opacity: 0.8; }
.an-pill { display: inline-block; font-size: 0.66rem; letter-spacing: 0.1em; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1.5px solid currentColor; }
.an-pill-go { color: #4cd787; } .an-pill-fg { color: #f2c94c; } .an-pill-punt { color: rgba(255,255,255,0.7); }
.an-note { font-family: 'Anton', sans-serif; text-transform: none; font-size: 0.78rem; opacity: 0.6; letter-spacing: 0.02em; line-height: 1.45; }
.an-soon { display: inline-block; font-size: 0.65rem; letter-spacing: 0.14em; color: #f2c94c; border: 1.5px solid rgba(242,201,76,0.5); border-radius: 999px; padding: 0.25rem 0.8rem; }
@media (max-width: 700px) { .an-layout { padding: 1.25rem 1rem; } .an-tile-value { font-size: 1.7rem; } }

/* toggle buttons reused from coaching search */
.cs-toggle-group { display: inline-flex; border: 2px solid rgba(255,255,255,0.2); border-radius: 8px; overflow: hidden; max-width: 100%; }
.cs-toggle { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.04em; background: none; border: none; color: #fff; opacity: 0.6; padding: 0.65rem 1.25rem; cursor: pointer; transition: opacity .15s ease, background-color .15s ease; }
.cs-toggle + .cs-toggle { border-left: 2px solid rgba(255,255,255,0.2); }
.cs-toggle:hover { opacity: 0.85; }
.cs-toggle.active { opacity: 1; background: rgba(242,201,76,0.16); color: #f2c94c; }
@media (max-width: 700px) { .cs-toggle { padding: 0.6rem 0.8rem; font-size: 0.72rem; } }

.an-scroll{overflow-x:auto}
@media (max-width:700px){.an-scroll svg{min-width:680px}}
