/* Analytics uses the app's navy cards, white controls and W/D/L colours. */
#app .an-page{padding:12px 16px 100px;color:#172338;font-family:inherit}
.an-page *{box-sizing:border-box}.an-page button,.an-page select{font:inherit}
#app .an-page>.an-back{display:flex;width:max-content;margin:0 0 8px!important;font-size:10px;font-weight:800;cursor:pointer}
.an-hero{padding:16px;border:1px solid #111827;border-radius:14px;background:#111827;color:#fff}
.an-hero h1{margin:0;color:#c8f060;font-size:22px;line-height:1.2;letter-spacing:-.025em}
.an-hero p{margin:5px 0 0;font-size:10px;line-height:1.4;color:#cbd3df}
.an-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0;padding:4px;border:1px solid #dce3eb;border-radius:11px;background:#fff}
.an-tabs button{min-height:34px;padding:7px 4px;border:0;border-radius:8px;background:transparent;color:#65748a;font-size:10px;font-weight:850;cursor:pointer}
.an-tabs button.active{background:#111827;color:#fff}
.an-scope{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:10px}
.an-scope button{height:34px;border:1px solid #dce3eb;border-radius:9px;background:#fff;color:#65748a;font-size:10px;font-weight:850;cursor:pointer}
.an-scope button[aria-pressed=true]{border-color:#111827;background:#111827;color:#c8f060}
.an-scope button:disabled{opacity:.45;cursor:default}
.an-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}
.an-stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:100px;min-width:0;padding:12px;border:1px solid #dce3eb;border-radius:11px;background:#fff}
.an-stat>span{min-height:26px;color:#65748a;font-size:10px;font-weight:800;line-height:1.3}
.an-stat>strong{margin-top:6px;color:#172338;font-size:28px;line-height:1;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.an-stat>small{margin-top:5px;color:#7b8798;font-size:8px;line-height:1.25}
.an-section{margin:10px 0;padding:13px;border:1px solid #dce3eb;border-radius:14px;background:#fff;overflow:hidden}
.an-section>header{margin-bottom:10px}.an-section h2{margin:0;color:#172338;font-size:14px;line-height:1.3;letter-spacing:-.01em}
.an-section>header p{margin:4px 0 0;color:#718095;font-size:9px;line-height:1.4}
.an-note{margin:9px 0 0;color:#7b8798;font-size:9px;line-height:1.4}.an-finalised-note{text-align:center}
.an-empty{margin:0;padding:12px 0;color:#718095;font-size:11px;line-height:1.5}
.an-control{display:flex;flex-direction:column;min-width:0;margin:0}.an-control select{width:100%;height:44px;padding:0 34px 0 12px;border:1px solid #dce3eb;border-radius:11px;background-color:#fff;color:#172338;font-size:12px;font-weight:750;cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7'%3E%3Cpath d='M1 1.5 4.5 5 8 1.5' fill='none' stroke='%23172338' stroke-width='1.7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:9px 7px}
@media(max-width:430px){.an-control select{padding-left:9px;padding-right:28px;background-position:right 9px center}}
.an-week-control{margin-bottom:10px}
.an-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.an-sample{padding:4px 7px;border-radius:5px;background:#f0f3f7;color:#65748a;font-size:9px;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums}
.an-spread-context{display:flex;flex-direction:column;justify-content:center;gap:4px;height:42px;min-width:0;margin-bottom:10px;padding:0 1px}
.an-spread-context>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172338;font-size:11px;line-height:14px}
.an-spread-context>span{color:#65748a;font-size:9px;line-height:12px;font-variant-numeric:tabular-nums}.an-spread-context i{margin:0 4px;color:#a3adbc;font-style:normal}
.an-legend{display:flex;gap:12px;margin-bottom:10px;font-size:9px;color:#65748a}.an-legend span{display:flex;align-items:center;gap:5px}.an-legend i{width:8px;height:8px;border-radius:2px}
.an-page .w{background:#16a06f}.an-page .d{background:#d59b22}.an-page .l{background:#db3157}
.an-spread-head,.an-spread-row{display:grid;grid-template-columns:21px minmax(0,1fr) 26px 57px;gap:7px;align-items:center}
.an-spread-head{padding-bottom:7px;border-bottom:1px solid #e9edf2;color:#7b899b;font-size:8px;font-weight:800;line-height:1.3}
.an-spread-head>span:nth-child(n+3){text-align:right}
.an-spread-row{min-height:25px;font-size:10px;line-height:1;font-variant-numeric:tabular-nums}.an-spread-row>b{color:#536277;font-size:10px}.an-spread-row.is-empty{opacity:.45}
.an-spread-track{display:flex;height:12px;border-radius:3px;background:#f0f3f7;overflow:hidden}.an-spread-track>span{display:block;flex-shrink:0;min-width:0}
.an-spread-count{text-align:right;font-weight:800;color:#172338}.an-spread-results{text-align:right;color:#65748a;font-size:9px;white-space:nowrap}.an-spread-results i{font-style:normal;color:#9aa7b7;font-size:8px}
.an-table-scroll{max-height:380px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;border:1px solid #dce3eb;border-radius:9px}
.an-table-scroll table{width:100%;border-collapse:separate;border-spacing:0;font-size:10px}
.an-table-scroll th,.an-table-scroll td{padding:9px 8px;border-bottom:1px solid #edf0f4;text-align:right;line-height:1.35;font-variant-numeric:tabular-nums}
.an-table-scroll thead th{position:sticky;top:0;z-index:1;background:#111827;color:#fff;font-size:8px;font-weight:850;white-space:nowrap}
.an-table-scroll th:first-child{text-align:left}.an-table-scroll tbody th{font-size:10px;color:#172338;font-weight:750;text-align:left}
.an-table-scroll tbody tr:last-child>*{border-bottom:0}.an-table-scroll .an-viewer>*{background:#f3f8e8}
.an-average-table td:first-child,.an-average-table thead th:first-child{width:23px;padding-left:5px;padding-right:5px;text-align:center;font-size:8px}
.an-average-table td:first-child{color:#718095}.an-average-table thead th:nth-child(2){text-align:left}.an-average-table tbody th{min-width:70px}
.an-average-table th:nth-child(n+3),.an-average-table td:nth-child(n+3){border-left:1px solid #edf0f4}
.an-average-table thead th:nth-child(n+3){border-left-color:#354050}
.an-average-table thead th:last-child{white-space:normal}
.an-average-value,.an-impact-value{color:#172338;font-weight:850}.an-average-table .an-average-value{background:#f7f9fb}
.an-rank-difference{font-weight:850;white-space:nowrap}.an-rank-difference.up{color:#0b7048}.an-rank-difference.down{color:#a92040}.an-rank-difference.level{color:#718095}
.an-record-list{display:grid}.an-record-row{padding:12px 0;border-top:1px solid #e7ecf2}.an-record-row:first-child{padding-top:0;border-top:0}.an-record-row:last-child{padding-bottom:0}
.an-record-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.3}
.an-record-heading>b{color:#172338;font-size:11px;font-weight:800}.an-record-heading>strong{color:#172338;font-size:17px;white-space:nowrap;font-variant-numeric:tabular-nums}
.an-record-detail{margin-top:8px;padding:8px 9px;border-radius:7px;background:#f3f6f9;color:#65748a;font-size:10px;line-height:1.4}
.an-record-entries{display:grid;gap:4px;list-style:none;padding:0;margin:0}.an-record-entries li{min-width:0}
.an-record-match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;color:#65748a;font-size:9px;line-height:1.35}
.an-record-match>span:last-child{text-align:right}.an-record-match>strong{font-size:10px;color:#172338;white-space:nowrap}
.an-record-entries small{display:block;margin-top:2px;color:#718095;font-size:8px;text-align:center}
.an-record-more{margin-top:5px}.an-record-more summary{width:max-content;max-width:100%;color:#536277;font-size:9px;font-weight:750;cursor:pointer}.an-record-more[open] summary{margin-bottom:5px}
.an-pot-chart{display:grid;gap:12px;padding:2px 0}.an-pot-row{display:grid;grid-template-columns:35px minmax(0,1fr) 34px;align-items:center;gap:8px;color:#65748a;font-size:10px}
.an-pot-row>div{height:12px;border-radius:3px;background:#f0f3f7;overflow:hidden}.an-pot-row i{display:block;height:100%;border-radius:3px;background:#172338}
.an-pot-row:nth-child(2) i{background:#516580}.an-pot-row:nth-child(3) i{background:#91a6bf}.an-pot-row:nth-child(4) i{background:#c8f060}.an-pot-row strong{text-align:right;color:#172338}
.an-clash-summary{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:11px;border-radius:9px;background:#f3f6f9}
.an-clash-summary>strong{color:#172338;font-size:27px;line-height:1;white-space:nowrap;letter-spacing:-.03em}.an-clash-summary>p{margin:0;color:#536277;font-size:10px;line-height:1.45}
.an-subheading{margin:0;color:#172338;font-size:12px;line-height:1.3}.an-copy{margin:5px 0 10px;color:#718095;font-size:9px;line-height:1.4}
.an-all-four-list{list-style:none;margin:0;padding:0;border:1px solid #dce3eb;border-radius:9px;overflow:hidden}
.an-all-four-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #e9edf2}.an-all-four-list>li:last-child{border:0}.an-all-four-list>li.an-viewer{background:#f3f8e8}
.an-all-four-list b{font-size:10px;line-height:1.4;color:#172338}.an-all-four-list>li>span{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:165px}
.an-all-four-list i{padding:4px 5px;border-radius:4px;background:#f0f3f7;color:#536277;font-size:8px;font-style:normal;line-height:1;white-space:nowrap}
.an-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.an-page button:focus-visible,.an-page select:focus-visible,.an-page summary:focus-visible,.an-table-scroll:focus-visible{outline:3px solid #91a6bf;outline-offset:2px}
@media(max-width:380px){
    #app .an-page{padding-left:12px;padding-right:12px}.an-hero{padding:14px}.an-hero h1{font-size:21px}
    .an-tabs button{font-size:9px}.an-section{padding:11px}.an-stat{padding:12px 10px}.an-stat>span{font-size:9px}.an-stat>strong{font-size:28px}
    .an-spread-head,.an-spread-row{grid-template-columns:18px minmax(0,1fr) 23px 53px;gap:5px}.an-table-scroll th,.an-table-scroll td{padding:8px 6px}.an-table-scroll thead th{font-size:7px}
    .an-average-table th,.an-average-table td{padding-left:5px;padding-right:5px}.an-average-table tbody th{min-width:62px}
    .an-record-match{gap:5px}.an-all-four-list>li{gap:7px;padding:9px}.an-all-four-list>li>span{max-width:130px}
}
