.demoApp {
  --demo-bg: #f0efe9;
  --demo-surface: #faf9f4;
  --demo-surface-2: #e8e6de;
  --demo-ink: #151515;
  --demo-muted: #73736d;
  --demo-line: rgba(21, 21, 21, .16);
  --demo-accent: #5d7cff;
  --demo-accent-ink: #fff;
  --demo-lime: #c8ff32;
  --demo-orange: #ff6b2c;
  min-height: 100vh;
  color: var(--demo-ink);
  background: var(--demo-bg);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  transition: color .45s ease, background .45s ease;
}

.demoApp[data-view="exotic"] {
  --demo-bg: #0b0812;
  --demo-surface: #15101f;
  --demo-surface-2: #20182d;
  --demo-ink: #f6f1ff;
  --demo-muted: #aaa1ba;
  --demo-line: rgba(246, 241, 255, .15);
  --demo-accent: #c8ff32;
  --demo-accent-ink: #0b0812;
  background:
    radial-gradient(circle at 12% 2%, rgba(115, 92, 255, .23), transparent 29rem),
    radial-gradient(circle at 88% 24%, rgba(255, 107, 44, .12), transparent 31rem),
    var(--demo-bg);
}

.demoApp ::selection {
  color: #fff;
  background: #315fce;
  text-shadow: 0 1px 0 rgba(7, 29, 83, .35);
}

.demoApp[data-view="exotic"] ::selection {
  color: #0b0812;
  background: #c8ff32;
  text-shadow: 1px 1px 0 #7257ff;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .demoApp,
  .demoApp :where(*) {
    cursor: url("/cursor-classic.svg") 4 3, auto;
  }

  .demoApp[data-view="exotic"],
  .demoApp[data-view="exotic"] :where(*) {
    cursor: url("/cursor-exotic.svg") 16 16, crosshair;
  }

  .demoApp :is(a, button, summary, label, select, [role="button"]),
  .demoApp :is(input[type="button"], input[type="submit"], input[type="checkbox"], input[type="radio"]) {
    cursor: url("/cursor-classic-active.svg") 5 4, pointer;
  }

  .demoApp[data-view="exotic"] :is(a, button, summary, label, select, [role="button"]),
  .demoApp[data-view="exotic"] :is(input[type="button"], input[type="submit"], input[type="checkbox"], input[type="radio"]) {
    cursor: url("/cursor-exotic-active.svg") 16 16, pointer;
  }

  .demoApp :is(input[type="text"], input[type="email"], input[type="search"], textarea, [contenteditable="true"]) {
    cursor: text;
  }

  .demoApp :is(button, input, select):disabled {
    cursor: not-allowed;
  }
}

.demoApp button,
.demoApp input,
.demoApp select {
  font: inherit;
}

.demoApp button,
.demoApp a {
  -webkit-tap-highlight-color: transparent;
}

.demoApp button:focus-visible,
.demoApp input:focus-visible,
.demoApp select:focus-visible,
.demoApp a:focus-visible {
  outline: 2px solid var(--demo-accent);
  outline-offset: 3px;
}

.demoAmbient {
  display: none;
}

[data-view="exotic"] .demoAmbient {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(black, transparent 90%);
}

.demoTopbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 58px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--demo-line);
  background: color-mix(in srgb, var(--demo-bg) 88%, transparent);
  backdrop-filter: blur(20px) saturate(1.3);
}

