:root {
  --bg: #f6f8fb;
  --ink: #18263b;
  --muted: #7c8798;
  --border: #e9edf3;
  --blue: #4366e9;
  --web: #4769eb;
  --android: #21ae92;
  --ios: #a07aea;
  --app: #efb44c;
  --unknown: #aab4c5;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button,
select {
  cursor: pointer;
}
button {
  border: 0;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  transition: background 0.15s;
}
button:hover {
  filter: brightness(0.97);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 31px 19px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.7px;
  padding: 0 8px;
}
.brand b {
  font-weight: 400;
  color: #6e7d94;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -1px;
}
.workspace {
  border: 1px solid var(--border);
  border-radius: 9px;
  margin: 30px 0 25px;
  padding: 12px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #657288;
}
.workspace span:last-child {
  margin-left: auto;
}
.workspace-dot,
.live-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #29b79a;
  display: inline-block;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #a2aab8;
  font-weight: 700;
  padding-left: 12px;
  margin: 10px 0 13px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 12px;
  border-radius: 8px;
  background: none;
  text-align: left;
  color: #778297;
  margin: 3px 0;
}
.nav span {
  font-size: 20px;
  width: 20px;
}
.nav.active {
  background: #edf1ff;
  color: #4564dc;
  font-weight: 650;
}
.future {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a6afbc;
  padding: 13px 12px;
}
.future small {
  font-size: 9px;
  border: 1px solid #edf0f5;
  border-radius: 4px;
  padding: 3px;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 11px;
}
.avatar {
  background: #edf0fc;
  color: #5c70bd;
  border-radius: 50%;
  padding: 11px;
}
.sidebar-bottom small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.sidebar-bottom form {
  margin-left: auto;
}
.sidebar-bottom button {
  background: none;
  color: var(--muted);
}
main {
  margin-left: 244px;
}
header {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 14px;
  color: #c9cfd7;
}
.breadcrumb b {
  color: #5a6980;
  font-weight: 500;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  background: #f3f5fa;
  border-radius: 8px;
  font-size: 20px;
  width: 34px;
  height: 34px;
  color: #67758a;
  margin-left: 15px;
}
.content {
  max-width: 1600px;
  margin: auto;
  padding: 35px 38px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 9px;
  color: #8792a4;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin: 0 0 12px;
}
h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 0 0 9px;
}
p {
  color: var(--muted);
  line-height: 1.6;
}
.page-heading p:last-child {
  margin: 0;
  font-size: 12px;
}
.primary,
.secondary {
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.secondary {
  background: white;
  border: 1px solid #dfe5ee;
  color: #53617a;
}
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.quick-ranges {
  display: flex;
  border: 1px solid #e1e6ef;
  border-radius: 7px;
  padding: 3px;
  background: white;
}
.quick-ranges button,
.tabs button {
  background: transparent;
  color: #8791a0;
  font-size: 11px;
  padding: 8px 13px;
  border-radius: 5px;
  white-space: nowrap;
}
.quick-ranges .selected {
  background: #eef1fc;
  color: #4b65cd;
  font-weight: 600;
}
.date-fields {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a5aebe;
  font-size: 11px;
}
.date-fields label {
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 7px;
  padding: 8px;
  color: #9aa2b2;
}
.date-fields input {
  border: 0;
  color: #53617a;
  background: none;
  font-size: 11px;
  width: 117px;
  margin-left: 3px;
}
select {
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 7px;
  padding: 10px;
  color: #5f6d84;
  font-size: 11px;
}
.filters > select {
  margin-left: auto;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 22px;
}
.metric {
  padding: 21px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  text-align: left;
  color: var(--ink);
  min-height: 150px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8791a3;
  font-size: 11px;
}
.metric-icon {
  display: grid;
  place-items: center;
  background: #edf1ff;
  color: #5c76dd;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 18px;
}
.metric:nth-child(2) .metric-icon {
  background: #eafaf5;
  color: #29ab8a;
}
.metric:nth-child(3) .metric-icon {
  background: #f3edff;
  color: #a17ce1;
}
.metric:nth-child(4) .metric-icon {
  background: #fff5e8;
  color: #d8a34d;
}
.metric-value {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 8px 0 11px;
}
.metric-bottom {
  font-size: 10px;
  color: #8c98a9;
  line-height: 1.7;
}
.metric-bottom b {
  color: #6b7d95;
  font-weight: 550;
}
.charts {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(270px, 1fr);
  gap: 22px;
  margin-bottom: 23px;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 22px 13px;
  gap: 12px;
}
.panel-heading h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 650;
}
.panel-heading p {
  font-size: 10px;
  margin: 6px 0 0;
}
.legend {
  display: flex;
  gap: 17px;
  padding: 8px 23px;
  font-size: 9px;
  flex-wrap: wrap;
  color: #7d899c;
}
.legend span:before {
  content: "";
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--series);
  margin-right: 6px;
}
.web {
  --series: var(--web);
}
.android {
  --series: var(--android);
}
.ios {
  --series: var(--ios);
}
.app {
  --series: var(--app);
}
.unknown {
  --series: var(--unknown);
}
.line-chart {
  padding: 8px 16px 15px;
  min-height: 235px;
}
.line-chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.line-chart text {
  font-size: 10px;
  fill: #a0aaba;
}
.chart-line {
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-grid {
  stroke: #edf0f6;
  stroke-dasharray: 4 4;
}
.distribution #distribution {
  padding: 9px 24px;
}
.dist-row {
  font-size: 11px;
  margin: 15px 0;
}
.dist-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #7f8c9e;
}
.dist-label b {
  color: #4f5e75;
  font-weight: 600;
}
.bar-track {
  height: 5px;
  border-radius: 5px;
  background: #f0f3f8;
  overflow: hidden;
}
.bar-fill {
  height: 5px;
  border-radius: 5px;
}
.footnote {
  font-size: 9px;
  margin: 4px 24px 19px;
  line-height: 1.5;
}
.records {
  overflow: hidden;
}
.tag {
  font-size: 10px;
  background: #f2f5fa;
  color: #7f8da3;
  border-radius: 5px;
  padding: 6px 9px;
  white-space: nowrap;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px 13px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 3px;
}
.tabs .selected {
  background: #eff3ff;
  color: #516de0;
  font-weight: 650;
}
.search-group {
  display: flex;
  gap: 7px;
}
.search-group input {
  border: 1px solid #e5eaf1;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 10px;
  width: 185px;
}
.table-scroll {
  overflow-x: auto;
  min-height: 180px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #fcfdff;
  color: #8a95a6;
  font-size: 9px;
  font-weight: 550;
  padding: 13px 22px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 15px 22px;
  border-bottom: 1px solid #f0f3f7;
  color: #67758a;
}
td strong {
  color: #4a5c76;
  font-weight: 550;
}
td small {
  display: block;
  color: #9ba5b5;
  margin-top: 4px;
  font-size: 9px;
}
.platform-badge {
  display: inline-block;
  padding: 5px 8px;
  background: #f1f4fb;
  color: #687b9a;
  font-size: 9px;
  border-radius: 4px;
}
.status {
  color: #28a886;
  background: #edf9f4;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 9px;
}
.status.other {
  color: #ac854a;
  background: #fff7e9;
}
.detail-link {
  color: #5b74d7;
  background: none;
  padding: 0;
  font-size: 11px;
}
.stars {
  color: #e5b04e;
  letter-spacing: 1px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  font-size: 10px;
  color: #99a3b2;
}
.pagination button {
  font-size: 10px;
  padding: 7px 11px;
  margin-left: 5px;
}
.data-notes {
  margin-top: 20px;
  padding: 16px 22px;
  color: #8190a5;
  font-size: 11px;
  line-height: 1.8;
}
.data-notes summary {
  cursor: pointer;
  color: #667891;
  font-weight: 550;
}
.data-notes p {
  font-size: 11px;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #8c98ac;
  font-size: 9px;
  padding-top: 24px;
}
.muted {
  color: #b0b7c4;
}
.notice,
.error {
  padding: 13px 17px;
  font-size: 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  line-height: 1.6;
}
.notice {
  background: #fff7df;
  color: #8e702c;
  border: 1px solid #f0dfaa;
}
.error {
  background: #fff0f0;
  color: #af4343;
  border: 1px solid #f3cdcd;
}
[hidden] {
  display: none !important;
}
.empty {
  text-align: center;
  padding: 45px;
  color: #9ba7b8;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 650px;
  width: 90%;
  padding: 8px 8px 24px;
  box-shadow: 0 30px 100px #14223d33;
}
dialog::backdrop {
  background: #18283d66;
}
dl {
  padding: 0 22px;
  margin: 0;
}
dt {
  font-size: 10px;
  color: #99a6b7;
  margin-top: 16px;
}
dd {
  font-size: 13px;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.6;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.login-card {
  max-width: 440px;
  width: calc(100% - 32px);
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.login-card .eyebrow {
  margin-top: 25px;
}
.login-card h1 {
  font-size: 26px;
}
.login-card label {
  display: block;
  margin: 25px 0 15px;
  color: #63728a;
  font-size: 12px;
}
.login-card input {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 7px;
  border: 1px solid #dfe5ee;
  margin-top: 8px;
}
.login-card button {
  width: 100%;
  padding: 13px;
}
.login-card p:last-child {
  font-size: 10px;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }
  .metric {
    min-height: 165px;
  }
  .line-chart {
    min-height: 270px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding: 25px 12px;
  }
  .brand {
    font-size: 17px;
  }
  main {
    margin-left: 210px;
  }
  .content {
    padding: 25px 22px;
  }
  header {
    padding: 0 22px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px 13px;
  }
  .metric-value {
    font-size: 25px;
  }
  .charts {
    gap: 15px;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  }
  .filters > select {
    margin-left: 0;
  }
  .table-toolbar {
    padding: 0 14px 14px;
  }
  .tabs button {
    padding: 8px;
  }
  .date-fields input {
    width: 110px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 16px;
    border: 0;
  }
  .workspace,
  .nav-label,
  .future,
  .sidebar-bottom {
    display: none;
  }
  .brand {
    margin-bottom: 15px;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
  }
  .nav {
    width: auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 11px;
  }
  .nav span {
    display: none;
  }
  main {
    margin: 0;
  }
  header {
    height: 52px;
    padding: 0 18px;
    font-size: 9px;
  }
  .content {
    padding: 24px 16px;
  }
  .page-heading {
    gap: 10px;
  }
  h1 {
    font-size: 24px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts {
    grid-template-columns: 1fr;
  }
  .distribution #distribution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .filters {
    gap: 9px;
  }
  .filters > .primary {
    margin-left: auto;
  }
  .date-fields {
    order: 3;
    width: 100%;
  }
  .date-fields label {
    flex: 1;
  }
  .date-fields input {
    width: calc(100% - 25px);
  }
  .search-group {
    width: 100%;
  }
  .search-group input {
    flex: 1;
    min-width: 80px;
  }
  .tabs {
    overflow-x: auto;
    width: 100%;
  }
  th,
  td {
    padding: 12px 15px;
  }
  .page-heading .secondary {
    padding: 9px;
    font-size: 10px;
  }
  .pagination {
    padding: 12px;
  }
  footer {
    gap: 10px;
    font-size: 8px;
  }
  .header-right {
    font-size: 9px;
  }
  .metric-value {
    font-size: 28px;
  }
  .line-chart {
    min-height: 180px;
  }
}

/* Colorful Insights theme */
:root {
  --bg: #f3f5fc;
  --ink: #222743;
  --muted: #7c849f;
  --border: #e7eaf6;
  --blue: #6857eb;
}
body {
  background: radial-gradient(ellipse at 95% 0%, #e9e5ff 0, transparent 38%), radial-gradient(ellipse at 20% 60%, #e5f4fa 0, transparent 45%), #f5f6fc;
}
.sidebar {
  background: radial-gradient(ellipse at 10% 0%, #343568 0, transparent 65%), #20233e;
  border-right: 0;
  color: #fff;
  padding-top: 32px;
}
.brand { color: #fff; }
.brand b { color: #bcb9ed; }
.brand-icon {
  background: linear-gradient(135deg, #a798ff, #7058ef);
  box-shadow: 0 6px 18px #12112940, inset 0 1px 0 #ffffff50;
  border-radius: 12px;
}
.workspace {
  background: #ffffff08;
  border-color: #ffffff16;
  color: #c9cce4;
  border-radius: 11px;
}
.workspace-dot { box-shadow: 0 0 0 4px #2ec8a41c; }
.nav-label { color: #8185ad; }
.nav { color: #acb1d2; border-radius: 10px; }
.nav:hover { background: #ffffff09; color: #fff; }
.nav.active {
  background: linear-gradient(105deg, #7962f2, #6551dd);
  box-shadow: 0 6px 20px #100f3033, inset 0 1px 0 #ffffff20;
  color: white;
}
.nav.active span { color: #e7e0ff; }
.future { color: #8389ac; }
.future small { background: #ffffff08; border-color: #ffffff12; color: #9fa3c3; }
.sidebar-bottom { border-color: #ffffff14; }
.sidebar-bottom small { color: #8f95ba; }
.sidebar-bottom button { color: #b5badd; }
.avatar { background: #ffffff14; color: #cdc5ff; }
header { background: #ffffffab; backdrop-filter: blur(18px); border-bottom-color: #e5e8f5; }
.header-right { padding: 6px 6px 6px 11px; background: #ffffffb8; border: 1px solid #e7eaf4; border-radius: 24px; }
.header-right .icon-btn { margin-left: 6px; border-radius: 50%; background: #f0edff; color: #7861df; }
.live-dot { box-shadow: 0 0 0 3px #27b79515; }
.content { padding-top: 38px; }
.page-heading { position: relative; margin-bottom: 29px; }
.page-heading .eyebrow { color: #8e80c6; letter-spacing: 2px; }
h1 { font-weight: 720; letter-spacing: -1.1px; }
.page-heading h1 { color: #363057; }
.page-heading p:last-child { color: #8790a7; }
.primary { background: linear-gradient(120deg, #7d67f1, #6154dc); box-shadow: 0 4px 12px #705ce728; border: 1px solid #ffffff20; }
.secondary { border-color: #e0e3f0; color: #716b91; border-radius: 9px; box-shadow: 0 2px 3px #28304b03; }
.page-heading > .secondary { background: #fff; color: #7562d7; padding: 11px 18px; border: 1px solid #ded7fa; }
.filters { background: #ffffff94; border: 1px solid #ffffffdd; border-radius: 13px; padding: 12px; box-shadow: 0 3px 15px #50507903; gap: 10px; }
.quick-ranges { border-color: #e9e8f5; border-radius: 8px; }
.quick-ranges .selected { background: #eee9ff; color: #785ade; }
.date-fields label, select { border-color: #e5e6f3; border-radius: 8px; }
.metrics { gap: 18px; }
.metric {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid #e4ddff;
  border-radius: 16px;
  background: linear-gradient(120deg, #f8f5ff, #ece7ff);
  box-shadow: 0 5px 16px #7064ab08, inset 0 1px 0 #fff;
  transition: transform .2s, box-shadow .2s;
}
.metric:after {
  content: '';
  position: absolute;
  right: -38px;
  bottom: -65px;
  width: 155px;
  height: 155px;
  border: 22px solid #a18be90d;
  border-radius: 50%;
  pointer-events: none;
}
.metric:hover { transform: translateY(-4px); filter: none; box-shadow: 0 12px 28px #7064ab19; }
.metric:nth-child(2) { background: linear-gradient(120deg, #f1fcf9, #dcf5ed); border-color: #d3ede3; }
.metric:nth-child(3) { background: linear-gradient(120deg, #f1f7ff, #e0edff); border-color: #d6e5fa; }
.metric:nth-child(4) { background: linear-gradient(120deg, #fff9f0, #fff0db); border-color: #f4e4cc; }
.metric-top { color: #807496; font-weight: 550; }
.metric-icon { background: #8d70e9; color: #fff; box-shadow: 0 5px 12px #8d70e926; width: 36px; height: 36px; border-radius: 11px; }
.metric:nth-child(2) .metric-icon { background: #26b798; color: #fff; box-shadow: 0 5px 12px #26b79826; }
.metric:nth-child(3) .metric-icon { background: #598eea; color: #fff; box-shadow: 0 5px 12px #598eea26; }
.metric:nth-child(4) .metric-icon { background: #edab50; color: #fff; box-shadow: 0 5px 12px #edab5026; }
.metric-value { color: #6951bc; font-size: clamp(24px, 2.2vw, 35px); font-weight: 730; margin: 13px 0 10px; position: relative; z-index: 1; }
.metric:nth-child(2) .metric-value { color: #239a80; }
.metric:nth-child(3) .metric-value { color: #4a7bcc; }
.metric:nth-child(4) .metric-value { color: #b67e33; }
.metric-bottom { color: #8d829e; position: relative; z-index: 1; }
.metric:nth-child(2) .metric-bottom { color: #71978e; }
.metric:nth-child(3) .metric-bottom { color: #7a91b3; }
.metric:nth-child(4) .metric-bottom { color: #ac9476; }
.panel { border-radius: 16px; border-color: #e6e8f3; box-shadow: 0 4px 22px #50507905; }
.panel-heading { padding-top: 24px; }
.panel-heading h2 { color: #45425f; font-weight: 680; }
.trend .panel-heading h2:before, .distribution .panel-heading h2:before { content: ''; display: inline-block; width: 4px; height: 13px; border-radius: 4px; background: #8c77ee; margin-right: 9px; vertical-align: -1px; }
.distribution .panel-heading h2:before { background: #40bda5; }
.distribution .panel-heading > span { color: #a08be0; background: #f5f0ff; border-radius: 8px; padding: 7px 10px; }
.legend { padding-top: 12px; padding-bottom: 14px; }
.chart-line { stroke-width: 2.7; }
.chart-grid { stroke: #eeecf7; }
.bar-track { height: 7px; background: #f2f2f9; border-radius: 6px; }
.bar-track svg { display: block; height: 7px; }
.dist-row { margin: 17px 0; }
.dist-label { color: #9390aa; }
.dist-label b { color: #66617f; }
.tabs { background: #f7f7fc; padding: 4px; border-radius: 9px; }
.tabs button { border-radius: 6px; }
.tabs .selected { background: #fff; color: #7960db; box-shadow: 0 2px 6px #30284c0d; }
.search-group input { background: #fbfbfe; border-radius: 8px; }
.records .tag { color: #8a72cf; background: #f4efff; border: 1px solid #ece4ff; }
th { background: #f9f9fe; color: #9691ac; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #faf8ff; }
.platform-badge { border: 1px solid #ebe7f8; border-radius: 6px; background: #f5f1ff; color: #8b75b9; }
.platform-badge[data-platform="web"] { background: #edf2ff; border-color: #dee7ff; color: #6684c7; }
.platform-badge[data-platform="android"] { background: #eaf8f2; border-color: #d3eee1; color: #42a785; }
.platform-badge[data-platform="ios"] { background: #f3edff; border-color: #e7dcfa; color: #9672d0; }
.platform-badge[data-platform="app"] { background: #fff6e6; border-color: #f7e9cf; color: #b89451; }
.platform-badge[data-platform="unknown"] { background: #f3f4f8; border-color: #e6e8ef; color: #8b93a5; }
.detail-link { color: #8d70d6; }
.status { background: #eaf8f2; color: #42a484; border-radius: 5px; }
.data-notes { background: #ffffffa6; box-shadow: none; }
.notice { border-color: #f2e3bb; background: linear-gradient(105deg, #fff9e9, #fffaf1); border-radius: 11px; font-size: 11px; }
.login { background: radial-gradient(ellipse at 20% 20%, #e7e0ff, transparent 60%), radial-gradient(ellipse at 85% 75%, #daf4ed, transparent 65%), #f6f7fc; }
.login-card { border-radius: 22px; border-color: #fff; box-shadow: 0 24px 90px #584b9110; }
dialog { border-radius: 20px; }
:focus-visible { outline: 3px solid #a594f2; }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition: none !important; } }
@media (max-width: 1150px) { .metric { padding: 18px 15px; } .metric-value { font-size: 25px; } }
@media (max-width: 800px) {
  .sidebar { border-radius: 0 0 20px 20px; padding: 20px 16px 12px; }
  .nav { flex-shrink: 0; }
  .sidebar nav { padding-bottom: 3px; }
  .content { padding-top: 26px; }
  .filters { padding: 10px; }
  .metric { padding: 18px; border-radius: 14px; }
  .metric-value { font-size: 27px; }
  .metric-top { font-size: 10px; }
  .metric-icon { width: 30px; height: 30px; border-radius: 9px; }
  .header-right { border: 0; background: none; padding: 0; }
}
