:root {
  --ink: #201c2b;
  --muted: #635f70;
  --line: #e2dfe8;
  --paper: #faf9fc;
  --plum: #6841d9;
  --pale: #eee9ff;
  --dark: #201c30;
  --good: #246846;
  --radius: 14px;
  color: var(--ink);
  font:
    16px/1.5 Inter,
    "Segoe UI",
    Arial,
    sans-serif;
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wrap {
  width: min(1280px, calc(100% - 8vw));
  margin: auto;
}
.top {
  background: white;
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 730;
  letter-spacing: -1.35px;
  white-space: nowrap;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand em {
  font-weight: 430;
  font-style: normal;
}
.nav,
.actions,
.filters,
.chips,
.row,
.endnav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nav {
  gap: 27px;
  font-size: 15px;
}
.nav a:hover,
.text:hover,
.side a:hover {
  color: var(--plum);
}
.btn,
.btn2,
.tiny,
.quiet,
.lang {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 620;
  background: var(--plum);
  color: #fff;
  text-align: center;
}
.btn:hover {
  background: #5631c5;
}
.btn2,
.tiny,
.lang {
  background: #fff;
  color: var(--ink);
  border-color: #d6d2df;
}
.btn2:hover,
.tiny:hover,
.lang:hover {
  border-color: var(--plum);
  color: var(--plum);
}
.tiny {
  padding: 6px 10px;
  font-size: 14px;
}
.quiet {
  color: var(--plum);
  background: var(--pale);
}
.lang {
  padding: 6px 9px;
  font-size: 14px;
}
.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
}
.skip:focus {
  left: 4px;
  top: 4px;
  background: white;
  padding: 10px;
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5%;
  align-items: center;
  padding-block: clamp(40px, 5.3vw, 78px);
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--plum);
  text-transform: uppercase;
  margin: 0 0 17px;
}
.hero h1 {
  font-size: clamp(54px, 5.6vw, 86px);
  letter-spacing: -0.075em;
  line-height: 0.98;
  max-width: 9.8em;
  font-weight: 620;
  margin: 0 0 23px;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--plum);
  letter-spacing: -0.073em;
}
.hero p:not(.eyebrow) {
  font-size: 19px;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 27px;
}
.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1.43;
  background: #e0d1d8;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}
.hero-media figcaption {
  position: absolute;
  bottom: 18px;
  left: 19px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff65;
  border-radius: 40px;
  background: #271d2ac9;
  color: white;
  font-size: 13px;
  padding: 6px 12px;
}
.hero-media figcaption:before {
  content: "";
  width: 8px;
  height: 8px;
  background: #c5b6ff;
  border-radius: 50%;
}
figure {
  margin: 0;
}
.market-section {
  background: #f6f4fa;
  border-block: 1px solid var(--line);
  padding: 52px 0 64px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 23px;
}
.section-head h2,
.copy h2 {
  font-size: clamp(29px, 3vw, 44px);
  letter-spacing: -0.058em;
  line-height: 1.1;
  font-weight: 650;
  margin: 0;
}
.section-head .eyebrow {
  margin-bottom: 9px;
}
.text {
  font-weight: 620;
  color: var(--plum);
  font-size: 15px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.campaign-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px #24153610;
}
.cover {
  height: auto;
  aspect-ratio: 2.15;
  background: #393350;
  position: relative;
  overflow: hidden;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover .chip {
  position: absolute;
  left: 13px;
  top: 13px;
  background: #fffffff1;
  color: #272131;
  border: none;
}
.card-body {
  padding: 17px 19px 20px;
}
.card-body h3 {
  font-size: 23px;
  letter-spacing: -0.045em;
  margin: 4px 0 9px;
}
.meta,
.sub,
.muted,
small {
  color: var(--muted);
}
.meta {
  font-size: 14px;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  white-space: normal;
  font-size: 13px;
  line-height: 1.35;
  padding: 4px 9px;
  border-radius: 99px;
  background: #efedf4;
  color: #514d5c;
  font-weight: 600;
}
.chip.good {
  background: #e0f2e9;
  color: var(--good);
}
.chip.warn {
  background: #fff0cf;
  color: #81530e;
}
.chip.purple {
  background: var(--pale);
  color: #5131b9;
}
.how {
  padding-block: 60px;
}
.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.columns article {
  border-top: 2px solid var(--ink);
  padding: 14px 0;
}
.columns h3 {
  font-size: 21px;
  letter-spacing: -0.04em;
  margin: 0;
}
.columns p {
  color: var(--muted);
}
footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.endnav {
  font-size: 14px;
  color: var(--muted);
}
.mast {
  padding: 54px 0 27px;
}
.mast h1,
.title h1 {
  font-size: clamp(35px, 4.3vw, 61px);
  line-height: 1.04;
  letter-spacing: -0.064em;
  margin: 0;
}
.mast p,
.sub {
  margin: 12px 0 0;
}
.listing {
  padding-bottom: 65px;
}
.filters {
  margin: 0 0 22px;
}
.filters input,
.filters select {
  width: auto;
  min-width: 147px;
}
.filters input {
  flex: 1;
}
.copy {
  max-width: 800px;
  margin: 52px auto 74px;
}
.copy h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.copy h2 {
  font-size: 24px;
  margin-top: 32px;
}
.copy p {
  color: var(--muted);
}
.auth {
  width: min(460px, 92%);
  margin: 55px auto 70px;
}
.auth h1,
dialog h2 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}
.auth .brand {
  margin-bottom: 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  font-weight: 620;
  min-width: 0;
}
.field.wide,
.check.wide,
.wide {
  grid-column: 1/-1;
}
.field small {
  font-size: 13px;
  font-weight: 400;
}
.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
}
.check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 3px 0;
  accent-color: var(--plum);
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #cfccd8;
  background: white;
  color: var(--ink);
  border-radius: 7px;
  line-height: 1.4;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
