#demo {
  --wd-personal-top: #eee5f5;
  --wd-personal-bottom: #f9f4fa;
  --wd-business-top: #211b2c;
  --wd-business-bottom: #15121c;
  --wd-section-ink: #2b1d36;
  --wd-section-muted: #64536f;
  --wd-switch-bg: #f6f0f8;
  --wd-switch-line: #cebed9;
  --wd-choice-bg: #503568;
  --wd-choice-ink: #fff;
  isolation: isolate;
  position: relative;
  background: linear-gradient(var(--wd-personal-top), var(--wd-personal-bottom));
}
#demo[data-audience="business"] {
  --wd-section-ink: #faf4ff;
  --wd-section-muted: #ccbed9;
  --wd-switch-bg: #2e2739;
  --wd-switch-line: #594a68;
  --wd-choice-bg: #d7bcf5;
  --wd-choice-ink: #2d1d39;
  background: linear-gradient(var(--wd-business-top), var(--wd-business-bottom));
  border-bottom-color: #3a3047;
}
.wd-theme-pixels {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}
#demo .section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem 1rem;
  color: var(--wd-section-ink);
}
.wd-audience-switch {
  display: inline-flex;
  align-items: stretch;
  justify-self: start;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--wd-switch-line);
  border-radius: 12px;
  background: var(--wd-switch-bg);
}
.wd-audience-switch button {
  min-height: 44px;
  padding: .5rem .85rem;
  border: none;
  border-radius: 8px;
  color: var(--wd-section-muted);
  background: transparent;
  font: inherit;
  font-size: .94rem;
  font-weight: 650;
  cursor: pointer;
}
.wd-audience-switch button:hover { color: var(--wd-section-ink); }
.wd-audience-switch button[aria-pressed="true"] { color: var(--wd-choice-ink); background: var(--wd-choice-bg); }
.wd-audience-caption { grid-column: 1 / -1; margin: 0; color: var(--wd-section-muted); line-height: 1.45; }
#demo[data-audience="business"] :is(.wd-audience-switch button, .wd-demo-tab):focus-visible { outline: 2px solid #efd6ff; outline-offset: 3px; }
#demo[data-theme-playing] :is(#demo-title, .wd-audience-caption, .wd-case-copy h2, .wd-case-copy p) {
  color: #fff;
  mix-blend-mode: difference;
}

#demo-app {
  --wd-ink: var(--ink);
  --wd-muted: #675873;
  --wd-accent: var(--purple);
  --wd-border: #e3d7ea;
  --wd-soft: #f4edf8;
  --wd-page: #fdfafd;
  --wd-frame-width: min(1160px, calc(100% - var(--gutter) * 2));
  --wd-body-gutter: clamp(67px, 5.5vw, 88px);
  --wd-dock-width: clamp(85px, 8vw, 115px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "intro" "browser";
  row-gap: .85rem;
  color: var(--wd-ink);
}

#demo-app button { font-family: inherit; cursor: pointer; }
#demo-app :focus-visible { outline: 2px solid #6e38a9; outline-offset: 3px; }
.wd-icon { width: 1.2em; height: 1.2em; flex: none; }

