* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}
body {
  margin: 0;
  font:
    16px/1.55 system-ui,
    -apple-system,
    "PingFang SC",
    sans-serif;
  color: #192138;
  background: #fff;
}
a {
  color: #4941bd;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fff;
  border-bottom: 1px solid #eef1f5;
}
.wrap {
  width: min(1320px, 92%);
  margin: auto;
}
nav,
.row,
.actions,
.brand,
.chips,
.dashhead {
  display: flex;
  align-items: center;
  gap: 12px;
}
nav {
  justify-content: space-between;
  min-height: 78px;
}
.brand {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  color: #282257;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #6a7181;
  margin-top: 4px;
}
.mark {
  border-radius: 10px;
  background: linear-gradient(135deg, #5341e6, #8057f5);
  color: white;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  font-size: 18px;
}
.actions {
  flex-wrap: wrap;
}
.btn,
button,
summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d5d9f4;
  color: #4338ab;
  background: #eff1ff;
  font-weight: 650;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
}
.primary {
  background: linear-gradient(120deg, #4f46e5, #7750e9);
  color: white;
  border-color: transparent;
  box-shadow: 0 5px 12px #5144d323;
}
.navbtn,
summary {
  background: white;
  color: #263147;
  border: 1px solid #e2e6eb;
  border-radius: 22px;
  padding: 7px 13px;
}
summary {
  list-style: none;
}
details {
  position: relative;
}
.menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 12px;
  min-width: 195px;
  box-shadow: 0 10px 35px #151b3020;
}
.menu > * {
  display: block;
  padding: 6px 10px;
}
.hero {
  padding: 88px 0 96px;
  background: linear-gradient(#f8fafc, #fff);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
h1,
h2,
h3,
p {
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.lead {
  font-size: 17px;
  color: #64748b;
  line-height: 1.75;
  max-width: 620px;
  margin: 20px 0 30px;
}
.chips {
  flex-wrap: wrap;
  margin-top: 17px;
}
.chips span,
.label {
  border: 1px solid #e1e5ee;
  border-radius: 30px;
  background: white;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 650;
}
.chips span:before {
  content: "✓";
  color: #269963;
  margin-right: 6px;
}
.preview {
  background: #f8faff;
  border: 1px solid #e1e6f0;
  border-radius: 14px;
  box-shadow: 0 16px 38px #18234217;
  padding: 13px;
  transform: perspective(1000px) rotateY(-3deg);
  overflow: hidden;
}
.minihead {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #4a5072;
  padding: 8px 0 14px;
}
.minihead b {
  color: #4940ba;
}
.minicards,
.grid {
  display: grid;
  gap: 15px;
}
.minicards {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.minicard,
.card {
  border: 1px solid #e1e6ee;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.miniimg {
  background-image: url("/campaigns.jpg");
  background-size: 300% 100%;
  height: clamp(140px, 14vw, 215px);
  background-position: left center;
}
.m1 {
  background-position: center;
}
.m2 {
  background-position: right;
}
.minicard p,
.minicard small {
  display: block;
  margin: 8px;
  font-size: 12px;
}
.minicard small {
  color: #64748b;
  font-size: 10px;
}
.sect {
  padding: 52px 0;
  text-align: center;
}
.tint {
  background: #f8f9fb;
  border-block: 1px solid #f0f1f4;
}
.eyebrow {
  font-size: 13px;
  font-weight: 750;
  color: #5145c6;
  margin-bottom: 9px;
}
.sect h2 {
  font-size: clamp(24px, 2.3vw, 33px);
  line-height: 1.3;
}
.sub {
  color: #64748b;
  max-width: 740px;
  margin: 0 auto 26px;
}
.grid {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  padding: 22px;
  color: #222e42;
}
.card h3 {
  font-size: 16px;
  margin: 8px 0;
}
.card p,
.muted {
  color: #687488;
  font-size: 14px;
}
.card p {
  margin: 0;
}
.off {
  color: #798292;
}
.platform-icon {
  display: inline-grid;
  place-items: center;
  color: #5142cb;
  background: #edefff;
  border-radius: 9px;
  width: 36px;
  height: 36px;
  font-weight: 800;
}
.fb {
  color: #1877f2;
  background: #eaf2ff;
}
.double {
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  margin: auto;
  text-align: left;
}
.card ul {
  margin: 10px 0;
  padding-left: 20px;
  color: #526079;
}
.band {
  padding: 26px;
  background: #f5f6fb;
  border-radius: 14px;
  text-align: left;
}
.steps {
  text-align: left;
}
.step {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #5546da;
  color: white;
  width: 30px;
  height: 30px;
}
.content {
  max-width: 920px;
  margin: 50px auto;
  padding: 0 20px;
}
.content h1,
.dashhead h1 {
  font-size: 34px;
}
.content li {
  margin: 10px 0;
}
.auth-area {
  min-height: 72vh;
  display: grid;
  place-items: center;
  background: #f7f8fc;
  padding: 48px 16px;
}
.auth {
  background: white;
  border: 1px solid #e6e8ef;
  border-radius: 16px;
  padding: 32px;
  width: min(100%, 430px);
  box-shadow: 0 15px 44px #151b300a;
}
.auth h1 {
  font-size: 24px;
}
label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  margin: 13px 0;
}
input,
textarea,
select {
  border: 1px solid #d7dce5;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: #1e293b;
  max-width: 100%;
}
.auth .btn {
  width: 100%;
  margin: 12px 0;
}
.status {
  color: #6450b6;
  font-size: 14px;
  min-height: 1.4em;
}
.dashhead {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.dashboard {
  min-height: 70vh;
  padding: 40px 0;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.filters input {
  flex: 1;
  min-width: 200px;
}
.record {
  text-align: left;
  overflow-wrap: anywhere;
}
.record img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.record p {
  white-space: pre-line;
  margin: 10px 0;
}
.empty {
  text-align: center;
  border: 1px dashed #d3d9e5;
  border-radius: 12px;
  padding: 45px 16px;
}
.hide,
[hidden] {
  display: none !important;
}
footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 45px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer a {
  display: block;
  color: #ced4e4;
  font-size: 13px;
  margin: 8px 0;
}
dialog {
  border: 1px solid #e2e6ee;
  border-radius: 15px;
  padding: 24px;
  width: min(500px, 94vw);
}
dialog::backdrop {
  background: #1d24354d;
}
textarea {
  min-height: 110px;
}
.footnote {
  color: #b3bbce;
  font-size: 13px;
}
.center {
  text-align: center;
}
.media-link {
  font-size: 13px;
}
.card button {
  margin: 4px;
}
.menu span {
  color: #949aaa;
  font-size: 13px;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    padding: 52px 0;
  }
  .preview {
    max-width: 640px;
    width: 100%;
    margin: auto;
  }
  .miniimg {
    height: 185px;
  }
}
@media (max-width: 600px) {
  nav {
    min-height: 62px;
    flex-wrap: wrap;
    padding: 9px 0;
    gap: 6px;
  }
  .brand {
    font-size: 16px;
  }
  .brand small {
    display: none;
  }
  nav .actions {
    gap: 4px;
  }
  nav .navbtn,
  nav summary {
    font-size: 12px;
    padding: 5px 7px;
  }
  .grid,
  .double {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 38px 0;
  }
  .split {
    gap: 25px;
  }
  .sect {
    padding: 35px 0;
  }
  .btn {
    padding: 9px 12px;
  }
  .miniimg {
    height: 115px;
  }
  .minicard p {
    font-size: 10px;
  }
  .minihead {
    font-size: 10px;
  }
}
.record video {
  width: 100%;
  max-height: 200px;
  background: #151b22;
}
.grid.resources {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.preview {
  max-width: 555px;
  justify-self: end;
}
.btn.primary:hover {
  filter: brightness(1.07);
}
nav .primary {
  background: #1572eb;
  border-radius: 24px;
}
.hero .btn {
  padding: 13px 22px;
}
.hero .actions {
  gap: 14px;
}
.hero .btn:first-child:before {
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #3788cc 0 25%, white 26% 31%, transparent 32%),
    conic-gradient(#e6513c 0 33%, #e5b93b 33% 66%, #51aa74 66%);
}
.hero .btn:nth-child(2):before {
  content: "⊞";
  font-size: 19px;
}
.hero .btn:nth-child(3):before {
  content: "ⓘ";
  font-size: 17px;
}
.hero .actions {
  align-items: stretch;
}
.preview .minihead:first-child {
  border-bottom: 1px solid #e0e5f0;
}
.hero .chips span {
  box-shadow: 0 4px 10px #2020380b;
}
.sect .eyebrow:not(:empty) {
  display: inline-block;
  border-radius: 20px;
  background: #f1f3ff;
  padding: 3px 9px;
}
.sect.tint:nth-child(2) {
  background: linear-gradient(white, #f8fafc);
}
@media (max-width: 600px) {
  nav {
    display: block;
    padding: 15px 0;
  }
  .brand {
    width: max-content;
  }
  nav .actions {
    justify-content: flex-end;
    margin: 8px 0;
    gap: 8px;
  }
  .hero {
    padding: 70px 0 48px;
  }
  .hero .actions {
    gap: 10px;
  }
  .preview {
    justify-self: center;
  }
  .hero .btn {
    padding: 11px 16px;
  }
  .split {
    gap: 36px;
  }
}
.miniworkspace {
  display: grid;
  grid-template-columns: 18% 1fr;
  gap: 8px;
}
.miniworkspace aside {
  background: white;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 4px;
  font-size: 8px;
  color: #455379;
}
.miniworkspace aside span {
  background: #564ae1;
  color: white;
  padding: 3px;
  border-radius: 3px;
}
.library-layout {
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 22px;
}
.library-side {
  display: flex;
  flex-direction: column;
  padding: 15px 10px;
  align-self: start;
  border: 1px solid #e5e7ee;
  border-radius: 12px;
  gap: 6px;
}
.library-side strong {
  font-size: 14px;
  margin: 0 8px 10px;
}
.library-side button {
  border: 0;
  text-align: left;
  justify-content: flex-start;
  color: #586174;
  background: transparent;
}
.library-side button[aria-pressed="true"] {
  background: #eeedff;
  color: #4938b8;
}
.library-side a {
  font-size: 12px;
  margin: 10px 5px;
}
.library-layout .filters {
  margin-top: 0;
}
.library-layout #records {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
@media (max-width: 750px) {
  .library-layout {
    display: block;
  }
  .library-side {
    display: none;
  }
}
.dashboard-page {
  background: #f6f7fb;
}
.dashboard-page > .wrap,
.dashboard-page .wrap {
  width: 97%;
  max-width: 1840px;
}
.dashboard-page footer {
  display: none;
}
.dashboard {
  padding: 18px 0;
}
.dashboard-page .dashhead {
  background: white;
  border: 1px solid #e3e6ee;
  border-radius: 12px;
  padding: 10px 18px;
}
.dashboard-page .dashhead h1 {
  font-size: 18px;
  margin: 0;
}
.dashboard-page .dashhead .eyebrow {
  display: none;
}
.dashboard-page .status:empty {
  display: none;
}
.library-layout {
  grid-template-columns: 235px 1fr;
  gap: 18px;
}
.library-side {
  background: white;
  padding: 16px;
}
.library-side > h3 {
  margin: 0;
}
.library-side > strong {
  margin: 12px 0 2px;
}
.library-side > button {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
}
.library-side button b {
  font-size: 12px;
  color: #737c8e;
}
.library-side button:disabled {
  color: #85909e;
  cursor: default;
}
.library-side .muted {
  font-size: 12px;
  margin: 0;
}
.side-kinds {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.side-kinds button {
  padding: 4px 6px;
  font-size: 12px;
}
.library-side label {
  margin: 9px 0;
}
.library-side .deep summary {
  display: block;
  text-align: center;
}
.record {
  padding: 12px !important;
}
.record-head {
  position: relative;
}
.record-head > small {
  color: #4563c8;
}
.record .copy-id,
.ad-copy button {
  background: transparent;
  border: none;
  font-size: 11px;
  padding: 1px;
  color: #64718c;
}
.record .facts,
.record-actions,
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.facts {
  font-size: 12px;
  background: #f7f8fa;
  padding: 7px;
}
.ad-copy {
  position: relative;
  padding-right: 17px;
}
.ad-copy p {
  font-size: 13px;
  max-height: 72px;
  overflow: auto;
}
.ad-copy button {
  position: absolute;
  right: 0;
  top: 0;
}
.record-media {
  position: relative;
  background: #f4f5f7;
  border-radius: 8px;
  overflow: hidden;
}
.record .record-media img,
.record .record-media video {
  display: block;
  width: 100%;
  height: 225px;
  max-height: none;
  object-fit: contain;
}
.pager {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
}
.pager small,
.pager button {
  border: 0;
  border-radius: 10px;
  background: #253149ae;
  color: white;
  padding: 2px 7px;
}
.record-actions {
  border-top: 1px solid #eef0f3;
  padding-top: 6px;
}
.record-actions button,
.record-actions a {
  padding: 4px 5px;
  font-size: 12px;
  margin: 0;
}
.record p:empty {
  display: none;
}
.library-layout #records {
  align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
}
.filters strong {
  margin-right: auto;
}
@media (max-width: 750px) {
  .library-side {
    display: flex;
    margin-bottom: 12px;
  }
  .library-side > button,
  .library-side .muted,
  .library-side > strong {
    display: none;
  }
  .library-side > button[data-platform="facebook"] {
    display: flex;
  }
  .dashboard-page nav .brand {
    font-size: 15px;
  }
}
.auth-page > header,
.auth-page > footer {
  display: none;
}
.auth-area {
  min-height: 100vh;
  background: #f7f9fb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.auth {
  width: min(440px, 100%);
  padding: 36px 40px;
  border-radius: 14px;
}
.auth-top,
.auth-label,
.code-row,
.auth-or,
.auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-top {
  margin-bottom: 20px;
}
.auth-top .brand small {
  display: none;
}
.auth-top .navbtn {
  margin-left: auto;
  font-size: 12px;
}
.auth h1 {
  font-size: 20px;
  margin-bottom: 4px;
}
.auth label input {
  height: 42px;
}
.auth-label {
  justify-content: space-between;
  font-size: 12px;
  color: #707a8b;
}
.auth .terms {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 400;
}
.auth .terms input {
  height: auto;
}
.auth button:disabled {
  cursor: default;
  opacity: 0.6;
}
.auth .btn {
  border-radius: 7px;
  margin: 6px 0;
}
.auth .status:empty {
  display: none;
}
.auth-or {
  justify-content: center;
  font-size: 12px;
  color: #8c94a2;
  margin: 14px 0;
}
.auth #google {
  display: block;
  width: 100%;
  color: #454a55;
  background: white;
  border: 1px solid #d4d9e0;
  border-radius: 5px;
}
.auth #google b {
  float: left;
  color: #4582ec;
}
.auth-other {
  margin: 18px 0 0;
  font-size: 13px;
}
.auth-links,
.auth-links a {
  font-size: 12px;
  color: #6b7280;
}
.code-row input {
  width: 0;
  flex: 1;
}
.code-row button {
  font-size: 12px;
  padding: 10px;
}
.auth .status {
  font-size: 12px;
}
.shared img,
.shared video {
  width: min(100%, 540px);
  height: auto;
  padding: 8px;
}
.dashboard-page nav .actions {
  gap: 8px;
}
.dashboard-page .dashboard {
  padding-top: 16px;
}
.dashboard-page nav .actions > * {
  font-size: 12px;
  padding: 7px 11px;
}
.dashboard #message:not(:empty) {
  margin: 0 0 10px;
}
.feature-dialog {
  width: min(620px, 96vw);
  max-height: 88vh;
  overflow: auto;
}
.dialog-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.dialog-title h2 {
  font-size: 18px;
}
.dialog-title > button {
  background: transparent;
  border: 0;
  font-size: 24px;
  padding: 0 5px;
}
.feature-dialog .member {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.member span {
  flex: 1;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.member select {
  font-size: 12px;
  max-width: 90px;
}
.feature-dialog input[readonly] {
  width: 100%;
  margin: 12px 0;
}
.tag-item {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.tag-item > input:first-child {
  min-width: 0;
  flex: 1;
}
.tag-item input[type="color"] {
  width: 46px;
  padding: 3px;
}
.feature-dialog form {
  padding-top: 12px;
}
.workspace-picker {
  position: relative;
}
.workspace-picker .menu {
  z-index: 20;
  width: 240px;
}
.workspace-picker .menu button {
  width: 100%;
  display: block;
  text-align: left;
  background: white;
  border: 0;
}
.workspace-picker small {
  font-size: 10px;
}
.ai-library-link {
  font-size: 12px;
  background: #f0edff;
  padding: 7px;
  border-radius: 6px;
}
.library-side .deep > select {
  display: block;
  width: 100%;
  margin: 8px 0;
  font-size: 12px;
}
.library-side .deep input {
  width: 100%;
}
.landing-archive {
  font-size: 11px;
  color: #6a7d84;
  margin: 6px 0;
}
.landing-archive button {
  padding: 2px;
  font-size: 10px;
}
.ai-page-body,
.pricing-body {
  max-width: 1220px;
  width: 94%;
  margin: 35px auto;
  min-height: 70vh;
}
.ai-page-body h1,
.pricing-body h1 {
  font-size: 30px;
}
.ai-page-body h2 {
  font-size: 18px;
}
.ai-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  min-height: 0;
  padding: 14px 0;
  margin: 18px 0 26px;
  border-bottom: 1px solid #e0e4ee;
  flex-wrap: wrap;
}
.ai-tabs a {
  font-size: 14px;
  color: #5c6780;
}
.ai-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 35px;
}
.ai-categories article,
.ai-form > article,
.ai-form > aside,
.analysis-recent,
.analysis-history {
  background: white;
  border: 1px solid #e1e5ee;
  border-radius: 12px;
  padding: 24px;
}
.ai-form {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.ai-form aside li {
  list-style: none;
  margin: 9px 0;
  font-size: 14px;
  color: #53627a;
}
.ai-form aside ul {
  padding: 0;
}
.ai-form label > input,
.ai-form label > select {
  width: 100%;
}
.ai-form aside > button {
  width: 100%;
  margin: 8px 0;
}
.ai-form textarea {
  min-height: 170px;
}
.ai-page-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 14px/1.8 system-ui;
}
.upload-zone {
  border: 2px dashed #d8dcee;
  border-radius: 12px;
  min-height: 100px;
  padding: 20px;
  text-align: center;
}
.image-previews {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.image-previews img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
}
.pricing-body {
  text-align: center;
}
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}
.pricing-body #plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.pricing-body #plans article {
  border: 1px solid #e1e4ee;
  background: white;
  padding: 30px;
  border-radius: 15px;
}
.plan-price {
  font-size: 38px;
  font-weight: 750;
  margin: 25px 0;
}
.plan-price small {
  font-size: 13px;
  color: #64748b;
  font-weight: 400;
}
.pricing-body li {
  list-style: none;
  margin: 14px 0;
  color: #56657b;
  font-size: 14px;
}
.pricing-body ul {
  padding: 0;
}
.pricing-body #plans button {
  width: 100%;
}
.pricing-body #plans article:nth-child(2) {
  border: 2px solid #6557e6;
}
.analysis-history {
  margin: 12px 0;
}
.analysis-history summary {
  display: block;
  background: none;
  border: 0;
  text-align: left;
}
.analysis-history button {
  margin-right: 9px;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
@media (max-width: 760px) {
  .ai-form,
  .ai-categories,
  .pricing-body #plans {
    grid-template-columns: 1fr;
  }
  .ai-tabs {
    gap: 12px;
  }
  .workspace-picker .menu {
    position: fixed;
    left: 5%;
    right: 5%;
    width: 90%;
    top: 90px;
  }
}
.dashboard-page {
  font:
    14px/1.5 "Helvetica Neue",
    Helvetica,
    "PingFang SC",
    Tahoma,
    Arial,
    sans-serif;
}
.dashboard-page .wrap {
  max-width: 1320px;
  width: calc(100% - 48px);
}
.dashboard-page header .wrap {
  max-width: 1480px;
  width: calc(100% - 48px);
}
.dashboard-page header nav {
  padding: 18px 0;
  min-height: 92px;
  align-items: center;
}
.dashboard-page header .brand small {
  font-size: 11px;
}
.dashboard-page header .actions {
  justify-content: flex-end;
  max-width: 78%;
}
.dashboard {
  padding-top: 32px;
}
.advanced-toolbar {
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  background: white;
  min-height: 64px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.advanced-toolbar h3 {
  font-size: 14px;
  margin: 0;
}
.advanced-toolbar .muted {
  font-size: 11px;
  margin: 0;
}
.advanced-toolbar .deep {
  position: static;
  margin-left: auto;
}
.advanced-toolbar .deep[open] {
  padding-top: 36px;
}
.advanced-toolbar .deep summary {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 12px;
  padding: 6px 11px;
}
.advanced-toolbar .deep[open] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}
.advanced-toolbar:has(.deep[open]) {
  flex-wrap: wrap;
}
.advanced-toolbar .deep label {
  margin: 0;
  font-size: 11px;
}
.advanced-toolbar .deep input,
.advanced-toolbar .deep select {
  width: 100%;
  font-size: 12px;
  height: 35px;
}
.library-layout {
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  gap: 24px;
}
.library-layout #records {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.record {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid #e0e4eb;
  padding: 0 !important;
}
.record-head {
  padding: 12px 14px 10px;
  border-radius: 17px 17px 0 0;
}
.record-head > small {
  font-size: 11px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.record .copy-id {
  font-size: 11px;
  margin-top: 8px;
}
.record .brand-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.record .brand-row h3 {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.brand-row a {
  color: #222e42;
}
.record .advertiser-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}
.record > .facts {
  margin: 0 12px;
  padding: 8px;
  font-size: 10px;
  flex-wrap: wrap;
}
.record .ad-copy {
  padding: 0 28px 0 14px;
  min-height: 94px;
}
.record .ad-copy > p {
  max-height: 75px;
  margin: 10px 0;
  overflow: auto;
  color: #273142;
}
.record .ad-copy button {
  right: 9px;
  top: 9px;
}
.record-media {
  border-radius: 0;
}
.record .record-media img,
.record .record-media video {
  height: 270px;
}
.record > p,
.record > .landing-archive,
.record > small {
  margin: 6px 12px;
  font-size: 11px;
}
.record-actions {
  margin: 8px 12px 12px;
  margin-top: auto;
  padding-top: 12px;
}
.library-side {
  border-radius: 14px;
  padding: 16px;
}
.account-picker .menu {
  z-index: 30;
  min-width: 230px;
}
.account-picker .menu p {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.account-picker .menu button {
  display: block;
  width: 100%;
  border: 0;
}
.dashboard-page .actions .workspace-picker summary {
  font-size: 12px;
}
.ai-page-body,
.pricing-body {
  max-width: 1320px;
}
@media (max-width: 1200px) {
  .library-layout {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .library-layout #records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .dashboard-page header .actions {
    max-width: 100%;
    justify-content: flex-start;
  }
  .library-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .library-layout #records {
    grid-template-columns: 1fr;
  }
  .advanced-toolbar .deep[open] {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .dashboard-page .wrap,
  .dashboard-page header .wrap {
    width: 94%;
  }
  .library-layout {
    display: block;
  }
  .library-layout #records {
    grid-template-columns: 1fr;
  }
  .advanced-toolbar {
    gap: 8px;
  }
  .advanced-toolbar .ai-library-link {
    font-size: 10px;
    margin-right: 78px;
  }
  .advanced-toolbar .deep[open] {
    grid-template-columns: 1fr 1fr;
  }
  .record .record-media img,
  .record .record-media video {
    height: 300px;
  }
}
.record {
  position: relative;
}
.select-ad {
  position: absolute;
  right: 9px;
  top: 10px;
  z-index: 2;
  width: 16px;
  height: 16px;
  opacity: 0;
}
.record:hover .select-ad,
.record:focus-within .select-ad,
.select-ad:checked {
  opacity: 1;
}
.batch-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 15px;
  background: white;
  border: 1px solid #e1e5ed;
  border-radius: 9px;
  padding: 9px;
  flex-wrap: wrap;
}
.batch-tools[hidden] {
  display: none;
}
.batch-tools span {
  font-size: 13px;
}
.batch-tools button {
  font-size: 12px;
  padding: 5px 8px;
}
#connect {
  display: none !important;
}
.upload-zone {
  cursor: pointer;
  font-weight: 700;
  color: #4b5271;
  align-content: center;
}
.upload-zone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.image-previews img {
  border: 1px solid #e4e8f2;
  background: white;
}
.ai-page .feature-status {
  font-size: 13px;
}
.ai-form input,
.ai-form select,
.ai-form textarea {
  font-weight: 400;
}
.ai-form label {
  font-size: 13px;
}
.analysis-history > pre {
  padding-top: 16px;
}
.auth-page { font: 14px/1.5 Inter,system-ui,-apple-system,sans-serif; color: #1e293b; background: #f8fafc; }
.auth-area { background: #f8fafc; padding: 32px 16px; gap: 24px; }
.auth { width: min(440px,100%); padding: 40px; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 10px 25px -5px #0000000d,0 8px 10px -6px #0000000d; }
.register-page .auth { width: min(460px,100%); }
.auth-top { gap: 8px; margin-bottom: 24px; white-space: nowrap; }
.auth-top .brand { gap: 8px; font-size: 24px; font-weight: 700; color: #212529; }
.auth-top .brand img { width: 26px; height: 26px; }
.auth-top small { color: #6c757d; font-size: 16px; }
.auth-top .navbtn { display: flex; align-items: center; gap: 3px; padding: 4px 8px; background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 50px; color: #212529; font-size: 12px; }
.auth-lang { position: relative; margin-left: auto; }
.auth-lang summary { font-weight: 400; list-style: none; }
.auth-lang summary::-webkit-details-marker { display: none; }
.auth-lang .menu { position: absolute; top: calc(100% + 4px); right: 0; min-width: 160px; padding: 8px 0; z-index: 20; background: white; border: 0; box-shadow: 0 8px 20px #0002; border-radius: 6px; }
.auth-lang .menu a { display: block; padding: 5px 16px; font-size: 14px; color: #212529; }
.auth-lang .menu a[aria-current] { background: #4f46e5; color: white; }
.auth-heading { margin-bottom: 24px; }
.auth-heading h1 { font-size: 20px; font-weight: 700; line-height: 24px; margin: 0 0 4px; color: #212529; }
.auth-heading p { font-size: 12.25px; color: #6c757d; line-height: 1.5; margin: 0 0 16px; }
.auth-field { position: relative; margin: 0; display: block; }
.auth-field > .bx { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6c757d; font-size: 16px; }
.auth-field input { width: 100%; height: 42px; padding: 8px 40px 8px 48px; border: 1px solid #dee2e6; border-radius: 8px; color: #212529; font-size: 16px; font-weight: 400; }
.auth-field input:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px #4f46e51a; outline: 0; }
.auth-email { position: relative; margin-bottom: 16px; }
.auth-password { margin-bottom: 24px; }
.auth-label { font-size: 12.25px; margin-bottom: 4px; line-height: 17px; }
.auth-label a,.auth-other a,.terms a { color: #4f46e5; font-weight: 600; }
.auth .code-row { margin: 0 0 16px; }
.auth .code-row input { height: 42px; padding: 8px 12px; font-size: 16px; }
.auth .code-row button { background: white; border: 1px solid #6c757d; color: #6c757d; border-radius: 8px; padding: 8px 16px; height: 42px; font-size: 16px; font-weight: 400; }
.auth #password-visibility { position: absolute; right: 8px; top: 6px; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: #6c757d; font-size: 18px; }
.auth .terms { margin: -8px 0 32px; gap: 8px; flex-wrap: nowrap; font-size: 12.25px; }
.auth .terms input { width: 12.25px; height: 12.25px; flex-shrink: 0; margin: 0; accent-color: #4f46e5; }
.auth .btn.primary { height: 42px; margin: 0; padding: 8px 12px; border: 1px solid #4f46e5; border-radius: 8px; background: #4f46e5; font-size: 16px; font-weight: 700; box-shadow: none; }
.auth .btn.primary:hover { background: #4338ca; }
.auth .auth-or { margin: 16px 0; color: #6c757d; font-size: 12.25px; }
.auth .auth-or::before,.auth .auth-or::after { content: ''; flex: 1; height: 1px; background: #dee2e6; }
.auth #google { position: relative; height: 40px; font-size: 14px; font-weight: 500; padding: 8px 12px; border-color: #dadce0; }
.auth #google .bx { position: absolute; left: 12px; top: 10px; font-size: 18px; color: #4285f4; }
.auth-other { text-align: center; color: #6c757d; font-size: 12.25px; margin: 24px 0 0; }
.auth .status:not(:empty) { font-size: 12px; margin-top: 12px; }
.auth-links { display: block; text-align: center; font-size: 12px; line-height: 1.5; color: #6c757d; }
.auth-links a { margin: 0 5px; }
.email-domains { position: absolute; z-index: 10; top: 100%; left: 0; right: 0; max-height: 260px; overflow: auto; border: 1px solid #e2e8f0; border-radius: 8px; background: white; box-shadow: 0 6px 16px #0002; }
.email-domains small { display: block; padding: 6px 14px; color: #94a3b8; background: #f8fafc; }
.email-domains button { display: flex; justify-content: space-between; width: 100%; padding: 9px 14px; background: white; color: #334155; border: 0; border-radius: 0; font-size: 14px; font-weight: 400; }
.email-domains button:hover { background: #f1f5f9; }
.payment-result { box-sizing: border-box; width: min(480px, calc(100% - 32px)); margin: 64px auto; padding: 40px; text-align: center; background: #fff; border: 1px solid #e5e7ef; border-radius: 16px; box-shadow: 0 12px 36px #18203308; }
.payment-result-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #f1f3f8; color: #6b7280; font-size: 32px; }
.payment-result[data-paid=true] .payment-result-icon { background: #ecfdf5; color: #059669; }
.payment-result h1 { margin: 0 0 12px; font-size: 28px; color: #182033; }
.payment-result > p { font-size: 14px; line-height: 1.8; color: #64748b; }
.payment-result [data-payment-summary] { margin: 24px 0; text-align: left; font-size: 13px; }
.payment-result [data-payment-summary] p { display: flex; justify-content: space-between; gap: 16px; color: #64748b; }
.payment-result strong { color: #182033; }
.payment-result .btn { display: block; margin-top: 24px; padding: 12px; }
.payment-result small { display: block; margin-top: 16px; color: #94a3b8; font-size: 12px; }
@media(max-width:480px) { .payment-result { padding: 32px 24px; margin: 32px auto; } }
.payment-orders { max-width: 1100px; margin: 40px auto 0; text-align: left; overflow: auto; }
.payment-orders table { width: 100%; border-collapse: collapse; font-size: 13px; }
.payment-orders th,.payment-orders td { padding: 12px; border-bottom: 1px solid #e2e8f0; }
.payment-orders td:first-child { overflow-wrap: anywhere; }
@media(max-width:480px) { .auth { padding: 40px; } .auth-top { gap: 6px; } .auth-top .brand { font-size: 18px; gap: 6px; } .auth-top .brand img { width: 22px; height: 22px; } .auth-top small { font-size: 12px; white-space: normal; } .auth-top .navbtn { padding: 4px 5px; font-size: 11px; } }
