@charset "UTF-8";
:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #222538;
  background: #f6f7fb;
  font-synthesis: none;
  --accent: #7357e8;
  --accent-dark: #5d40cd;
  --muted: #788093;
  --line: #e9eaf1;
  --success: #218663;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 700;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
}
p.muted {
  margin-top: 9px;
}
.muted {
  color: var(--muted);
}
.small-text {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.9px;
  color: #9296a8;
  margin-bottom: 10px;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}
button svg {
  pointer-events: none;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 12px 20px;
  border: 2px solid var(--accent);
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid #b6a6fc;
  outline-offset: 3px;
}
input,
select,
textarea {
  border: 1px solid #dfe2eb;
  background: #fff;
  border-radius: 8px;
  min-height: 43px;
  color: #2e3346;
  max-width: 100%;
  padding: 10px 12px;
  width: 100%;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
  color: #a3a8b7;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #a58eea;
  box-shadow: 0 0 0 3px #7357e815;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  min-height: 16px;
  height: 16px;
  flex-shrink: 0;
  box-shadow: none;
}
input[type="file"] {
  font-size: 12px;
  padding: 8px;
}
input[type="file"]::file-selector-button {
  font: inherit;
  background: #f1eefc;
  color: var(--accent);
  border: 0;
  border-radius: 5px;
  padding: 6px 9px;
  margin-right: 9px;
  cursor: pointer;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #454b60;
  margin-bottom: 7px;
}
select {
  cursor: pointer;
}
form > .field,
form > .fields-grid {
  margin-bottom: 19px;
}
.field-help {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 7px;
}
.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fields-grid .field {
  min-width: 0;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 450;
  margin: 14px 0;
}
.secret-field {
  display: flex;
  align-items: center;
  border: 1px solid #dfe2eb;
  border-radius: 8px;
  padding-right: 5px;
  background: white;
}
.secret-field:focus-within {
  border-color: #a58eea;
  box-shadow: 0 0 0 3px #7357e815;
}
.secret-field input {
  border: 0;
  box-shadow: none;
  min-width: 0;
}
.secret-field input:focus {
  box-shadow: none;
}
.secret-field .button {
  flex-shrink: 0;
}
.form-error {
  font-size: 12px;
  color: #b54747;
  background: #fff3f3;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
  white-space: pre-wrap;
}
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid #e0e2eb;
  border-radius: 8px;
  background: #fff;
  color: #4a5064;
  padding: 11px 16px;
  min-height: 41px;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #f5f3fd;
  color: var(--accent);
}
.button:active {
  transform: translateY(1px);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 3px 7px #7357e81a;
}
.button.primary:hover {
  background: var(--accent-dark);
}
.button.danger {
  color: #ba4646;
  border-color: #f0cccc;
  background: #fff7f7;
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.button.small {
  font-size: 11px;
  min-height: 34px;
  padding: 8px 11px;
}
.button.compact {
  font-size: 11px;
  min-height: 30px;
  padding: 6px 8px;
}
.button.full {
  width: 100%;
}
.button svg {
  width: 16px;
  height: 16px;
}
.button-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.danger-text {
  color: #ba4646 !important;
}
.icon-button {
  background: transparent;
  border: 0;
  width: 34px;
  height: 34px;
  padding: 7px;
  color: #9298a8;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #f0edf9;
  color: var(--accent);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.text-link {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.text-link span {
  margin-left: 4px;
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #45b68d;
  flex-shrink: 0;
}
.brand-mark {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(140deg, #a393f4, #7357e8);
  font-size: 25px;
  font-weight: 700;
  line-height: 33px;
  text-align: center;
  letter-spacing: -3px;
  padding-right: 4px;
  flex-shrink: 0;
}
.brand-mark span {
  opacity: 0.75;
}
.brand-mark.large {
  width: 49px;
  height: 49px;
  font-size: 35px;
  line-height: 48px;
  border-radius: 14px;
  margin-bottom: 35px;
}
.connect-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  background: #fff;
}
.connect-card {
  width: 100%;
  max-width: 505px;
  padding: 64px 46px;
  margin: auto;
}
.connect-card h1 {
  font-size: 31px;
}
.connect-card > p.muted {
  font-size: 13px;
  line-height: 1.75;
  margin-top: 17px;
  max-width: 350px;
}
.connect-card form {
  margin-top: 33px;
}
.connect-card .full {
  margin-top: 20px;
}
.connect-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #969bad;
  font-size: 10px;
  margin-top: 40px;
}
.connect-art {
  background: radial-gradient(
    ellipse at 45% 50%,
    #d6cafa,
    #ede8fc 50%,
    #f6f3fd
  );
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-orbit {
  position: absolute;
  border: 1px solid #7357e819;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 650px;
  height: 650px;
}
.art-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffffeb;
  border: 1px solid #fff;
  border-radius: 18px;
  padding: 27px 25px;
  box-shadow: 0 25px 80px #7357e820;
  max-width: 90%;
  transform: rotate(-5deg);
}
.art-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #dfd6fb;
  border-radius: 50%;
  color: var(--accent);
  font-size: 19px;
  font-weight: 600;
  flex-shrink: 0;
}
.art-card strong {
  font-size: 14px;
}
.art-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.art-check {
  background: #e2f5ed;
  color: var(--success);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-left: 10px;
}
.art-mini {
  position: absolute;
  top: calc(50% + 115px);
  font-size: 11px;
  color: #74638f;
  background: #ffffffa0;
  border-radius: 30px;
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.workspace {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  background: #1e2033;
  color: #a4a7bb;
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 2px 12px 45px;
  color: #f5f4fc;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.brand:hover {
  color: #fff;
}
.brand-caption {
  font-size: 7px;
  font-weight: 550;
  color: #9395ae;
  letter-spacing: 1.6px;
  display: block;
  margin-top: 2px;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: #666b87;
  margin: 0 14px 14px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  min-height: 43px;
}
.sidebar nav a svg {
  width: 17px;
  height: 17px;
}
.sidebar nav a:hover {
  color: white;
  background: #ffffff07;
}
.sidebar nav a.active {
  background: #7357e8;
  color: #fff;
  box-shadow: 0 4px 13px #00000010;
}
.nav-count {
  margin-left: auto;
  font-size: 9px;
  background: #ffffff14;
  border-radius: 5px;
  padding: 2px 6px;
}
.sidebar-note {
  margin: 50px 10px 24px;
  border: 1px solid #ffffff0a;
  background: #ffffff03;
  border-radius: 12px;
  padding: 17px 14px;
}
.note-icon {
  color: #ac98f5;
  margin-bottom: 11px;
}
.note-icon svg {
  width: 19px;
  height: 19px;
}
.sidebar-note strong {
  display: block;
  color: #d8d8e8;
  font-size: 11px;
  font-weight: 550;
}
.sidebar-note p {
  font-size: 10px;
  color: #82869f;
  line-height: 1.8;
  margin-top: 6px;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #ffffff0c;
  padding: 18px 5px 0;
  margin-top: auto;
  font-size: 9px;
  color: #8289a1;
}
.sidebar-bottom .status-dot {
  width: 5px;
  height: 5px;
}
.sidebar-bottom .icon-button {
  margin-left: auto;
  color: #777f99;
}
.main-shell {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  gap: 15px;
}
.topbar-left,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 19px;
}
.breadcrumb {
  font-size: 11px;
  color: #9a9fb1;
}
.breadcrumb span {
  padding: 0 12px;
  color: #c3c6d2;
}
.breadcrumb strong {
  font-weight: 500;
  color: #51586e;
}
.connection-badge {
  font-size: 10px;
  color: #687485;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.owner-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #ece8fa;
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
  display: grid;
  place-items: center;
}
.mobile-only {
  display: none;
}
.sidebar-backdrop {
  display: none;
}
main {
  max-width: 1510px;
  margin: auto;
  padding: 35px 38px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 29px;
}
.page-heading .muted {
  font-size: 12px;
}
.page-heading .eyebrow {
  margin-bottom: 8px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 8px #242b4302;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 24px;
  border-bottom: 1px solid #f0f1f6;
}
.card-heading p,
.section-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.card-heading h2 {
  font-size: 14px;
}
.card-heading.inline {
  padding: 0 0 20px;
  margin-bottom: 22px;
}
.card-heading.inline > [data-icon] {
  color: var(--accent);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.metric-card {
  padding: 21px 21px 17px;
}
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: 10px;
  font-weight: 550;
  color: #737b91;
}
.metric-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f2eefc;
  color: #8e76df;
}
.metric-icon svg {
  width: 16px;
  height: 16px;
}
.metric-number {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -1.4px;
  margin-top: 13px;
  line-height: 1.2;
}
.metric-foot {
  font-size: 9px;
  color: #9298a9;
  margin-top: 10px;
}
.metric-foot strong {
  color: var(--success);
  font-weight: 550;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.row-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 24px;
  border-bottom: 1px solid #f1f2f7;
  min-width: 0;
}
.row-item:last-child {
  border: 0;
}
.row-main {
  min-width: 0;
  flex: 1;
}
.row-main strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-main p {
  font-size: 9px;
  color: #939aad;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row-item .badge {
  margin-left: auto;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f1eefc;
  color: #8a73d0;
  font-weight: 650;
  font-size: 12px;
  flex-shrink: 0;
}
.avatar.small {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  font-size: 10px;
}
.avatar.mint {
  background: #eaf5f0;
  color: #548d78;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 550;
  border-radius: 5px;
  padding: 4px 7px;
  white-space: nowrap;
  background: #f1f2f7;
  color: #81889d;
  line-height: 1.5;
}
.badge.success {
  background: #eaf7f0;
  color: #2f9370;
}
.badge.warning {
  background: #fff5e5;
  color: #b78a31;
}
.badge.danger {
  background: #fff0f0;
  color: #bf6060;
}
.badge.info {
  background: #eeebfb;
  color: #8d74d5;
}
.badge.neutral {
  background: #f1f2f7;
  color: #7e8599;
}
.empty {
  padding: 43px 22px;
  text-align: center;
  color: #9097aa;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #f6f4fc;
  color: #a697d0;
  margin-bottom: 13px;
}
.empty h3 {
  font-size: 12px;
  color: #626a81;
  margin-bottom: 6px;
}
.empty p {
  font-size: 11px;
  max-width: 300px;
  margin: 0 auto 17px;
}
.empty .button {
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  font-size: 11px;
}
th {
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #939aad;
  font-weight: 550;
  background: #fafbfe;
  padding: 13px 24px;
  border-bottom: 1px solid #f0f1f7;
}
td {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f1f7;
  color: #788197;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #50596f;
  font-weight: 550;
}
td .cell-sub {
  font-size: 9px;
  display: block;
  margin-top: 4px;
  color: #9ba2b1;
}
td .cell-link {
  font: inherit;
  color: #50596f;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
td .cell-link:hover {
  color: var(--accent);
}
.cell-avatar {
  display: flex;
  align-items: center;
  gap: 9px;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 23px;
  font-size: 10px;
  border-top: 1px solid #f0f1f7;
  min-height: 40px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 17px 23px;
  border-bottom: 1px solid var(--line);
}
.toolbar select {
  min-height: 35px;
  padding: 7px 10px;
  width: auto;
  font-size: 11px;
  max-width: 100%;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  margin-right: auto;
  min-width: 180px;
}
.search-field svg {
  width: 16px;
  height: 16px;
  color: #9ca2b5;
}
.search-field input {
  border: 0;
  font-size: 11px;
  box-shadow: none;
  min-height: 32px;
  padding: 6px;
}
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.account-card {
  padding: 23px;
}
.account-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.account-heading .badge {
  margin-top: 5px;
}
.account-heading h2 {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.account-heading .icon-button {
  margin-left: auto;
}
.account-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.account-stats span {
  display: block;
  font-size: 9px;
  color: #9299ab;
  margin-bottom: 4px;
}
.account-stats strong {
  font-size: 13px;
  font-weight: 600;
}
.account-info {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 15px 0;
  color: #8e96aa;
  font-size: 9px;
}
.account-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.account-info svg {
  width: 12px;
  height: 12px;
}
.account-card .button-group {
  margin-top: 20px;
}
.account-error {
  font-size: 10px;
  color: #b87155;
  background: #fff9f0;
  border-radius: 6px;
  padding: 9px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #e6e8f1;
  margin-bottom: 24px;
}
.tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 550;
  color: #8e95a9;
  padding: 0 2px 12px;
}
.tab.active {
  border-color: var(--accent);
  color: var(--accent);
}
.compose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 25px;
  align-items: start;
}
.form-card {
  padding: 27px;
}
.section-heading {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0 0 21px;
}
.section-heading:not(:first-child) {
  margin-top: 29px;
}
.section-heading h2 {
  font-size: 13px;
}
.step-number {
  display: grid;
  place-items: center;
  background: #f1edfc;
  color: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.segmented {
  display: flex;
  gap: 7px;
  margin-bottom: 17px;
}
.segmented label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid #e6e7ef;
  border-radius: 7px;
  padding: 9px 12px;
  margin: 0;
}
.segmented label:has(input:checked) {
  background: #f6f3ff;
  border-color: #c9bcf4;
  color: var(--accent);
}
.segmented input {
  width: 12px;
  height: 12px;
  min-height: 12px;
}
.preview-card {
  padding: 25px;
}
.preview-phone {
  border: 1px solid #ececf4;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 20px;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px;
  background: #fff;
  border-bottom: 1px solid #f1f2f8;
}
.preview-header strong {
  display: block;
  font-size: 11px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-header span:not(.avatar):not(.preview-dots) {
  display: block;
  color: #9ba2b1;
  font-size: 9px;
}
.preview-dots {
  color: #868b9c;
  font-size: 10px;
  margin-left: auto;
  letter-spacing: 2px;
}
.preview-chat {
  padding: 27px 14px 35px;
  min-height: 190px;
  background: linear-gradient(#fcfbff, #f8f6ff);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.message-bubble {
  background: #eee8fd;
  color: #7867a3;
  border-radius: 12px 12px 3px 12px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 94%;
}
.preview-chat img {
  max-width: 100%;
  max-height: 260px;
  border-radius: 10px;
  object-fit: contain;
}
.preview-bottom {
  background: #fff;
  padding: 14px;
  font-size: 9px;
  color: #b4b8c5;
}
.preview-card > .field-help {
  text-align: center;
  margin-top: 17px;
}
.inline-result {
  font-size: 11px;
  line-height: 1.7;
  border-radius: 8px;
  background: #f4f0ff;
  color: #7862bb;
  padding: 12px;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.suppression-list {
  margin-top: 23px;
  border-top: 1px solid var(--line);
  max-height: 330px;
  overflow: auto;
}
.suppression-list .row-item {
  padding: 13px 0;
}
.connection-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 26px;
}
.connection-settings h2 {
  font-size: 13px;
}
.connection-settings .muted {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.notice {
  padding: 15px 18px;
  border: 1px solid #f0e4c7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 11px;
  background: #fffaef;
  color: #a7843c;
}
.notice > div {
  flex: 1;
}
.notice strong {
  display: block;
  font-size: 12px;
}
.notice span:not([data-icon]) {
  display: block;
  margin-top: 3px;
}
.notice.danger {
  background: #fff3f3;
  border-color: #f1dada;
  color: #ba6262;
}
.notice.warning .button {
  background: #fff9e9;
  border-color: #ecddb8;
  color: #a4823d;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  color: #a7adbc;
  margin-top: 28px;
}
.modal {
  border: 1px solid #e7e6f0;
  border-radius: 17px;
  padding: 0;
  width: 500px;
  max-width: calc(100vw - 32px);
  max-height: 90dvh;
  color: #3a4056;
  background: #fff;
  box-shadow: 0 30px 120px #1c173d35;
}
.modal::backdrop {
  background: #1d1b33a0;
  backdrop-filter: blur(3px);
}
.modal.wide {
  width: 790px;
}
.modal-heading {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}
.modal-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
}
.modal-heading h2 {
  font-size: 20px;
}
#modal-content {
  padding: 24px 27px;
}
.modal-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 23px;
  line-height: 1.8;
}
.modal .form-footer {
  margin-bottom: 0;
}
.account-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 210px;
  overflow: auto;
}
.account-option {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #e5e5ef;
  padding: 11px;
  border-radius: 7px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  min-width: 0;
}
.account-option:has(input:checked) {
  border-color: #b8a6ef;
  background: #faf8ff;
}
.account-option span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-option .badge {
  margin-left: auto;
  font-size: 8px;
}
.campaign-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.campaign-layout > div {
  min-width: 0;
}
.campaign-layout label {
  font-size: 11px;
}
.campaign-layout .field {
  margin-bottom: 17px;
}
.import-summary {
  font-size: 10px;
  line-height: 1.8;
  padding: 10px;
  border: 1px dashed #ddd6f5;
  border-radius: 7px;
  color: #8274aa;
  margin: 8px 0;
  white-space: pre-wrap;
}
.import-summary.invalid {
  border-color: #e9b9b9;
  color: #b65a5a;
  background: #fff5f5;
}
.campaign-preview {
  background: #f8f6ff;
  padding: 14px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 180px;
  overflow: auto;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-bottom: 22px;
}
.details-grid dt {
  font-size: 10px;
  color: #9aa1b2;
  margin-bottom: 4px;
}
.details-grid dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.details-full {
  grid-column: 1/-1;
}
.detail-id {
  font:
    10px ui-monospace,
    monospace;
  color: #8c93a5;
  overflow-wrap: anywhere;
}
.detail-note {
  font-size: 11px;
  background: #faf7ef;
  border: 1px solid #f0e7d3;
  border-radius: 8px;
  padding: 12px 14px;
  color: #a18655;
  margin: 16px 0;
  line-height: 1.8;
}
.detail-message {
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f7f8fc;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}
.progress-counts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.progress-bar {
  height: 5px;
  background: #efedf8;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar > span {
  display: block;
  height: 100%;
  background: #a28ee5;
  max-width: 100%;
}
.toast-region {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(390px, calc(100vw - 40px));
  z-index: 100;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 5px 30px #23243d1a;
  background: #fff;
  border: 1px solid #e7e4f2;
  border-left: 3px solid var(--accent);
  border-radius: 9px;
  padding: 14px 16px;
  animation: slide-in 0.2s ease;
}
.toast.error {
  border-left-color: #d16b6b;
}
.toast > span {
  flex: 1;
}
.toast button {
  border: 0;
  background: none;
  color: #a1a5b4;
  font-size: 18px;
  padding: 0 2px;
}
.inbox-results {
  margin-top: 24px;
}
.inbox-item {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.inbox-item strong {
  font-size: 12px;
}
.inbox-item p {
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #868ea3;
  margin-top: 5px;
}
.loading {
  animation: pulse 1s ease-in-out infinite;
}
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff50;
  border-top-color: currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.busy-indicator {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  padding: 12px 0;
}
.busy-indicator .spinner {
  border-color: #e6dffa;
  border-top-color: var(--accent);
}
.content-wide {
  grid-column: 1/-1;
}
.stack-gap {
  margin-top: 17px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@keyframes slide-in {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 1550px) {
  main {
    padding-top: 46px;
  }
  .metrics-grid {
    gap: 24px;
  }
  .metric-card {
    padding: 26px;
  }
  .overview-grid {
    grid-template-columns: 1.55fr 1fr;
  }
  .sidebar-note {
    margin-top: 70px;
  }
}
@media (max-width: 1150px) {
  .workspace {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .sidebar {
    width: 206px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .brand {
    margin-left: 9px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 29px 25px 20px;
  }
  .metrics-grid {
    gap: 12px;
  }
  .metric-card {
    padding: 17px;
  }
  .metric-top {
    font-size: 9px;
  }
  .overview-grid {
    gap: 18px;
  }
  .card-heading {
    padding: 20px;
  }
  .row-item {
    padding: 16px 20px;
  }
  th,
  td {
    padding-left: 20px;
    padding-right: 20px;
  }
  .accounts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compose-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
    gap: 18px;
  }
  .form-card,
  .preview-card {
    padding: 22px;
  }
  .fields-grid {
    gap: 12px;
  }
  .form-footer .small-text {
    max-width: 140px;
  }
  .settings-grid {
    gap: 18px;
  }
  .connection-settings {
    flex-wrap: wrap;
  }
  .sidebar-note {
    margin-top: 35px;
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 26px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric-card {
    padding: 20px;
  }
  .metric-top {
    font-size: 10px;
  }
  .compose-grid {
    grid-template-columns: 1fr;
  }
  .preview-card {
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .connection-badge {
    display: none;
  }
  .topbar-actions {
    gap: 10px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb span {
    padding: 0 7px;
  }
  .connect-card {
    padding: 45px 30px;
  }
  .connect-card h1 {
    font-size: 28px;
  }
  .art-card {
    padding: 20px;
    gap: 10px;
  }
  .art-check {
    display: none;
  }
  .art-avatar {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .art-card strong {
    font-size: 12px;
  }
  .art-card p {
    font-size: 10px;
    max-width: 160px;
  }
}
@media (max-width: 700px) {
  .workspace {
    display: block;
  }
  .main-shell {
    width: 100%;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 228px;
  }
  .workspace.menu-open .sidebar {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 19;
    background: #17182775;
    border: 0;
    padding: 0;
  }
  .workspace.menu-open .sidebar-backdrop {
    display: block;
  }
  .mobile-only {
    display: inline-flex;
  }
  .topbar {
    height: 62px;
    padding: 0 17px;
  }
  .topbar-left {
    gap: 10px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb > span,
  .breadcrumb {
    color: transparent;
  }
  .breadcrumb strong {
    color: #70788d;
    position: relative;
    margin-left: -98px;
  }
  .topbar-actions {
    gap: 8px;
  }
  .owner-avatar {
    width: 27px;
    height: 27px;
    font-size: 9px;
  }
  .topbar .badge {
    font-size: 8px;
  }
  main {
    padding: 25px 18px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 23px;
    flex-wrap: wrap;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading .muted {
    font-size: 11px;
    max-width: 290px;
  }
  .page-heading > .button {
    font-size: 11px;
    min-height: 36px;
    padding: 9px 11px;
  }
  .metrics-grid {
    gap: 12px;
    margin-bottom: 18px;
  }
  .metric-card {
    padding: 17px 15px;
  }
  .metric-number {
    font-size: 28px;
  }
  .metric-icon {
    width: 27px;
    height: 27px;
  }
  .metric-foot {
    font-size: 8px;
  }
  .overview-grid {
    gap: 18px;
    margin-bottom: 18px;
  }
  .card-heading {
    padding: 19px 17px;
  }
  .card-heading h2 {
    font-size: 13px;
  }
  .card-heading p {
    font-size: 9px;
  }
  .row-item {
    padding: 15px 17px;
  }
  .text-link {
    font-size: 10px;
  }
  .accounts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .account-card {
    padding: 21px;
  }
  .account-card .button {
    font-size: 11px;
  }
  .fields-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .form-card,
  .preview-card {
    padding: 21px;
  }
  .form-footer {
    gap: 9px;
    flex-wrap: wrap;
  }
  .form-footer .small-text {
    max-width: none;
    font-size: 10px;
  }
  .form-footer .button {
    font-size: 11px;
  }
  .toolbar {
    padding: 14px;
    gap: 9px;
  }
  .toolbar select {
    flex: 1;
    min-width: 110px;
  }
  .search-field {
    width: 100%;
  }
  th,
  td {
    padding: 14px 17px;
  }
  .table-footer {
    padding: 12px 17px;
  }
  .page-footer {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .connection-settings {
    padding: 21px;
  }
  .connection-settings .button-group {
    gap: 6px;
  }
  .connection-settings .button {
    font-size: 10px;
    padding: 9px;
  }
  .notice {
    flex-wrap: wrap;
    padding: 13px;
    font-size: 10px;
    gap: 10px;
  }
  .notice > div {
    min-width: 210px;
  }
  .notice strong {
    font-size: 11px;
  }
  .notice > .button {
    margin-left: 30px;
  }
  .modal {
    max-width: calc(100vw - 20px);
    max-height: 94dvh;
    border-radius: 12px;
  }
  .modal-heading {
    padding: 19px 21px;
  }
  .modal-heading h2 {
    font-size: 18px;
  }
  #modal-content {
    padding: 21px;
  }
  .campaign-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .campaign-layout .fields-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-options {
    grid-template-columns: 1fr;
  }
  .details-grid {
    gap: 17px;
  }
  .connect-screen {
    display: block;
    background: radial-gradient(ellipse at top right, #f1ecff, #fff 55%);
  }
  .connect-card {
    max-width: 450px;
    padding: 50px 30px;
  }
  .connect-card h1 {
    font-size: 29px;
  }
  .connect-card > p.muted {
    font-size: 12px;
  }
  .connect-art {
    display: none;
  }
  .connect-footer {
    margin-top: 32px;
  }
  .toast-region {
    bottom: 18px;
    right: 18px;
  }
  .tabs {
    margin-bottom: 20px;
  }
  .settings-grid {
    margin-bottom: 18px;
  }
  .art-orbit {
    display: none;
  }
  .sidebar-note {
    margin-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