.wd-demo-top { grid-area: intro; color: var(--wd-section-ink); }
.wd-demo-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.wd-demo-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--wd-border);
  border-radius: 9px;
  background: #fffdfd;
  color: var(--wd-accent);
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.wd-demo-tab .wd-icon { width: 22px; height: 22px; }
.wd-demo-tab:hover { border-color: #b491c9; background: #fdf9ff; }
.wd-demo-tab[aria-selected="true"] { color: #fff; border-color: #482c5a; background: #482c5a; }

.wd-case-description { display: grid; max-width: 49rem; min-height: 4.8rem; margin-top: .65rem; }
.wd-case-copy { grid-area: 1 / 1; }
.wd-case-copy[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.wd-case-description h2 {
  margin: 0 0 .3rem;
  font-size: clamp(1.14rem, 1.95vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.wd-case-description p { margin: 0; color: var(--wd-section-muted); line-height: 1.52; }
#demo[data-audience="business"] .wd-demo-tab {
  border-color: #584a69;
  background: #30263a;
  color: #d8c6e8;
}
#demo[data-audience="business"] .wd-demo-tab:hover { background: #45344f; border-color: #ae8dbf; }
#demo[data-audience="business"] .wd-demo-tab[aria-selected="true"] { border-color: #dbc3ef; background: #dbc3ef; color: #30203e; }

.wd-window, .wd-demo-controls.shell { grid-area: browser; width: var(--wd-frame-width); min-width: 0; margin-inline: auto; }
.wd-window, .wd-stage { touch-action: pan-y pinch-zoom; overscroll-behavior-x: contain; }
.wd-window {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: clamp(360px, calc(100svh - 265px), 690px);
  overflow: hidden;
  border: 1px solid #cebdd9;
  border-radius: 17px;
  background: var(--wd-page);
  box-shadow: 0 4px 0 #dfd0e84f, 0 12px 26px #36213e14;
}
.wd-window[data-swiping] { user-select: none; cursor: grabbing; }

.wd-chrome {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(46px, 1fr) minmax(0, 667px) minmax(112px, 1fr);
  gap: clamp(.45rem, 1.8vw, 1.6rem);
  align-items: center;
  min-height: 59px;
  padding: .55rem clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--wd-border);
  background: #f2eaf6;
  color: #604e6e;
  font-size: .875rem;
}
.wd-window-lights { display: flex; gap: .35rem; }
.wd-window-lights i { width: 8px; height: 8px; border-radius: 50%; background: #dbb8dc; }
.wd-window-lights i:nth-child(2) { background: #e7c59f; }
.wd-window-lights i:nth-child(3) { background: #cbb7ea; }
.wd-address {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  min-height: 34px;
  padding: .25rem .72rem;
  border: 1px solid #e0d4e8;
  border-radius: 8px;
  background: #fffdfd;
}
.wd-address > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: .65rem; min-width: 0; }
.wd-demo-label { color: #705483; font-size: .82rem; font-weight: 700; }
.wd-extension-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
}
.wd-extension-button img { border-radius: 5px; image-rendering: pixelated; }
.wd-extension-button:hover, .wd-extension-button[aria-expanded="true"] { background: #e6d5f3; border-color: #d8c4ec; }
.wd-extension-menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: clamp(16px, 3vw, 40px);
  width: min(260px, calc(100% - 30px));
  z-index: 2;
  padding: .9rem;
  border: 1px solid #ceb7e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px #35184a26;
}
.wd-extension-menu-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; color: var(--wd-ink); font-size: 1rem; }
.wd-extension-menu-title img { image-rendering: pixelated; }
.wd-extension-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  min-height: 40px;
  padding: .45rem .58rem;
  border: 0;
  border-radius: 7px;
  background: #f4ecfb;
  color: #502986;
  text-align: left;
  font-weight: 650;
}
.wd-extension-item + .wd-extension-item { margin-top: .35rem; }
.wd-extension-item:hover { background: #ead9f7; }

.wd-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden auto;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: #c6addb transparent;
}
.wd-panel {
  position: relative;
  min-height: 100%;
  width: min(100%, 1540px);
  margin-inline: auto;
  padding: clamp(1.05rem, 3.3vh, 2.15rem) var(--wd-body-gutter);
}
#demo-app .wd-panel:focus-visible { outline-offset: -5px; }
.wd-panel h3 {
  margin: 0 0 .75rem;
  color: var(--wd-ink);
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -.04em;
}
.wd-panel h4 { margin: 0 0 .45rem; font-size: 1rem; }
.wd-panel p { margin: 0; line-height: 1.5; }

.wd-meeting { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: clamp(.75rem, 2vh, 1.1rem); }
.wd-hint-editor {
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 1.1rem;
  width: min(100%, 43rem);
  padding: clamp(1rem, 2.6vw, 2rem);
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  background: #fff;
}
.wd-hint-editor h3 { margin: 0; font-size: clamp(1.3rem, 2.3vw, 1.8rem); }
.wd-hint-fields { display: grid; gap: .75rem; min-width: 0; }
.wd-hint-fields label {
  display: grid;
  grid-template-columns: minmax(7.5rem, .39fr) minmax(0, 1fr);
  align-items: baseline;
  gap: .35rem 1rem;
  min-width: 0;
  color: #4b3657;
  font-size: .88rem;
  font-weight: 650;
}
.wd-hint-fields small { display: block; color: var(--wd-muted); font-weight: 400; }
.wd-hint-fields :is(input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.55rem;
  padding: .56rem .75rem;
  border: 1px solid #cdbdd7;
  border-radius: 7px;
  background: var(--wd-page);
  color: var(--wd-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}
.wd-hint-fields textarea { min-height: 4.1rem; resize: vertical; }
.wd-hint-fields :is(input, textarea)::placeholder { color: #7a6a84; opacity: 1; }
.wd-hint-fields :is(input, textarea):focus { border-color: var(--wd-accent); background: #fff; }
.wd-hint-fields [aria-invalid="true"] { border-color: #9c3e45; }
.wd-hint-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  padding-top: .9rem;
  border-top: 1px solid var(--wd-border);
}
.wd-hint-actions [role="status"] { flex: 1 1 12rem; color: var(--wd-muted); font-size: .85rem; }
.wd-hint-actions [role="status"]:empty { display: none; }
.wd-hint-preview { display: grid; grid-template-rows: auto minmax(205px, 1fr); gap: .65rem; min-width: 0; }
.wd-preview-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.wd-preview-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.35rem;
  padding: .38rem .7rem;
  border: 1px solid var(--wd-border);
  border-radius: 7px;
  background: #fff;
  color: #513367;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}
.wd-preview-tools button:hover { border-color: #b491c9; background: var(--wd-soft); }
.wd-preview-tools .wd-text-button { margin-right: auto; border-color: transparent; background: var(--wd-accent); color: #fff; }
.wd-preview-tools .wd-text-button:hover { background: #582896; }
.wd-site-page {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .6rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  overflow-wrap: anywhere;
}
.wd-site-page h3, .wd-site-page p { margin: 0; max-width: 100%; }
.wd-site-page h3 { max-height: 3.42em; overflow-y: auto; scrollbar-width: thin; font-size: clamp(1.2rem, 2.5vw, 1.85rem); }
.wd-site-page p { max-height: 4.5em; overflow-y: auto; scrollbar-width: thin; color: var(--wd-muted); font-size: .9rem; }
.wd-site-emblem {
  display: grid;
  place-items: center;
  width: 2.7rem;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--wd-soft);
  color: var(--wd-accent);
  font-size: 1.3rem;
}
.wd-call {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(.5rem, 2vh, 1rem);
  min-height: 230px;
  padding: clamp(.8rem, 2vw, 1.5rem);
  border: 1px solid #3e3158;
  border-radius: 17px;
  background: #292039;
  color: #faf3ff;
}
.wd-call-header { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.wd-jazz-brand { display: inline-flex; align-items: center; gap: .45rem; font-size: .98rem; font-weight: 700; }
.wd-jazz-brand i { width: 12px; height: 12px; border: 2px solid #c5a4ff; border-radius: 5px; transform: rotate(-15deg); }
.wd-call-time { color: #c9f6d7; font-size: .85rem; text-align: right; }
.wd-attendees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.45rem, 1vw, .8rem); }
.wd-attendee {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  border: 1px solid #514160;
  border-radius: 12px;
  background: #382d4a;
}
.wd-attendee:nth-child(2) { background: #3d304b; }
.wd-avatar {
  display: grid;
  place-items: center;
  width: clamp(44px, 7vw, 94px);
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: clamp(1.2rem, 3vw, 2.65rem);
  font-weight: 750;
}
.wd-avatar-lilac { background: #d3b3fc; color: #43235d; }
.wd-avatar-apricot { background: #f5c89e; color: #563450; }
.wd-person { position: absolute; left: .55rem; bottom: .55rem; padding: .22rem .4rem; border-radius: 4px; background: #22192e; color: #efe6f8; font-size: .8rem; }
.wd-call-dock { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem; }
.wd-call-dock > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 41px;
  border-radius: 8px;
  background: #403350;
  color: #e6d7ef;
}
.wd-demo-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: .45rem .82rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--wd-accent);
  color: #fff;
  font-size: .89rem;
  font-weight: 650;
}
.wd-demo-button:hover { background: #582896; }

.wd-meeting-tip {
  position: absolute;
  z-index: 4;
  right: clamp(12px, 3vw, 40px);
  bottom: calc(100% + 2px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: start;
  gap: .15rem .4rem;
  width: min(17.5rem, calc(100% - 24px));
  padding: .65rem .45rem .45rem .7rem;
  border: 3px solid #39274a;
  background: #fff9eb;
  box-shadow: 3px 3px 0 #39274a38, inset 0 -2px #e7dcf4;
  animation: wd-tip-in .24s ease both;
}
.wd-meeting-tip::after {
  content: "";
  position: absolute;
  right: calc(var(--wd-dock-width) * .54);
  top: 100%;
  width: 14px;
  height: 9px;
  background: #39274a;
  clip-path: polygon(0 0, 100% 0, 100% 3px, 75% 3px, 75% 6px, 55% 6px, 55% 9px, 35% 9px, 35% 6px, 15% 6px, 15% 3px, 0 3px);
}
@keyframes wd-tip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wd-meeting-tip span, .wd-tip-help { font: 400 .625rem/1.75 "Press Start 2P", monospace; }
.wd-meeting-tip span { max-height: min(7.5rem, 18svh); overflow: auto; scrollbar-width: thin; color: #39274a; overflow-wrap: anywhere; white-space: pre-wrap; }
.wd-tip-help { grid-column: 1; justify-self: start; min-height: 26px; max-width: 100%; padding: .26rem 0; color: #513675; overflow-wrap: anywhere; text-underline-offset: .24em; }
.wd-icon-button { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 2px solid #594274; background: #e9ddfa; color: #39274a; box-shadow: inset 0 -2px #cbb9e9; }
.wd-icon-button:hover { background: #ead3fd; }

.wd-work-page { max-width: 64rem; min-height: 100%; }
.wd-work-header > span { display: block; margin-bottom: .42rem; color: var(--wd-muted); font-size: .875rem; }
.wd-work-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.wd-work-task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem .85rem; padding: .8rem; border: 1px solid var(--wd-border); border-radius: 10px; background: #fff; }
.wd-work-task span { color: #6a5579; font-size: .86rem; }
.wd-work-task span:last-child { padding: .3rem .48rem; border-radius: 6px; background: var(--wd-soft); text-align: center; }

.wd-journal-view, .wd-settings-grid { display: grid; align-items: start; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(.85rem, 2vw, 1.8rem); }
.wd-journal-calendar, .wd-journal-entry, .wd-setting-card {
  min-width: 0;
  padding: clamp(.85rem, 2vw, 1.45rem);
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  background: #fff;
}
.wd-journal-calendar { display: grid; gap: .68rem; }
.wd-week { display: grid; gap: .65rem; }
.wd-week-label { color: #5c466c; font-size: .875rem; font-weight: 700; }
.wd-week-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
.wd-day {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .28rem;
  min-height: 55px;
  padding: .4rem .1rem;
  border: 1px solid #dcd0e6;
  border-radius: 7px;
  background: #f4eff6;
  color: #412450;
  font-size: .83rem;
}
.wd-day[data-activity="1"] { background: #f1e4fd; }
.wd-day[data-activity="2"] { background: #e8d2fc; }
.wd-day[data-activity="3"] { background: #d9b8f7; }
.wd-day[data-activity="4"] { background: #c79cea; }
.wd-day:hover { border-color: #8553aa; }
.wd-day[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #643591; border-color: #643591; }
.wd-day strong { font-size: 1rem; }
.wd-day i { position: absolute; right: .2rem; top: .24rem; width: 6px; height: 6px; border-radius: 50%; background: #863d1d; }
.wd-week-legend { display: flex; align-items: center; gap: .25rem; color: var(--wd-muted); font-size: .78rem; }
.wd-week-legend i { width: 11px; height: 11px; border: 1px solid #dcd0e6; border-radius: 2px; background: #f4eff6; }
.wd-week-legend i:nth-of-type(2) { background: #f1e4fd; }
.wd-week-legend i:nth-of-type(3) { background: #e8d2fc; }
.wd-week-legend i:nth-of-type(4) { background: #d9b8f7; }
.wd-week-legend i:nth-of-type(5) { background: #c79cea; }
.wd-month-stats { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--wd-border); }
.wd-month-stats dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .48rem; margin: .7rem 0 0; }
.wd-month-stats dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .25rem; padding: .5rem; border-radius: 7px; background: var(--wd-soft); }
.wd-month-stats dt { color: var(--wd-muted); font-size: .78rem; }
.wd-month-stats dd { margin: 0; color: #502986; font-size: 1.2rem; font-weight: 750; }
.wd-day-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; padding-bottom: .7rem; margin-bottom: .75rem; border-bottom: 1px solid var(--wd-border); }
.wd-day-meta > span { color: var(--wd-muted); font-size: .875rem; }
.wd-note { display: flex; align-items: flex-start; gap: .55rem; margin-top: .8rem; padding: .62rem; border-radius: 8px; background: var(--wd-soft); color: #4a2d62; font-size: .875rem; line-height: 1.38; }
.wd-note ul { margin: .25rem 0 0; padding: 0; list-style: none; }
.wd-quote-source { display: block; margin-top: .18rem; font-size: .75rem; color: var(--wd-muted); }
.wd-note li + li { margin-top: .45rem; }

.wd-chat { display: grid; align-content: center; padding-block: clamp(.55rem, 2vh, 1.15rem); }
.wd-chat-window {
  width: min(100%, 38rem);
  margin: auto;
  border: 1px solid var(--wd-border);
  border-radius: 14px;
  background: #fff;
}
.wd-chat-head { display: flex; align-items: center; gap: .65rem; padding: .6rem .9rem; border-bottom: 1px solid var(--wd-border); }
.wd-chat-head h3 { margin: 0 0 .1rem; font-size: 1.06rem; letter-spacing: -.025em; }
.wd-chat-head > div > span { display: block; color: var(--wd-muted); font-size: .77rem; }
.wd-chat-avatar { display: grid; flex: none; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #763921; background: #f7d8c6; font-weight: 720; }
.wd-chat-replay { display: grid; place-items: center; margin-inline-start: auto; width: 40px; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--wd-muted); }
.wd-chat-replay:hover { color: var(--wd-accent); background: var(--wd-soft); }
.wd-chat-thread { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin: 0; padding: .9rem 1rem 1.3rem; min-height: 11rem; }
.wd-chat-message {
  position: relative; isolation: isolate; max-width: 89%;
  padding: .44rem .65rem; border-radius: 12px 12px 12px 3px;
  color: #322939; background: #f1edf3; font-size: .96rem; line-height: 1.38;
  overflow-wrap: anywhere; animation: wd-chat-arrive .25s ease-out;
}
.wd-chat-out { align-self: flex-end; background: #e8dcf5; border-radius: 12px 12px 3px; }
.wd-chat-text { position: relative; z-index: 1; cursor: text; user-select: text; -webkit-user-select: text; }
.wd-chat-text::selection { color: #2a1840; background: #d3b6ef; }
.wd-chat-message time { display: inline-block; margin-inline-start: .35rem; color: #6b6173; font-size: .7rem; user-select: none; }
.wd-chat-ink { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.wd-chat-ink i { position: absolute; background: #d3b6ef; }
.wd-chat-save {
  position: absolute; z-index: 3; right: -1.35rem; bottom: -1rem;
  display: grid; place-items: center; width: 36px; height: 36px; padding: 6px;
  border: 2px solid #392749; border-radius: 9px; color: #392749; background: #f7e9ff; box-shadow: 2px 2px 0 #39274945;
}
.wd-chat-out .wd-chat-save { right: auto; left: -.5rem; }
.wd-chat-save:hover { background: #efdbfc; }
.wd-chat-save svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.wd-chat-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .5rem; min-height: 43px; padding: .32rem .9rem; border-top: 1px solid var(--wd-border); }
.wd-chat-result span { font-size: .84rem; color: #42604c; font-weight: 600; }
.wd-chat-result button { padding: .4rem 0; color: #5a308a; background: transparent; border: 0; font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; }
@keyframes wd-chat-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.wd-activity { margin-top: 1.1rem; }
.wd-activity-list { display: grid; gap: 0; margin: .72rem 0 0; padding: 0; list-style: none; font-size: .9rem; }
.wd-activity-list li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 0; border-top: 1px solid var(--wd-border); }
.wd-activity-list li > :first-child { min-width: 0; overflow-wrap: anywhere; }
.wd-activity-list li > :last-child { flex-shrink: 0; }
.wd-activity-list small { display: block; margin-top: .13rem; color: var(--wd-muted); }

.wd-settings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wd-setting-card > h4 { margin-bottom: .85rem; }
.wd-setting-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wd-setting-card legend { margin-bottom: .4rem; color: var(--wd-muted); font-size: .88rem; }
.wd-working-days { display: flex; flex-wrap: wrap; gap: .25rem; }
.wd-working-days button, .wd-work-hours input {
  min-height: 36px;
  padding: .3rem .42rem;
  border: 1px solid var(--wd-border);
  border-radius: 7px;
  background: #faf6fd;
  color: var(--wd-ink);
  font-size: .85rem;
}
.wd-working-days button[aria-pressed="true"] { background: #e7d3f6; border-color: #b992d6; color: #502986; }
.wd-work-hours { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem; }
.wd-work-hours label { display: grid; gap: .3rem; color: var(--wd-muted); font-size: .84rem; }
.wd-work-hours input { width: 100%; min-width: 5.3rem; }
.wd-scope-options { display: grid; gap: .65rem; }
.wd-scope-options label { display: flex; align-items: center; gap: .42rem; min-height: 34px; font-size: .9rem; }
.wd-scope-options input { flex: 0 0 auto; margin: 0; accent-color: var(--wd-accent); }
.wd-sites-input { display: grid; gap: .4rem; margin-top: .7rem; color: var(--wd-muted); font-size: .84rem; }
.wd-sites-input textarea { width: 100%; margin: 0; padding: .5rem; resize: vertical; font: inherit; color: var(--wd-ink); background: #faf6fd; border: 1px solid var(--wd-border); border-radius: 7px; }
.wd-setting-row { display: flex; align-items: center; justify-content: space-between; gap: .55rem; font-size: .9rem; }
.wd-switch { position: relative; flex: 0 0 auto; width: 48px; height: 29px; padding: 0; border: 0; border-radius: 2rem; background: #776781; transition: background .16s ease; }
.wd-switch[aria-checked="true"] { background: #7139b0; }
.wd-switch i { position: absolute; top: 4px; left: 4px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform .16s ease; }
.wd-switch[aria-checked="true"] i { transform: translateX(19px); }
.wd-settings-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; }
.wd-settings-actions [role="status"] { color: #416441; font-size: .875rem; }

.wd-animations {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(215px, .54fr);
  gap: clamp(.65rem, 2vw, 1.5rem);
}
.wd-animation-showcase {
  display: grid;
  place-items: center;
  min-height: 158px;
  padding: 1rem;
  border: 1px solid #514164;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 62%, #654780 0, #332243 56%, #271b37 100%);
}
.wd-animation-showcase :is(.wd-animation-canvas, .wd-animation-fallback) {
  display: block;
  width: min(100%, 330px);
  height: auto;
  aspect-ratio: 128 / 82;
  image-rendering: pixelated;
}
.wd-animation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: .42rem; }
.wd-animation-option {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  padding: .4rem .35rem;
  border: 1px solid var(--wd-border);
  border-radius: 8px;
  background: #fff;
  color: #54356b;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.18;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.wd-animation-option:hover { border-color: #b89ad0; }
.wd-animation-option[aria-pressed="true"] { border-color: #5e387b; background: #55326f; color: #fff; }
.wd-animation-progress {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  visibility: hidden;
  background: #8953b1;
  transform: scaleX(0);
  transform-origin: left center;
}
.wd-animation-option[aria-pressed="true"] .wd-animation-progress { visibility: visible; }
.wd-window[data-scene="animations"] #demo-mascot-dock { opacity: 0; }

.wd-browser-footer {
  position: relative;
  min-height: calc(var(--wd-dock-width) * .64 + 7px);
  border-top: 1px solid var(--wd-border);
  background: #f6effa;
}
.wd-window[data-scene="animations"] .wd-browser-footer { min-height: 0; padding: 0; border: 0; }
#demo-mascot-dock { position: absolute; right: clamp(12px, 3vw, 40px); bottom: .22rem; width: var(--wd-dock-width); aspect-ratio: 128 / 82; pointer-events: none; }

.wd-demo-controls.shell {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.wd-demo-browse {
  position: absolute;
  top: 50%;
  left: clamp(9px, 1.2vw, 17px);
  right: clamp(9px, 1.2vw, 17px);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}
.wd-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-width: 44px;
  min-height: 44px;
  padding: .35rem .75rem;
  border: 1px solid #cbb6df;
  border-radius: 9px;
  background: #fff;
  color: #4c2d67;
  font-size: .875rem;
  font-weight: 680;
  pointer-events: auto;
}
.wd-nav-button:hover { border-color: #9877bb; background: #f8effe; }
.wd-demo-browse .wd-nav-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: #493065;
  border-radius: 50%;
  color: #fff;
  background: #4a2a63;
  box-shadow: 0 3px 9px #341d4d38;
  transition: background .18s ease, transform .18s ease;
}
.wd-demo-browse .wd-nav-button:hover { background: #673d88; transform: translateY(-2px); }
.wd-demo-browse .wd-icon { width: 22px; height: 22px; }

.wd-demo-cursor { position: absolute; z-index: 15; inset: 0 auto auto 0; width: 25px; height: 31px; pointer-events: none; }
.wd-demo-cursor svg { position: relative; filter: drop-shadow(1px 2px 2px #311e4660); }
.wd-demo-cursor i { position: absolute; top: -13px; left: -13px; width: 31px; aspect-ratio: 1; border: 2px solid #a66bfb; border-radius: 50%; opacity: 0; }
.wd-demo-cursor[data-click] i { animation: wd-cursor-ripple .48s ease-out; }
@keyframes wd-cursor-ripple { from { opacity: .95; transform: scale(.3); } to { opacity: 0; transform: scale(1.2); } }
#demo-app [data-demo-click] { outline: 2px solid #aa70fb; outline-offset: 3px; }

#demo[data-audience="business"] .wd-window {
  --wd-page: #201b28;
  --wd-soft: #393040;
  --wd-ink: #f9f4fc;
  --wd-muted: #c9bdd3;
  --wd-border: #504359;
  --wd-surface: #2e2737;
  border-color: #675873;
  box-shadow: 0 2px 0 #423748, 0 12px 30px #120e1c66;
  color: var(--wd-ink);
}
#demo[data-audience="business"] :is(.wd-chrome, .wd-browser-footer) { background: #2b2533; }
#demo[data-audience="business"] .wd-address {
  background: #211c29;
  border-color: var(--wd-border);
  color: #e4d7ed;
}
#demo[data-audience="business"] .wd-demo-label { color: var(--wd-muted); }
#demo[data-audience="business"] :is(.wd-hint-editor, .wd-site-page) { background: var(--wd-surface); }
#demo[data-audience="business"] .wd-hint-fields label { color: #eadff0; }
#demo[data-audience="business"] .wd-hint-fields :is(input, textarea) {
  color-scheme: dark;
  border-color: #65566e;
}
#demo[data-audience="business"] .wd-hint-fields :is(input, textarea):focus { border-color: #c6a3ea; background: #231d2c; }
#demo[data-audience="business"] .wd-hint-fields :is(input, textarea)::placeholder { color: #b6a8bf; }
#demo[data-audience="business"] .wd-site-emblem { color: #d7bcf5; }
#demo[data-audience="business"] .wd-preview-tools button { background: #332a3c; color: #e5d6ef; }
#demo[data-audience="business"] .wd-preview-tools button:hover { background: #43344d; }
#demo[data-audience="business"] :is(.wd-hint-actions .wd-demo-button, .wd-preview-tools .wd-text-button) {
  color: #30203e;
  background: #d7bcf5;
}
#demo[data-audience="business"] :is(.wd-hint-actions .wd-demo-button, .wd-preview-tools .wd-text-button):hover { background: #e5cfff; }
#demo[data-audience="business"] .wd-stage :focus-visible { outline-color: #d5b5f1; }
#demo[data-audience="business"] .wd-demo-browse .wd-nav-button { border-color: #7e6690; background: #43334f; }
#demo[data-audience="business"] .wd-demo-browse .wd-nav-button:hover { background: #5b416b; }

@media (max-width: 1000px) {
  .wd-settings-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 721px) {
  .wd-demo-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1.25rem;
  }
  .wd-demo-tabs { grid-column: 2; grid-row: 1; justify-self: end; }
  .wd-case-description { grid-column: 1; grid-row: 1; margin-top: 0; }
}
@media (max-width: 720px) {
  #demo .section-intro { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  #demo-app { --wd-body-gutter: clamp(11px, 3.5vw, 22px); --wd-dock-width: 83px; row-gap: .72rem; }
  .wd-window-lights, .wd-demo-label { display: none; }
  .wd-case-description { min-height: 0; }
  .wd-case-copy[aria-hidden="true"] { display: none; }
  .wd-window { height: clamp(325px, calc(100svh - 405px), 545px); border-radius: 14px; }
  .wd-chrome { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem; padding-inline: 3.5rem; }
  .wd-demo-browse { top: 7px; left: 7px; right: 7px; transform: none; }
  .wd-demo-browse .wd-nav-button { width: 44px; height: 44px; }
  .wd-extension-menu { right: 3.5rem; width: min(247px, calc(100% - 4rem)); }
  .wd-journal-view, .wd-settings-grid { grid-template-columns: minmax(0, 1fr); }
  .wd-work-task { grid-template-columns: minmax(0, 1fr) auto; }
  .wd-work-task strong { grid-row: 2; grid-column: 1 / -1; }
  .wd-hint-editor { gap: .8rem; }
  .wd-call { min-height: 220px; border-radius: 12px; }
  .wd-person { left: .25rem; bottom: .25rem; font-size: .72rem; }
  .wd-browser-footer { padding: .2rem 0; }
  .wd-animations { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(155px, 1fr) auto; }
  .wd-animation-showcase :is(.wd-animation-canvas, .wd-animation-fallback) { width: min(100%, 215px); }
  .wd-animation-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wd-animation-option { font-size: .8rem; }
}
@media (max-width: 540px) {
  .wd-chat-head { padding: .38rem .55rem; }
  .wd-chat-thread { gap: .45rem; padding: .55rem .65rem 1.1rem; min-height: 9rem; }
  .wd-chat-message { font-size: .85rem; }
  .wd-chat-result { padding-inline: .55rem; }
  .wd-chat-save { right: -.45rem; }
  .wd-window[data-scene="meeting"] { min-height: 370px; }
  .wd-meeting { padding-block: .35rem; }
  .wd-hint-editor { padding: .8rem; }
  .wd-hint-fields { gap: .63rem; }
  .wd-hint-fields label { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .wd-hint-fields small { display: inline; margin-left: .3em; }
  .wd-hint-actions { padding-top: .65rem; }
  .wd-preview-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: .3rem; }
  .wd-preview-tools .wd-text-button { margin-right: 0; }
  .wd-preview-tools [data-action="reopen-tip"] { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .wd-audience-switch button { padding-inline: .5rem; white-space: nowrap; }
  .wd-case-description p { font-size: .9rem; }
  .wd-window { height: clamp(285px, calc(100svh - 405px), 510px); }
  .wd-hint-preview { grid-template-rows: auto minmax(170px, 1fr); gap: .4rem; }
  .wd-call { min-height: 178px; }
  .wd-call-dock > span { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-chat-message { animation: none; }
  .wd-theme-pixels { display: none; }
  .wd-meeting-tip, .wd-demo-cursor[data-click] i { animation: none; }
  .wd-animation-progress { display: none; }
}