.demoBack {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.demoBack:hover {
  color: var(--demo-ink);
  transform: translateX(-3px);
}

.demoBack span {
  color: var(--demo-accent);
  font-size: 17px;
}

.demoIdentity {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.demoIdentity span {
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.demoIdentity strong {
  font-size: 13px;
  letter-spacing: -.02em;
}

.demoControls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.demoSwitch {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--demo-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--demo-surface) 70%, transparent);
}

.demoSwitch button,
.demoSwitch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: var(--demo-muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.demoSwitch button.isActive,
.demoSwitch a.isActive {
  color: var(--demo-accent-ink);
  background: var(--demo-accent);
}

.demoLanguage a {
  padding-inline: 8px;
}

.demoStage {
  position: relative;
  z-index: 2;
  width: min(1520px, 100%);
  margin: 0 auto;
  padding: clamp(46px, 7vw, 90px) clamp(18px, 4vw, 58px) 48px;
}

.demoIntro {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: 40px;
}

.demoEyebrow,
.panelKicker {
  margin: 0 0 12px;
  color: var(--demo-accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.demoIntro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(39px, 5.5vw, 82px);
  line-height: .96;
  letter-spacing: -.06em;
}

.demoIntro > p {
  margin: 0;
  color: var(--demo-muted);
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.6;
}

.demoPanel {
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: 18px;
  background: var(--demo-surface);
  box-shadow: 0 30px 90px rgba(21, 21, 21, .1);
}

[data-view="exotic"] .demoPanel {
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 28px 28px 0 rgba(115, 92, 255, .12);
}

[data-view="exotic"] .demoIntro h1 {
  text-transform: uppercase;
  text-shadow: -6px 5px 0 rgba(115, 92, 255, .52);
}

[data-view="exotic"] .demoIntro::after {
  content: "DEMO / LIVE";
  position: absolute;
  top: 38px;
  right: clamp(18px, 4vw, 58px);
  color: rgba(246,241,255,.14);
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(42px, 7vw, 110px);
  font-weight: 900;
  letter-spacing: -.08em;
  pointer-events: none;
}

.panelHeader {
  min-height: 78px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--demo-line);
}

.panelHeader h2 {
  margin: 2px 0 0;
  font-size: 16px;
  letter-spacing: -.025em;
}

.panelHeader small {
  display: block;
  margin-top: 4px;
  color: var(--demo-muted);
  font-size: 10px;
}

.panelKicker {
  display: block;
  margin: 0;
  font-size: 7px;
}

.panelNumber {
  color: var(--demo-accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.demoDisclaimer {
  position: relative;
  z-index: 2;
  padding: 0 18px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: .05em;
  text-align: center;
}

.demoDisclaimer span {
  color: var(--demo-accent);
}

.demoDisclaimer p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.demoLegalLinks {
  display: flex;
  gap: 16px;
}

.demoLegalLinks a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Chatbot */
.chatWorkspace {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
}

.chatColumn {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--demo-line);
}

.person,
.online {
  display: flex;
  align-items: center;
}

.person {
  gap: 11px;
}

.avatar,
.messageAvatar {
  display: grid;
  place-items: center;
  color: var(--demo-accent-ink);
  background: var(--demo-accent);
  font-weight: 850;
}

.avatar {
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.person strong,
.person small {
  display: block;
}

.person strong {
  font-size: 13px;
}

.person small {
  margin-top: 3px;
  color: var(--demo-muted);
  font-size: 9px;
}

.online {
  gap: 7px;
  color: var(--demo-muted);
  font-size: 10px;
}

.online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fc88d;
  box-shadow: 0 0 0 4px rgba(79,200,141,.12);
}

.conversation {
  flex: 1;
  overflow: auto;
  padding: 24px clamp(15px, 2.5vw, 28px) 32px;
}

.dayLine {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dayLine::before,
.dayLine::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--demo-line);
}

.message {
  margin: 0 0 13px;
  display: flex;
  align-items: end;
  gap: 8px;
  animation: demoMessageIn .35s ease both;
}

.messageAvatar {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 7px;
  font-size: 9px;
}

.message p {
  max-width: min(78%, 520px);
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--demo-line);
  border-radius: 13px 13px 13px 4px;
  background: var(--demo-surface-2);
  font-size: 12px;
  line-height: 1.55;
}

.userMessage {
  justify-content: flex-end;
}

.userMessage p {
  color: var(--demo-accent-ink);
  border-color: transparent;
  border-radius: 13px 13px 4px 13px;
  background: var(--demo-accent);
}

.choiceRow {
  margin: 3px 0 18px 33px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choiceRow button {
  min-height: 40px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--demo-accent) 45%, var(--demo-line));
  border-radius: 10px;
  color: var(--demo-ink);
  background: color-mix(in srgb, var(--demo-accent) 6%, var(--demo-surface));
  cursor: pointer;
  font-size: 11px;
  font-weight: 670;
  transition: transform .2s ease, background .2s ease;
}

.choiceRow button span {
  color: var(--demo-accent);
}

.choiceRow button:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--demo-accent) 14%, var(--demo-surface));
}

.leadForm {
  margin: 4px 0 18px 33px;
  max-width: 520px;
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--demo-surface-2) 70%, transparent);
}