.form-actions {
  margin: 22px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.form-error {
  color: #9a2436;
  font-size: 14px;
  margin: 9px 0;
}
.demo-strip,
.callout {
  padding: 13px 16px;
  border: 1px solid #dcd3f7;
  background: #f3effd;
  color: #4d3887;
  border-radius: 10px;
  font-size: 14px;
}
.demo-strip {
  margin: 20px 0;
}
.demo-strip strong {
  display: block;
  margin-bottom: 9px;
}
.workspace {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}
.side {
  background: var(--dark);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 15px;
  align-items: stretch;
}
.side .brand {
  padding: 0 6px 15px;
}
.side h2 {
  font-size: 12px;
  letter-spacing: 0.11em;
  color: #c6bed7;
  text-transform: uppercase;
  margin: 8px 12px 3px;
}
.side nav {
  display: grid;
  gap: 3px;
}
.side nav a {
  padding: 8px 13px;
  color: #e0dceb;
  font-size: 15px;
  border-radius: 7px;
}
.side nav a.active {
  background: #6b47cd;
  color: white;
}
.side nav a:hover {
  color: white;
  background: #49405f;
}
.side .bottom {
  border-top: 1px solid #4d465c;
  padding-top: 16px;
  margin-top: auto;
}
.workspace main {
  min-width: 0;
}
.work-top {
  min-height: 66px;
  padding: 12px 4%;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-top .row {
  gap: 8px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #5a339b;
  background: #eee7fa;
  font-weight: 700;
}
.work-body {
  padding: 35px 4% 60px;
  max-width: 1600px;
}
.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 23px;
}
.title h1 {
  font-size: clamp(29px, 3.2vw, 44px);
}
.title .eyebrow {
  margin-bottom: 7px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 13px;
  margin: 18px 0 26px;
}
.stat,
.panel,
.item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.stat {
  padding: 16px 18px;
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 630;
  letter-spacing: -0.055em;
}
.stat small {
  font-size: 14px;
}
.panel {
  padding: 19px 20px;
  margin: 15px 0;
}
.panel h2 {
  font-size: 21px;
  letter-spacing: -0.035em;
  margin: 0 0 13px;
}
.stack {
  display: grid;
  gap: 10px;
}
.item {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.item > div:first-child {
  min-width: 0;
  flex: 1 1 180px;
}
.item strong,
.item small {
  display: block;
  overflow-wrap: anywhere;
}
.item small {
  margin-top: 3px;
  font-size: 14px;
}
.item .actions {
  gap: 7px;
}
.empty {
  padding: 22px;
  background: #f4f2f7;
  border: 1px dashed #d4d0dc;
  border-radius: 10px;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}
.split .panel {
  margin: 0;
}
.table-wrap {
  overflow: auto;
}
.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data td,
.data th {
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data th {
  color: var(--muted);
  font-weight: 600;
}
.data td {
  overflow-wrap: anywhere;
}
.detail {
  display: grid;
  grid-template-columns: minmax(105px, 0.55fr) 1fr;
  gap: 9px 14px;
  font-size: 15px;
}
.detail dt {
  color: var(--muted);
}
.detail dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.product-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
}
.detail-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}
.notice {
  margin-bottom: 14px;
}
.work-body .cards {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.console-note {
  font-size: 14px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0;
  width: min(620px, 94vw);
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 20px 80px #19102136;
}
dialog::backdrop {
  background: #21192f75;
}
.dialog-inner {
  padding: 24px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.close {
  border: 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  flex: none;
  font-size: 21px;
  line-height: 1;
  background: #efedf4;
  color: var(--ink);
}
#toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  border-radius: 8px;
  background: #242033;
  color: white;
  max-width: 90vw;
  padding: 9px 14px;
  box-shadow: 0 5px 25px #0003;
}
#toast:empty {
  display: none;
}
.loading {
  padding: 6vw;
}
.mobile-nav {
  display: none;
}
.inline-link {
  text-decoration: underline;
}
.content-body {
  white-space: pre-line;
}
.mobile-only {
  display: none;
}
@media (max-width: 930px) {
  .workspace {
    grid-template-columns: 196px minmax(0, 1fr);
  }
  .side {
    padding: 20px 9px;
  }
  .side .brand {
    font-size: 19px;
  }
  .top .nav {
    display: none;
  }
  .hero {
    gap: 4%;
  }
  .hero h1 {
    font-size: clamp(48px, 7.6vw, 70px);
  }
  .cards {
    gap: 14px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .work-top .role-name {
    display: none;
  }
}
@media (max-width: 680px) {
  .top .wrap {
    min-height: 60px;
    gap: 7px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .top .actions {
    gap: 6px;
  }
  .top .btn,
  .top .btn2 {
    padding: 7px 10px;
    font-size: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 29px;
    gap: 24px;
  }
  .hero h1 {
    font-size: 57px;
    max-width: 10em;
    margin-bottom: 13px;
  }
  .hero p:not(.eyebrow) {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .hero-media {
    aspect-ratio: 1.75;
    border-radius: 13px;
  }
  .hero-media figcaption {
    bottom: 10px;
    left: 10px;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
  .cards,
  .columns {
    grid-template-columns: 1fr;
  }
  .market-section,
  .how {
    padding-block: 32px;
  }
  .section-head {
    align-items: center;
  }
  .workspace {
    display: block;
  }
  .side {
    display: none;
  }
  .work-top {
    flex-wrap: wrap;
    padding: 9px 4vw;
  }
  .mobile-nav {
    display: block;
    width: 100%;
  }
  .work-body {
    padding: 23px 4vw 40px;
  }
  .title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat {
    padding: 10px 12px;
  }
  .panel {
    padding: 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .item {
    padding: 12px;
  }
  .copy {
    margin: 28px 4vw;
  }
  .card-body {
    padding: 15px;
  }
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
  .endnav {
    gap: 12px;
  }
  .actions {
    gap: 6px;
  }
  .nav {
    gap: 9px;
  }
  .form-actions .btn {
    min-height: 42px;
  }
  .filters input,
  .filters select {
    min-width: 0;
    width: 100%;
  }
  .detail {
    grid-template-columns: minmax(80px, 0.45fr) 1fr;
  }
  .dialog-inner {
    padding: 18px;
  }
  .work-body .cards {
    grid-template-columns: 1fr;
  }
}

.mobile-public {
  display: none;
}
.trend {
  width: 100%;
  max-height: 150px;
}
.chart-caption {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 930px) {
  .mobile-public {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-block: 8px 12px;
    font-size: 14px;
    flex-wrap: wrap;
  }
}

.media-preview {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #171421;
  border-radius: 8px;
  margin-bottom: 10px;
}
.field[hidden],
.check[hidden] {
  display: none;
}
.gallery-preview {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.gallery-preview figure {
  margin: 0;
  width: min(9rem, 45%);
}
.gallery-preview img {
  width: 100%;
  height: 6.5rem;
  object-fit: contain;
  background: #f4f0fa;
}
.gallery-preview figcaption {
  font-size: 0.85rem;
}
.login-profile {
  padding: 1rem 0;
  overflow-wrap: anywhere;
}
.login-profile + .login-profile {
  border-top: 1px solid currentColor;
}
.login-profile header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.login-profile header img {
  border-radius: 50%;
  object-fit: cover;
}
.login-profile details {
  margin: 0.6rem 0;
}
.login-profile summary {
  cursor: pointer;
}
.identity-head {display:flex;align-items:center;gap:12px;}
.identity-head img {border-radius:50%;object-fit:cover;}
.identity-head h3 {margin:0;overflow-wrap:anywhere;}
.account-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0;}
.account-metrics>div {background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:10px 12px;}
.account-metrics dt {color:var(--muted);font-size:.85rem;}
.account-metrics dd {margin:4px 0 0;font-size:1.25rem;font-weight:650;font-variant-numeric:tabular-nums;}
.post-performance td:nth-child(n+3) {font-variant-numeric:tabular-nums;white-space:nowrap;}
.post-performance td:first-child {min-width:10rem;}
@media(max-width:680px){.account-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}}
