.app-demo {
  position: fixed;
  inset: 0;
  width: min(1240px, calc(100vw - 48px));
  max-width: none;
  height: min(820px, calc(100dvh - 48px));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #dce2e9;
  border-radius: 8px;
  overflow: hidden;
  color: #17212f;
  background: #f6f7f9;
  font: 14px/1.45 Manrope, Arial, sans-serif;
}
.app-demo::backdrop {
  background: rgb(15 24 37 / 58%);
  backdrop-filter: blur(3px);
}
.app-demo * {
  box-sizing: border-box;
  letter-spacing: 0;
}
.app-demo button,
.app-demo input,
.app-demo textarea,
.app-demo select {
  font: inherit;
}
.app-demo button {
  color: inherit;
  cursor: pointer;
}
.app-demo button:focus-visible,
.app-demo input:focus-visible,
.app-demo textarea:focus-visible,
.app-demo select:focus-visible {
  outline: 3px solid rgb(28 103 225 / 35%);
  outline-offset: 2px;
}
.app-demo svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}
.ad-workspace {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ad-environment {
  min-height: 28px;
  padding: 5px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: white;
  background: #994916;
  font-size: 11px;
  font-weight: 700;
}
.ad-environment > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.ad-environment svg {
  width: 13px;
  height: 13px;
}
.ad-app-shell {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}
.ad-sidebar {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid #e1e5ea;
  background: #fff;
}
.ad-brand {
  height: 68px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  border-bottom: 1px solid #e9edf1;
  color: #263548;
}
.ad-brand img {
  width: 29px;
  height: 32px;
  object-fit: contain;
}
.ad-brand span,
.ad-tenant > span:nth-child(2),
.ad-account > span:nth-child(2) {
  display: grid;
  line-height: 1.25;
}
.ad-brand strong {
  font-size: 15px;
}
.ad-brand small,
.ad-tenant small,
.ad-account small {
  color: #778291;
  font-size: 10px;
}
.ad-side-label {
  padding: 20px 18px 9px;
  color: #727c89;
  font-size: 9px;
  font-weight: 800;
}
.ad-tenant {
  margin: 0 10px 3px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border: 1px solid #e9edf1;
  border-radius: 5px;
}
.ad-tenant > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.ad-tenant strong,
.ad-account strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-tenant > svg {
  width: 14px;
  height: 14px;
  color: #738090;
}
.ad-tenant-mark,
.ad-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #2361bb;
  background: #e9f1ff;
  font-size: 10px;
  font-weight: 800;
}
.ad-sidebar nav {
  display: grid;
  gap: 2px;
  padding: 0 9px;
}
.ad-nav-item {
  min-height: 36px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  text-align: left;
  color: #354355 !important;
  background: transparent;
  font-size: 11px !important;
  font-weight: 600;
}
.ad-nav-item:hover,
.ad-nav-item.is-current {
  color: #205fca !important;
  background: #edf3fd;
}
.ad-nav-item > svg {
  width: 16px;
  height: 16px;
  color: #778493;
}
.ad-nav-item.is-current > svg {
  color: #236bd6;
}
.ad-nav-current {
  width: 3px;
  height: 21px;
  margin-left: auto;
  border-radius: 2px;
  background: #2468d2;
}
.ad-side-separator {
  height: 1px;
  margin: 17px 17px 0;
  background: #e9edf1;
}
.ad-side-workspace {
  padding: 0 18px 9px;
  font-size: 11px;
  font-weight: 700;
}
.ad-account {
  min-height: 52px;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-top: 1px solid #e9edf1;
}
.ad-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ad-topbar {
  height: 62px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 24px;
  border-bottom: 1px solid #e1e5ea;
  background: #fff;
}
.ad-crumb,
.ad-top-actions,
.ad-page-heading,
.ad-editor-actions,
.ad-editor-heading,
.ad-canvas-heading,
.ad-template-card footer,
.ad-device-toggle,
.ad-assignment-modal header,
.ad-assignment-modal footer {
  display: flex;
  align-items: center;
}
.ad-crumb {
  min-width: 0;
  gap: 12px;
  color: #667282;
  font-size: 12px;
}
.ad-crumb strong,
.ad-crumb > span:last-child {
  overflow: hidden;
  color: #263548;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-top-actions {
  gap: 8px;
}
.ad-main-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
}
.ad-icon-button,
.ad-quiet-button,
.ad-primary-button,
.ad-device-toggle button,
.ad-back-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #d9dee5;
  border-radius: 5px;
  background: #fff;
  font-size: 11px !important;
  font-weight: 700;
  white-space: nowrap;
}
.ad-icon-button {
  width: 36px;
  padding: 0;
}
.ad-quiet-button:hover,
.ad-icon-button:hover {
  background: #f4f6f8;
}
.ad-primary-button {
  border-color: #246bd5;
  color: white !important;
  background: #246bd5;
}
.ad-primary-button:hover {
  background: #175abf;
}
.ad-primary-button:disabled {
  cursor: default;
  opacity: .48;
}
.ad-playback {
  position: sticky;
  z-index: 5;
  top: 0;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 24px;
  border-bottom: 1px solid #cfdcf1;
  background: #edf4ff;
}
.ad-playback-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 12px;
  align-items: center;
}
.ad-playback-copy strong {
  color: #224f8c;
  font-size: 10px;
}
.ad-playback-copy p {
  overflow: hidden;
  color: #35475c;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-playback-copy > span {
  color: #536477;
  font-size: 10px;
}
.ad-playback progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 3px;
  accent-color: #246bd5;
}
.ad-playback-actions {
  display: flex;
  gap: 6px;
}
.ad-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 28px 48px;
}
.ad-page-heading {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.ad-page-heading h1,
.ad-starting h1 {
  color: #172335;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 750;
}
.ad-page-heading p,
.ad-assignment-modal > p {
  margin-top: 7px;
  color: #667282;
  font-size: 12px;
}
.ad-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #758191;
  font-size: 9px;
  font-weight: 800;
}
.ad-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ad-stat {
  min-height: 135px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid #dfe4ea;
  border-radius: 6px;
  text-align: left;
  background: #fff;
}
.ad-stat:hover {
  border-color: #83a9e2;
}
.ad-stat > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5c6877;
  font-size: 11px;
  font-weight: 700;
}
.ad-stat > span svg {
  color: #2769c9;
}
.ad-stat > strong {
  font-size: 27px;
  line-height: 1;
}
.ad-stat small {
  color: #7a8593;
  font-size: 10px;
}
.ad-library-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  color: #778392;
  font-size: 10px;
}
.ad-search {
  width: min(360px, 65%);
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #d9dee5;
  border-radius: 5px;
  background: white;
}
.ad-search svg {
  color: #798696;
  width: 15px;
}
.ad-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}
.ad-template-list {
  display: grid;
  gap: 10px;
}
.ad-template-card {
  min-height: 162px;
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.4fr);
  overflow: hidden;
  border: 1px solid #dfe4ea;
  border-radius: 6px;
  background: white;
}
.ad-template-preview {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 18px 22px;
  border-right: 1px solid #e7ebf0;
  background: #fbfcfd;
  color: #485365;
  font-size: 10px;
}
.ad-template-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: #26364b;
}
.ad-template-brand img {
  width: 18px;
  height: 20px;
  object-fit: contain;
}
.ad-template-brand strong,
.ad-template-preview > strong {
  font-size: 12px;
}
.ad-template-divider {
  width: 70%;
  height: 2px;
  margin: 2px 0;
  background: #2271d1;
}
.ad-template-preview small {
  color: #697687;
}
.ad-template-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 17px 19px 13px;
}
.ad-template-info > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ad-template-info h2 {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-status {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 3px;
  color: #277149;
  background: #e8f5ed;
  font-size: 9px;
  font-weight: 700;
}
.ad-template-info p,
.ad-template-info > small {
  margin-top: 9px;
  color: #616e7d;
  font-size: 10px;
}
.ad-template-info > small {
  margin-top: 3px;
}
.ad-template-info footer {
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
}
.ad-template-updated {
  color: #7b8693;
  font-size: 9px;
}
.ad-template-new {
  border-color: #8aaddd;
  box-shadow: inset 3px 0 #256bd0;
}
.ad-starting {
  max-width: 1050px;
  margin: 0 auto;
  padding: 22px 28px 42px;
}
.ad-back-link {
  min-height: 30px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: #536274 !important;
  background: transparent;
}
.ad-back-link svg {
  width: 15px;
}
.ad-starting h1 {
  margin-bottom: 21px;
}
.ad-start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ad-start-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  text-align: center;
  background: white;
}
.ad-start-card:hover:not(.ad-start-disabled) {
  border-color: #7ea5de;
  box-shadow: 0 2px 8px rgb(30 60 100 / 8%);
}
.ad-start-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px dashed #aab9cd;
  border-radius: 50%;
  color: #2268cb;
}
.ad-start-card > strong {
  color: #233448;
  font-size: 16px;
}
.ad-start-card > small {
  margin-top: 5px;
  color: #717d8a;
  font-size: 11px;
}
.ad-start-card > p {
  max-width: 280px;
  margin-top: 9px;
  color: #737f8d;
  font-size: 10px;
}
.ad-start-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  color: #2266c4;
  font-size: 10px;
  font-weight: 700;
}
.ad-start-action svg {
  width: 13px;
}
.ad-start-disabled {
  cursor: default !important;
  background: #fbfcfd;
}
.ad-start-disabled .ad-start-symbol {
  border: 0;
  border-radius: 7px;
  color: white;
  background: #24394d;
  font-size: 11px;
  font-weight: 800;
}
.ad-sample-layouts {
  margin-top: 28px;
}
.ad-sample-layouts h2 {
  margin-bottom: 12px;
  color: #334256;
  font-size: 14px;
}
.ad-sample-layouts > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ad-sample-layouts article {
  min-height: 68px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-content: center;
  gap: 3px 9px;
  padding: 10px 12px;
  border: 1px solid #e1e5ea;
  border-radius: 5px;
  background: white;
}
.ad-sample-layouts article > svg {
  grid-row: span 2;
  align-self: center;
  color: #246bd0;
}
.ad-sample-layouts article strong {
  font-size: 10px;
}
.ad-sample-layouts article small {
  color: #788391;
  font-size: 9px;
}
.ad-editor-page {
  min-width: 0;
  padding: 19px 20px 24px;
}
.ad-editor-heading {
  min-height: 62px;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding: 0 2px 12px;
  border-bottom: 1px solid #e0e5eb;
}
.ad-editor-heading > div:first-child {
  min-width: 160px;
}
.ad-editor-heading .ad-eyebrow {
  margin-bottom: 3px;
  font-size: 8px;
}
.ad-name-input {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #2d3a4a;
  font-size: 12px;
  font-weight: 700;
}
.ad-name-input input {
  width: 140px;
  padding: 0;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font-weight: inherit;
}
.ad-name-input svg {
  width: 13px;
  color: #6f7b89;
}
.ad-draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9b5b1e;
  font-size: 9px;
  font-weight: 700;
}
.ad-draft-badge svg {
  width: 13px;
}
.ad-editor-actions {
  flex-wrap: wrap;
  gap: 5px;
  margin-left: auto;
}
.ad-editor-actions .ad-icon-button,
.ad-editor-actions .ad-quiet-button,
.ad-editor-actions .ad-primary-button {
  min-height: 32px;
  font-size: 9px !important;
}
.ad-editor-actions .ad-icon-button {
  width: 32px;
}
.ad-editor-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(154px, 195px) minmax(280px, 1fr) minmax(160px, 205px);
  gap: 11px;
  align-items: start;
}
.ad-toolbox,
.ad-canvas-panel,
.ad-properties {
  min-width: 0;
  border: 1px solid #dfe4e9;
  border-radius: 5px;
  background: white;
}
.ad-panel-heading {
  display: grid;
  gap: 4px;
  padding: 13px 12px;
  border-bottom: 1px solid #e8ebef;
}
.ad-panel-heading > strong {
  color: #2e3b4b;
  font-size: 12px;
}
.ad-panel-heading > small {
  color: #748090;
  font-size: 9px;
}
.ad-tool-group {
  display: grid;
  gap: 3px;
  padding: 11px 8px 9px;
  border-bottom: 1px solid #eceff2;
}
.ad-tool-group > span {
  padding: 0 4px 5px;
  color: #788391;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.ad-tool-block {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: left;
  background: white;
  font-size: 9px !important;
  font-weight: 650;
}
.ad-tool-block > svg:last-child {
  width: 13px;
  margin-left: auto;
  color: #31845e;
}
.ad-tool-block:hover:not(:disabled) {
  border-color: #ccdaed;
  background: #f7faff;
}
.ad-tool-block:disabled {
  cursor: default;
  color: #788391;
}
.ad-tool-block > svg:first-child {
  width: 16px;
  color: #526d90;
}
.ad-tool-block > span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #276bd0;
  background: #eff4fc;
}
.ad-tool-block > span:first-child svg {
  width: 14px;
  height: 14px;
}
.ad-canvas-panel {
  overflow: hidden;
}
.ad-canvas-heading {
  min-height: 51px;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-bottom: 1px solid #e4e8ed;
}
.ad-canvas-heading > div:first-child {
  display: grid;
  gap: 2px;
}
.ad-canvas-heading strong {
  font-size: 11px;
}
.ad-canvas-heading small {
  color: #788391;
  font-size: 8px;
}
.ad-device-toggle {
  padding: 2px;
  border: 1px solid #e0e5ea;
  border-radius: 5px;
  background: #f7f8fa;
}
.ad-device-toggle button {
  min-height: 25px;
  padding: 0 7px;
  border: 0;
  background: transparent;
  font-size: 8px !important;
}
.ad-device-toggle button svg {
  width: 13px;
  height: 13px;
}
.ad-device-toggle button.is-selected {
  color: #2165c5;
  background: white;
  box-shadow: 0 1px 3px rgb(20 35 50 / 12%);
}
.ad-canvas {
  min-height: 410px;
  padding: 12px;
  background: #f7f8fa;
}
.ad-canvas-toolbar {
  min-height: 29px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 7px;
  border: 1px solid #e1e5ea;
  border-radius: 4px 4px 0 0;
  color: #748090;
  background: #fff;
  font-size: 8px;
}
.ad-canvas-toolbar button:not(.ad-icon-button) {
  margin-left: auto;
  border: 0;
  color: #5f6e7f;
  background: transparent;
  font-size: 8px;
}
.ad-canvas-toolbar .ad-icon-button {
  width: 22px;
  min-height: 22px;
  border: 0;
}
.ad-canvas-toolbar .ad-icon-button svg {
  width: 13px;
}
.ad-canvas-column {
  min-height: 365px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: -1px;
  padding: 20px 11px 13px;
  border: 1px dashed #8eadd5;
  border-radius: 0 0 4px 4px;
  background: #fff;
}
.ad-column-label {
  position: absolute;
  top: 4px;
  left: 9px;
  color: #8792a0;
  font-size: 8px;
}
.ad-canvas-empty {
  min-height: 310px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: #8894a2;
  font-size: 10px;
}
.ad-canvas-empty svg {
  color: #4c7fc2;
}
.ad-canvas-block {
  position: relative;
  min-height: 49px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid #e3e7ec;
  border-radius: 4px;
  text-align: left;
  background: white;
  font-size: 10px !important;
}
.ad-canvas-block.is-selected {
  border-color: #93acd0;
  box-shadow: 0 0 0 1px rgb(62 114 179 / 13%);
}
.ad-block-type {
  color: #8290a0;
  font-size: 8px;
  font-weight: 700;
}
.ad-edit-block {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #2868be;
  font-size: 8px;
  font-weight: 700;
}
.ad-block-content {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4c5867;
}
.ad-canvas-logo {
  width: 27px;
  height: 30px;
  object-fit: contain;
}
.ad-canvas-identity {
  display: grid;
  gap: 1px;
  color: #26364b;
}
.ad-canvas-identity strong {
  font-size: 12px;
}
.ad-canvas-identity span {
  color: #5d6876;
  font-size: 10px;
}
.ad-canvas-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.ad-canvas-contact > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow-wrap: anywhere;
  font-size: 9px;
}
.ad-canvas-contact svg {
  width: 12px;
  height: 12px;
  color: #276bc7;
}
.ad-canvas-signoff {
  color: #4e5a68;
}
.ad-properties {
  display: grid;
  gap: 10px;
  padding-bottom: 12px;
}
.ad-properties .ad-panel-heading {
  padding-top: 15px;
  padding-bottom: 12px;
}
.ad-property-section {
  padding: 0 11px;
  color: #667384;
  font-size: 9px;
  font-weight: 800;
}
.ad-properties > label:not(.ad-checkbox) {
  display: grid;
  gap: 5px;
  padding: 0 11px;
  color: #677484;
  font-size: 9px;
  font-weight: 650;
}
.ad-properties input:not([type="checkbox"]),
.ad-properties textarea,
.ad-properties select {
  width: 100%;
  min-height: 31px;
  padding: 6px 7px;
  border: 1px solid #dfe4ea;
  border-radius: 4px;
  color: #596779;
  background: #fff;
  font-size: 9px;
}
.ad-properties textarea {
  min-height: 58px;
  resize: none;
}
.ad-variable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 10px;
}
.ad-variable-list button {
  padding: 4px 5px;
  border: 1px solid #dfe6ef;
  border-radius: 3px;
  color: #49627f;
  background: #f7f9fc;
  font-size: 8px !important;
}
.ad-color-options {
  display: flex;
  gap: 7px;
  padding: 0 11px;
}
.ad-color-options button {
  width: 20px;
  height: 20px;
  border: 2px solid white;
  border-radius: 50%;
  background: #2871d4;
  box-shadow: 0 0 0 1px #d5dbe3;
}
.ad-color-options button:nth-child(2) {
  background: #27815f;
}
.ad-color-options button:nth-child(3) {
  background: #344255;
}
.ad-color-options button.is-selected {
  box-shadow: 0 0 0 2px #4c7ec1;
}
.ad-size-input {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #75808e;
}
.ad-checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #657283;
  font-size: 9px;
}
.ad-checkbox input,
.ad-group-option input {
  accent-color: #246bd5;
}
.ad-modal-scrim {
  position: fixed;
  z-index: 8;
  inset: 28px 0 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(21 31 43 / 34%);
}
.ad-assignment-modal {
  width: min(480px, 100%);
  padding: 22px;
  border: 1px solid #dfe4ea;
  border-radius: 6px;
  background: white;
  box-shadow: 0 14px 45px rgb(16 30 48 / 20%);
}
.ad-assignment-modal header {
  justify-content: space-between;
  gap: 16px;
}
.ad-assignment-modal h2 {
  font-size: 18px;
  line-height: 1.3;
}
.ad-group-option {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 11px;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  cursor: pointer;
}
.ad-group-option:has(input:checked) {
  border-color: #78a0d6;
  background: #f4f8fe;
}
.ad-group-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #2868bd;
  background: #eaf2ff;
}
.ad-group-option > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.ad-group-option strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.ad-group-option small {
  color: #758191;
  font-size: 9px;
}
.ad-selected-count {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  color: #34805d;
  font-size: 9px;
}
.ad-selected-count svg {
  width: 14px;
}
.ad-assignment-modal footer {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e7ebef;
}
.ad-toast {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  margin-bottom: 13px;
  border: 1px solid #cfe4d7;
  border-radius: 5px;
  color: #286946;
  background: #f1faf4;
  box-shadow: none;
}
.ad-toast > span {
  display: grid;
  gap: 2px;
}
.ad-toast strong {
  font-size: 10px;
}
.ad-toast small {
  color: #5b7465;
  font-size: 9px;
}
.ad-pointer {
  position: fixed;
  z-index: 30;
  display: none;
  color: #151e2c;
  filter: drop-shadow(0 2px 4px rgb(15 24 37 / 45%));
  pointer-events: none;
  transition: left .65s ease, top .65s ease, transform .12s ease;
}
.ad-pointer::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid white;
  border-radius: 50%;
  background: rgb(35 107 213 / 24%);
  box-shadow: 0 0 0 1px #1d62b7;
  content: "";
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ad-pointer.is-visible {
  display: block;
}
.ad-pointer.is-clicking {
  transform: scale(.9);
}
.ad-pointer.is-clicking::before {
  transform: scale(1.45);
  background: rgb(35 107 213 / 42%);
  box-shadow: 0 0 0 4px rgb(35 107 213 / 24%);
}
.ad-pointer.is-dragging {
  transform: scale(.92);
}
.ad-pointer svg {
  position: relative;
  width: 32px;
  height: 32px;
  fill: white;
  stroke: #101828;
  stroke-width: 2.2;
}
.ad-canvas-column.ad-drop-target {
  border-color: #78a0d6;
  outline: 2px dashed rgb(35 107 213 / 55%);
  outline-offset: -5px;
  background: #f7faff;
}
.ad-canvas-column.ad-drop-destination {
  outline-style: solid;
  background: #edf5ff;
}
.ad-drag-ghost {
  position: fixed;
  z-index: 31;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 220px;
  padding: 6px 10px;
  border: 1px solid #93b7e8;
  border-radius: 5px;
  color: #204b80;
  background: #fff;
  box-shadow: 0 7px 18px rgb(20 39 65 / 20%);
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  transform: translate(-8px, -8px);
  transition: left .8s cubic-bezier(.2, .75, .25, 1), top .8s cubic-bezier(.2, .75, .25, 1), transform .35s ease;
}
.ad-drag-ghost.is-moving {
  transform: translate(10px, 10px) rotate(-2deg);
}
.ad-guided-highlight {
  outline: 3px solid rgb(36 107 213 / 30%) !important;
  outline-offset: 2px;
}
.ad-action-flash {
  box-shadow: 0 0 0 3px rgb(36 107 213 / 24%);
}
@media (max-width: 1120px) {
  .ad-app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .ad-editor-grid {
    grid-template-columns: minmax(135px, 160px) minmax(260px, 1fr);
  }
  .ad-properties {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding: 0 0 11px;
  }
  .ad-properties .ad-panel-heading {
    grid-column: 1 / -1;
  }
  .ad-property-section {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .app-demo {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    border-radius: 6px;
  }
  .ad-environment {
    justify-content: flex-start;
    min-height: 31px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 9px;
  }
  .ad-environment > span {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 8px;
  }
  .ad-app-shell {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .ad-brand {
    height: 58px;
    justify-content: center;
    padding: 8px;
  }
  .ad-brand > span,
  .ad-side-label,
  .ad-tenant > span:nth-child(2),
  .ad-tenant > svg,
  .ad-side-workspace,
  .ad-nav-item > span,
  .ad-side-separator,
  .ad-account > span:nth-child(2) {
    display: none;
  }
  .ad-tenant {
    justify-content: center;
    margin: 7px 5px;
    padding: 5px 0;
    border: 0;
  }
  .ad-sidebar nav {
    padding: 0 6px;
  }
  .ad-nav-item {
    justify-content: center;
    padding: 0;
  }
  .ad-nav-item > svg {
    width: 18px;
    height: 18px;
  }
  .ad-account {
    justify-content: center;
    padding: 8px 4px;
  }
  .ad-topbar {
    height: 52px;
    padding: 0 10px;
  }
  .ad-crumb {
    gap: 6px;
    font-size: 10px;
  }
  .ad-top-actions {
    gap: 4px;
  }
  .ad-top-actions .ad-quiet-button {
    width: 32px;
    min-height: 32px;
    overflow: hidden;
    padding: 0 7px;
    font-size: 0 !important;
  }
  .ad-top-actions .ad-icon-button {
    width: 32px;
    min-height: 32px;
  }
  .ad-playback {
    min-height: 70px;
    gap: 7px;
    padding: 8px 10px;
  }
  .ad-playback-copy {
    gap: 1px 6px;
  }
  .ad-playback-copy p {
    font-size: 10px;
  }
  .ad-playback-actions {
    gap: 4px;
  }
  .ad-playback-actions .ad-icon-button {
    width: 32px;
    min-height: 32px;
  }
  .ad-page {
    padding: 20px 12px 35px;
  }
  .ad-page-heading {
    align-items: flex-start;
  }
  .ad-page-heading h1,
  .ad-starting h1 {
    font-size: 20px;
  }
  .ad-overview-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ad-stat {
    min-height: 94px;
  }
  .ad-template-card {
    grid-template-columns: 1fr;
  }
  .ad-template-preview {
    min-height: 125px;
    border-right: 0;
    border-bottom: 1px solid #e7ebf0;
  }
  .ad-starting {
    padding: 16px 12px 30px;
  }
  .ad-start-grid,
  .ad-sample-layouts > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ad-start-card {
    min-height: 210px;
  }
  .ad-editor-page {
    padding: 12px 9px 24px;
  }
  .ad-editor-heading {
    justify-content: flex-start;
    gap: 8px;
  }
  .ad-editor-heading > div:first-child {
    min-width: 120px;
  }
  .ad-editor-actions {
    width: 100%;
    margin: 0;
  }
  .ad-editor-grid {
    grid-template-columns: 1fr;
  }
  .ad-toolbox {
    display: flex;
    overflow-x: auto;
  }
  .ad-toolbox .ad-panel-heading {
    min-width: 120px;
    border-right: 1px solid #e8ebef;
    border-bottom: 0;
  }
  .ad-tool-group {
    min-width: max-content;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-content: center;
    border-right: 1px solid #eceff2;
    border-bottom: 0;
  }
  .ad-tool-group > span {
    grid-column: 1 / -1;
  }
  .ad-tool-block {
    min-width: 100px;
  }
  .ad-properties {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
  }
  .ad-properties .ad-panel-heading,
  .ad-property-section {
    grid-column: auto;
  }
  .ad-canvas {
    padding: 7px;
  }
  .ad-canvas-column {
    padding-right: 6px;
    padding-left: 6px;
  }
  .ad-canvas-contact {
    display: grid;
  }
  .ad-modal-scrim {
    padding: 11px;
  }
  .ad-assignment-modal {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ad-pointer {
    transition: none;
  }
}