.leadForm label span {
  display: block;
  margin: 0 0 6px;
  color: var(--demo-muted);
  font-size: 9px;
}

.leadForm input,
.crmCard input,
.crmCard select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--demo-ink);
  background: var(--demo-bg);
  font-size: 11px;
}

.leadForm button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: var(--demo-accent-ink);
  background: var(--demo-accent);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
}

.leadForm > small {
  align-self: center;
  color: var(--demo-muted);
  font-size: 8px;
  line-height: 1.4;
}

.handoffMessage {
  margin: 5px 0 20px 33px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--demo-accent) 45%, var(--demo-line));
  color: var(--demo-ink);
  background: color-mix(in srgb, var(--demo-accent) 10%, var(--demo-surface));
  font-size: 11px;
}

.handoffMessage span {
  color: var(--demo-accent);
}

.captureColumn {
  min-width: 0;
  padding-bottom: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--demo-accent) 7%, transparent), transparent 45%),
    var(--demo-surface);
}

.progressTrack {
  height: 4px;
  margin: 0 20px 22px;
  overflow: hidden;
  background: var(--demo-line);
}

.progressTrack i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--demo-accent), var(--demo-orange));
  transition: width .45s ease;
}

.captureList {
  margin: 0 20px;
  border: 1px solid var(--demo-line);
}

.captureList div {
  min-height: 66px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--demo-line);
}

.captureList div:last-child {
  border-bottom: 0;
}

.captureList dt {
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.captureList dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.handoffCard {
  margin: 18px 20px 0;
  padding: 20px;
  border: 1px solid var(--demo-line);
  color: var(--demo-ink);
  background: var(--demo-bg);
  animation: demoReveal .5s ease both;
}

.handoffCard h3 {
  margin: 6px 0 8px;
  font-size: 27px;
  letter-spacing: -.05em;
}

.handoffCard > p {
  margin: 0 0 16px;
  color: var(--demo-muted);
  font-size: 11px;
  line-height: 1.55;
}

.handoffCard div {
  padding: 12px;
  border-left: 3px solid var(--demo-accent);
  background: color-mix(in srgb, var(--demo-accent) 9%, transparent);
}

.handoffCard small,
.handoffCard div strong {
  display: block;
}

.handoffCard small {
  color: var(--demo-muted);
  font-size: 8px;
}

.handoffCard div strong {
  margin-top: 4px;
  font-size: 11px;
}

.handoffCard button {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border: 1px solid var(--demo-line);
  color: var(--demo-ink);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

/* Mail */
.mailWorkspace {
  min-height: 680px;
  display: grid;
  grid-template-columns: 190px 330px minmax(0, 1fr);
}

.folderColumn,
.messageColumn {
  min-width: 0;
  border-right: 1px solid var(--demo-line);
}

.folderColumn {
  padding: 19px 13px;
  display: flex;
  flex-direction: column;
}

.mailBrand {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mailBrand > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--demo-accent-ink);
  background: var(--demo-accent);
  font-weight: 850;
  letter-spacing: -.08em;
}

.mailBrand strong {
  font-size: 11px;
}

.folderColumn nav {
  display: grid;
  gap: 3px;
}

.folderColumn nav button {
  min-height: 39px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 7px;
  color: var(--demo-muted);
  background: transparent;
  text-align: left;
  font-size: 10px;
}

.folderColumn nav button span {
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
}

.folderColumn nav button.isActive {
  color: var(--demo-ink);
  background: color-mix(in srgb, var(--demo-accent) 11%, transparent);
  box-shadow: inset 3px 0 var(--demo-accent);
}

.folderColumn nav b {
  color: var(--demo-accent);
  font-size: 9px;
}

.storageMeter {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--demo-line);
}

.storageMeter small,
.storageMeter b {
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
}

.storageMeter i {
  height: 4px;
  margin: 8px 0;
  display: block;
  background: var(--demo-line);
}

.storageMeter i span {
  display: block;
  width: 57%;
  height: 100%;
  background: var(--demo-accent);
}

.storageMeter b {
  color: var(--demo-muted);
}

.messageColumn .panelHeader {
  background: color-mix(in srgb, var(--demo-surface) 88%, transparent);
}

.mailList {
  overflow: auto;
}

.mailItem {
  width: 100%;
  min-height: 112px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--demo-line);
  color: var(--demo-ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background .2s ease;
}

