/* Access statistics only; existing console and shop sizing is unchanged. */
#trafficSection .shop-section-heading {align-items:center;}
#trafficSection .traffic-primary strong {color:var(--brand);}
#trafficSection .shop-metric-card strong small {margin-left:5px;color:var(--muted);font-size:12px;font-weight:400;}
.traffic-segment {display:flex;gap:3px;padding:4px;border:1px solid var(--border);border-radius:9px;background:var(--surface-subtle);}
.traffic-segment button {padding:7px 13px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap;}
.traffic-segment button[aria-pressed="true"] {background:#fff;color:var(--brand);box-shadow:0 1px 5px #20293814;font-weight:600;}
#trafficSection .traffic-trend-heading {gap:14px;}
.traffic-chart-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px 0;}
.traffic-chart-metrics {display:flex;gap:18px;}
.traffic-chart-metrics button {border:0;border-bottom:2px solid transparent;padding:0 0 8px;background:transparent;font-size:12px;color:var(--muted);}
.traffic-chart-metrics button[aria-pressed="true"] {color:var(--brand);border-bottom-color:var(--brand);font-weight:650;}
.traffic-chart-metrics button span {margin-left:4px;font-size:10px;font-weight:400;}
.traffic-today-note {font-size:11px;color:var(--muted);}
.traffic-chart-area {position:relative;min-width:0;margin:10px 16px 0;}
#trafficChart {display:block;width:100%;height:235px;overflow:visible;}
.traffic-chart-dot {fill:white;stroke:var(--brand);stroke-width:2;}
.traffic-chart-hit {fill:transparent;stroke:transparent;cursor:crosshair;outline:none;}
.traffic-chart-hit:focus {fill:#7c3aed09;stroke:#7c3aed66;stroke-width:1;}
.traffic-tooltip {position:absolute;z-index:3;pointer-events:none;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:white;box-shadow:0 6px 22px #29304520;font-size:12px;line-height:1.8;min-width:150px;}
.traffic-tooltip strong {display:block;font-size:11px;margin-bottom:3px;}
.traffic-tooltip b {float:right;margin-left:20px;color:var(--brand);}
.traffic-chart-foot {display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);padding:12px 20px;color:var(--muted);font-size:11px;}
.traffic-chart-foot strong {font-weight:650;color:var(--text);}
.traffic-detail-panel {margin-top:16px;}
#trafficSection .traffic-table {width:100%;min-width:0;table-layout:fixed;}
#trafficSection .traffic-table th,#trafficSection .traffic-table td {padding:13px 20px;font-size:12px;text-align:right;}
#trafficSection .traffic-table th:first-child,#trafficSection .traffic-table td:first-child {text-align:left;width:46%;}
#trafficSection .traffic-table th span {color:var(--muted);font-weight:400;font-size:10px;margin-left:4px;}
.traffic-table .traffic-today {background:#fbf9ff;}
.traffic-table .traffic-day-label {margin-left:8px;font-size:10px;font-weight:400;color:var(--brand);background:var(--brand-soft);padding:3px 6px;border-radius:4px;}
.traffic-table .traffic-day-note {color:var(--muted);margin-left:7px;font-size:10px;}
.traffic-definitions {margin-top:16px;font-size:12px;color:var(--muted);line-height:1.8;}
.traffic-definitions summary {cursor:pointer;width:fit-content;}
.traffic-definitions p {margin:7px 0;max-width:850px;}
.traffic-definitions strong {font-weight:600;}
.traffic-empty {min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;font-size:13px;}
.traffic-empty svg {width:40px;height:40px;fill:none;stroke:#a195ba;stroke-width:1.5;stroke-linecap:round;}
.traffic-empty p {margin:0;color:var(--muted);font-size:12px;}
.traffic-error {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 18px;background:#fff7ed;border:1px solid #eed9be;border-radius:10px;font-size:12px;color:#8a561e;}
.traffic-error p {margin:5px 0 0;}
@media(max-width:780px){
 #trafficSection .shop-section-heading {display:block;}
 #trafficSection .shop-section-heading>span {display:block;margin-top:10px;}
 #trafficSection .shop-section-heading p {line-height:1.65;}
 #trafficSection .traffic-trend-heading {align-items:flex-start;flex-wrap:wrap;padding:16px;}
 .traffic-chart-toolbar {padding:16px 15px 0;gap:6px;flex-wrap:wrap;}
 .traffic-chart-metrics {gap:14px;}
 .traffic-chart-area {margin:8px 9px 0;}
 #trafficChart {height:210px;}
 .traffic-chart-foot {padding:12px 15px;line-height:1.6;}
 #trafficSection .traffic-table th,#trafficSection .traffic-table td {padding:12px 12px;}
 .traffic-day-note {display:block;margin:5px 0 0!important;}
 .traffic-table .traffic-day-label {margin-left:5px;}
 .traffic-error {align-items:flex-start;padding:12px;}
 .traffic-error button {white-space:nowrap;}
}
#trafficSection [hidden] {display:none!important;}
#trafficSection .traffic-updated-stale {color:#8a561e;}
#trafficSection .traffic-table .traffic-unavailable {color:var(--muted);}
