/* Detailed analytics, using the administration workspace palette. */
.admin-workspace .an-filter-panel{padding:20px 22px;border:1px solid #bcb8af66;border-radius:20px;background:#ffffffb3;box-shadow:0 6px 24px #30271e05;backdrop-filter:blur(18px)}
.admin-workspace .analytics-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;border:0;background:none}
.admin-workspace .analytics-filters label,.admin-workspace .an-date-range label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;color:#4c5355;min-width:0}
.admin-workspace .analytics-filters select,.admin-workspace .an-date-range input,.admin-workspace .an-export select{width:100%;min-height:40px;border-radius:10px;border:1px solid #c9cbc9;background:#ffffffd9;padding:9px 11px;color:#273d41;font:inherit;font-size:13px}
.admin-workspace .an-filter-footer{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid #d4d5ce}
.admin-workspace .an-filter-footer .check{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap}.admin-workspace .an-filter-footer input{width:16px;height:16px;accent-color:#437477}
.admin-workspace .an-export{display:flex;gap:8px;margin-left:auto}.admin-workspace .an-export select{width:auto;max-width:190px}
.admin-workspace .an-date-range{display:flex;align-items:end;gap:12px;margin-top:14px}.admin-workspace .an-date-range[hidden]{display:none}
.admin-workspace .an-coverage{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 22px;margin:18px 0 20px;border:1px solid #79a29d55;border-radius:16px;background:#edf6f1;color:#294d47}
.admin-workspace .an-coverage.has-unknown{background:#f7f3e9;border-color:#beaa7555;color:#655231}.admin-workspace .an-coverage strong{display:block;font-size:14px;font-weight:650}.admin-workspace .an-coverage span{display:block;margin-top:4px;font-size:12px}.admin-workspace .an-coverage p{max-width:440px;margin:0;font-size:12px;line-height:1.6}
.admin-workspace .an-tabs{display:flex;gap:4px;padding:5px;border:1px solid #b9c2c366;border-radius:13px;background:#dce4e54d;overflow-x:auto;margin-bottom:24px;scrollbar-width:thin}
.admin-workspace .an-tabs button{border:0;background:transparent;box-shadow:none;white-space:nowrap;border-radius:9px;padding:11px 14px;color:#596666;font-size:12px;font-weight:600;flex:1}
.admin-workspace .an-tabs button[aria-selected=true]{background:#fff;color:#204b4f;box-shadow:0 2px 6px #22393b16}.admin-workspace .an-tabs button:focus-visible{outline:2px solid #397d82;outline-offset:-2px}
.admin-workspace .an-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.admin-workspace .an-metric{display:flex;flex-direction:column;gap:10px;padding:20px;background:linear-gradient(145deg,#fff,#f7f9f8d9);border:1px solid #bdc7c65c;border-radius:18px;min-width:0;box-shadow:0 5px 16px #233b3c04}
.admin-workspace .an-metric>span{font-size:12px;font-weight:600;color:#596768}.admin-workspace .an-metric strong{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-1px;color:#24464a;font-variant-numeric:tabular-nums}.admin-workspace .an-metric small{font-size:11px;line-height:1.6;color:#667170}
.admin-workspace .an-section{padding:22px;border-radius:18px;margin-bottom:20px;min-width:0;background:#ffffffc9;border:1px solid #bdc7c65c;overflow:hidden}
.admin-workspace .an-section-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:18px}.admin-workspace .an-section-head h2{font-size:16px;line-height:1.4;font-weight:650;color:#28484a;margin:0}.admin-workspace .an-section-head p,.admin-workspace .an-caption{font-size:12px;color:#687373;line-height:1.6;margin:7px 0 0}.admin-workspace .an-pill{display:inline-block;white-space:nowrap;border:1px solid #b6c3c366;background:#f3f7f6;border-radius:999px;padding:7px 11px;color:#476264;font-size:11px}
.admin-workspace .an-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-workspace .an-grid .an-section{margin-bottom:0}.admin-workspace .an-grid{margin-bottom:20px}
.admin-workspace .an-section .table-scroll,.admin-workspace .an-journey .table-scroll{overflow-x:auto}.admin-workspace .an-section table,.admin-workspace .an-journey table{width:100%;border-collapse:collapse;font-size:12px}.admin-workspace .an-section th,.admin-workspace .an-journey th{padding:11px 10px;text-align:left;font-weight:600;background:#eef3f2;color:#466063;white-space:nowrap;border-bottom:1px solid #cdd8d5}.admin-workspace .an-section td,.admin-workspace .an-journey td{padding:12px 10px;line-height:1.5;border-bottom:1px solid #e2e7e5;color:#3c5052;max-width:320px;overflow-wrap:anywhere;vertical-align:top}.admin-workspace .an-section tr:last-child td{border-bottom:0}.admin-workspace .an-section .text-button{font-size:12px;text-align:left;max-width:280px;overflow-wrap:anywhere;padding:0;background:none;border:0;color:#276e76;text-decoration:underline;text-underline-offset:3px}
.admin-workspace .an-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.admin-workspace .an-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;color:#617274;margin:16px 0 24px}.admin-workspace .an-pagination>div{display:flex;gap:8px}.admin-workspace .an-pagination button{font-size:12px;padding:8px 13px}.admin-workspace button:disabled{cursor:default;opacity:.5}
.admin-workspace .an-performance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.admin-workspace .an-speed{padding:24px;border:1px solid #c4d1ce;border-radius:18px;background:#ffffffc9;display:flex;flex-direction:column;gap:10px;min-width:0}.admin-workspace .an-speed>span{font-size:13px;color:#526362}.admin-workspace .an-speed strong{font-size:36px;font-weight:600;letter-spacing:-1px;color:#3f5a5c}.admin-workspace .an-speed p{font-size:12px;line-height:1.6;margin:0;color:#596f70}.admin-workspace .an-speed small{font-size:11px;line-height:1.8;color:#687373;margin-top:auto}.admin-workspace .an-speed.good{border-top:3px solid #4f8a70}.admin-workspace .an-speed.moderate{border-top:3px solid #b8913e}.admin-workspace .an-speed.poor{border-top:3px solid #b86661}
.admin-workspace .an-heatmap{overflow-x:auto}.admin-workspace .an-heatrow{display:grid;grid-template-columns:36px repeat(24,minmax(12px,1fr));gap:4px;min-width:550px;margin:5px 0;align-items:center}.admin-workspace .an-heatrow span,.admin-workspace .an-heatrow small{font-size:10px;color:#576f70}.admin-workspace .an-heatrow i{display:block;aspect-ratio:1.5;border-radius:3px;background:linear-gradient(rgb(57 125 130 / var(--intensity)),rgb(57 125 130 / var(--intensity))),#edf1ef}
.admin-workspace .an-method{font-size:12px;color:#5a696a;border-top:1px solid #c4cecb;margin-top:28px;padding:18px 0}.admin-workspace .an-method summary{cursor:pointer;font-weight:600;color:#425e5f}.admin-workspace .an-method p{max-width:980px;line-height:1.8}
.admin-workspace dialog.an-journey{width:min(1250px,94vw);max-width:94vw;max-height:88dvh;overflow:auto;padding:26px;border:1px solid #bdcac7;border-radius:22px;background:#fafcfb;color:#344c4d;box-shadow:0 25px 90px #162d3444}.admin-workspace .an-journey::backdrop{background:#13283177;backdrop-filter:blur(5px)}.admin-workspace .an-journey h2{font-size:18px}.admin-workspace .an-journey .table-scroll{max-height:62dvh}.admin-workspace .an-journey th{position:sticky;top:0}.admin-workspace .an-journey table{min-width:1040px}.admin-workspace .an-journey .an-section-head>button{flex-shrink:0}
.admin-workspace #analytics-status{min-height:20px;color:#586c6e;font-size:12px}.admin-workspace #analytics-status.error{color:#a03a36}.admin-workspace .traffic-chart{width:100%;height:auto;max-height:360px}.admin-workspace .traffic-chart text{fill:#607475;font-size:11px}.admin-workspace .chart-legend{display:flex;flex-wrap:wrap;gap:18px;align-items:center;font-size:12px;color:#566e70}.admin-workspace .chart-legend span{display:flex;gap:6px;align-items:center}.admin-workspace .chart-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.admin-workspace .chart-legend small{margin-left:auto}.admin-workspace .chart-data summary{cursor:pointer;font-size:12px;color:#42686b;padding:8px 0}.admin-workspace .analytics-map-grid{grid-template-columns:1.4fr 1fr;align-items:start}.admin-workspace .world-map{width:100%;border-radius:12px}
@media(min-width:1500px){.admin-workspace .analytics-filters{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1100px){.admin-workspace .an-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace .an-grid,.admin-workspace .analytics-map-grid{grid-template-columns:1fr}.admin-workspace .an-performance{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace .an-coverage{align-items:start;flex-direction:column;gap:10px}.admin-workspace .an-coverage p{max-width:none}}
@media(max-width:640px){.admin-workspace .analytics-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-workspace .an-filter-panel,.admin-workspace .an-section{padding:16px}.admin-workspace .an-metrics{gap:10px}.admin-workspace .an-metric{padding:15px}.admin-workspace .an-metric strong{font-size:26px}.admin-workspace .an-filter-footer{gap:12px}.admin-workspace .an-export{margin:0;width:100%}.admin-workspace .an-export select{flex:1;max-width:none}.admin-workspace .an-date-range{flex-wrap:wrap}.admin-workspace .an-section-head{flex-wrap:wrap}.admin-workspace .an-performance{grid-template-columns:1fr}.admin-workspace .an-tabs button{padding:10px 12px}.admin-workspace .an-pagination{align-items:start;flex-direction:column}.admin-workspace dialog.an-journey{padding:17px}.admin-workspace .an-section table{min-width:400px}}
@media(prefers-reduced-motion:reduce){.admin-workspace .an-tabs *{transition:none!important}}