.mailItem:hover {
  background: color-mix(in srgb, var(--demo-accent) 6%, transparent);
}

.mailItem.isActive {
  background: color-mix(in srgb, var(--demo-accent) 14%, transparent);
  box-shadow: inset 3px 0 var(--demo-orange);
}

.mailInitials {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--demo-accent);
  background: color-mix(in srgb, var(--demo-accent) 11%, transparent);
  font-size: 9px;
  font-weight: 800;
}

.mailItem > span:last-child {
  min-width: 0;
}

.mailItem b,
.mailItem strong,
.mailItem small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailItem b {
  margin-bottom: 6px;
  font-size: 9px;
}

.mailItem time {
  float: right;
  color: var(--demo-muted);
  font-size: 8px;
}

.mailItem strong {
  margin-bottom: 5px;
  font-size: 11px;
}

.mailItem small {
  color: var(--demo-muted);
  font-size: 9px;
}

.readerColumn {
  min-width: 0;
  padding: 22px clamp(18px, 3vw, 34px) 34px;
  overflow: auto;
}

.readerHeader {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--demo-line);
}

.readerHeader h2 {
  margin: 5px 0 16px;
  font-size: clamp(20px, 2.4vw, 31px);
  letter-spacing: -.04em;
}

.readerHeader dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.readerHeader dl div {
  min-width: 0;
}

.readerHeader dt {
  margin-bottom: 3px;
  color: var(--demo-muted);
  font-size: 8px;
}

.readerHeader dd {
  margin: 0;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mailBody {
  max-width: 720px;
  min-height: 150px;
  margin: 0;
  padding: 24px 4px;
  color: var(--demo-muted);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-line;
}

.draftCard {
  border: 1px solid color-mix(in srgb, var(--demo-accent) 45%, var(--demo-line));
  background: color-mix(in srgb, var(--demo-accent) 6%, var(--demo-surface));
}

.draftCard > header {
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--demo-line);
}

.draftCard > header div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.draftCard > header span {
  color: var(--demo-accent);
}

.draftCard > header small {
  color: var(--demo-muted);
  font-size: 8px;
}

.toneSwitch {
  padding: 12px 14px 0;
  display: flex;
  gap: 6px;
}

.toneSwitch button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--demo-line);
  color: var(--demo-muted);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
}

.toneSwitch button.isActive {
  color: var(--demo-accent-ink);
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.draftCard > p {
  min-height: 145px;
  margin: 0;
  padding: 16px;
  font-size: 11px;
  line-height: 1.65;
  white-space: pre-line;
  animation: demoTypeIn .45s ease both;
}

.disabledAction {
  width: calc(100% - 28px);
  min-height: 39px;
  margin: 0 14px 14px;
  border: 1px solid var(--demo-line);
  color: var(--demo-muted);
  background: var(--demo-surface-2);
  font-size: 9px;
  cursor: not-allowed;
}

/* Real estate */
.propertyWorkspace {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) 104px minmax(480px, 1.18fr);
}

.crmColumn {
  min-width: 0;
  border-right: 1px solid var(--demo-line);
}

.crmList {
  max-height: 640px;
  padding: 14px;
  overflow: auto;
}

.crmCard {
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid var(--demo-line);
  background: color-mix(in srgb, var(--demo-surface-2) 45%, transparent);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.crmCard.isSyncing {
  border-color: var(--demo-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--demo-accent) 12%, transparent);
}

