* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f0f5fb;
  color: #24344b;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}
a {
  color: #2368d9;
  text-decoration: none;
}
button,
.button {
  font: inherit;
  border: 0;
  background: #246be8;
  color: white;
  border-radius: 10px;
  padding: 11px 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
}
button.secondary,
.secondary {
  background: #e7effa;
  color: #2363c6;
}
.danger {
  background: #d94855;
}
.small {
  padding: 8px 11px;
  font-size: 12px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #d7e1ed;
  background: #fff;
  border-radius: 9px;
  padding: 11px;
  font: inherit;
  font-size: 14px;
}
input[type="checkbox"] {
  width: auto;
}
input[type="color"] {
  height: 43px;
  padding: 4px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 13px 0 6px;
}
.check {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 12px 0;
}
.login {
  max-width: 440px;
  margin: 10vh auto;
  padding: 15px;
}
.panel {
  background: white;
  border-radius: 17px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 5px 20px #56769d13;
}
.panel h2 {
  font-size: 18px;
}
.muted,
small {
  color: #8493a6;
}
.error {
  padding: 13px;
  background: #ffe5e5;
  color: #b62936;
  border-radius: 10px;
  margin: 10px 0;
}
.success {
  padding: 13px;
  background: #e3f8ea;
  color: #177c45;
  border-radius: 10px;
  margin: 10px 0;
}
.adminhead {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e4edf6;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
}
.adminhead b {
  margin-right: auto;
}
.adminhead form {
  margin: 0;
}
.admin-legal-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid #f0d98b;
  background: #fff8dd;
  color: #6e5710;
  font-size: 13px;
}
.admin-legal-notice > span {
  font-size: 18px;
}
.admin-legal-notice p {
  flex: 1;
  margin: 0;
}
.admin-legal-notice a {
  color: #7c4d00;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: underline;
}
.shell {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  max-width: 1450px;
  margin: auto;
  min-height: calc(100vh - 64px);
}
.sidebar {
  background: #fff;
  padding: 16px 10px;
  border-right: 1px solid #e4ebf5;
}
.sidebar a {
  display: block;
  padding: 12px 13px;
  border-radius: 10px;
  color: #63758b;
  font-size: 13px;
}
.sidebar a.active {
  background: #e7f1ff;
  color: #205ed4;
  font-weight: 800;
}
.main {
  padding: 20px;
  min-width: 0;
}
.main h1 {
  font-size: 23px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}
