/* 3rd-i HQ. Mobile-first dashboard, shared phone and desktop data views. */
:root {
  --ground:#f5f7fb;
  --block:#fff;
  --raised:#eef2f8;
  --line:#e8ecf3;
  --line-strong:#d5dce8;
  --ink:#202b40;
  --ink-2:#536178;
  --ink-3:#66738a;
  --royal:#3767dc;
  --royal-deep:#2c55bd;
  --royal-tint:#edf2ff;
  --magenta:#b5327b;
  --magenta-tint:#fbedf5;
  --neutral-mark:#bcc6d8;
  --good:#23764d;
  --good-tint:#eaf6ef;
  --warn:#9b601b;
  --tip-bg:#202b40;
  --tip-ink:#fff;
  --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:var(--sans);
  color-scheme:light
}
* {
  box-sizing:border-box
}
html {
  scroll-padding-top:90px;
  -webkit-text-size-adjust:100%
}
body {
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:var(--sans);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  font-variant-numeric:tabular-nums
}
button,input,select {
  font:inherit;
  color:inherit
}
button,a,select {
  -webkit-tap-highlight-color:transparent
}
button,select,summary {
  cursor:pointer
}
button {
  touch-action:manipulation
}
a {
  color:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #7898ec;
  outline-offset:3px
}
button:disabled {
  cursor:wait;
  opacity:.55
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  line-height:1.25;
  letter-spacing:-.035em;
  font-weight:600
}
h1 {
  font-size:28px
}
h2 {
  font-size:18px
}
h3 {
  font-size:15px;
  letter-spacing:-.02em
}
[hidden] {
  display:none!important
}
.sr {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.muted,.sub {
  color:var(--ink-3)
}
.lbl {
  color:var(--ink-3);
  font-size:12px;
  line-height:1.5
}
.eyebrow {
  color:var(--ink-3);
  font-size:11px;
  margin-bottom:6px
}
.num {
  font-variant-numeric:tabular-nums
}
.top {
  height:72px;
  background:var(--block);
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  position:sticky;
  top:0;
  z-index:30
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none
}
.brand img {
  width:63px;
  height:auto
}
.brand-name {
  border-left:1px solid var(--line-strong);
  padding-left:12px;
  font-size:19px;
  font-weight:600;
  line-height:1.15
}
.brand-name>span {
  display:block;
  font-size:10px;
  color:var(--ink-3);
  font-weight:400;
  margin-top:4px
}
.site-link {
  text-decoration:none;
  font-size:12px;
  color:var(--ink-2);
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px
}
.site-link span {
  font-size:18px
}
.stops {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:40;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  background:rgba(255,255,255,.97);
  border-top:1px solid var(--line);
  padding:8px 8px calc(8px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 24px #202b4005
}
.stops a {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  text-decoration:none;
  color:var(--ink-3);
  font-size:10px;
  font-weight:500;
  min-height:49px;
  border-radius:12px
}
.stops a.on {
  color:var(--royal-deep);
  background:var(--royal-tint)
}
.stops svg {
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round
}
.nav-foot {
  display:none
}
.main {
  max-width:1260px;
  margin:auto;
  padding:24px 18px calc(100px + env(safe-area-inset-bottom));
  min-width:0
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:22px
}
.page-sub {
  font-size:13px;
  color:var(--ink-3);
  margin-top:6px
}
.refresh-action {
  width:44px;
  height:44px;
  flex:0 0 44px;
  border:1px solid var(--line);
  border-radius:13px;
  background:white;
  display:grid;
  place-items:center;
  box-shadow:0 3px 10px #202b4004
}
.refresh-action svg {
  width:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.period-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px
}
.period-title {
  font-size:13px;
  font-weight:600
}
.period-dates {
  font-size:11px;
  color:var(--ink-3);
  margin-top:3px
}
.range,.seg {
  display:flex;
  gap:2px;
  padding:4px;
  border-radius:12px;
  background:#e9edf5
}
.range button,.seg button {
  border:0;
  min-height:40px;
  min-width:41px;
  padding:6px 9px;
  border-radius:9px;
  background:transparent;
  color:var(--ink-2);
  font-size:12px;
  font-weight:600
}
.range button[aria-pressed=true],.seg button[aria-pressed=true] {
  background:white;
  color:var(--royal-deep);
  box-shadow:0 2px 6px #202b4010
}
.status {
  font-size:11px;
  color:var(--ink-3);
  margin:0 0 18px;
  line-height:1.6
}
.status.err {
  color:var(--warn);
  background:#fff5e7;
  padding:10px 12px;
  border-radius:10px
}
.sec {
  padding:0
}
.sec+.sec {
  margin-top:24px
}
.sec-head {
  margin:24px 0 14px
}
.sec-head .lbl {
  margin-top:5px
}
#search>.sec-head,#traffic>.sec-head,#pages>.sec-head,#worklog>.sec-head {
  display:none
}
.card,.kpi {
  background:var(--block);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 4px 20px #20345b04;
  min-width:0
}
.card {
  padding:18px
}
.grid2 {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px
}
.card-head {
  margin-bottom:16px;
  display:flex;
  flex-direction:column;
  gap:5px
}
.note {
  font-size:12px;
  line-height:1.7;
  color:var(--ink-3);
  margin-top:14px
}
.takeaway {
  padding-top:12px;
  border-top:1px solid var(--line);
  font-size:12px;
  line-height:1.7;
  color:var(--ink-2);
  margin-top:14px
}
.detail-panel {
  margin-top:16px
}
.detail-panel summary {
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  font-weight:600;
  list-style:none
}
.detail-panel summary::-webkit-details-marker {
  display:none
}
.detail-panel summary::after {
  content:'+';
  font-size:20px;
  font-weight:400;
  color:var(--ink-3)
}
.detail-panel[open]>summary {
  margin-bottom:16px
}
.detail-panel[open]>summary::after {
  content:'−'
}
.kpis {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.kpi {
  padding:15px 14px 12px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:145px
}
.kpi .lbl {
  font-size:12px;
  font-weight:500;
  margin-bottom:9px;
  color:var(--ink-2)
}
.kpi .v {
  font-size:29px;
  line-height:1.15;
  letter-spacing:-.055em;
  font-weight:600
}
.kpi .d {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  color:var(--ink-3);
  margin-top:8px;
  flex-wrap:wrap
}
.kpi .d>span:last-child:not(.chip) {
  font-size:10px
}
.kpi .spark {
  height:28px;
  width:100%;
  margin-top:auto;
  padding-top:5px
}
.spark .area {
  fill:var(--royal);
  opacity:.06
}
.spark .ln {
  fill:none;
  stroke:var(--royal);
  stroke-width:1.5;
  vector-effect:non-scaling-stroke
}
.chip {
  display:inline-flex;
  align-items:center;
  font-size:10px;
  font-weight:600;
  padding:3px 6px;
  border-radius:6px;
  white-space:nowrap;
  line-height:1.35
}
.chip.up {
  background:var(--good-tint);
  color:var(--good)
}
.chip.down,.chip.flat,.chip.brand {
  background:var(--raised);
  color:var(--ink-2)
}
.chip.new {
  background:var(--royal-tint);
  color:var(--royal-deep)
}
.chip.p1 {
  background:var(--magenta-tint);
  color:var(--magenta)
}
.overview-trend {
  margin-top:16px
}
.trend-heading {
  gap:12px
}
.trend-heading h2 {
  font-size:16px
}
.trend-heading .lbl {
  margin-top:4px
}
.trend-heading select {
  align-self:flex-start
}
.trend-total {
  font-size:26px;
  letter-spacing:-.04em;
  font-weight:600;
  margin-bottom:10px
}
.trend-total small {
  font-size:12px;
  font-weight:400;
  letter-spacing:0;
  color:var(--ink-3);
  margin-left:8px
}
.text-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:44px;
  font-size:12px;
  font-weight:500;
  text-decoration:none;
  color:var(--royal-deep);
  border-top:1px solid var(--line);
  margin-top:16px;
  padding-top:8px
}
.section-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:24px 0 12px
}
.section-label h2 {
  font-size:16px
}
.live-pill {
  display:flex;
  align-items:center;
  gap:5px;
  color:var(--ink-2);
  font-size:11px
}
.live-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--good)
}
.live-pill.zero .live-dot {
  background:var(--neutral-mark)
}
.live-grid {
  display:grid;
  gap:12px
}
.live-hero {
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  column-gap:12px
}
.live-hero .lbl {
  grid-column:1/-1
}
.hero-num {
  font-size:36px;
  letter-spacing:-.045em;
  line-height:1.2;
  margin:6px 0
}
.live-hero .sub {
  font-size:11px;
  grid-column:1/-1;
  grid-row:3;
  margin-top:8px
}
.live-hero .chart {
  grid-column:2;
  grid-row:2;
  align-self:center
}
.mini-list {
  list-style:none;
  padding:0;
  margin:10px 0 0
}
.mini-list li {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.mini-list li:last-child {
  border:0
}
.mini-list li span:first-child {
  overflow-wrap:anywhere;
  min-width:0
}
.mini-list .num {
  font-weight:600;
  flex-shrink:0
}
.secondary-kpis .kpi {
  box-shadow:none;
  background:var(--ground);
  min-height:140px
}
.secondary-kpis .kpi .v {
  font-size:25px
}
select {
  max-width:100%;
  border:1px solid var(--line-strong);
  border-radius:9px;
  background:var(--block);
  padding:9px 26px 9px 10px;
  min-height:44px;
  font-size:13px
}
.toolbar {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:10px
}
.search {
  flex:1 1 100%;
  min-width:0
}
.search input {
  width:100%;
  min-height:46px;
  border:1px solid var(--line-strong);
  border-radius:11px;
  background:var(--ground);
  padding:10px 12px;
  font-size:16px
}
.toggle {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  font-size:12px
}
.toggle input {
  width:18px;
  height:18px;
  accent-color:var(--royal)
}
.count {
  margin-left:auto;
  font-size:11px;
  color:var(--ink-3)
}
.sort-control {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  width:100%;
  color:var(--ink-3)
}
.sort-control select {
  flex:1
}
.tbl-wrap {
  min-width:0
}
.tbl {
  width:100%;
  border-collapse:collapse;
  font-size:12px
}
.tbl th {
  font-size:11px;
  font-weight:500;
  color:var(--ink-3);
  text-align:right;
  border-bottom:1px solid var(--line);
  padding:12px 8px
}
.tbl th:first-child {
  text-align:left
}
.tbl th button {
  border:0;
  background:transparent;
  font:inherit;
  color:inherit;
  min-height:44px;
  padding:0
}
.tbl th.on {
  color:var(--royal-deep)
}
.tbl th.on button::after {
  content:' ↓'
}
.tbl th.on.asc button::after {
  content:' ↑'
}
.tbl td {
  padding:13px 8px;
  border-bottom:1px solid var(--line);
  text-align:right
}
.tbl .key {
  text-align:left;
  overflow-wrap:anywhere
}
.tbl tr:last-child td {
  border-bottom:0
}
.btn-more {
  width:100%;
  min-height:46px;
  padding:10px 16px;
  border:1px solid var(--line-strong);
  border-radius:11px;
  background:white;
  color:var(--royal-deep);
  font-size:13px;
  font-weight:500;
  margin-top:12px
}
.movers {
  list-style:none;
  margin:0;
  padding:0
}
.movers li {
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:7px
}
.movers li:last-child {
  border:0
}
.movers .q {
  overflow-wrap:anywhere
}
.movers .pos {
  font-size:11px;
  color:var(--ink-3);
  white-space:nowrap
}
.movers .pos b {
  color:var(--ink)
}
.empty {
  color:var(--ink-3)
}
.wl-toolbar {
  margin-bottom:20px
}
.wl-toolbar .seg {
  flex:1
}
.wl-toolbar .seg button {
  flex:1
}
.timeline {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px
}
.timeline>li {
  padding:18px;
  background:white;
  border:1px solid var(--line);
  border-radius:16px
}
.timeline .when {
  font-size:11px;
  color:var(--ink-3);
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap
}
.timeline h3 {
  margin-top:10px;
  font-size:14px;
  line-height:1.5
}
.timeline p:not(.when),.timeline ul {
  font-size:12px;
  color:var(--ink-2);
  line-height:1.8;
  margin-top:8px
}
.timeline ul {
  padding-left:18px
}
.timeline details summary {
  min-height:44px;
  display:flex;
  align-items:center;
  color:var(--royal-deep);
  font-size:12px;
  cursor:pointer
}
.foot {
  margin-top:32px;
  border-top:1px solid var(--line);
  padding-top:18px;
  color:var(--ink-3);
  font-size:11px;
  line-height:1.8
}
.foot p+p {
  margin-top:8px
}
.linkish {
  border:0;
  background:none;
  color:var(--royal-deep);
  font-size:12px;
  min-height:44px;
  padding:0 8px
}
.skel {
  background:#e9edf5;
  min-height:145px;
  border-radius:18px
}
.gate {
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:24px;
  background:radial-gradient(ellipse at 50% 0%,#e5edff,transparent 65%)
}
.gate-card {
  width:100%;
  max-width:400px;
  background:white;
  padding:36px 26px 22px;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 16px 60px #20345b0b
}
.gate-logo {
  display:block;
  width:100px;
  height:auto;
  margin-bottom:36px
}
.gate-kicker {
  color:var(--royal-deep);
  font-size:10px;
  letter-spacing:.08em;
  margin-bottom:8px
}
.gate-card h1 {
  font-size:25px
}
.gate-card>p:not(.gate-kicker) {
  font-size:13px;
  color:var(--ink-3);
  margin-top:12px;
  line-height:1.8
}
.field {
  display:block;
  margin-top:28px
}
.field span {
  display:block;
  font-size:12px;
  font-weight:500;
  margin-bottom:8px
}
.field input {
  width:100%;
  min-height:50px;
  border:1px solid var(--line-strong);
  background:var(--ground);
  border-radius:11px;
  padding:12px;
  font-size:16px
}
.btn-primary {
  width:100%;
  min-height:50px;
  margin-top:16px;
  border:0;
  border-radius:11px;
  background:var(--royal);
  color:white;
  font-size:14px;
  font-weight:500
}
.gate-err {
  min-height:20px;
  color:var(--magenta)!important
}
@media(max-width:639px) {
  .tbl thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0)
  }
  .tbl,.tbl tbody {
    display:block
  }
  .tbl tr {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px 6px;
    padding:16px 0;
    border-bottom:1px solid var(--line)
  }
  .tbl tr:last-child {
    border:0
  }
  .tbl td {
    display:block;
    border:0;
    padding:0;
    text-align:left;
    font-size:13px;
    min-width:0
  }
  .tbl td.key {
    grid-column:1/-1;
    font-weight:500;
    font-size:13px;
    line-height:1.6
  }
  .tbl td:not(.key)::before {
    content:attr(data-label);
    display:block;
    font-size:10px;
    color:var(--ink-3);
    font-weight:400;
    margin-bottom:3px
  }
  .tbl td.sm {
    display:none
  }
  .tbl td[colspan] {
    grid-column:1/-1
  }
  .tbl td[colspan]::before {
    display:none
  }
  .tbl .key a {
    display:inline-block;
    padding:4px 0;
    min-height:32px
  }
  .tbl td.key .chip {
    margin-left:5px
  }
  .table-card {
    padding:16px
  }
  .live-grid>.card:not(.live-hero) {
    display:none
  }
  .live-grid.expanded>.card {
    display:block
  }
  .live-details {
    width:100%;
    min-height:44px;
    background:transparent;
    border:0;
    color:var(--royal-deep);
    font-size:12px;
    margin-top:4px
  }
  .chart .tick {
    font-size:10px
  }
}
@media(min-width:640px) {
  .main {
    padding:30px 28px 110px
  }
  .kpis {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .kpi {
    min-height:165px;
    padding:18px
  }
  .live-grid {
    grid-template-columns:1.25fr 1fr 1fr
  }
  .live-hero {
    display:block
  }
  .live-hero .sub {
    margin:8px 0
  }
  .live-details {
    display:none
  }
  .trend-heading {
    flex-direction:row;
    justify-content:space-between;
    align-items:center
  }
  .trend-heading select {
    align-self:center
  }
  .grid2 {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .sort-control {
    width:auto
  }
  .search {
    flex:1 1 200px
  }
  .tbl .key {
    max-width:270px
  }
  .tbl th,.tbl td {
    padding-left:5px;
    padding-right:5px
  }
  .grid2 .tbl .sm {
    display:none
  }
  .secondary-kpis {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
}
@media(min-width:1000px) {
  .top {
    height:84px;
    padding:0 32px;
    position:fixed;
    left:0;
    right:0
  }
  .brand-name {
    font-size:21px
  }
  .brand-name>span {
    font-size:11px
  }
  .stops {
    top:84px;
    bottom:0;
    right:auto;
    width:206px;
    display:flex;
    flex-direction:column;
    padding:28px 16px;
    border-top:0;
    border-right:1px solid var(--line);
    box-shadow:none;
    gap:8px
  }
  .stops a {
    flex-direction:row;
    justify-content:flex-start;
    gap:13px;
    padding:0 16px;
    font-size:13px;
    min-height:46px
  }
  .nav-foot {
    display:block;
    margin-top:auto;
    padding:16px 10px;
    font-size:11px;
    line-height:1.8;
    color:var(--ink-2)
  }
  .nav-foot span {
    font-size:10px;
    color:var(--ink-3)
  }
  .main {
    margin:0 0 0 206px;
    max-width:none;
    padding:118px 40px 48px
  }
  .page-heading {
    margin-bottom:28px
  }
  .page-heading .eyebrow {
    font-size:12px
  }
  h1 {
    font-size:30px
  }
  .page-sub {
    font-size:14px
  }
  .period-bar {
    justify-content:flex-start;
    gap:28px
  }
  .period-dates {
    font-size:12px
  }
  .status {
    margin-bottom:20px
  }
  .card {
    padding:22px
  }
  .kpi .v {
    font-size:32px
  }
  .kpi .d {
    font-size:11px
  }
  .grid2 {
    gap:18px
  }
  .overview-trend {
    margin-top:20px
  }
  .overview-trend .chart {
    max-height:260px
  }
  .overview-trend .chart svg {
    height:215px
  }
  .overview-trend .legend {
    margin-top:10px
  }
  .section-label {
    margin-top:28px
  }
  .tbl .key {
    max-width:360px
  }
}
@media(min-width:1500px) {
  .main {
    max-width:1360px;
    margin-left:calc(206px + (100vw - 1500px)/2)
  }
}
@media(max-width:359px) {
  .main {
    padding-left:12px;
    padding-right:12px
  }
  .top {
    padding:0 14px
  }
  .brand-name>span {
    font-size:9px
  }
  .kpi {
    padding:13px 11px
  }
  .kpi .v {
    font-size:27px
  }
  .period-dates {
    font-size:10px
  }
  .range button {
    min-width:37px;
    padding:6px
  }
  .kpis {
    gap:10px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important
  }
}
/* charts */
.chart {
  position: relative;
  width: 100%;
}
.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--mono);
}
.chart .axis {
  stroke: var(--line);
  stroke-width: 1;
}
.chart .grid {
  stroke: var(--line);
  stroke-dasharray: 2 4;
}
.chart .tick {
  fill: var(--ink-3);
  font-size: 10px;
}
.chart .ln {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart .ln.cur {
  stroke: var(--royal);
}
.chart .ln.pri {
  stroke: var(--neutral-mark);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.chart .area {
  fill: var(--royal);
  opacity: .07;
}
.chart .dot {
  fill: var(--royal);
  stroke: var(--block);
  stroke-width: 2;
}
.chart .hover-line {
  stroke: var(--ink-3);
  stroke-width: 1;
  opacity: 0;
}
.chart .bar {
  fill: var(--royal);
}
.chart .bar.pri {
  fill: var(--neutral-mark);
}
.chart .bar.alt {
  fill: var(--magenta);
}
.chart .bar.soft {
  fill: var(--neutral-mark);
}
.chart .barlbl {
  fill: var(--ink-2);
  font-size: 11px;
}
.chart .barlbl.strong {
  fill: var(--ink);
  font-weight: 600;
}
.chart .hit {
  fill: transparent;
}
.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.legend i.cur {
  background: var(--royal);
}
.legend i.pri {
  background: var(--neutral-mark);
}
.legend i.alt {
  background: var(--magenta);
}
.tip {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  background: var(--tip-bg);
  color: var(--tip-ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 240px;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
}
.tip b {
  font-weight: 600;
}
.chart svg {
  font-family:var(--sans)
}
.chart .barlbl {
  font-size:11px
}
.legend {
  font-family:var(--sans);
  font-size:10px;
  text-transform:none;
  letter-spacing:0;
  gap:14px
}
.chart .ln.cur {
  stroke-width:2.4
}
.chart .grid {
  stroke-dasharray:none;
  opacity:.6
}
.tip {
  font-family:var(--sans);
  font-size:12px;
  white-space:normal;
  max-width:min(260px,calc(100vw - 24px))
}
.chart .hover-line {
  opacity:1
}
.chart .hover-line[opacity="0"] {
  opacity:0
}
.traffic-detail {
  align-self:start
}
.traffic-detail summary {
  list-style:none;
  min-height:44px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:600;
  font-size:14px
}
.traffic-detail summary::-webkit-details-marker {
  display:none
}
.traffic-detail summary::after {
  content:'+';
  font-size:20px;
  color:var(--ink-3);
  font-weight:400
}
.traffic-detail[open] summary {
  margin-bottom:10px
}
.traffic-detail[open] summary::after {
  content:'−'
}
.chart .hover-line {
  opacity:0
}
.chart .hover-line[opacity="1"] {
  opacity:1
}
.detail-panel>.grid2>.card {
  box-shadow:none;
  background:var(--ground)
}
@media(max-width:639px) {
  .main {
    padding-top:20px
  }
  .page-heading {
    margin-bottom:18px
  }
  .kpi {
    min-height:137px
  }
  .kpi .d,.kpi .d>span:last-child:not(.chip) {
    font-size:11px
  }
  .trend-heading {
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px
  }
  .trend-heading h2 {
    font-size:15px
  }
  .trend-heading .lbl {
    display:none
  }
  .trend-heading select {
    font-size:12px;
    max-width:145px;
    padding-left:8px
  }
  .overview-trend .card-head {
    margin-bottom:12px
  }
  .trend-total {
    font-size:24px
  }
  .trend-total small {
    font-size:11px
  }
  .detail-panel>summary {
    font-size:12px
  }
  .period-dates {
    font-size:10px
  }
}
.range button,.seg button {
  min-height:44px
}
.foot {
  font-size:12px
}
@media(max-width:639px) {
  select,.trend-heading select {
    font-size:16px
  }
  .trend-heading select {
    max-width:132px;
    padding-right:18px
  }
  .sort-control select {
    font-size:16px
  }
}
