@font-face {
  font-family: Inter;
  font-weight: 100 900;
  src: url("/fonts/inter.woff2") format("woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: #1c1c1c;
  font:
    14px Inter,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: #2249ab;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    700 36px Georgia,
    serif;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
}
small,
.muted {
  color: #666;
  line-height: 1.6;
}
.loading {
  padding: 40px;
}
.shell {
  display: grid;
  grid-template-columns: 238px 1fr;
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid #eee;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #fff;
  z-index: 5;
}
.brand {
  padding: 0 12px 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}
.brand strong {
  font:
    25px Georgia,
    serif;
  display: block;
  letter-spacing: -0.7px;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 2.4px;
  margin-top: 9px;
  color: #666;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #666;
  text-transform: uppercase;
  padding: 0 12px;
  margin: 8px 0 12px;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: none;
  padding: 13px 14px;
  text-align: left;
  border-radius: 6px;
  color: #555;
  margin-bottom: 5px;
}
.nav-button svg {
  width: 18px;
  height: 18px;
}
.nav-button.active {
  background: #eef3fc;
  color: #2249ab;
  font-weight: 600;
}
.nav-button.sub {
  padding-left: 44px;
  font-size: 13px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #eee;
  padding: 18px 10px 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef3fc;
  color: #2249ab;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}
.user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user small {
  font-size: 11px;
}
.logout {
  border: 0;
  background: none;
  color: #666;
  font-size: 12px;
  padding: 14px 0 0;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 0 40px;
  color: #666;
  font-size: 12px;
}
.crumb {
  display: flex;
  gap: 12px;
  align-items: center;
}
.local-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #eee;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 11px;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #1e8a4f;
  border-radius: 50%;
}
.content {
  max-width: 1550px;
  padding: 36px 40px 60px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #666;
  margin-bottom: 12px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.title-rule {
  width: 48px;
  height: 3px;
  background: #2249ab;
  margin: 15px 0 20px;
}
.description {
  color: #666;
  line-height: 1.7;
  max-width: 650px;
}
.btn {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 11px 16px;
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1c1c1c;
}
.btn.primary {
  background: #2249ab;
  color: #fff;
  border-color: #2249ab;
}
.btn.small {
  padding: 7px 11px;
  font-size: 12px;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.products {
  display: flex;
  gap: 10px;
  margin: 26px 0 25px;
  overflow: auto;
  padding-bottom: 2px;
}
.product {
  padding: 13px 18px;
  border: 1px solid #eee;
  border-radius: 6px;
  white-space: nowrap;
  background: #fff;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product.active {
  border-color: #2249ab;
  color: #2249ab;
  font-weight: 600;
  background: #f7f9fd;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--color);
}
.tabs {
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 28px;
  margin-bottom: 24px;
  overflow: auto;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 14px;
  background: none;
  color: #666;
  white-space: nowrap;
}
.tab.active {
  color: #2249ab;
  border-bottom-color: #2249ab;
  font-weight: 600;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.filters select {
  max-width: 260px;
}
.filters label {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filters .reset {
  margin-left: auto;
  color: #fff;
  background: #666;
  border-color: #666;
}
.field,
input,
select,
textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #1c1c1c;
  min-height: 40px;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
label.field-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin: 17px 0;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kpi {
  background: var(--pastel, #f8bcd1);
  border-radius: 8px;
  padding: 20px;
  min-height: 112px;
}
.kpi .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}
.kpi strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.kpi small {
  color: #1c1c1c;
  font-size: 11px;
  margin-left: 5px;
}
.panel {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.panel-head h2 {
  margin-bottom: 7px;
}
.panel-head p {
  font-size: 12px;
  color: #666;
  margin-bottom: 0;
}
.columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.empty {
  padding: 44px 15px;
  text-align: center;
  color: #666;
}
.empty svg {
  width: 30px;
  height: 30px;
  color: #2249ab;
  margin-bottom: 12px;
}
.empty h3 {
  color: #1c1c1c;
  margin-bottom: 8px;
}
.empty p {
  font-size: 13px;
  max-width: 380px;
  margin: 0 auto 18px;
  line-height: 1.7;
}
.notice {
  padding: 13px 16px;
  background: #f7f0e6;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: #614224;
  margin-bottom: 20px;
}
.notice a {
  font-weight: 600;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  background: #f7f9fc;
  padding: 13px 12px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid #eee;
}
tr:last-child td {
  border-bottom: 0;
}
td .muted {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.badge {
  display: inline-block;
  border-radius: 4px;
  padding: 5px 8px;
  background: #eef3fc;
  color: #2249ab;
  font-size: 10px;
  white-space: nowrap;
}
.badge.active {
  background: #eaf4ec;
  color: #236b38;
}
.badge.paused,
.badge.draft {
  background: #f7f0e6;
  color: #735026;
}
.badge.ended {
  background: #eee;
  color: #555;
}
.actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chart {
  width: 100%;
  height: 190px;
  display: block;
}
.chart text {
  font-size: 10px;
  fill: #666;
  font-family: Inter, Arial;
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 11px;
  align-items: center;
}
.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 6px;
}
.funnel-row {
  margin: 18px 0;
}
.funnel-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}
.track {
  height: 9px;
  background: #f3f3f3;
  border-radius: 3px;
  overflow: hidden;
}
.bar {
  height: 100%;
  background: #2249ab;
  border-radius: 3px;
}
.substats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 0 0;
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.substats strong {
  display: block;
  margin-top: 7px;
  font-size: 19px;
}
.substats span {
  font-size: 10px;
  color: #666;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.page-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 24px;
  min-width: 0;
}
.page-card h2 {
  margin: 18px 0 8px;
}
.page-card .url {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}
.page-card footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.exp-card {
  border: 1px solid #eee;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.exp-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.variant-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.variant {
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}
.variant b {
  display: block;
  color: #2249ab;
  font-size: 11px;
  margin-bottom: 10px;
}
.variant small {
  display: block;
  margin-top: 10px;
}
.heat-layout {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 24px;
}
.heatmap {
  height: 600px;
  max-width: 700px;
  position: relative;
  background: #fafafa;
  border: 1px solid #eee;
  overflow: hidden;
  margin: auto;
  width: 100%;
  border-radius: 6px;
}
.heat-bg {
  position: absolute;
  inset: 0;
  padding: 35px;
  pointer-events: none;
}
.heat-bg div {
  border: 1px solid #e4e4e4;
  background: #f1f1f1;
  height: 115px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 11px;
}
.heat-bg div:nth-child(2) {
  height: 200px;
}
.heat-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(138, 90, 43, 0.7),
    rgba(201, 165, 123, 0.25) 40%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
}
.heat-notes {
  font-size: 12px;
  line-height: 1.8;
  color: #666;
}
.heat-notes h3 {
  color: #1c1c1c;
  margin-top: 20px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-intro {
  background: #eef3fc;
  padding: 9vw 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-intro h1 {
  font-size: 54px;
  line-height: 1.12;
  margin: 40px 0 22px;
  max-width: 470px;
}
.login-intro p {
  color: #4d5e80;
  line-height: 1.9;
  max-width: 390px;
}
.login-form {
  padding: 60px 9vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.login-form h2 {
  font:
    32px Georgia,
    serif;
  margin: 20px 0 12px;
}
.login-form form {
  max-width: 380px;
}
.login-form .btn {
  width: 100%;
  margin-top: 12px;
}
.login-foot {
  margin-top: 40px;
  font-size: 11px;
  color: #666;
}
.login-lines {
  display: flex;
  gap: 8px;
  margin-top: 35px;
}
.login-lines span {
  height: 7px;
  width: 70px;
  background: #f8bcd1;
  border-radius: 3px;
}
.login-lines span:nth-child(2) {
  background: #c8e6c9;
}
.login-lines span:nth-child(3) {
  background: #ffccbc;
}
.form-error {
  color: #9c2525;
  font-size: 12px;
  line-height: 1.6;
}
dialog {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 28px;
  width: min(550px, calc(100% - 32px));
  max-height: 90vh;
}
dialog::backdrop {
  background: rgba(15, 25, 45, 0.3);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.modal-head h2 {
  font:
    26px Georgia,
    serif;
  margin-bottom: 8px;
}
.close {
  border: 0;
  background: none;
  font-size: 24px;
  color: #666;
  padding: 0 5px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
pre {
  white-space: pre-wrap;
  word-break: break-all;
  background: #f7f9fc;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.8;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1c1c1c;
  color: white;
  border-radius: 6px;
  padding: 13px 20px;
  z-index: 100;
  max-width: 90vw;
  display: none;
  font-size: 13px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-label h2 {
  margin: 0;
}
.text-link {
  border: 0;
  background: none;
  padding: 0;
  color: #2249ab;
  font-size: 12px;
  text-decoration: underline;
}
.error-panel {
  padding: 24px;
  color: #9c2525;
  border: 1px solid #edcccc;
  border-radius: 6px;
}
.page-foot {
  margin-top: 25px;
  color: #666;
  font-size: 11px;
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.demo {
  max-width: 850px;
  margin: 0 auto;
  padding: 60px 25px;
  line-height: 1.8;
}
.demo h1 {
  font-size: 48px;
  margin-top: 35px;
}
.demo section {
  padding: 60px 0;
  border-top: 1px solid #eee;
}
.demo .big-box {
  padding: 70px 35px;
  background: #f8bcd1;
  border-radius: 8px;
  margin: 45px 0;
}
.demo .btn {
  margin: 12px 8px 12px 0;
}
.quiz-step {
  padding: 35px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-top: 30px;
}
.quiz-step .btn {
  display: block;
  width: 100%;
  margin: 10px 0;
}
.mobile-brand {
  display: none;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }
}
@media (max-width: 1100px) {
  .columns {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 205px;
  }
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .variant-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  .brand {
    padding: 0 0 12px;
    margin-bottom: 12px;
  }
  .brand strong {
    font-size: 23px;
  }
  .brand span {
    display: none;
  }
  .nav-label,
  .nav-button.sub,
  .sidebar-bottom {
    display: none;
  }
  .nav-button {
    display: inline-flex;
    width: auto;
    margin: 0;
    padding: 9px 11px;
    font-size: 12px;
  }
  .topbar {
    height: 55px;
    padding: 0 20px;
  }
  .content {
    padding: 25px 20px;
  }
  .heading {
    align-items: flex-start;
  }
  .heading h1 {
    font-size: 30px;
  }
  .heading .btn {
    font-size: 12px;
    padding: 10px;
  }
  .description {
    font-size: 12px;
  }
  .kpis {
    gap: 10px;
  }
  .kpi {
    padding: 17px;
  }
  .kpi strong {
    font-size: 25px;
  }
  .kpi .label {
    font-size: 9px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .filters select {
    max-width: 100%;
    width: 100%;
  }
  .filters label {
    flex: 1 1 40%;
    display: block;
  }
  .filters label select {
    margin-top: 5px;
  }
  .filters .reset {
    margin-left: 0;
  }
  .tabs {
    gap: 22px;
  }
  .panel {
    padding: 18px;
  }
  .heat-layout {
    grid-template-columns: 1fr;
  }
  .heatmap {
    height: 500px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-intro {
    padding: 32px;
  }
  .login-intro h1 {
    font-size: 32px;
    margin: 20px 0 12px;
  }
  .login-intro p,
  .login-lines {
    display: none;
  }
  .login-form {
    padding: 30px;
  }
  .login-form form {
    max-width: none;
  }
  .page-foot {
    display: block;
  }
  .variant-list {
    grid-template-columns: 1fr;
  }
  .exp-card header {
    align-items: flex-start;
  }
  .demo h1 {
    font-size: 36px;
  }
  .notice {
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    position: relative;
  }
  .sidebar-bottom {
    display: block;
    position: absolute;
    right: 20px;
    top: 25px;
    border: 0;
    padding: 0;
    margin: 0;
  }
  .sidebar-bottom .user {
    display: none;
  }
  .logout {
    padding: 0;
  }
  .page-foot span {
    display: block;
    margin-bottom: 8px;
  }
}

.snapshot-image {
  display: block;
  width: 100%;
  height: auto;
}
.heatmap.with-snapshot {
  max-width: 100%;
  min-height: 0;
}
.heatmap.with-snapshot .heat-dot {
  width: 40px;
  height: 40px;
}

.variant {
  overflow-wrap: anywhere;
}
textarea[readonly] {
  background: #f7f9fc;
  color: #555;
}

[hidden] {
  display: none !important;
}
.variant-subheadline {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}
.variant-subheadline b {
  font-size: 9px;
  color: #666;
}
