/* Daxly uses its original Space Grotesk typeface within the Grape workspace. */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
.dw,
.dw h1,
.dw h2,
.dw h3,
.daxly-label {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
}
.dw {
  --dw-blue: #275dd7;
  --dw-ink: #172d49;
  --dw-muted: #718096;
  --dw-line: #dce4ef;
  color: var(--dw-ink);
}
.dw button,
.dw input,
.dw select,
.dw textarea {
  font: inherit;
}
.dw button {
  cursor: pointer;
}
.dw button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
.dw button:focus-visible,
.dw input:focus-visible,
.dw textarea:focus-visible,
.dw select:focus-visible,
.dw pre:focus-visible,
.dw summary:focus-visible {
  outline: 2px solid #4586ee;
  outline-offset: 4px;
}
.dw-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 6px 0 28px;
}
.dw-heading .eyebrow {
  color: #6480a7;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.dw-heading h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  margin: 20px 0 14px;
  font-weight: 500;
}
.dw-heading h1 span {
  color: var(--dw-blue);
}
.dw-heading p {
  color: var(--dw-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}
.dw-signature {
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
}
.dw-signature > span {
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.1em;
  color: #7a95b6;
}
.dw-intelligence {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle, #e3efff 0, transparent 67%);
}
.dw-intelligence svg {
  width: 108px;
  overflow: visible;
}
.dw-orbit-lines {
  opacity: 0.5;
}
.dw-core {
  transform-origin: 56px 56px;
  animation: dw-core-breathe 5s ease-in-out infinite;
}
@keyframes dw-core-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
.dw-context-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 14px 0;
  border-top: 1px solid var(--dw-line);
  border-bottom: 1px solid var(--dw-line);
  font-size: 10px;
  color: var(--dw-muted);
  margin-bottom: 24px;
}
.dw-context-strip > span:first-child {
  color: #426789;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dw-context-strip > span:last-child {
  margin-left: auto;
}
.dw-context-strip b {
  font-weight: 500;
}
.dw-context-strip em {
  font-style: normal;
  margin-left: 6px;
  color: #9aa7b8;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.dw-dot {
  width: 6px;
  height: 6px;
  background: #80accb;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px #eaf0f7;
}
.dw-is-working .dw-dot {
  animation: dw-core-breathe 2s ease-in-out infinite;
  background: #387eea;
}
.dw-access {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 23px;
  background: #eaf1fa;
  border: 1px solid #d9e5f4;
  border-radius: 17px;
  margin-bottom: 22px;
}
.dw-access-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: #376bd1;
  font-size: 23px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff8;
}
.dw-access h2 {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin: 0 0 5px;
}
.dw-access p {
  color: #657b99;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  max-width: 530px;
}
.dw-access form {
  display: flex;
  gap: 7px;
  margin-left: auto;
  flex: none;
}
.dw-access input {
  border: 1px solid #c9d9ed;
  border-radius: 9px;
  width: 158px;
  min-width: 0;
  padding: 11px;
  background: #fff;
  font-size: 11px;
}
.dw-access button {
  border: 1px solid #c5d7ed;
  background: #fff;
  color: #345f9a;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 11px;
  white-space: nowrap;
  flex: none;
}
.dw-pending > button {
  margin-left: auto;
}
.dw-connected-wallet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 44px;
  padding: 11px 15px;
  margin-left: auto;
  border: 1px solid #2862d5;
  border-radius: 9px;
  background: #2862d5;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.dw-connected-wallet:focus-visible {
  outline: 3px solid #6897e4;
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .dw-pending:has(.dw-connected-wallet) {
    flex-wrap: wrap;
  }
  .dw-connected-wallet {
    width: 100%;
    margin-left: 0;
  }
}
.dw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.dw-conversation,
.dw-result {
  min-width: 0;
  border: 1px solid var(--dw-line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 35px #1b3c6610;
}
.dw-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 25px 20px;
}
.dw-kicker {
  color: #8a9caf;
  font:
    9px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.08em;
}
.dw-panel-heading h2 {
  font-size: 20px;
  letter-spacing: -0.045em;
  line-height: 1.25;
  font-weight: 500;
  margin: 9px 0 0;
}
.dw-mini-brand {
  font:
    11px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.12em;
  color: #6689bd;
  white-space: nowrap;
}
.dw-mini-brand i {
  font-style: normal;
  color: #3174e7;
  font-size: 20px;
  padding-left: 6px;
}
.dw-output-mark {
  font-size: 26px;
  color: #b2c8e7;
}
.dw-starters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 25px 22px;
}
.dw-starters button {
  border: 1px solid #e1e9f3;
  background: #f8faff;
  border-radius: 10px;
  padding: 12px 10px;
  font-size: 11px;
  color: #526d93;
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.dw-starters button:hover {
  background: #edf4ff;
  border-color: #bdd2f2;
}
.dw-starters button > span {
  color: #4473bd;
  font-size: 18px;
  line-height: 1;
}
.dw-starters button > i {
  margin-left: auto;
  font-style: normal;
  color: #a0b4cc;
}
.dw-messages {
  padding: 0 25px;
  max-height: 440px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7d6e9 transparent;
}
.dw-welcome {
  background: linear-gradient(145deg, #f6f9fe, #f9f8fe);
  padding: 30px 23px;
  border: 1px solid #e9edf7;
  border-radius: 13px;
  margin-bottom: 23px;
}
.dw-welcome-mark {
  display: block;
  font-size: 27px;
  color: #3d79d5;
  margin-bottom: 17px;
}
.dw-welcome h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 11px;
}
.dw-welcome p {
  font-size: 12px;
  color: #7d8ca3;
  line-height: 1.9;
  margin: 0 0 24px;
  max-width: 340px;
}
.dw-welcome > span:last-child {
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.02em;
  color: #9baac0;
  line-height: 1.8;
}
.dw-message {
  margin: 0 0 17px;
  padding: 17px 19px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.dw-message-user {
  background: #edf3fc;
  border: 1px solid #dee9f8;
  margin-left: 26px;
  color: #345274;
}
.dw-message-agent {
  background: #fafbfd;
  border: 1px solid #e6ebf3;
  margin-right: 10px;
}
.dw-message-label {
  display: block;
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  color: #8e9fb4;
  letter-spacing: 0.1em;
  margin-bottom: 9px;
}
.dw-composer {
  margin: 0 25px;
  border: 1px solid #ccdbee;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px #274e7c08;
}
.dw-composer textarea {
  resize: vertical;
  display: block;
  width: 100%;
  min-height: 102px;
  max-height: 330px;
  border: 0;
  background: none;
  padding: 18px;
  line-height: 1.8;
  font-size: 12px;
  color: #294868;
  outline-offset: -4px;
}
.dw-composer textarea::placeholder {
  color: #9aabc1;
}
.dw-composer-options {
  padding: 0 15px 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 9px;
  color: #8da0b9;
}
.dw-composer-options label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dw-composer select {
  max-width: 150px;
  padding: 6px 7px;
  border: 1px solid #e0e8f3;
  border-radius: 6px;
  color: #5c779a;
  background: #f6f9fd;
  font-size: 10px;
}
.dw-address-option {
  border-top: 1px solid #edf1f7;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  color: #7388a4;
}
.dw-address-option label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dw-address-option input {
  accent-color: #3676e4;
}
.dw-address-option > span {
  font-size: 9px;
  color: #9ba9ba;
  padding-left: 22px;
  overflow-wrap: anywhere;
}
.dw-composer-footer {
  background: #f4f8fd;
  border-top: 1px solid #e7eef8;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dw-composer-footer > span {
  font-size: 8px;
  color: #91a1b8;
  line-height: 1.65;
}
.dw-send {
  border: 0;
  background: #245dcc;
  color: white;
  border-radius: 9px;
  font-size: 10px !important;
  padding: 13px 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 3px 8px #265fd220;
}
.dw-send > span {
  font-size: 17px;
  line-height: 1;
}
.dw-fine-print {
  margin: 13px 25px 23px;
  font-size: 9px;
  line-height: 1.7;
  color: #94a2b7;
}
.dw-error {
  margin: 0 25px 15px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.7;
  border: 1px solid #eddcb5;
  background: #fffaf0;
  color: #8a7046;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.dw-progress {
  margin: 0 25px 19px;
  padding: 17px;
  background: #f5f8fd;
  border: 1px solid #e1e9f4;
  border-radius: 12px;
}
.dw-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #587494;
  margin-bottom: 19px;
}
.dw-progress-top button {
  border: 0;
  background: transparent;
  color: #889ab1;
  text-decoration: underline;
  font-size: 10px;
}
.dw-progress ol {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}
.dw-progress li {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  color: #a3b1c3;
  font-size: 8px;
}
.dw-progress li:not(:last-child)::after {
  position: absolute;
  top: 10px;
  height: 1px;
  content: "";
  width: calc(100% - 29px);
  left: 27px;
  background: #d9e4f2;
}
.dw-progress li i {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid #d6e1ef;
  border-radius: 50%;
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  background: white;
}
.dw-progress li.current {
  color: #356bd1;
}
.dw-progress li.current i {
  border-color: #93b7ee;
  box-shadow: 0 0 0 4px #e3edfb;
  background: #edf4ff;
}
.dw-running li.current i {
  animation: dw-core-breathe 2s ease-in-out infinite;
}
.dw-progress li.done {
  color: #6b91b2;
}
.dw-progress li.done i {
  background: #dfeaf8;
  border-color: #c3d8ef;
}
.dw-event-list {
  border-top: 1px solid #e2eaf5;
  margin-top: 17px;
  padding-top: 13px;
  font-size: 9px;
  color: #8a9bb2;
  line-height: 1.8;
}
.dw-event-list > div {
  display: flex;
  gap: 8px;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.dw-event-list i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #94b8e6;
  flex: none;
  margin-top: 7px;
}
.dw-empty-project {
  padding: 14px 28px 33px;
}
.dw-blueprint {
  height: 265px;
  position: relative;
  overflow: hidden;
  margin: -5px -10px 12px;
  background: radial-gradient(ellipse at 50% 70%, #e6effc 0, transparent 65%);
}
.dw-blueprint-grid {
  position: absolute;
  inset: 4px;
  background-image:
    linear-gradient(#e2eaf666 1px, transparent 1px),
    linear-gradient(90deg, #e2eaf666 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: radial-gradient(ellipse, black, transparent 72%);
}
.dw-stack {
  position: absolute;
  width: 178px;
  height: 159px;
  top: 43px;
  left: 50%;
  border: 1px solid #c3d7ee;
  border-radius: 12px;
  transform: translateX(-50%) rotate(-9deg);
}
.dw-stack-back {
  background: #ebf2fd;
  top: 62px;
  margin-left: 15px;
}
.dw-stack-middle {
  background: #f2f7ff;
  top: 52px;
  margin-left: 7px;
}
.dw-stack-front {
  background: linear-gradient(125deg, #fff, #edf4ff);
  box-shadow: 0 12px 30px #355c9830;
  padding: 15px;
}
.dw-stack-front > span {
  font:
    6px ui-monospace,
    SFMono-Regular,
    monospace;
  color: #90a7c6;
  letter-spacing: 0.06em;
}
.dw-blueprint-symbol {
  width: 47px;
  height: 47px;
  margin: 14px auto 13px;
  background: #e5efff;
  border: 1px solid #c2d9fc;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #3570cf;
  font-size: 29px;
}
.dw-stack-front i {
  display: block;
  height: 3px;
  width: 73%;
  margin: 7px auto;
  background: #d7e4f7;
  border-radius: 2px;
}
.dw-stack-front i:last-child {
  width: 43%;
}
.dw-blueprint-point {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82adeb;
  box-shadow: 0 0 0 6px #eaf2ff;
}
.dw-blueprint .p1 {
  left: 14%;
  top: 47%;
}
.dw-blueprint .p2 {
  right: 12%;
  top: 24%;
  background: #edb5a0;
  box-shadow: 0 0 0 6px #fbf0eb;
}
.dw-empty-project h3 {
  font-size: 22px;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 250px;
  margin: 0 0 12px;
}
.dw-empty-project p {
  color: #8a9ab0;
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
  max-width: 350px;
}
.dw-output-promises {
  display: grid;
  gap: 13px;
  border-top: 1px solid #e9eef6;
  margin-top: 26px;
  padding-top: 24px;
  color: #7e96b5;
  font-size: 10px;
}
.dw-artifact-header {
  padding: 2px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.dw-artifact-header h3 {
  font-size: 19px;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.dw-artifact-header p {
  margin: 0;
  font-size: 9px;
  color: #9aabc1;
}
.dw-artifact-header button {
  background: #edf4ff;
  border: 1px solid #d7e5f9;
  color: #4a74ad;
  padding: 10px 12px;
  font-size: 10px;
  border-radius: 8px;
  flex: none;
}
.dw-output-tabs {
  display: flex;
  border-block: 1px solid #e2eaf5;
  background: #f7faff;
  padding: 0 17px;
  gap: 17px;
  overflow-x: auto;
}
.dw-output-tabs button {
  border: 0;
  background: none;
  color: #92a4bb;
  padding: 15px 0 12px;
  font-size: 10px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.dw-output-tabs button[aria-selected="true"] {
  color: #386dd0;
  border-bottom-color: #568af0;
}
.dw-file-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 15px 19px;
  border-bottom: 1px solid #edf1f7;
}
.dw-file-tabs button {
  border: 1px solid #e0e9f4;
  background: #f9fbfe;
  padding: 7px 9px;
  font:
    9px ui-monospace,
    SFMono-Regular,
    monospace;
  color: #8a9db7;
  border-radius: 5px;
  white-space: nowrap;
}
.dw-file-tabs button[aria-pressed="true"] {
  color: #3565a7;
  background: #edf4ff;
  border-color: #c5d8f1;
}
.dw-code-toolbar {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px 19px;
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  color: #849fbe;
  background: #15283f;
}
.dw-code-toolbar > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dw-code-toolbar button {
  background: none;
  border: 0;
  font-size: 9px;
  color: #a7c1e7;
  white-space: nowrap;
}
.dw-code {
  margin: 0;
  min-height: 310px;
  max-height: 570px;
  background: #0e2035;
  color: #b5cdeb;
  padding: 20px;
  overflow: auto;
  font:
    10px/1.9 ui-monospace,
    SFMono-Regular,
    monospace;
  tab-size: 2;
  scrollbar-width: thin;
  scrollbar-color: #466385 #0e2035;
}
.dw-code code {
  font: inherit;
  background: none;
  color: inherit;
  padding: 0;
}
.dw-artifact-footnote {
  font-size: 9px;
  color: #93a3bb;
  padding: 16px 22px;
  border-top: 1px solid #e5ecf5;
  line-height: 1.7;
}
.dw-compilation {
  padding: 20px;
}
.dw-check-banner {
  padding: 13px 15px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  background: #eef7f3;
  border: 1px solid #d7e9df;
  color: #477a64;
}
.dw-check-banner small {
  color: #7e9b8e;
  font-size: 9px;
}
.dw-check-banner.needs-review {
  background: #fff8eb;
  border-color: #ecdfc5;
  color: #9a7e4e;
}
.dw-contract-evidence {
  border: 1px solid #dde7f4;
  border-radius: 9px;
  margin-top: 15px;
  overflow: hidden;
}
.dw-contract-evidence summary {
  padding: 15px;
  cursor: pointer;
  font-size: 12px;
  color: #4e719b;
}
.dw-contract-evidence summary small {
  display: block;
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  color: #97abc4;
  margin: 7px 0 0 15px;
  overflow-wrap: anywhere;
}
.dw-contract-evidence h4 {
  padding: 0 15px;
  color: #849fbd;
  font-size: 9px;
  font-weight: 500;
}
.dw-contract-evidence pre,
.dw-compiler-errors {
  font:
    9px/1.8 ui-monospace,
    SFMono-Regular,
    monospace;
  color: #506784;
  padding: 15px;
  background: #f5f8fc;
  max-height: 300px;
  overflow: auto;
  margin: 0;
}
.dw-bytecode,
.dw-compiler-errors {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.dw-compiler-errors {
  margin: 15px 0;
  border: 1px solid #edddc7;
  border-radius: 8px;
  color: #8c7552;
  background: #fffbf4;
}
.dw-project-checks {
  padding: 0 20px 20px;
  font-size: 10px;
  line-height: 1.9;
  color: #8096b1;
}
.dw-project-checks h4 {
  font-weight: 500;
  color: #53739b;
}
.dw-project-checks > div {
  border-top: 1px solid #ebf0f7;
  padding: 9px 0;
  overflow-wrap: anywhere;
}
.dw-output-note {
  padding: 23px;
  font-size: 12px;
  line-height: 1.8;
  color: #8c9eb8;
}
.dw-preview-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 20px;
  font-size: 9px;
  color: #91a5bf;
  background: #f6f9fe;
}
.dw-preview-note b {
  color: #6887b0;
  font-weight: 500;
  font-size: 10px;
}
.dw-preview {
  border: 0;
  width: 100%;
  height: 490px;
  display: block;
  background: #fff;
}
.dw-bottom-note {
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #9aabc0;
  font-size: 9px;
  line-height: 1.6;
}
.dw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dw-paused *,
body.motion-paused .dw * {
  animation-play-state: paused !important;
}
@media (max-width: 1250px) {
  .dw-access {
    flex-wrap: wrap;
  }
  .dw-access form {
    width: 100%;
    margin-left: 56px;
  }
  .dw-access input {
    flex: 1;
  }
  .dw-layout {
    gap: 15px;
  }
  .dw-panel-heading {
    padding-inline: 19px;
  }
  .dw-starters,
  .dw-messages {
    padding-inline: 19px;
  }
  .dw-composer,
  .dw-progress {
    margin-inline: 19px;
  }
  .dw-composer-footer {
    flex-wrap: wrap;
  }
  .dw-send {
    margin-left: auto;
  }
  .dw-mini-brand {
    display: none;
  }
}
@media (max-width: 1000px) {
  .dw-layout {
    grid-template-columns: 1fr;
  }
  .dw-result {
    min-height: 340px;
  }
  .dw-empty-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }
  .dw-blueprint {
    grid-row: 1/4;
    margin: 0;
  }
  .dw-empty-project h3 {
    align-self: end;
    margin-top: 15px;
  }
  .dw-output-promises {
    grid-column: 2;
  }
  .dw-signature {
    width: 150px;
  }
  .dw-context-strip > span:last-child {
    margin-left: 0;
  }
  .dw-access form {
    width: auto;
    margin-left: auto;
  }
  .dw-composer-footer {
    flex-wrap: nowrap;
  }
  .dw-empty-project .dw-output-promises {
    margin-top: 15px;
    padding-top: 15px;
    gap: 9px;
  }
}
@media (max-width: 600px) {
  .dw-heading {
    gap: 10px;
    margin-top: 0;
  }
  .dw-heading h1 {
    font-size: 39px;
    margin-top: 16px;
  }
  .dw-heading p {
    font-size: 11px;
    max-width: 240px;
  }
  .dw-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 0.07em;
  }
  .dw-signature {
    width: 72px;
    align-self: flex-start;
    margin-top: 17px;
  }
  .dw-intelligence {
    width: 72px;
    height: 80px;
  }
  .dw-intelligence svg {
    width: 73px;
  }
  .dw-signature > span {
    display: none;
  }
  .dw-context-strip {
    gap: 12px;
    font-size: 8px;
  }
  .dw-context-strip > span:last-child {
    width: 100%;
    font-size: 9px;
  }
  .dw-access {
    padding: 17px;
    gap: 12px;
  }
  .dw-access-icon {
    display: none;
  }
  .dw-access h2 {
    font-size: 14px;
  }
  .dw-access p {
    font-size: 10px;
  }
  .dw-access form {
    margin: 0;
    width: 100%;
  }
  .dw-access input {
    font-size: 16px;
    width: 120px;
  }
  .dw-access button {
    font-size: 10px;
    min-height: 44px;
  }
  .dw-pending > button {
    margin: 0;
  }
  .dw-panel-heading {
    padding: 20px 17px;
  }
  .dw-panel-heading h2 {
    font-size: 20px;
  }
  .dw-starters {
    padding: 0 17px 19px;
    gap: 7px;
  }
  .dw-starters button {
    min-height: 44px;
    font-size: 10px;
  }
  .dw-messages {
    padding: 0 17px;
    max-height: 440px;
  }
  .dw-welcome {
    padding: 23px 18px;
  }
  .dw-message {
    font-size: 12px;
    padding: 15px;
  }
  .dw-message-user {
    margin-left: 13px;
  }
  .dw-message-agent {
    margin-right: 0;
  }
  .dw-composer {
    margin: 0 17px;
  }
  .dw-composer textarea {
    font-size: 16px;
    min-height: 130px;
    padding: 15px;
  }
  .dw-composer-options {
    gap: 5px;
    font-size: 8px;
  }
  .dw-composer select {
    max-width: 132px;
    font-size: 11px;
    min-height: 44px;
  }
  .dw-composer-footer {
    flex-wrap: wrap;
    padding: 12px;
  }
  .dw-send {
    font-size: 11px !important;
    min-height: 44px;
  }
  .dw-composer-footer > span {
    font-size: 8px;
    width: 100%;
  }
  .dw-address-option {
    font-size: 10px;
  }
  .dw-address-option input {
    width: 16px;
    height: 16px;
  }
  .dw-address-option > span {
    font-size: 8px;
    line-height: 1.7;
  }
  .dw-fine-print {
    margin: 12px 17px 20px;
  }
  .dw-error,
  .dw-progress {
    margin-inline: 17px;
  }
  .dw-progress {
    padding: 14px 12px;
  }
  .dw-progress li {
    font-size: 7px;
  }
  .dw-progress-top {
    font-size: 10px;
  }
  .dw-progress-top button {
    min-height: 28px;
  }
  .dw-event-list {
    font-size: 9px;
  }
  .dw-empty-project {
    display: block;
    padding: 10px 22px 27px;
  }
  .dw-blueprint {
    height: 240px;
  }
  .dw-empty-project h3 {
    max-width: none;
    font-size: 23px;
  }
  .dw-output-promises {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 9px;
  }
  .dw-empty-project .dw-output-promises {
    margin-top: 22px;
    padding-top: 18px;
  }
  .dw-artifact-header {
    padding: 0 17px 19px;
  }
  .dw-artifact-header h3 {
    font-size: 18px;
  }
  .dw-artifact-header button {
    min-height: 44px;
  }
  .dw-output-tabs {
    gap: 15px;
    padding-inline: 15px;
  }
  .dw-output-tabs button {
    min-height: 44px;
    font-size: 9px;
  }
  .dw-file-tabs button {
    min-height: 44px;
  }
  .dw-code-toolbar {
    padding-inline: 15px;
  }
  .dw-code-toolbar button {
    min-height: 26px;
  }
  .dw-code {
    padding: 15px;
    font-size: 10px;
    min-height: 280px;
    max-height: 420px;
  }
  .dw-compilation {
    padding: 15px;
  }
  .dw-bottom-note {
    flex-direction: column;
    gap: 7px;
    font-size: 8px;
  }
  .dw-preview {
    height: 420px;
  }
}
@media (max-width: 360px) {
  .dw-heading h1 {
    font-size: 34px;
  }
  .dw-signature {
    width: 54px;
  }
  .dw-intelligence,
  .dw-intelligence svg {
    width: 60px;
  }
  .dw-starters {
    grid-template-columns: 1fr;
  }
  .dw-starters button {
    padding: 9px 12px;
  }
  .dw-output-tabs {
    gap: 12px;
  }
  .dw-output-tabs button {
    font-size: 8px;
  }
  .dw-panel-heading h2 {
    font-size: 18px;
  }
  .dw-composer-options {
    align-items: flex-start;
  }
  .dw-composer-options label {
    flex-direction: column;
    align-items: flex-start;
  }
  .dw-composer-options > span {
    margin-top: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dw * {
    animation: none !important;
    transition: none !important;
  }
}
/* Optional, explicitly reviewed deployment on the disposable Grape network. */
.dw-deployment {
  padding: 23px;
}
.dw-deploy-intro {
  margin-bottom: 22px;
}
.dw-deploy-intro > span {
  font:
    8px ui-monospace,
    SFMono-Regular,
    monospace;
  letter-spacing: 0.08em;
  color: #8c9fba;
}
.dw-deploy-intro h3 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.045em;
  margin: 10px 0;
}
.dw-deploy-intro p,
.dw-deploy-result p {
  font-size: 11px;
  color: #8497b1;
  line-height: 1.9;
  margin: 0;
}
.dw-deployment form > label {
  display: block;
  margin: 17px 0 9px;
  font-size: 11px;
  color: #597497;
}
.dw-deployment select,
.dw-deployment textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background: #f9fbff;
  color: #41638d;
  padding: 12px;
  font:
    11px/1.7 ui-monospace,
    SFMono-Regular,
    monospace;
}
.dw-deployment textarea {
  resize: vertical;
  min-height: 103px;
  max-height: 320px;
}
.dw-constructor-schema,
.dw-constructor-review {
  margin: 14px 0;
  border: 1px solid #e3eaf4;
  border-radius: 8px;
  overflow: hidden;
}
.dw-constructor-schema summary,
.dw-constructor-review summary {
  font-size: 10px;
  color: #8a9fbc;
  cursor: pointer;
  padding: 12px;
}
.dw-constructor-schema pre,
.dw-constructor-review pre {
  margin: 0;
  background: #f5f8fd;
  padding: 13px;
  max-height: 230px;
  overflow: auto;
  color: #7089a9;
  font:
    10px/1.9 ui-monospace,
    SFMono-Regular,
    monospace;
}
.dw-deploy-hint {
  color: #91a1b8;
  font-size: 9px;
  line-height: 1.8;
  margin: 10px 0 18px;
}
.dw-deploy-prepare,
.dw-deploy-confirm {
  display: inline-flex;
  justify-content: center;
  background: #2863d0;
  color: white;
  border: 1px solid #235ecb;
  border-radius: 8px;
  font-size: 11px !important;
  line-height: 1.5;
  padding: 13px 15px;
  min-height: 44px;
}
.dw-deploy-review h4,
.dw-deploy-result h4 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #456991;
}
.dw-deploy-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid #e7eef8;
}
.dw-deploy-fact > span {
  color: #93a5bc;
  font-size: 9px;
}
.dw-deploy-fact > b {
  font:
    10px/1.7 ui-monospace,
    SFMono-Regular,
    monospace;
  color: #4f729b;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.dw-deploy-ack {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #d9e5f5;
  background: #f3f7fd;
  border-radius: 9px;
  padding: 15px 12px;
  font-size: 11px;
  line-height: 1.8;
  color: #6581a3;
  margin: 21px 0 16px;
}
.dw-deploy-ack input {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: #3675dc;
  margin-top: 3px;
}
.dw-deploy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.dw-deploy-actions > button:first-child,
.dw-deploy-result > button {
  border: 1px solid #d7e3f3;
  background: #f8faff;
  color: #7491b5;
  border-radius: 8px;
  font-size: 10px;
  padding: 12px;
  min-height: 44px;
}
.dw-deploy-error {
  border: 1px solid #eddaba;
  background: #fff9ee;
  border-radius: 9px;
  padding: 12px;
  color: #997b4a !important;
  font-size: 10px !important;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.dw-deploy-result {
  margin-top: 23px;
  border: 1px solid #dce7f4;
  background: #f7faff;
  border-radius: 11px;
  padding: 18px;
}
.dw-deploy-result > h4 {
  margin: 11px 0;
}
.dw-deploy-result > p {
  margin-bottom: 16px;
}
.dw-deploy-result.included {
  background: #f2f8f5;
  border-color: #d6e8df;
}
.dw-deploy-result.included h4 {
  color: #4b816b;
}
.dw-deploy-result > button {
  margin-top: 14px;
}
.dw-deploy-result > small {
  display: block;
  font-size: 9px;
  line-height: 1.8;
  color: #8297b2;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .dw-deployment {
    padding: 19px 16px;
  }
  .dw-deploy-intro h3 {
    font-size: 21px;
  }
  .dw-deployment textarea,
  .dw-deployment select {
    font-size: 16px;
  }
  .dw-deploy-actions {
    flex-direction: column-reverse;
  }
  .dw-deploy-actions button {
    width: 100%;
  }
  .dw-deploy-ack {
    font-size: 11px;
  }
  .dw-deploy-result {
    padding: 15px;
  }
  .dw-deploy-prepare {
    width: 100%;
  }
  .dw-output-tabs {
    gap: 13px;
  }
  .dw-output-tabs button {
    font-size: 9px;
  }
}

/* Daxly identity and credits use the existing account, not a wallet balance. */
.dw-access.dw-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(125deg, #edf4ff, #f8fbff 65%);
}
.dw-auth-intro {
  min-width: 0;
}
.dw-auth-intro .dw-access-icon {
  margin-bottom: 18px;
  border: 1px solid #d5e4f8;
}
.dw-auth-intro .dw-kicker {
  display: block;
  margin-bottom: 11px;
  color: #5278b6;
}
.dw-auth.dw-access h2 {
  font-size: clamp(23px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  margin-bottom: 13px;
  color: #234e8b;
}
.dw-auth.dw-access p {
  max-width: 430px;
  font-size: 12px;
  line-height: 1.7;
}
.dw-auth-assurance {
  display: block;
  margin-top: 19px;
  font-size: 10px;
  color: #748bab;
}
.dw-auth.dw-access form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 9px;
  margin: 0;
  padding: 23px;
  border: 1px solid #dce7f6;
  border-radius: 15px;
  background: #ffffffd9;
}
.dw-auth form label {
  font-size: 11px;
  font-weight: 600;
  color: #49688f;
}
.dw-auth.dw-access input {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  font-size: 16px;
  padding: 11px 12px;
  margin-bottom: 5px;
}
.dw-auth.dw-access button[type="submit"] {
  background: #2b65d9;
  border-color: #2b65d9;
  color: #fff;
  min-height: 45px;
  font-size: 12px;
  margin-top: 4px;
  white-space: normal;
}
.dw-auth.dw-access .dw-auth-secondary {
  background: transparent;
  border-color: transparent;
  min-height: 42px;
}
.dw-auth.dw-access .dw-auth-footnote {
  font-size: 10px;
  text-align: center;
  margin-top: 5px;
}
.dw-auth.dw-access .dw-auth-error {
  color: #933948;
  background: #fff4f5;
  border: 1px solid #efd6dc;
  padding: 10px 12px;
  border-radius: 9px;
  overflow-wrap: anywhere;
  font-size: 11px;
}
.dw-account {
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid #d5e3f5;
  border-radius: 17px;
  background: #f5f9ff;
}
.dw-account-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 22px;
  border-bottom: 1px solid #e0e9f5;
}
.dw-account-identity > div {
  min-width: 0;
}
.dw-account .dw-kicker {
  font-size: 8px;
}
.dw-account-identity h2 {
  font-size: 15px;
  margin: 4px 0 0;
  letter-spacing: -0.025em;
  color: #305b96;
  overflow-wrap: anywhere;
}
.dw-account-identity p {
  margin: 4px 0 0;
  font-size: 10px;
  color: #6e85a5;
  overflow-wrap: anywhere;
}
.dw-account button,
.dw-account a {
  border: 1px solid #d0dff2;
  border-radius: 8px;
  padding: 10px 12px;
  color: #365f99;
  background: #fff;
  font-size: 11px;
  line-height: 1.3;
  text-decoration: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dw-account-identity > button {
  margin-left: auto;
  flex: none;
}
.dw-credit-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 22px;
}
.dw-credit-summary > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.dw-credit-summary span {
  color: #5375a5;
  font-size: 11px;
}
.dw-credit-summary strong {
  font-size: clamp(31px, 4vw, 43px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.1;
  color: #2d63c1;
  overflow-wrap: anywhere;
}
.dw-credit-summary small {
  font-size: 10px;
  color: #7c90ad;
}
.dw-credit-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
  min-width: 170px;
}
.dw-credit-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
}
.dw-credit-summary dt {
  color: #6b83a3;
}
.dw-credit-summary dd {
  margin: 0;
  color: #355c95;
  font-variant-numeric: tabular-nums;
}
.dw-credit-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  border-top: 1px solid #e0e9f5;
  background: #ffffff7a;
}
.dw-credit-footer p {
  margin: 0;
  max-width: 440px;
  font-size: 10px;
  line-height: 1.65;
  color: #6d83a0;
}
.dw-credit-footer > div {
  display: flex;
  flex: none;
  gap: 8px;
}
.dw-credit-footer a {
  color: #fff;
  border-color: #326acf;
  background: #326acf;
}
@media (max-width: 760px) {
  .dw-access.dw-auth {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 23px;
  }
  .dw-auth.dw-access form {
    padding: 19px;
  }
  .dw-credit-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .dw-credit-footer > div > * {
    flex: 1;
  }
}
@media (max-width: 420px) {
  .dw-access.dw-auth {
    padding: 19px;
  }
  .dw-auth.dw-access form {
    padding: 16px;
  }
  .dw-auth.dw-access h2 {
    font-size: 28px;
  }
  .dw-account-identity,
  .dw-credit-summary,
  .dw-credit-footer {
    padding: 17px;
  }
  .dw-account-identity {
    flex-wrap: wrap;
  }
  .dw-account-identity .dw-access-icon {
    display: none;
  }
  .dw-account-identity > div {
    flex: 1;
  }
  .dw-account-identity > button {
    padding: 9px;
    min-height: 44px;
  }
  .dw-credit-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .dw-account button,
  .dw-account a {
    min-height: 44px;
  }
  .dw-credit-summary dl {
    min-width: 0;
  }
}