.stats a {
  text-align: center;
}
.stats b {
  display: block;
  font-size: 28px;
  color: #246be8;
}
.stats span {
  font-size: 13px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.field {
  min-width: 0;
}
.thumb {
  display: block;
  width: 90px;
  max-height: 70px;
  object-fit: contain;
  margin: 8px 0;
}
.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf1f7;
  padding: 12px 0;
  gap: 8px;
}
.item:last-child {
  border-bottom: 0;
}
.item b {
  display: block;
  word-break: break-all;
}
.item small {
  display: block;
  margin-top: 4px;
}
.app-today-clicks { display: inline-block; margin-left: 7px; padding: 3px 8px; border-radius: 999px; color: #3565c8; background: #eaf1ff; font-size: 11px; font-weight: 800; vertical-align: 2px; white-space: nowrap; }
.actions {
  display: flex;
  gap: 6px;
}
.layoutcols {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
  gap: 15px;
}
.module-row {
  padding: 15px;
  background: #f6faff;
  border: 1px solid #dfeaf9;
  border-radius: 13px;
  margin: 10px 0;
  cursor: grab;
}
.module-row.dragging {
  opacity: 0.4;
}
.module-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.module-title b {
  flex: 1;
}
.handle {
  color: #3672db;
  font-size: 22px;
}
.preview {
  position: sticky;
  top: 80px;
  align-self: start;
}
.previewbuttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}
#previewframe {
  width: 390px;
  max-width: 100%;
  height: 650px;
  border: 5px solid #26334d;
  border-radius: 24px;
  display: block;
  margin: auto;
  background: #fff;
  transition: width 0.3s;
}
.preview.desktop #previewframe {
  width: 100%;
  height: 620px;
}
.security-settings {
  margin: 20px 0;
  padding: 16px;
  border-radius: 13px;
  background: #f6faff;
  border: 1px solid #dfeaf9;
}
.security-settings h2 {
  margin-top: 0;
}
.visit-table {
  overflow: auto;
}
.visit-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  font-size: 12px;
}
.visit-table th,
.visit-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e9eff6;
  vertical-align: top;
  word-break: break-word;
}
.visit-table th {
  color: #60748b;
  background: #f7faff;
  position: sticky;
  top: 0;
}
.visit-table .ua {
  max-width: 330px;
  color: #73859a;
}
.visitor-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 24px 26px;
  border: 1px solid #dce7f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7fbff, #f7f2ff);
}
.visitor-page-head small { color: #3378db; font-weight: 800; letter-spacing: .12em; }
.visitor-page-head h1 { margin: 6px 0 7px; }
.visitor-page-head p { margin: 0; color: #66788d; }
.visitor-filter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.visitor-section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.visitor-section-title h2 { margin: 0 0 5px; }
.visitor-section-title p { margin: 0; color: #75859a; font-size: 13px; }
.visitor-section-title > span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: #246be8; background: #edf4ff; font-size: 12px; font-weight: 800; }
.ip-profile-table table { min-width: 1320px; }
.event-detail-table table { min-width: 1680px; }
.ip-profile-table td > b,.ip-profile-table td > small,.event-detail-table td > b,.event-detail-table td > small { display: block; }
.ip-profile-table td > small,.event-detail-table td > small { max-width: 300px; margin-top: 5px; color: #74859a; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-address { color: #245fb8; font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.event-badge { display: inline-block!important; width: max-content; padding: 3px 8px; border-radius: 999px; color: #176a43!important; background: #e5f8ee; font-weight: 800; }
.event-badge.click { color: #7540aa!important; background: #f1e8ff; }
.api-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.api-status-grid .panel small {
  display: block;
}
.api-status-grid .panel b {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  color: #246be8;
}
.api-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.setup-steps {
  line-height: 2;
  color: #53677e;
}
.setup-steps code {
  background: #eef4fb;
  padding: 3px 7px;
  border-radius: 7px;
}
@media (max-width: 700px) {
  .api-status-grid {
    grid-template-columns: 1fr;
  }
  .api-status-grid .panel {
    margin-bottom: 0;
  }
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.metric {
  min-height: 168px;
  padding: 20px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px #526e9312;
}
.metric > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  font-size: 27px;
  background: linear-gradient(145deg, #696ee7, #8246ca);
  box-shadow: 0 7px 18px #614fc43d;
}
.metric > b {
  position: absolute;
  right: 20px;
  top: 25px;
  font-size: 37px;
  color: #6d63df;
}
.metric strong {
  display: block;
  margin-top: 17px;
  font-size: 18px;
}
.metric small {
  display: block;
  margin-top: 7px;
}
.metric.violet {
  background: linear-gradient(135deg, #f0f0ff, #f7f2ff);
}
.metric.pink {
  background: linear-gradient(135deg, #fff0f5, #fff7fb);
}
.metric.pink > span {
  background: linear-gradient(145deg, #ef65c4, #ff4b77);
}
.metric.pink > b {
  color: #ef4875;
}
.metric.cyan {
  background: linear-gradient(135deg, #eaf8ff, #f2fbff);
}
.metric.cyan > span {
  background: linear-gradient(145deg, #2cb2ef, #18d9e8);
}
.metric.cyan > b {
  color: #25aaf0;
}
.metric.purple {
  background: linear-gradient(135deg, #f4ebff, #fff1fa);
}
.metric.purple > span {
  background: linear-gradient(145deg, #a94bea, #e530a5);
}
.metric.purple > b {
  color: #ac3de2;
}
.filter-panel h2 {
  margin-top: 0;
}
.quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.chart-panel canvas {
  display: block;
  width: 100%;
  height: 260px;
}
.legend {
  font-size: 13px;
  color: #77869a;
}
.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.blue-dot {
  background: #1677ff;
}
.purple-dot {
  background: #8b2be2;
}
.green-dot {
  background: #18bf67;
}
.distribution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.distribution {
  padding: 0;
  overflow: hidden;
}
.distribution h2 {
  margin: 0;
  padding: 18px 20px;
  color: #fff;
  background: #1677ff;
}
.distribution.green h2 {
  background: #16bd70;
}
.distribution.orange h2 {
  background: #ffa642;
  color: #283547;
}
.distribution.cyan h2 {
  background: #3fa7e8;
}
.distribution.purple h2 {
  background: #9c45dc;
}
.dist-head,
.dist-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.6fr) repeat(3, minmax(64px, 0.7fr));
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
}
.dist-head {
  background: #f5f8fc;
  border-bottom: 1px solid #e7edf5;
  color: #3f4b5b;
}
.dist-row {
  border-bottom: 1px solid #edf1f6;
  font-size: 14px;
}
.dist-row:last-child {
  border-bottom: 0;
}
.dist-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dist-row span:not(:first-child),
.dist-head b:not(:first-child) {
  text-align: right;
}
.danger-zone {
  border: 1px solid #ffd8dc;
}
.quick-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid #dce9fb;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #eef5ff);
  box-shadow: 0 8px 26px #496d9b14;
}
.quick-settings-head small {
  color: #246be8;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.quick-settings-head h1 {
  margin: 5px 0 7px;
}
.quick-settings-head p {
  margin: 0;
  color: #718298;
}
.quick-settings-group {
  margin-bottom: 22px;
}
.quick-settings-group h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.quick-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.quick-setting-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid #dfe8f4;
  border-radius: 16px;
  background: #fff;
  color: #263950;
  box-shadow: 0 5px 18px #516f9610;
  transition: 0.18s ease;
}
.quick-setting-card:hover {
  transform: translateY(-2px);
  border-color: #9fc0f6;
  box-shadow: 0 10px 24px #3e69a51c;
}
.quick-setting-card > span {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e8f2ff, #f5efff);
  font-size: 23px;
}
.quick-setting-card > div {
  min-width: 0;
  flex: 1;
}
.quick-setting-card b,
.quick-setting-card small {
  display: block;
}
.quick-setting-card b {
  font-size: 15px;
}
.quick-setting-card small {
  margin-top: 5px;
  line-height: 1.45;
}
.quick-setting-card i {
  color: #5e83bd;
  font-size: 25px;
  font-style: normal;
}
.install-login {
  max-width: 900px;
  margin-top: 4vh;
}
.install-terms {
  max-height: 390px;
  overflow: auto;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #cdd9e9;
  border-radius: 13px;
  background: #f8fbff;
  line-height: 1.7;
  scroll-behavior: smooth;
}
.install-terms-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dce5f0;
}
.install-terms h2 {
  margin: 20px 0 7px;
  color: #205eb8;
  font-size: 17px;
}
.install-terms p {
  margin: 7px 0;
  font-size: 13px;
}
.terms-consent {
  align-items: flex-start;
  margin: 16px 0 4px;
  padding: 14px;
  border: 1px solid #a9c5ed;
  border-radius: 12px;
  background: #edf5ff;
  line-height: 1.6;
}
.terms-consent input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.terms-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #244c91, #6b43bd);
  color: #fff;
}
.terms-page-head small,
.terms-page-head p {
  color: #dce8ff;
}
.terms-page-head h1,
.terms-page-head p {
  margin: 5px 0 0;
}
.terms-panel {
  max-width: 980px;
  line-height: 1.75;
}
.terms-panel section {
  padding: 5px 0;
  border-bottom: 1px solid #edf1f7;
}
.terms-panel section:last-of-type {
  border-bottom: 0;
}
.terms-panel section h2 {
  color: #205eb8;
}
.terms-lead,
.terms-record,
.terms-legal-note {
  padding: 15px 17px;
  border-radius: 12px;
}
.terms-lead {
  border-left: 4px solid #246be8;
  background: #edf5ff;
}
.terms-record {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  border: 1px solid #d8e5f6;
  background: #f7faff;
}
.terms-legal-note {
  background: #fff8dd;
  color: #6e5710;
}
@media (max-width: 1000px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    position: sticky;
    top: 57px;
    z-index: 6;
    padding: 8px;
  }
  .sidebar a {
    white-space: nowrap;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .layoutcols,
  .chart-grid,
  .distribution-grid {
    grid-template-columns: 1fr;
  }
  .preview {
    position: static;
  }
  .main {
    padding: 14px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .visitor-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .panel {
    padding: 17px;
  }
  .distribution {
    padding: 0;
  }
  .adminhead {
    gap: 8px;
    padding: 10px;
  }
  .adminhead b {
    font-size: 13px;
  }
  .adminhead a {
    font-size: 12px;
  }
  .admin-legal-notice {
    align-items: flex-start;
    padding: 10px 14px;
  }
  .terms-page-head {
    align-items: flex-start;
    padding: 18px;
  }
}
@media (max-width: 520px) {
  .visitor-page-head { display: block; padding: 18px; }
  .visitor-page-head .button { display: inline-block; margin-top: 13px; }
  .visitor-filter-grid { grid-template-columns: 1fr; }
  .visitor-section-title { align-items: flex-start; }
  .admin-legal-notice > span {
    display: none;
  }
  .admin-legal-notice p {
    line-height: 1.55;
  }
  .terms-page-head {
    display: block;
  }
  .terms-page-head .button {
    margin-top: 12px;
  }
  .install-terms {
    max-height: 330px;
    padding: 14px;
  }
  .install-terms-head {
    display: block;
  }
  .install-terms-head small {
    display: block;
    margin-top: 4px;
  }
  .quick-settings-head {
    align-items: flex-start;
    padding: 18px;
  }
  .quick-settings-head .button {
    white-space: nowrap;
    font-size: 12px;
  }
  .quick-settings-grid {
    grid-template-columns: 1fr;
  }
  .quick-setting-card {
    min-height: 88px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .metric {
    min-height: 145px;
    padding: 14px;
  }
  .metric > span {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 22px;
  }
  .metric > b {
    font-size: 28px;
    right: 14px;
    top: 19px;
  }
  .metric strong {
    font-size: 15px;
    margin-top: 13px;
  }
  .metric small {
    font-size: 11px;
  }
  .dist-head,
  .dist-row {
    grid-template-columns: minmax(105px, 1.5fr) repeat(3, minmax(52px, 0.65fr));
    padding: 11px 12px;
    gap: 5px;
    font-size: 12px;
  }
  .chart-panel canvas {
    height: 220px;
  }
}

/* 2.6.8: registered-user operations dashboard */
.member-data-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
  padding: 23px 25px;
  border: 1px solid #dbe5ff;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(125deg, #1d4ed8, #5b48d6 58%, #8b5cf6);
  box-shadow: 0 16px 40px #3455c526;
}
.member-data-head small { color: #dbeafe; font-weight: 900; letter-spacing: .14em; }
.member-data-head h1 { margin: 4px 0 6px; color: #fff; font-size: 27px; }
.member-data-head p { margin: 0; color: #eef2ff; font-size: 13px; }
.member-data-head .button { color: #3346a8; background: #fff; white-space: nowrap; }
.member-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 16px;
}
.member-metrics article {
  position: relative;
  min-height: 142px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e5e9f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px #40598712;
}
.member-metrics article::after { content: ""; position: absolute; right: -28px; bottom: -36px; width: 105px; height: 105px; border-radius: 50%; background: #eef2ff; }
.member-metrics span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #eef2ff; font-size: 20px; }
.member-metrics b { position: absolute; right: 18px; top: 20px; color: #3444b8; font-size: 30px; }
.member-metrics strong { display: block; margin-top: 15px; color: #263450; font-size: 15px; }
.member-metrics small { position: relative; z-index: 1; display: block; margin-top: 4px; }
.member-filter form { margin: 0; }
.member-filter label { margin-top: 0; }
.member-filter form > div { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; gap: 8px; }
.member-section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.member-section-title h2 { margin: 0 0 4px; }
.member-section-title p { margin: 0; color: #8493a6; font-size: 12px; }
.member-section-title > span { padding: 6px 10px; border-radius: 999px; color: #4b55b9; background: #eef2ff; font-size: 12px; font-weight: 800; }
.member-table { overflow-x: auto; border: 1px solid #e7ebf2; border-radius: 14px; }
.member-table table { width: 100%; min-width: 1020px; border-collapse: collapse; }
.member-table th { padding: 11px 13px; text-align: left; color: #68788c; background: #f6f8fc; font-size: 12px; }
.member-table td { padding: 13px; border-top: 1px solid #edf1f6; vertical-align: top; color: #3a4960; font-size: 12px; }
.member-table td > b,.member-table td > small { display: block; }
.member-table td > small { margin-top: 5px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-identity { display: flex; align-items: center; gap: 10px; }
.member-identity i,.click-user i { display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #6682f0, #7855d8); font-style: normal; font-weight: 900; }
.member-identity i { width: 40px; height: 40px; font-size: 17px; }
.member-identity b,.member-identity small { display: block; }
.member-identity b { color: #263450; font-size: 14px; }
.member-points { display: inline-block; padding: 6px 10px; border-radius: 10px; color: #8a5200; background: #fff4d5; font-weight: 900; }
.member-click-list { display: grid; gap: 8px; }
.member-click-list article { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(260px,1.4fr) minmax(180px,.8fr); gap: 14px; align-items: center; padding: 12px 13px; border: 1px solid #e7ebf2; border-radius: 13px; background: #fbfcff; }
.click-user { display: flex; align-items: center; gap: 9px; }
.click-user i { width: 34px; height: 34px; }
.click-user b,.click-user small,.click-target b,.click-target small,.click-meta b,.click-meta small { display: block; }
.click-user b,.click-target b,.click-meta b { color: #2f3e57; font-size: 13px; }
.click-user small,.click-target small,.click-meta small { margin-top: 3px; color: #8795a7; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.privacy-note { display: flex; gap: 10px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid #dce7f5; border-radius: 13px; color: #58708e; background: #f6faff; font-size: 12px; line-height: 1.6; }
.privacy-note b { color: #315d9d; white-space: nowrap; }
.visit-filter-switches { display: grid; gap: 11px; margin-top: 12px; }
.visit-filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 15px 16px; border: 1px solid #e1e7f2; border-radius: 15px; background: #fff; cursor: pointer; }
.visit-filter-toggle span { min-width: 0; }
.visit-filter-toggle b,.visit-filter-toggle small { display: block; }
.visit-filter-toggle b { color: #293955; font-size: 14px; }
.visit-filter-toggle small { margin-top: 4px; color: #8391a4; font-size: 12px; line-height: 1.55; }
.visit-filter-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.visit-filter-toggle i { position: relative; flex: 0 0 auto; width: 48px; height: 27px; border-radius: 999px; background: #cbd5e1; box-shadow: inset 0 0 0 1px #bcc7d5; transition: .2s ease; }
.visit-filter-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px #26364d40; transition: .2s ease; }
.visit-filter-toggle input:checked + i { background: linear-gradient(135deg,#477df4,#7441c8); box-shadow: none; }
.visit-filter-toggle input:checked + i::after { transform: translateX(21px); }
.visit-filter-toggle input:focus-visible + i { outline: 3px solid #8eb6ff80; outline-offset: 2px; }
@media (max-width: 900px) {
  .member-metrics { grid-template-columns: 1fr 1fr; }
  .member-click-list article { grid-template-columns: 1fr 1fr; }
  .click-meta { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .member-data-head { align-items: flex-start; padding: 18px; }
  .member-data-head h1 { font-size: 23px; }
  .member-data-head p { display: none; }
  .member-metrics { gap: 9px; }
  .member-metrics article { min-height: 130px; padding: 14px; }
  .member-metrics b { right: 14px; font-size: 25px; }
  .member-filter form > div { grid-template-columns: 1fr auto; }
  .member-filter form > div .secondary { grid-column: 1 / -1; text-align: center; }
  .member-click-list article { grid-template-columns: 1fr; }
  .click-meta { grid-column: auto; }
  .privacy-note { display: block; }
  .privacy-note b { display: block; margin-bottom: 3px; }
}