.crmMeta {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.crmMeta b,
.crmMeta span {
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.crmCard label > span {
  display: block;
  margin-bottom: 5px;
  color: var(--demo-muted);
  font-size: 8px;
}

.crmFields {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.addProperty {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px dashed color-mix(in srgb, var(--demo-accent) 60%, var(--demo-line));
  color: var(--demo-accent);
  background: color-mix(in srgb, var(--demo-accent) 7%, transparent);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.addProperty span {
  font-size: 19px;
}

.syncRail {
  min-width: 0;
  padding: 22px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--demo-line);
  background: var(--demo-bg);
}

.syncRail > strong {
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.syncRail.isRunning > strong {
  color: var(--demo-accent);
}

.syncFlow {
  margin: auto 0;
  display: grid;
  gap: 28px;
}

.syncFlow span {
  position: relative;
  width: 62px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
}

.syncFlow i {
  position: absolute;
  left: 8px;
  top: 19px;
  width: 1px;
  height: 26px;
  background: var(--demo-line);
}

.syncFlow span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--demo-line);
  background: var(--demo-bg);
}

.syncFlow span.isActive::before {
  border-color: var(--demo-accent);
  background: var(--demo-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--demo-accent) 65%, transparent);
  animation: syncPulse 1s ease-in-out infinite;
}

.syncFlow span.isDone::before {
  border-color: #4fc88d;
  background: #4fc88d;
}

.syncRail > small {
  max-width: 82px;
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
  overflow-wrap: anywhere;
  text-align: center;
}

.propertyPreview {
  min-width: 0;
  background: color-mix(in srgb, var(--demo-bg) 55%, var(--demo-surface));
}

.browserDots {
  display: flex;
  gap: 4px;
}

.browserDots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--demo-line);
}

.propertySite {
  max-height: 640px;
  padding-bottom: 18px;
  overflow: auto;
}

.propertySite > header {
  min-height: 145px;
  padding: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--demo-line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--demo-accent) 10%, transparent), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 47px, color-mix(in srgb, var(--demo-ink) 3%, transparent) 48px);
}

.propertySite > header span {
  color: var(--demo-accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.propertySite > header h3 {
  max-width: 480px;
  margin: 7px 0 0;
  font-size: clamp(24px, 3vw, 39px);
  line-height: 1;
  letter-spacing: -.05em;
}

.propertySite > header b {
  padding: 7px 9px;
  border: 1px solid var(--demo-line);
  color: var(--demo-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 7px;
  white-space: nowrap;
}

.propertyHeading {
  padding: 18px 22px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.propertyHeading h4 {
  margin: 0;
  font-size: 12px;
}

.propertyHeading span {
  color: var(--demo-muted);
  font-size: 9px;
}

.propertyGrid {
  padding: 0 22px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.propertyCard {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--demo-line);
  background: var(--demo-surface);
}

.propertyCard.isPublished {
  animation: propertyPublished .7s ease both;
}

.propertyImage {
  position: relative;
  height: 108px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,107,44,.13), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--demo-accent) 22%, #32313a), var(--demo-surface-2));
}

.propertyImage.variant2 {
  background:
    radial-gradient(circle at 78% 22%, rgba(115,92,255,.25), transparent 28%),
    linear-gradient(135deg, #2b293d, var(--demo-surface-2));
}

.propertyImage.variant3 {
  background:
    radial-gradient(circle at 30% 16%, rgba(200,255,50,.17), transparent 27%),
    linear-gradient(135deg, #283a33, var(--demo-surface-2));
}

.propertyImage::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -44%;
  width: 76%;
  height: 130%;
  border: 1px solid color-mix(in srgb, var(--demo-ink) 10%, transparent);
  transform: skewX(-13deg);
  background: repeating-linear-gradient(90deg, transparent 0 14%, color-mix(in srgb, var(--demo-accent) 10%, transparent) 14% 27%);
}

.propertyImage > span {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 5px 7px;
  border: 1px solid var(--demo-line);
  border-radius: 99px;
  color: var(--demo-ink);
  background: color-mix(in srgb, var(--demo-bg) 75%, transparent);
  font-size: 7px;
  font-weight: 750;
}

.propertyImage > span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 5px;
  display: inline-block;
  border-radius: 50%;
  background: #4fc88d;
}

.propertyImage > span[data-status="reserved"]::before {
  background: #e8b76b;
}

.propertyImage > span[data-status="sold"]::before {
  background: #f07878;
}

.propertyImage > i {
  position: relative;
  z-index: 1;
  color: color-mix(in srgb, var(--demo-ink) 20%, transparent);
  font-size: 38px;
  font-style: normal;
}

.propertyCard > div:last-child {
  padding: 11px;
}

.propertyCard > div:last-child > small {
  display: block;
  margin-bottom: 5px;
  color: var(--demo-accent);
  font-size: 7px;
  text-transform: uppercase;
}

.propertyCard h5 {
  min-height: 31px;
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}

.propertyCard p {
  margin: 8px 0;
  display: flex;
  gap: 7px;
  color: var(--demo-muted);
  font-size: 7px;
}

.propertyCard p span {
  width: 1px;
  background: var(--demo-line);
}

.propertyCard > div:last-child > strong {
  padding-top: 8px;
  display: block;
  border-top: 1px solid var(--demo-line);
  font-size: 10px;
}

.propertyCard > div:last-child > strong small {
  margin-left: 5px;
  color: var(--demo-muted);
  font-size: 6px;
  font-weight: 500;
}

.propertySite > .disabledAction {
  width: calc(100% - 44px);
  margin-inline: 22px;
}

@keyframes demoMessageIn {
  from { opacity: 0; transform: translateY(7px); }
}

@keyframes demoReveal {
  from { opacity: 0; transform: translateY(12px); }
}

@keyframes demoTypeIn {
  from { opacity: 0; transform: translate3d(0, 5px, 0); }
}

@keyframes syncPulse {
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--demo-accent) 0%, transparent); }
}