.dw-signin-options {
  display: grid;
  gap: 10px;
  margin-top: 21px;
}
.dw-auth.dw-access .dw-browser-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  gap: 12px;
  margin: 0;
  background: #2862d5;
  border-color: #2862d5;
  color: #fff;
  font-size: 13px;
}
.dw-auth.dw-access .dw-google-signin {
  background: #fff;
  border-color: #bdc9d9;
  color: #24344b;
  box-shadow: 0 2px 4px #142d5010;
}
.dw-google-signin svg {
  flex: 0 0 20px;
}
.dw-auth.dw-access .dw-google-signin:hover:not(:disabled) {
  background: #f8faff;
  border-color: #708caf;
}
.dw-auth.dw-access .dw-browser-signin:focus-visible {
  outline: 3px solid #6897e4;
  outline-offset: 3px;
}
.dw-auth.dw-access .dw-browser-signin:disabled {
  cursor: wait;
  opacity: 0.65;
}
.dw-auth.dw-access .dw-browser-signin-note {
  margin-top: 9px;
  font-size: 10px;
  color: #6480a7;
  text-align: center;
}
.dw-password-option {
  min-width: 0;
  border: 1px solid #dbe5f4;
  border-radius: 14px;
  background: #ffffffa8;
}
.dw-password-option summary {
  cursor: pointer;
  color: #476795;
  font-size: 12px;
  padding: 19px;
  min-height: 48px;
}
.dw-auth.dw-access .dw-password-option form {
  border: 0;
  border-radius: 0 0 14px 14px;
  border-top: 1px solid #e3ebf5;
}