@keyframes propertyPublished {
  0% { border-color: var(--demo-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--demo-accent) 18%, transparent); transform: translateY(-5px); }
}

@media (max-width: 1050px) {
  .mailWorkspace {
    grid-template-columns: 150px 280px minmax(0, 1fr);
  }

  .propertyWorkspace {
    grid-template-columns: minmax(320px, .9fr) 82px minmax(390px, 1.1fr);
  }

  .propertyGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .demoTopbar {
    min-height: 70px;
    grid-template-columns: auto 1fr;
  }

  .demoIdentity {
    display: none;
  }

  .demoControls {
    justify-self: end;
  }

  .demoIntro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  [data-view="exotic"] .demoIntro::after {
    display: none;
  }

  .chatWorkspace,
  .mailWorkspace,
  .propertyWorkspace {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .chatColumn,
  .folderColumn,
  .messageColumn,
  .crmColumn,
  .syncRail {
    border-right: 0;
    border-bottom: 1px solid var(--demo-line);
  }

  .conversation {
    min-height: 600px;
  }

  .captureColumn {
    min-height: 490px;
  }

  .folderColumn {
    min-height: 155px;
  }

  .folderColumn nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .storageMeter {
    display: none;
  }

  .mailList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .mailItem {
    border-right: 1px solid var(--demo-line);
  }

  .readerColumn {
    min-height: 650px;
  }

  .syncRail {
    min-height: 120px;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }

  .syncFlow {
    margin: 0;
    grid-template-columns: repeat(3, 70px);
    gap: 8px;
  }

  .syncFlow i {
    top: 8px;
    left: 58px;
    width: 20px;
    height: 1px;
  }

  .crmList,
  .propertySite {
    max-height: none;
  }

  .propertyGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .demoApp,
  .demoStage,
  .demoIntro,
  .demoIntro > * {
    min-width: 0;
  }

  .demoTopbar {
    padding-inline: 12px;
    gap: 8px;
  }

  .demoBack {
    font-size: 0;
  }

  .demoBack span {
    font-size: 20px;
  }

  .demoControls {
    gap: 5px;
  }

  .demoSwitch {
    padding: 3px;
  }

  .demoSwitch button,
  .demoSwitch a {
    min-height: 28px;
    padding-inline: 8px;
    font-size: 7px;
  }

  .demoStage {
    padding: 38px 12px 30px;
  }

  .demoIntro h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1;
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  [data-view="exotic"] .demoIntro h1 {
    text-shadow: -3px 3px 0 rgba(115, 92, 255, .52);
  }

  .demoIntro > p {
    max-width: 100%;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .demoPanel {
    border-radius: 10px;
  }

  .leadForm {
    grid-template-columns: 1fr;
  }

  .mailList {
    grid-template-columns: 1fr;
  }

  .mailItem {
    min-height: 96px;
    border-right: 0;
  }

  .readerHeader dl {
    grid-template-columns: 1fr;
  }

  .propertyGrid {
    grid-template-columns: 1fr;
  }

  .propertyImage {
    height: 150px;
  }

  .propertySite > header {
    align-items: start;
    flex-direction: column;
  }

  .syncRail {
    align-items: start;
    flex-direction: column;
  }

  .demoDisclaimer {
    max-width: 100%;
    padding-inline: 12px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
  }

  .demoDisclaimer p,
  .demoLegalLinks {
    max-width: 100%;
  }

  .demoDisclaimer p {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

  .demoLegalLinks {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demoApp *,
  .demoApp *::before,
  .demoApp *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