/* Chat is the primary workspace; account controls and generated files stay secondary. */
.dw-chat-first {
  max-width: 1280px;
  margin-inline: auto;
}
.dw-chat-first [hidden] { display: none !important; }
.dw-chat-first .dw-heading {
  gap: 20px;
  margin: 0 0 20px;
}
.dw-heading-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.dw-heading-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: transparent;
  color: var(--dw-blue);
  font-size: 29px;
}
.dw-chat-first .dw-heading h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .12em;
}
.dw-chat-first .dw-heading h1 span { font-weight: 400; color: #7a8ca5; font-size: 13px; letter-spacing: -.015em; }
.dw-chat-first .dw-heading p { font-size: 11px; line-height: 1.5; }
.dw-heading-status { display: grid; gap: 6px; text-align: right; font-size: 11px; min-width: 0; }
.dw-heading-status > span { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.dw-heading-status b { font-weight: 500; color: #48668e; }
.dw-heading-status small { color: #8795aa; font-size: 9px; }
.dw-chat-first .dw-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.dw-chat-first .dw-conversation {
  display: flex;
  flex-direction: column;
  height: clamp(440px, calc(100dvh - 250px), 900px);
  min-height: 440px;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 30%, #f8faff, transparent 60%), #fff;
  box-shadow: 0 5px 32px #283e6708;
}
.dw-chat-first .dw-access-slot { flex: none; position: relative; z-index: 3; }
.dw-chat-first .dw-access {
  margin: 0;
  padding: 16px 22px;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #e6ecf5;
  border-radius: 0;
  background: #f8faff;
}
.dw-chat-first .dw-access h2 { margin: 0 0 3px; font-size: 13px; line-height: 1.35; letter-spacing: -.02em; }
.dw-chat-first .dw-access p { margin: 0; font-size: 11px; line-height: 1.6; max-width: 520px; }
.dw-chat-first .dw-access .dw-access-icon { width: 30px; height: 30px; font-size: 21px; }
.dw-chat-first .dw-access button,
.dw-chat-first .dw-connected-wallet { min-height: 40px; font-size: 11px; }
.dw-chat-first .dw-access.dw-signin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.dw-chat-first .dw-signin .dw-auth-intro { flex: 1 1 220px; }
.dw-chat-first .dw-signin-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dw-chat-first .dw-auth .dw-browser-signin { width: auto; min-height: 42px; gap: 8px; font-size: 11px; padding: 10px 13px; }
.dw-chat-first .dw-password-option { position: relative; border: 0; background: none; border-radius: 0; }
.dw-chat-first .dw-password-option summary { padding: 11px 0; min-height: 42px; font-size: 11px; list-style: none; color: #527095; }
.dw-chat-first .dw-password-option summary::after { content: ' +'; padding-left: 4px; }
.dw-chat-first .dw-password-option[open] summary::after { content: ' −'; }
.dw-chat-first .dw-signin .dw-password-option form {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 4;
  width: min(340px, calc(100vw - 64px));
  border: 1px solid #dce7f6;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 16px 40px #17344d20;
}
.dw-chat-first .dw-signin .dw-auth-error { flex: 1 0 100%; }
.dw-chat-first .dw-access.dw-auth:not(.dw-signin) { grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr); padding: 20px 24px; gap: 20px; }
.dw-chat-first .dw-auth:not(.dw-signin) .dw-auth-intro > .dw-access-icon,
.dw-chat-first .dw-auth:not(.dw-signin) .dw-auth-intro > .dw-kicker { display: none; }
.dw-chat-first .dw-auth.dw-access h2 { font-size: 16px; margin-bottom: 4px; letter-spacing: -.03em; }
.dw-chat-first .dw-auth.dw-signin h2 { font-size: 13px; }
.dw-chat-first .dw-auth.dw-access form { padding: 15px; }
.dw-chat-first .dw-account {
  margin: 0;
  padding: 13px 22px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #e6ecf5;
  border-radius: 0;
  background: #fbfcff;
}
.dw-account-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dw-account-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e9effb; color: #3765b3; font-size: 12px; flex: none; }
.dw-account-name { min-width: 0; font-size: 12px; color: #355675; font-weight: 500; overflow-wrap: anywhere; }
.dw-account-name small { display: block; font-size: 9px; color: #8a9bb0; font-weight: 400; margin-top: 2px; }
.dw-account-balance { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 5px; margin-left: auto; font-size: 10px; color: #8c9bb0; }
.dw-account-balance strong { color: #3767c7; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dw-account-details { position: relative; flex: none; margin-left: 12px; }
.dw-account-details > summary { list-style: none; min-height: 38px; display: flex; gap: 14px; align-items: center; color: #607895; cursor: pointer; font-size: 11px; }
.dw-account-expanded { position: absolute; top: calc(100% + 10px); right: 0; width: min(340px, calc(100vw - 62px)); border: 1px solid #dbe5f3; border-radius: 15px; padding: 20px; background: #fff; box-shadow: 0 18px 45px #1b355322; z-index: 4; }
.dw-account-expanded p { font-size: 11px; line-height: 1.7; color: #7a8da6; margin: 12px 0; overflow-wrap: anywhere; }
.dw-account-expanded .dw-account-email { color: #486b99; margin-top: 0; }
.dw-account-expanded dl { display: grid; gap: 11px; padding: 14px 0; margin: 0; border-block: 1px solid #e8edf5; }
.dw-account-expanded dl > div { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.dw-account-expanded dt { color: #8291a7; }
.dw-account-expanded dd { color: #3f638e; margin: 0; font-variant-numeric: tabular-nums; }
.dw-account-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.dw-chat-first .dw-account-actions > * { flex: 1 1 auto; font-size: 10px; min-height: 40px; padding: 9px; }
.dw-chat-first .dw-account-actions > a { color: #fff; border-color: #2863d0; background: #2863d0; }
.dw-account-warning { font-size: 11px; color: #96764b; margin: 10px 0 0; line-height: 1.5; }
.dw-chat-scroll { flex: 1 1 auto; min-height: 130px; overflow: auto; padding: 28px 36px 16px; scrollbar-width: thin; scrollbar-color: #ccd9ea transparent; }
.dw-chat-first .dw-messages { max-height: none; overflow: visible; padding: 0; max-width: 900px; margin-inline: auto; }
.dw-chat-first .dw-welcome { padding: 14px 0 8px; margin: 0; display: flex; flex-direction: column; align-items: center; border: 0; background: none; text-align: center; }
.dw-chat-first .dw-welcome .dw-intelligence { width: 90px; height: 90px; margin-bottom: 4px; }
.dw-chat-first .dw-welcome .dw-intelligence svg { width: 80px; }
.dw-welcome-eyebrow { font: 8px ui-monospace, SFMono-Regular, monospace; color: #879ab4; letter-spacing: .1em; margin: 8px 0 13px; }
.dw-chat-first .dw-welcome h3 { font-size: clamp(26px, 3vw, 37px); letter-spacing: -.055em; margin: 0 0 11px; color: #234263; }
.dw-chat-first .dw-welcome p { font-size: 13px; line-height: 1.8; color: #7b8ca5; max-width: 400px; margin: 0; }
.dw-chat-first .dw-starters { display: flex; flex-wrap: wrap; justify-content: center; max-width: 720px; margin: 16px auto 8px; padding: 0; gap: 8px; }
.dw-chat-first .dw-starters button { padding: 11px 14px; min-height: 42px; font-size: 11px; background: #fff; border-color: #e0e7f2; border-radius: 11px; }
.dw-chat-first .dw-starters button > span { font-size: 16px; }
.dw-chat-first .dw-starters button > i { padding-left: 6px; }
.dw-chat-first .dw-message { font-size: 14px; line-height: 1.85; padding: 17px 21px; margin-bottom: 20px; }
.dw-chat-first .dw-message-user { max-width: 82%; margin-left: auto; background: #f0f4fc; }
.dw-chat-first .dw-message-agent { background: none; border: 0; padding-inline: 0; margin-right: 0; }
.dw-chat-first .dw-message-label { font-size: 9px; color: #7191b5; }
.dw-compose-dock { flex: none; padding: 8px 28px 0; background: linear-gradient(180deg, #fff0, #fff 12%); }
.dw-chat-first .dw-composer { margin: 0 auto; max-width: 1000px; border-radius: 17px; border-color: #cddbed; overflow: visible; box-shadow: 0 4px 18px #1d42780b; background: #fff; }
.dw-chat-first .dw-composer:focus-within { border-color: #89ade1; box-shadow: 0 0 0 3px #eaf1fc; }
.dw-chat-first .dw-composer textarea { min-height: 78px; max-height: 160px; resize: vertical; font-size: 14px; line-height: 1.7; padding: 17px 18px 9px; border-radius: 17px 17px 0 0; }
.dw-composer-toolbar { display: flex; align-items: center; gap: 12px; padding: 7px 12px 12px; }
.dw-chat-first .dw-composer select { max-width: 180px; min-height: 38px; padding: 8px 10px; font-size: 11px; border: 0; border-radius: 8px; background: #f3f6fb; }
.dw-project-type { display: flex; min-width: 0; }
.dw-context-option { position: relative; }
.dw-context-option > summary { display: flex; align-items: center; gap: 6px; list-style: none; color: #7388a4; cursor: pointer; font-size: 11px; min-height: 38px; }
.dw-context-option > summary > span { color: #a2b2c6; font-size: 15px; }
.dw-chat-first .dw-context-option .dw-address-option { position: absolute; left: -70px; bottom: calc(100% + 14px); width: 310px; max-width: calc(100vw - 72px); padding: 17px; border: 1px solid #dce5f3; border-radius: 12px; background: #fff; box-shadow: 0 10px 35px #1b355322; z-index: 4; }
.dw-chat-first .dw-address-option label { font-size: 11px; align-items: flex-start; line-height: 1.6; }
.dw-chat-first .dw-address-option input { margin: 2px 0 0; width: 15px; height: 15px; flex: none; }
.dw-chat-first .dw-address-option > span { padding-left: 23px; font-size: 9px; }
.dw-address-option small { display: block; color: #8fa0b6; font-size: 10px; line-height: 1.7; margin-top: 5px; }
.dw-prompt-count { margin-left: auto; font-size: 9px; color: #a4b1c3; white-space: nowrap; }
.dw-chat-first .dw-send { margin-left: 0; min-height: 40px; padding: 10px 15px; font-size: 12px !important; display: inline-flex; align-items: center; gap: 12px; border-radius: 10px; flex: none; }
.dw-chat-first .dw-send > span { font-size: 16px; }
.dw-chat-first .dw-fine-print { text-align: center; margin: 10px 8px 16px; font-size: 9px; line-height: 1.6; color: #9aa8ba; }
.dw-chat-first .dw-error { margin: 0 auto 10px; max-width: 1000px; font-size: 11px; }
.dw-chat-first .dw-progress { margin: 8px auto 0; max-width: 900px; }
.dw-chat-first .dw-result { min-height: 0; border-radius: 16px; box-shadow: none; }
.dw-project-summary { display: flex; align-items: center; gap: 13px; list-style: none; padding: 17px 22px; cursor: pointer; }
.dw-project-summary::-webkit-details-marker,
.dw-account-details > summary::-webkit-details-marker,
.dw-context-option > summary::-webkit-details-marker,
.dw-password-option > summary::-webkit-details-marker { display: none; }
.dw-project-icon { width: 35px; height: 35px; display: grid; place-items: center; background: #eef4ff; border-radius: 10px; color: #5279b9; font-size: 22px; flex: none; }
.dw-project-summary > span:nth-child(2) { min-width: 0; }
.dw-project-summary b { display: block; font-size: 13px; font-weight: 500; color: #3d5e87; overflow-wrap: anywhere; }
.dw-project-summary small { display: block; margin-top: 4px; font-size: 10px; color: #92a2b8; }
.dw-project-open { display: flex; gap: 15px; align-items: center; margin-left: auto; font-size: 11px; color: #5b7fac; white-space: nowrap; }
.dw-project-open i { font-size: 20px; font-style: normal; transition: transform .2s; }
.dw-result[open] .dw-project-open i { transform: rotate(45deg); }
.dw-chat-first .dw-result[open] > summary { border-bottom: 1px solid #e3eaf4; margin-bottom: 22px; }
.dw-chat-first .dw-artifact-header { padding-top: 4px; }
.dw-chat-first .dw-artifact-header h3 { font-size: 21px; }
@media (max-width: 900px) {
  .dw-chat-first .dw-conversation { height: clamp(440px, calc(100dvh - 250px), 900px); }
  .dw-chat-first .dw-signin .dw-auth-intro { flex-basis: 100%; }
  .dw-chat-first .dw-password-option { margin-left: auto; }
  .dw-chat-first .dw-signin-options { flex: 1 1 auto; }
}
@media (max-width: 600px) {
  .dw-chat-first .dw-heading { margin: 0 0 14px; align-items: center; gap: 10px; }
  .dw-heading-brand { gap: 9px; }
  .dw-heading-symbol { width: 37px; height: 37px; font-size: 24px; border-radius: 11px; }
  .dw-chat-first .dw-heading h1 { font-size: 23px; gap: 6px; }
  .dw-chat-first .dw-heading h1 span { font-size: 11px; }
  .dw-chat-first .dw-heading p { display: none; }
  .dw-heading-status { max-width: 130px; font-size: 9px; line-height: 1.4; }
  .dw-heading-status small { font-size: 8px; }
  .dw-heading-status > span { gap: 6px; }
  .dw-chat-first .dw-conversation { height: calc(100dvh - 276px); min-height: 440px; max-height: 900px; border-radius: 17px; }
  .dw-chat-first .dw-access,
  .dw-chat-first .dw-account { padding: 12px 14px; }
  .dw-chat-first .dw-access p { font-size: 11px; }
  .dw-chat-first .dw-access.dw-signin { gap: 7px 12px; }
  .dw-chat-first .dw-signin .dw-auth-intro { flex-basis: 100%; }
  .dw-chat-first .dw-auth.dw-signin h2 { font-size: 13px; }
  .dw-chat-first .dw-signin-options { flex-basis: 100%; gap: 7px; }
  .dw-chat-first .dw-auth .dw-browser-signin { flex: 1 1 125px; min-height: 44px; padding: 10px 7px; font-size: 10px; gap: 6px; }
  .dw-chat-first .dw-google-signin svg { width: 17px; height: 17px; flex-basis: 17px; }
  .dw-chat-first .dw-password-option { margin: 0; }
  .dw-chat-first .dw-password-option summary { min-height: 34px; padding: 8px 0; font-size: 10px; }
  .dw-chat-first .dw-signin .dw-password-option form { left: 0; right: auto; width: min(340px, calc(100vw - 64px)); padding: 17px; }
  .dw-chat-first .dw-access.dw-auth:not(.dw-signin) { display: block; padding: 14px; }
  .dw-chat-first .dw-auth:not(.dw-signin) .dw-auth-intro { margin-bottom: 12px; }
  .dw-chat-first .dw-auth.dw-access form { padding: 14px; }
  .dw-account-line { gap: 8px; flex-wrap: wrap; }
  .dw-account-avatar { width: 28px; height: 28px; font-size: 11px; }
  .dw-account-name { flex: 1; font-size: 11px; }
  .dw-account-name small { font-size: 8px; }
  .dw-account-balance { gap: 2px; flex-direction: column; align-items: flex-end; font-size: 8px; }
  .dw-account-balance strong { font-size: 13px; }
  .dw-account-details { margin-left: 3px; }
  .dw-account-details > summary { font-size: 10px; gap: 6px; min-height: 44px; }
  .dw-account-expanded { width: min(330px, calc(100vw - 62px)); padding: 17px; }
  .dw-chat-scroll { padding: 20px 17px 14px; }
  .dw-chat-first .dw-welcome { padding-top: 5px; }
  .dw-chat-first .dw-welcome .dw-intelligence { width: 66px; height: 66px; }
  .dw-chat-first .dw-welcome .dw-intelligence svg { width: 63px; }
  .dw-welcome-eyebrow { font-size: 7px; margin: 5px 0 11px; }
  .dw-chat-first .dw-welcome h3 { font-size: 28px; }
  .dw-chat-first .dw-welcome p { font-size: 12px; }
  .dw-chat-first .dw-starters { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 17px; }
  .dw-chat-first .dw-starters button { min-height: 44px; padding: 10px; font-size: 10px; gap: 6px; }
  .dw-chat-first .dw-starters button > i { padding: 0; }
  .dw-chat-first .dw-message { font-size: 13px; padding: 14px; }
  .dw-chat-first .dw-message-agent { padding-inline: 0; }
  .dw-chat-first .dw-message-user { max-width: 91%; }
  .dw-compose-dock { padding: 7px 12px 0; }
  .dw-chat-first .dw-composer textarea { font-size: 16px; min-height: 88px; padding: 13px 13px 7px; }
  .dw-composer-toolbar { gap: 7px; padding: 4px 9px 9px; flex-wrap: wrap; }
  .dw-chat-first .dw-composer select { max-width: 145px; min-height: 42px; font-size: 11px; padding-inline: 7px; }
  .dw-context-option > summary { font-size: 10px; min-height: 44px; }
  .dw-chat-first .dw-context-option .dw-address-option { left: auto; right: -90px; width: 280px; }
  .dw-prompt-count { display: none; }
  .dw-chat-first .dw-send { margin-left: auto; font-size: 11px !important; min-height: 44px; padding: 10px 12px; gap: 8px; }
  .dw-chat-first .dw-fine-print { font-size: 8px; margin: 9px 1px 11px; }
  .dw-chat-first .dw-progress { padding: 14px 10px; }
  .dw-project-summary { padding: 15px; gap: 9px; }
  .dw-project-summary b { font-size: 12px; }
  .dw-project-summary small { font-size: 9px; line-height: 1.5; }
  .dw-project-open { font-size: 0; gap: 0; }
}
@media (max-width: 360px) {
  .dw-heading-status small { display: none; }
  .dw-chat-first .dw-composer select { max-width: 125px; }
  .dw-chat-first .dw-send { padding: 10px; }
  .dw-chat-first .dw-account-name { max-width: 100px; }
  .dw-account-details { margin-left: auto; }
}
@media (max-width: 360px) {
  .dw-chat-first .dw-composer select { max-width: 112px; font-size: 10px; }
  .dw-composer-toolbar { gap: 5px; }
  .dw-context-option > summary { font-size: 9px; gap: 2px; }
  .dw-chat-first .dw-send { padding-inline: 9px; gap: 4px; }
}
@media (min-width: 601px) and (max-height: 820px) {
  .dw-chat-first .dw-chat-scroll { padding: 16px 26px 10px; }
  .dw-chat-first .dw-welcome { padding: 0; }
  .dw-chat-first .dw-welcome .dw-intelligence { width: 40px; height: 40px; margin-bottom: 4px; }
  .dw-chat-first .dw-welcome .dw-intelligence svg { width: 38px; }
  .dw-chat-first .dw-welcome-eyebrow { display: none; }
  .dw-chat-first .dw-welcome h3 { font-size: 27px; margin-bottom: 6px; }
  .dw-chat-first .dw-welcome p { font-size: 11px; line-height: 1.6; }
  .dw-chat-first .dw-starters { margin-top: 12px; margin-bottom: 4px; }
}
@media (max-width: 600px) {
  .dw-chat-first .dw-welcome .dw-intelligence { width: 48px; height: 48px; }
  .dw-chat-first .dw-welcome .dw-intelligence svg { width: 46px; }
  .dw-chat-first .dw-welcome-eyebrow { display: none; }
  .dw-chat-first .dw-welcome h3 { font-size: 26px; margin: 7px 0 8px; }
  .dw-chat-first .dw-welcome p { font-size: 11px; }
  .dw-chat-first .dw-starters { margin-top: 14px; }
}

/* A stopped run is distinct from animated work; recovery never starts work itself. */
.dw-chat-first .dw-halted .stopped i { background: #f2ece8; color: #94664c; border-color: #d7c7bc; box-shadow: none; animation: none; }
.dw-chat-first .dw-halted .stopped span { color: #805e4b; }
.dw-run-guidance { font-size: 12px; line-height: 1.65; color: #61718b; margin: 13px 0 0; }
.dw-recovery { border: 1px solid #bfd0e8; background: #f2f6fd; border-radius: 13px; padding: 12px 15px; margin-bottom: 10px; color: #365375; }
.dw-recovery[hidden] { display: none; }
.dw-recovery p { margin: 0 0 8px; font-size: 12px; line-height: 1.6; }
.dw-recovery button { background: #fff; border: 1px solid #b5c9e4; border-radius: 9px; color: #245891; min-height: 40px; padding: 7px 11px; font: inherit; font-size: 12px; cursor: pointer; }
.dw-chat-first .dw-composer textarea[readonly] { color: #6a7891; }
@media (max-width: 600px) {
  .dw-run-guidance, .dw-recovery p { font-size: 11px; }
  .dw-recovery { padding: 10px 12px; }
  .dw-recovery button { min-height: 44px; }
}
.dw-edit-request { border: 1px solid #bfd0e5; border-radius: 8px; color: #3e608c; background: #fff; font: inherit; font-size: 11px; padding: 7px 10px; margin-top: 10px; min-height: 40px; cursor: pointer; }

/* Use the supplied artwork at every Daxly identity touchpoint. Its transparent
   canvas is retained; the frame compensates for the original export padding. */
.daxly-brand-icon { display: inline-block; position: relative; vertical-align: middle; flex: none; }
.daxly-brand-icon > img { display: block; position: absolute; width: 150%; height: 150%; max-width: none; left: -25%; top: -25%; object-fit: contain; }
/* Render the robot as a monochrome outline in the navigation palette. */
nav .nav-button .daxly-brand-icon > img { visibility: hidden; }
nav .nav-button .daxly-brand-icon::before {
  --daxly-menu-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cg%20fill%3D%22white%22%3E%3Crect%20x%3D%2286%22%20y%3D%22259%22%20width%3D%2243%22%20height%3D%2262%22%20rx%3D%2215%22%2F%3E%3Crect%20x%3D%22383%22%20y%3D%22259%22%20width%3D%2243%22%20height%3D%2262%22%20rx%3D%2215%22%2F%3E%3Crect%20x%3D%22190%22%20y%3D%22262%22%20width%3D%2234%22%20height%3D%2260%22%20rx%3D%2212%22%2F%3E%3Crect%20x%3D%22288%22%20y%3D%22262%22%20width%3D%2234%22%20height%3D%2260%22%20rx%3D%2212%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%3E%3Crect%20x%3D%22126%22%20y%3D%22198%22%20width%3D%22260%22%20height%3D%22184%22%20rx%3D%2239%22%20stroke-width%3D%2232%22%2F%3E%3Cpath%20d%3D%22M168%20135h72v61%22%20stroke-width%3D%2236%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  content: "";
  position: absolute;
  inset: -25%;
  background: currentColor;
  -webkit-mask: var(--daxly-menu-mask) center / contain no-repeat;
  mask: var(--daxly-menu-mask) center / contain no-repeat;
}
.dw-heading-symbol .daxly-brand-icon { width: 100%; height: 100%; }
.dw-access-icon .daxly-brand-icon { width: 28px; height: 28px; }
.dw-blueprint-symbol .daxly-brand-icon { width: 48px; height: 48px; }
.dw-send .daxly-brand-icon { width: 17px; height: 17px; }
.footer-mark.daxly-brand-icon { width: 24px; height: 24px; }
.dw-heading-brand > div { min-width: 0; }
@media (max-width: 380px) {
  .dw-chat-first .dw-heading h1 { font-size: 20px; }
  .dw-heading-status { max-width: 110px; }
}

/* Conversation-led project briefing and explicit plan review. */
.dw-brief { margin: 20px 0 28px; padding: 24px; border: 1px solid #d9e5f7; border-radius: 18px; background: linear-gradient(150deg,#f7faff,#fff 65%); min-width: 0; }
.dw-brief-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.dw-brief-state { font-size: 10px; color: #3569b4; background: #eaf2ff; border-radius: 20px; padding: 6px 10px; }
.dw-brief h3 { font-size: clamp(20px,3vw,26px); letter-spacing: -.04em; line-height: 1.2; margin: 0 0 12px; }
.dw-brief > p { font-size: 13px; line-height: 1.7; color: #596f89; }
.dw-question-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; margin-top: 22px; }
.dw-question { min-width: 0; }
.dw-question label { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; color: #183754; }
.dw-question p { font-size: 11px; color: #60748f; margin: 5px 0 9px; line-height: 1.6; }
.dw-question input, .dw-question select, .dw-question textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; border: 1px solid #cddbed; border-radius: 10px; padding: 10px 11px; background: #fff; color: #183754; font-size: 14px; box-sizing: border-box; }
.dw-question textarea { resize: vertical; }
.dw-brief-details { margin: 18px 0; border-top: 1px solid #e0e7f0; border-bottom: 1px solid #e0e7f0; padding: 13px 0; }
.dw-brief-details summary { font-size: 12px; cursor: pointer; color: #315985; }
.dw-brief-details dl { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.dw-brief-details dt { font-size: 10px; color: #718096; margin-bottom: 4px; }
.dw-brief-details dd { margin: 0; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.dw-brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.dw-brief-actions > span { color: #718096; font-size: 11px; line-height: 1.5; flex: 1 1 180px; }
.dw-plan-primary, .dw-plan-secondary { border-radius: 10px; border: 1px solid #d7e2f2; min-height: 44px; padding: 12px 16px; font-size: 12px; line-height: 1.3; }
.dw-plan-primary { background: #2457cc; border-color: #2457cc; color: #fff; }
.dw-plan-secondary { background: #fff; color: #365a83; }
.dw-plan-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.dw-plan-steps li { display: flex; align-items: flex-start; gap: 12px; }
.dw-plan-steps li > span { display: grid; place-items: center; border: 1px solid #d8e5f5; width: 28px; height: 28px; border-radius: 8px; font-size: 10px; color: #386eca; flex-shrink: 0; }
.dw-plan-steps p { margin: 3px 0; font-size: 12px; line-height: 1.65; color: #344f70; }
.dw-brief .dw-plan-boundary { font-size: 11px; margin-top: 20px; }
.dw-event-list { max-height: 230px; overflow-y: auto; overscroll-behavior: contain; }
.dw-event-list > div { padding: 6px 0; }
@media(max-width:600px) {
  .dw-brief { padding: 18px 15px; margin-top: 16px; }
  .dw-question-grid, .dw-brief-details dl { grid-template-columns: minmax(0,1fr); }
  .dw-question input, .dw-question select, .dw-question textarea { font-size: 16px; }
  .dw-brief-actions > button { width: 100%; }
  .dw-brief-actions > span { flex-basis: 100%; }
  .dw-event-list { max-height: 180px; }
}

.dw-approved-plan { margin: 16px 0; border: 1px solid #d9e5f7; border-radius: 12px; background: #f7faff; }
.dw-approved-plan > summary { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; cursor: pointer; padding: 15px 18px; font-size: 11px; color: #3b648c; list-style: none; }
.dw-approved-plan > summary::-webkit-details-marker { display: none; }
.dw-approved-plan > summary strong { font-size: 12px; font-weight: 500; flex: 1; min-width: 100px; color: #233f60; }
.dw-approved-plan .dw-brief { margin: 0; border: 0; border-top: 1px solid #d9e5f7; border-radius: 0 0 12px 12px; }

/* A single reading surface. Polling must never reset a nested narration pane. */
.dw-chat-scroll { overflow-anchor: none; scroll-behavior: auto; overscroll-behavior-y: contain; }
.dw-chat-first .dw-event-list { max-height: none; overflow: visible; }
.dw-compose-dock { position: relative; }
.dw-latest { position: absolute; z-index: 5; top: -43px; left: 50%; transform: translateX(-50%); min-height: 36px; padding: 8px 14px; border: 1px solid #dce5f2; border-radius: 30px; background: #fff; color: #3b628f; box-shadow: 0 4px 20px #1f3d6a12; font-size: 11px !important; white-space: nowrap; display: flex; gap: 10px; align-items: center; }
.dw-focus-back, .dw-focus-tools { display: none; }

/* Engaged chat occupies the visual viewport, including above a phone keyboard. */
html.dw-focus-open, body.dw-focus-open { overflow: hidden; overscroll-behavior: none; height: 100%; scroll-behavior: auto; }
body.dw-focus-open > .sidebar, body.dw-focus-open .topbar,
body.dw-focus-open .preview-banner, body.dw-focus-open .app-footer,
body.dw-focus-open > .mobile-nav { display: none !important; }
body.dw-focus-open .shell { margin: 0; }
body.dw-focus-open #main { padding: 0; }
body.dw-focus-open .view-enter { transform: none; animation: none; }
.dw.dw-focus { position: fixed; z-index: 80; top: var(--dw-viewport-top,0px); left: 0; width: 100%; height: var(--dw-viewport-height,100dvh); max-width: none; margin: 0; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); background: #fafbfd; isolation: isolate; }
.dw-focus .dw-heading, .dw-focus .dw-layout, .dw-focus .dw-conversation, .dw-focus .dw-compose-dock { min-width: 0; }
.dw.dw-focus .dw-heading { position: relative; z-index: 8; min-height: 76px; margin: 0; padding: max(12px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) 12px max(24px,env(safe-area-inset-left)); gap: 20px; background: #ffffffeb; border-bottom: 1px solid #e8edf4; }
.dw-focus .dw-focus-back { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; flex: none; padding: 0 8px 0 0; font-size: 12px; color: #617692; }
.dw-focus-back svg { width: 24px; height: 24px; }
.dw-focus .dw-heading-brand { gap: 10px; }
.dw-focus .dw-heading-symbol { width: 34px; height: 34px; }
.dw.dw-focus .dw-heading h1 { font-size: 21px; margin: 0; }
.dw-focus .dw-heading-brand p { display: none; }
.dw-focus .dw-heading-status { margin-left: auto; }
.dw-focus .dw-focus-tools { display: flex; align-items: center; gap: 8px; }
.dw-focus-tools > button, .dw-focus-menu > summary { display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; border: 1px solid #e1e7f0; border-radius: 50%; background: #fff; color: #31567e; cursor: pointer; list-style: none; }
.dw-focus-tools svg { width: 22px; height: 22px; }
.dw-focus-menu > summary::-webkit-details-marker { display: none; }
.dw-focus-menu { position: relative; }
.dw-focus-menu-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(340px,calc(100vw - 24px)); max-height: calc(var(--dw-viewport-height,100dvh) - 110px); overflow: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #dce5f0; border-radius: 18px; box-shadow: 0 16px 56px #17395926; }
.dw-focus-menu-panel nav { padding: 8px; border-top: 1px solid #e7edf5; }
.dw-focus-menu-panel nav a { display: flex; justify-content: space-between; min-height: 44px; align-items: center; padding: 10px 14px; border-radius: 9px; font-size: 13px; }
.dw-focus-menu-panel nav a:hover { background: #f1f5fc; }
.dw-focus-menu-panel nav a span { color: #96a6b9; }
.dw-focus-menu-panel > p { padding: 12px 20px 18px; font-size: 10px; color: #8495ad; }
.dw-focus .dw-focus-menu-panel .dw-account { padding: 18px; border: 0; border-radius: 18px 18px 0 0; background: #f7faff; }
.dw-focus-menu-panel .dw-account-line { flex-wrap: wrap; gap: 10px; }
.dw-focus-menu-panel .dw-account-name { flex: 1; max-width: none; font-size: 12px; }
.dw-focus-menu-panel .dw-account-balance { margin-left: 0; }
.dw-focus-menu-panel .dw-account-details { width: 100%; margin: 0; }
.dw-focus-menu-panel .dw-account-details > summary { justify-content: space-between; min-height: 36px; font-size: 12px; }
.dw-focus-menu-panel .dw-account-expanded { position: static; width: 100%; padding: 14px 0 0; border: 0; box-shadow: none; border-radius: 0; background: none; }
.dw.dw-focus .dw-layout { min-height: 0; height: 100%; display: block; }
.dw.dw-focus .dw-conversation { min-height: 0; height: 100%; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.dw.dw-focus .dw-chat-scroll { min-height: 0; flex: 1 1 0%; padding: 30px max(28px,calc((100vw - 860px)/2)) 54px; }
.dw-focus .dw-chat-scroll > * { max-width: 860px; margin-inline: auto; }
.dw.dw-focus .dw-message { font-size: 15px; line-height: 1.85; }
.dw.dw-focus .dw-message-user { max-width: 86%; background: #eff4fd; border-color: #e1e9f6; border-radius: 18px; }
.dw.dw-focus .dw-progress { background: #f5f8fd; border-color: #dfe8f6; padding: 24px; }
.dw-focus .dw-event-list { font-size: 12px; line-height: 1.85; }
.dw-focus .dw-event-list > div { padding-block: 9px; }
.dw.dw-focus .dw-compose-dock { flex: none; padding: 8px max(28px,calc((100vw - 860px)/2)) max(8px,env(safe-area-inset-bottom)); background: #fafbfdf2; box-shadow: 0 -10px 22px #fafbfd; z-index: 6; }
.dw.dw-focus .dw-composer { width: 100%; max-width: none; border-radius: 22px; background: #fff; box-shadow: 0 5px 24px #203c620a; }
.dw.dw-focus .dw-composer textarea { min-height: 56px; height: 74px; max-height: 116px; padding: 16px 18px 4px; resize: none; font-size: 16px; line-height: 1.6; outline-offset: -4px; }
.dw-focus .dw-composer-toolbar { min-height: 48px; flex-wrap: nowrap; }
.dw.dw-focus .dw-fine-print { margin: 8px 0 2px; font-size: 9px; }
.dw-focus .dw-recovery, .dw-focus .dw-error { max-height: 105px; overflow: auto; overscroll-behavior: contain; }
.dw-focus .dw-chat-scroll > .dw-result { margin-top: 22px; background: #fff; }
.dw.dw-keyboard-open .dw-fine-print { display: none; }
.dw.dw-keyboard-open .dw-compose-dock { padding-bottom: 6px; }
.dw.dw-keyboard-open .dw-composer textarea { height: 56px; }
@media(max-width:600px) {
  .dw.dw-focus .dw-heading { min-height: 70px; padding: max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left)); display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 3px 10px; }
  .dw-focus .dw-focus-back { grid-row: 1 / 3; grid-column: 1; padding: 0; width: 34px; }
  .dw-focus-back span { display: none; }
  .dw-focus .dw-heading-brand { grid-column: 2; grid-row: 1; gap: 7px; }
  .dw-focus .dw-heading-symbol { width: 25px; height: 25px; }
  .dw.dw-focus .dw-heading h1 { font-size: 18px; letter-spacing: .1em; }
  .dw.dw-focus .dw-heading h1 span { display: none; }
  .dw-focus .dw-heading-status { grid-column: 2; grid-row: 2; margin: 0; max-width: none; text-align: left; font-size: 10px; display: block; }
  .dw-focus .dw-heading-status > span { justify-content: flex-start; gap: 5px; }
  .dw-focus .dw-heading-status b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dw-focus .dw-heading-status small { display: none; }
  .dw-focus .dw-focus-tools { grid-column: 3; grid-row: 1 / 3; gap: 5px; }
  .dw-focus-tools > button, .dw-focus-menu > summary { width: 42px; height: 42px; padding: 10px; }
  .dw.dw-focus .dw-chat-scroll { padding: 22px 20px 54px; }
  .dw.dw-focus .dw-message { font-size: 14px; line-height: 1.8; }
  .dw.dw-focus .dw-message-user { max-width: 94%; padding: 16px; }
  .dw.dw-focus .dw-progress { padding: 18px 14px; }
  .dw-focus .dw-event-list { font-size: 12px; }
  .dw.dw-focus .dw-compose-dock { padding: 7px 12px max(8px,env(safe-area-inset-bottom)); }
  .dw.dw-focus .dw-composer textarea { height: 70px; padding: 13px 14px 4px; }
  .dw-focus .dw-composer-toolbar { gap: 7px; padding: 4px 10px 10px; }
  .dw.dw-focus .dw-composer select { max-width: 145px; min-height: 40px; font-size: 11px; }
  .dw.dw-focus .dw-send { font-size: 11px !important; min-height: 40px; padding: 9px 12px; }
  .dw.dw-focus .dw-fine-print { font-size: 8px; margin-top: 7px; }
  .dw.dw-keyboard-open .dw-compose-dock { padding-bottom: 6px; }
  .dw.dw-keyboard-open .dw-composer textarea { height: 56px; }
}
@media(max-width:360px) {
  .dw.dw-focus .dw-chat-scroll { padding-inline: 14px; }
  .dw.dw-focus .dw-composer select { max-width: 118px; font-size: 10px; }
  .dw-focus .dw-composer-toolbar { gap: 4px; padding-inline: 8px; }
  .dw.dw-focus .dw-send { padding-inline: 9px; }
}

.dw-wallet-delivery { padding: 12px 15px; background: #eaf2ff; border: 1px solid #d8e5fa; border-radius: 12px; color: #365a86 !important; font-size: 12px !important; }
.wallet-creations { min-width: 0; margin: 28px 0; }
.wc-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.wc-eyebrow { display: block; font: 9px/1.7 'Space Grotesk',sans-serif; letter-spacing: .14em; color: #7f7b91; margin-bottom: 5px; }
.wc-heading h2 { font-size: 23px; letter-spacing: -.04em; margin: 0; }
.wc-heading > button { width: 44px; height: 44px; border: 1px solid #e2dfeb; border-radius: 50%; background: white; font-size: 20px; color: #77538f; cursor: pointer; }
.wc-intro { color: #817c8d; font-size: 12px; line-height: 1.7; margin: 0 0 20px; }
.wc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 16px; }
.wc-card { min-width: 0; overflow: hidden; border: 1px solid #e4e0ec; border-radius: 20px; background: #fff; }
.wc-art { height: 148px; display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 10%,#fff 0%,transparent 60%),linear-gradient(135deg,#f4f0fc,#e8ecfc); }
.wc-art > span { z-index: 1; display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid #ffffffcf; box-shadow: 0 10px 25px #63529214,inset 0 0 20px #fff9; border-radius: 50%; color: #7656a3; font-size: 21px; letter-spacing: -.04em; background: #f9f6fdcc; }
.wc-art > i { position: absolute; width: 160px; height: 160px; border: 1px solid #9d85bf24; border-radius: 50%; transform: rotate(-30deg) scaleY(.42); }
.wc-art > i:last-child { transform: rotate(35deg) scaleY(.6); width: 190px; height: 190px; }
.wc-nft .wc-art { height: 190px; background: radial-gradient(ellipse at 80% 10%,#fff 0%,transparent 60%),linear-gradient(135deg,#f6e6d8,#eee5fb 55%,#e9eefe); }
.wc-nft .wc-art > span { border-radius: 23px; font-size: 45px; transform: rotate(-8deg); }
.wc-card-copy { padding: 20px; }
.wc-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 8px; line-height: 1.6; letter-spacing: .07em; color: #8c829b; }
.wc-label > b { letter-spacing: 0; font-weight: 400; font-size: 9px; padding: 5px 8px; border: 1px solid #e7dfcf; background: #fcf8ef; border-radius: 20px; color: #91815c; }
.wc-card h3 { font-size: 23px; line-height: 1.3; letter-spacing: -.04em; margin: 13px 0; overflow-wrap: anywhere; }
.wc-card p { font-size: 11px; line-height: 1.8; color: #898095; margin: 7px 0; overflow-wrap: anywhere; }
.wc-card strong { font-weight: 500; color: #4f4063; margin-left: 7px; }
.wc-card p.wc-note, .wc-note { font-size: 10px; color: #91889e; line-height: 1.8; }
.wc-card button, .wc-dialog button[data-wc-download] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; min-height: 44px; width: 100%; border: 1px solid #e6e0ed; border-radius: 10px; background: #faf8fd; color: #6c488c; font-size: 11px; cursor: pointer; margin-top: 18px; }
.wc-empty { padding: 28px; border: 1px dashed #dcd6e7; border-radius: 18px; color: #8d8299; background: #ffffff6b; font-size: 12px; line-height: 1.8; }
.wc-empty b { font-weight: 500; color: #5f4d74; font-size: 15px; }
.wc-empty a { display: inline-block; margin-top: 12px; color: #794d9f; font-weight: 500; min-height: 44px; padding-top: 10px; }
.wc-dialog { position: fixed; width: min(680px,calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 40px); padding: 30px; border: 1px solid #e1dbea; border-radius: 22px; background: #fdfcfe; color: #493559; box-shadow: 0 20px 90px #2b173a30; overflow-y: auto; overscroll-behavior: contain; }
.wc-dialog::backdrop { background: #30254255; backdrop-filter: blur(5px); }
.wc-dialog h2 { font-size: 27px; letter-spacing: -.04em; margin: 12px 32px 14px 0; overflow-wrap: anywhere; }
.wc-dialog p { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.wc-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5dfea; background: white; color: #846d96; font-size: 23px; cursor: pointer; }
.wc-detail-state { display: inline-block; font-size: 10px; padding: 6px 10px; color: #99805c; border: 1px solid #e8ddc9; border-radius: 20px; background: #fffaf1; }
.wc-source-list { margin-top: 22px; border-top: 1px solid #e5deec; }
.wc-source-list details { border-bottom: 1px solid #e5deec; }
.wc-source-list summary { padding: 16px 5px; cursor: pointer; font-size: 12px; overflow-wrap: anywhere; }
.wc-source-list pre { max-height: 320px; overflow: auto; padding: 18px; background: #19293d; color: #e5edf7; font: 11px/1.8 monospace; border-radius: 10px; }
.wc-dialog a { display: inline-block; padding: 14px 0; min-height: 44px; color: #6c488c; font-size: 12px; }
@media(max-width:600px) { .wc-dialog { padding: 24px 18px; } .wc-card-copy { padding: 18px; } .wc-heading h2 { font-size: 22px; } .wc-intro { font-size: 11px; } }

/* Keep the brief secondary to the conversation and the next useful action. */
.dw-recommended { display:block; margin-top:7px; color:#64788f; font-size:11px; line-height:1.5; }
.dw-wallet-delivery summary { cursor:pointer; font-weight:500; }
.dw-wallet-delivery p { margin:10px 0 0; line-height:1.65; }
a.dw-edit-request { display:inline-flex; align-items:center; text-decoration:none; min-height:44px; }

/* A continuous, phase-aware signal beneath narration; never simulated progress. */
.dw-work-status {
  display: flex; align-items: center; gap: 15px; margin-top: 18px; padding: 17px 18px;
  border: 1px solid #dce7fa; border-radius: 16px;
  background: linear-gradient(115deg, #fff 0%, #edf4ff 100%);
}
.dw-work-status[hidden] { display: none; }
.dw-work-copy { display: grid; gap: 4px; min-width: 0; }
.dw-work-copy strong { font: 600 14px/1.35 "Space Grotesk", sans-serif; color: #2854a2; }
.dw-work-copy > span { color: #637b9a; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.dw-work-orbit {
  position: relative; display: block; width: 36px; height: 36px; flex: 0 0 36px;
  border: 1px solid #cbdcf7; border-radius: 50%;
  background: radial-gradient(circle, #e7efff 0 25%, transparent 27%);
}
.dw-work-orbit::before {
  content: ""; position: absolute; inset: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #88b5fa, #2056c8); box-shadow: 0 0 12px #4380e52a;
}
.dw-work-orbit i, .dw-work-orbit b { position: absolute; inset: -2px; border-radius: 50%; animation: dw-work-orbit 1.9s linear infinite; }
.dw-work-orbit i { border: 2px solid transparent; border-top-color: #2d67d5; border-right-color: #8db8fa; }
.dw-work-orbit b { inset: 4px; animation-duration: 3.8s; animation-direction: reverse; }
.dw-work-orbit b::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; left: 0; top: 0; background: #6095e8; box-shadow: 0 0 0 3px #dce9fd; }
@keyframes dw-work-orbit { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .dw-work-status { padding: 14px 12px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .dw-work-orbit i, .dw-work-orbit b { animation: none; } }

/* A question stays a conversation: no project timeline or build narration. */
.dw-chat-thinking { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 2px; color: #617796; font-size: 12px; }
.dw-chat-thinking > button { margin-left: auto; border: 0; background: transparent; padding: 10px; min-height: 44px; color: #617796; font: inherit; cursor: pointer; }
.dw-typing-dots { display: flex; align-items: center; gap: 4px; width: 25px; }
.dw-typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: #6388cc; animation: dw-chat-dot 1.5s ease-in-out infinite; }
.dw-typing-dots i:nth-child(2) { animation-delay: .18s; }
.dw-typing-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dw-chat-dot { 0%, 65%, 100% { opacity: .3; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dw-typing-dots i { animation: none; opacity: .7; } }

/* Compiled coin -> locally owned receiving address -> verified test holding. */
[data-dw-delivery], [data-wc-delivery] { min-width: 0; max-width: 100%; }
[data-dw-delivery] { margin: 22px 0; }
.ad-card { box-sizing: border-box; min-width: 0; max-width: 100%; padding: 24px; border: 1px solid #dce4ef; border-radius: 22px; background: linear-gradient(145deg,#fff,#f4f7ff); color: #24364f; overflow-wrap: anywhere; }
.ad-heading { display: flex; align-items: center; gap: 14px; min-width: 0; margin-bottom: 22px; }
.ad-heading > div { min-width: 0; flex: 1; }
.ad-card .ad-coin { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; border: 1px solid #d8dcf0; border-radius: 18px; background: radial-gradient(circle at 25% 20%,#fff,#ebe4fa 72%,#dee8ff); box-shadow: 0 6px 18px #5b6cac12; color: #5b4382; font: 600 16px 'Space Grotesk',sans-serif; }
.ad-eyebrow { display: block; color: #7d8ca3; font: 9px/1.6 'Space Grotesk',sans-serif; letter-spacing: .13em; }
.ad-card h3 { margin: 3px 0 0; font: 500 clamp(21px,4vw,27px)/1.2 'Space Grotesk',sans-serif; letter-spacing: -.035em; color: #21364e; }
.ad-check { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e4f2ec; color: #37846b; }
.ad-status { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding-top: 17px; border-top: 1px solid #e3e8f1; }
.ad-status > div { min-width: 0; }
.ad-card h4 { margin: 0 0 7px; font: 500 16px/1.4 'Space Grotesk',sans-serif; color: #304663; }
.ad-card p { margin: 6px 0 0; color: #718198; font: 12px/1.75 'Manrope',sans-serif; }
.ad-spinner { flex: 0 0 17px; width: 17px; height: 17px; box-sizing: border-box; margin-top: 4px; border: 2px solid #e0e7f2; border-top-color: #3c6bb8; border-radius: 50%; animation: ad-spin 1.25s linear infinite; }
.ad-card .ad-planned { margin-top: 16px; color: #8993a3; font-size: 11px; }
.ad-planned b { color: #65748e; font-weight: 500; }
.ad-balance { margin: 22px 0 14px; padding: 20px 0; border-top: 1px solid #dfe9e5; border-bottom: 1px solid #dfe9e5; }
.ad-balance > span { display: block; font-size: 11px; color: #718b83; margin-bottom: 8px; }
.ad-balance strong { display: block; font: 500 clamp(26px,6vw,38px)/1.25 'Space Grotesk',sans-serif; letter-spacing: -.04em; color: #285847; overflow-wrap: anywhere; }
.ad-balance small { font: 500 14px/1.4 'Space Grotesk',sans-serif; letter-spacing: 0; color: #75988a; }
.ad-verified { border-color: #d9e8e1; background: linear-gradient(145deg,#fff,#f2f9f5); }
.ad-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.ad-card .ad-actions button { box-sizing: border-box; cursor: pointer; min-height: 46px; max-width: 100%; border-radius: 12px; padding: 11px 15px; font: 500 12px/1.6 'Manrope',sans-serif; margin: 0; white-space: normal; }
.ad-card .ad-actions .ad-primary { display: flex; justify-content: space-between; gap: 12px; flex: 1 1 220px; border: 1px solid #3564ba; background: #2459b6; color: #fff; box-shadow: 0 4px 14px #3469bf17; }
.ad-card .ad-actions .ad-refresh { flex: 1 1 150px; border: 1px solid #dbe3ef; background: #ffffffb3; color: #59738f; }
.ad-card .ad-actions button:disabled { opacity: .55; cursor: default; }
.ad-card .ad-actions button:focus-visible, .ad-details summary:focus-visible { outline: 2px solid #6497e3; outline-offset: 3px; }
.ad-card .ad-error { padding: 12px 14px; margin-top: 16px; border: 1px solid #e8ddc5; border-radius: 12px; background: #fffaf0; color: #88724d; }
.ad-card .ad-note { margin-top: 13px; font-size: 11px; }
.ad-card .ad-boundary { margin-top: 17px; font-size: 10px; line-height: 1.7; color: #94a0af; }
.ad-details { border-top: 1px solid #e2e8ed; margin-top: 20px; font-size: 11px; }
.ad-details summary { cursor: pointer; padding: 14px 0; color: #648176; }
.ad-fact { min-width: 0; margin: 0 0 13px; }
.ad-fact > span { display: block; color: #8c98a4; margin-bottom: 5px; font-size: 10px; }
.ad-fact code { display: block; white-space: normal; overflow-wrap: anywhere; word-break: break-word; color: #627d72; font-size: 10px; line-height: 1.7; }
.wc-verified .wc-label > b { background: #eef7f2; border-color: #d9e9df; color: #6c9680; }
.wc-dialog [data-wc-delivery] { padding-top: 22px; }
.wc-dialog .ad-card { padding: 0; border: 0; background: transparent; }
.wc-source-fold > summary { list-style: disclosure-closed; color: #8b8a9a; font-size: 11px; }
.wc-source-fold[open] > summary { list-style: disclosure-open; }
@keyframes ad-spin { to { transform: rotate(360deg); } }
@media(max-width:420px) {
  .ad-card { padding: 19px 16px; border-radius: 18px; }
  .ad-heading { gap: 10px; margin-bottom: 18px; }
  .ad-card .ad-coin { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; font-size: 14px; }
  .ad-card .ad-actions button { flex-basis: 100%; width: 100%; }
  .ad-card h4 { font-size: 15px; }
}
@media(prefers-reduced-motion:reduce) { .ad-spinner { animation: none; } }
body.motion-paused .ad-spinner, [data-motion="paused"] .ad-spinner { animation-play-state: paused; }

/* Wallet actions remain attached while the delivery summary refreshes. */
[data-ad-transfer] { min-width: 0; max-width: 100%; }
[data-ad-transfer][hidden] { display: none; }
.ct-wallet { box-sizing: border-box; min-width: 0; max-width: 100%; margin-top: 12px; padding: 20px; border: 1px solid #dce5ec; border-radius: 18px; color: #304663; background: #fff; overflow-wrap: anywhere; font: 12px/1.7 'Manrope',sans-serif; }
.ct-wallet *, .ct-wallet *::before, .ct-wallet *::after { box-sizing: border-box; }
.ct-toolbar, .ct-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-toolbar > button { flex: 1 1 90px; }
.ct-wallet button { min-height: 46px; max-width: 100%; border: 1px solid #dce4ef; border-radius: 12px; padding: 10px 16px; background: #f8faff; color: #486887; font: 500 12px/1.6 'Manrope',sans-serif; white-space: normal; cursor: pointer; }
.ct-wallet .ct-primary { border-color: #2459b6; background: #2459b6; color: #fff; }
.ct-wallet button:disabled { opacity: .5; cursor: default; }
.ct-wallet button:focus-visible, .ct-wallet input:focus-visible, .ct-wallet summary:focus-visible { outline: 2px solid #6392dc; outline-offset: 3px; }
.ct-toolbar button > span { font-size: 20px; margin-right: 8px; }
.ct-form, .ct-review, .ct-receive, .ct-result { min-width: 0; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e5eaf1; }
.ct-wallet h4 { margin: 0 0 16px; color: #284264; font: 500 22px/1.3 'Space Grotesk',sans-serif; letter-spacing: -.03em; }
.ct-form label { display: block; margin-bottom: 18px; color: #657891; font-size: 11px; }
.ct-wallet input { width: 100%; min-width: 0; display: block; margin-top: 8px; border: 1px solid #d8e1ef; border-radius: 12px; padding: 13px; background: #fbfcff; color: #304b6b; font: 400 16px/1.5 'Space Grotesk',sans-serif; }
.ct-amount-input { display: flex; gap: 8px; align-items: center; min-width: 0; margin-top: 8px; }
.ct-amount-input input { margin-top: 0; flex: 1 1 0; }
.ct-amount-input button { flex: 0 0 auto; }
.ct-wallet p { margin: 12px 0; color: #7789a0; font: 11px/1.8 'Manrope',sans-serif; }
.ct-wallet .ct-note, .ct-wallet .ct-available { color: #8192a6; font-size: 10px; }
.ct-buttons { margin-top: 18px; }
.ct-buttons button:first-child { flex: 1 1 140px; }
.ct-wallet .ct-error { margin: 14px 0; padding: 12px; border: 1px solid #ecdfc6; border-radius: 11px; color: #8b7652; background: #fffaf1; }
.ct-wallet [hidden] { display: none !important; }
.ct-review dl { margin: 20px 0; }
.ct-review dl > div { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 12px; margin-bottom: 15px; }
.ct-review dt { color: #8a99ad; font-size: 10px; }
.ct-review dd { margin: 0; min-width: 0; color: #526c8b; font-size: 11px; }
.ct-address { display: block; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; word-break: break-word; font: 11px/1.9 'Space Grotesk',monospace; }
.ct-receive > code { margin: 18px 0; padding: 15px; border: 1px solid #dce7f6; border-radius: 12px; background: #f4f8ff; user-select: all; }
.ct-result h4 { display: flex; align-items: center; gap: 10px; }
.ct-result > strong { display: block; margin-top: 16px; font: 500 22px/1.4 'Space Grotesk',sans-serif; }
.ct-result summary { padding: 10px 0; cursor: pointer; color: #607da1; font-size: 11px; }
.wc-dialog .ct-wallet { margin-top: 20px; }
@media(max-width:420px) {
  .ct-wallet { padding: 16px; }
  .ct-review dl > div { grid-template-columns: 1fr; gap: 4px; }
  .ct-buttons button { flex: 1 1 100%; width: 100%; }
  .ct-wallet h4 { font-size: 20px; }
}

/* Owned project artwork is rendered as an inert image at every coin size. */
.token-artwork { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: inherit; }
.wc-art > span:has(.token-artwork) { width: 108px; height: 108px; background: transparent; border: 0; box-shadow: 0 8px 24px #63529218; transform: none; }
.ad-card .ad-coin:has(.token-artwork) { background: transparent; border: 0; }

/* Daxly projects and local-wallet holdings are different scopes. */
.wc-group + .wc-group { margin-top: 30px; }
.wc-group-heading { display: flex; align-items: center; gap: 10px; margin: 20px 0 6px; }
.wc-group-heading h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.025em; }
.wc-group-heading > span { border: 1px solid #dce3ef; border-radius: 20px; padding: 2px 8px; color: #7b879b; font-size: 10px; }
.wc-group-note { margin: 0 0 15px; color: #79879b; font-size: 11px; line-height: 1.8; }
.wc-different .wc-label b,.wc-unknown .wc-label b { color: #886b47; background: #fbf5e9; }
.wc-destination span { display: block; overflow-wrap: anywhere; word-break: break-word; }
.ad-ownership { margin: 18px 0; padding: 17px 18px; border: 1px solid #dbe4f0; border-radius: 12px; background: #f7faff; }
.ad-ownership > b { display: block; margin-bottom: 13px; font-size: 12px; color: #466181; }
.ad-ownership-different,.ad-ownership-unknown { border-color: #e7d9bb; background: #fffbf3; }
.ad-ownership-different > b,.ad-ownership-unknown > b { color: #856942; }
.ad-ownership p { margin: 12px 0 0; font-size: 11px; line-height: 1.8; color: #798395; }
.ad-ownership .ad-fact { min-width: 0; }
.ad-ownership .ad-fact code { overflow-wrap: anywhere; word-break: break-word; }
@media(max-width:480px) { .ad-ownership { padding: 15px; }.ad-ownership .ad-fact { display: block; }.ad-ownership .ad-fact code { display: block; margin-top: 6px; } }

/* Production Daxly task stream: open typography, real task states, restrained motion. */
.dw-live-work{padding:20px 4px 24px;color:var(--dw-ink,#263a53);min-width:0}
.dw-live-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#76859a;margin-bottom:20px}
.dw-live-heading button{background:none;border:0;color:inherit;text-decoration:underline;padding:8px;min-height:40px;cursor:pointer}
.dw-live-tasks{list-style:none;margin:0 0 24px;padding:14px 18px;border:1px solid #e2e8f1;border-radius:16px;background:#f7f9fd}
.dw-live-tasks li{display:flex;align-items:center;gap:12px;padding:9px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.dw-task-mark{flex:none;width:18px;color:#6081be}.dw-task-active .dw-task-mark,.dw-task-running .dw-task-mark{color:#1950bf;animation:dw-live-turn 3s linear infinite}
.dw-task-completed .dw-task-mark{color:#368672}.dw-task-failed .dw-task-mark,.dw-task-blocked .dw-task-mark{color:#aa7043}
.dw-task-state{margin-left:auto;color:#8a96a8;font-size:10px;flex:none;text-transform:capitalize}
.dw-live-narration p{position:relative;margin:0;padding:10px 0 10px 20px;font-size:13px;line-height:1.8;color:#748399;white-space:pre-wrap;overflow-wrap:anywhere}
.dw-live-narration p:before{position:absolute;left:1px;top:20px;content:'';width:4px;height:4px;border-radius:50%;background:#91acdb}
.dw-live-reply{font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:20px;color:#34465d}
.dw-live-activity{display:flex;align-items:center;gap:12px;padding:20px 0 4px;font-size:12px;color:#6680a8}
.dw-live-orbit{width:19px;height:19px;border:1px solid #d6e1f1;border-top-color:#2859b6;border-right-color:#648bd0;border-radius:50%;animation:dw-live-turn 1.8s linear infinite}
@keyframes dw-live-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.dw-live-orbit,.dw-task-active .dw-task-mark,.dw-task-running .dw-task-mark{animation:none}}
@media(max-width:560px){.dw-live-tasks{padding:10px 12px}.dw-task-state{font-size:9px}.dw-live-work{padding-left:0;padding-right:0}}

/* The running app stays mounted while narration and task status update. */
.dw-hosted{margin:24px 0;border:1px solid #d8e1ef;border-radius:22px;background:#fff;overflow:hidden;min-width:0}
.dw-hosted-head,.dw-hosted-foot{padding:18px 20px;display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.dw-hosted h3{margin:6px 0;font-size:20px;overflow-wrap:anywhere}.dw-hosted-head p,.dw-hosted-foot{font-size:12px;color:#66788e}
.dw-hosted-actions{display:flex;gap:8px;flex-wrap:wrap}.dw-hosted a,.dw-hosted button{display:inline-flex;align-items:center;min-height:44px;color:#2454b5;font:inherit;text-decoration:none}
.dw-hosted-actions a,.dw-hosted-actions button{border:1px solid #d8e1ef;border-radius:12px;padding:9px 14px;background:#f5f8ff;font-size:13px}
.dw-hosted-surface{background:#f5f7fb;min-height:300px}.dw-hosted-surface>p{padding:40px 24px;color:#67778e}.dw-hosted iframe{display:block;width:100%;height:520px;border:0;background:white}.dw-hosted iframe[hidden]{display:none}
.dw-hosted-expanded{position:fixed;inset:12px;z-index:1200;margin:0;display:flex;flex-direction:column;box-shadow:0 12px 100px #172d5855}.dw-hosted-expanded .dw-hosted-surface{flex:1;min-height:0}.dw-hosted-expanded iframe{height:100%}
.dw-focus .dw-chat-scroll > .dw-hosted-expanded{max-width:none}.dw-hosted.dw-hosted-expanded iframe{height:100%}.dw-hosted[hidden]{display:none}
@media(max-width:600px){.dw-hosted-head,.dw-hosted-foot{padding:14px;gap:8px}.dw-hosted iframe{height:420px}.dw-hosted-expanded{inset:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.dw-hosted h3{font-size:18px}}
