/*
 * Site assistant widget (public/js/assistant-widget.js). Loaded only where the widget renders.
 * Every selector is under .aw. Tokens: --aw-accent (the site's accent), --aw-on-accent (set by the
 * script for contrast), --aw-radius (data-shape rounded|square), --aw-font (system stack),
 * --aw-offset (px, from the include) and --aw-lift (measured: fixed bars in the corner).
 * Light and dark follow the page behind the launcher (data-scheme), or data-theme when forced.
 */
.aw {
  --aw-accent: #4f46e5;
  --aw-on-accent: #fff;
  --aw-radius: 16px;
  --aw-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --aw-paper: #ffffff;
  --aw-soft: #f4f4f6;
  --aw-soft-2: #ebebef;
  --aw-ink: #17181c;
  --aw-ink-2: #3f424a;
  --aw-muted: #676b75;
  --aw-line: rgba(23, 24, 28, .12);
  --aw-line-2: rgba(23, 24, 28, .2);
  --aw-good: #157347;
  --aw-warn: #9a5b00;
  --aw-bad: #b3261e;
  --aw-shadow: 0 1px 2px rgba(16, 17, 20, .06), 0 12px 32px -8px rgba(16, 17, 20, .22), 0 32px 64px -24px rgba(16, 17, 20, .28);
  --aw-tint: #eef0ff;
  --aw-tint: color-mix(in srgb, var(--aw-accent) 9%, var(--aw-paper));
  --aw-ring: color-mix(in srgb, var(--aw-accent) 45%, transparent);
  --aw-r-sm: min(var(--aw-radius), 10px);
  --aw-r-md: min(var(--aw-radius), 12px);
  font: 400 15px/1.5 var(--aw-font);
  color: var(--aw-ink);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.aw[data-scheme="dark"] {
  --aw-paper: #16171b;
  --aw-soft: #202227;
  --aw-soft-2: #2a2c32;
  --aw-ink: #f3f3f5;
  --aw-ink-2: #cfd1d6;
  --aw-muted: #a0a4ad;
  --aw-line: rgba(255, 255, 255, .11);
  --aw-line-2: rgba(255, 255, 255, .2);
  --aw-good: #5fd39a;
  --aw-warn: #f2b35b;
  --aw-bad: #ff8a80;
  --aw-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -8px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  --aw-tint: color-mix(in srgb, var(--aw-accent) 16%, var(--aw-paper));
}
.aw[data-shape="square"] { --aw-radius: 0px; }
.aw[hidden] { display: none !important; }

/* a scoped reset so the host page's element styles don't leak in (class rules below win) */
.aw, .aw *, .aw *::before, .aw *::after { box-sizing: border-box; }
.aw :where(h2, h3, h4, p, ul, ol, li, button, a, textarea, section, article, header, form, figure, figcaption, label, img, strong, b, em, small, span, div, i) {
  margin: 0; padding: 0; border: 0; background: none; box-shadow: none; text-shadow: none; float: none;
  font: inherit; letter-spacing: normal; text-transform: none; text-decoration: none; text-align: inherit;
  color: inherit; line-height: inherit; min-width: 0; min-height: 0; max-width: none; width: auto; height: auto;
  list-style: none; opacity: 1; transform: none; filter: none; border-radius: 0; outline: 0;
}
.aw :where(button) { cursor: pointer; -webkit-appearance: none; appearance: none; }
.aw :where(ul, ol) { list-style: none; }
.aw :where(img) { display: block; max-width: 100%; }
.aw :where(svg) { display: inline-block; vertical-align: middle; }
.aw :where(a, button, textarea, [tabindex]):focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
.aw [hidden] { display: none !important; }
.aw-sr, .aw .aw-who { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
html.aw-lock, html.aw-lock body { overflow: hidden !important; }

/* ---------- launcher */
.aw-launch {
  position: fixed; z-index: 2147483001;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--aw-lift, 0px) + var(--aw-offset, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; max-width: calc(100vw - 32px);
  background: var(--aw-accent); color: var(--aw-on-accent);
  border-radius: max(var(--aw-radius), 0px) !important;
  font: 600 15px/1 var(--aw-font);
  box-shadow: 0 2px 6px rgba(16, 17, 20, .18), 0 10px 28px -6px rgba(16, 17, 20, .35);
  transition: transform .18s ease, box-shadow .18s ease, bottom .2s ease;
}
.aw:not([data-shape="square"]) .aw-launch { border-radius: 999px !important; }
.aw-launch:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(16, 17, 20, .2), 0 14px 32px -6px rgba(16, 17, 20, .4); }
.aw-launch:focus-visible { outline: 3px solid var(--aw-ink) !important; outline-offset: 3px; }
.aw-launch[aria-busy="true"] { cursor: progress; }
.aw-launch-i { flex: none; }
.aw-launch-i path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.aw-launch-i .aw-spark { fill: currentColor; stroke: none; }
.aw-launch-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .aw-launch { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .aw-launch-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- dialog: a panel above the launcher on desktop, a full-screen sheet on phones */
.aw-dialog {
  position: fixed; inset: auto max(16px, env(safe-area-inset-right)) calc(max(16px, env(safe-area-inset-bottom)) + var(--aw-lift, 0px) + var(--aw-offset, 0px)) auto;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--aw-ink); overflow: visible;
  width: min(408px, calc(100vw - 32px)); height: min(700px, calc(100dvh - 32px - var(--aw-lift, 0px) - var(--aw-offset, 0px)));
  max-width: none; max-height: none; font: 400 15px/1.5 var(--aw-font);
  opacity: 0; transform: translateY(14px) scale(.985); transform-origin: bottom right;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}
.aw-dialog.is-open { opacity: 1; transform: none; }
.aw-dialog::backdrop { background: rgba(12, 12, 16, .16); }
.aw-panel {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--aw-paper); border: 1px solid var(--aw-line); border-radius: var(--aw-radius); box-shadow: var(--aw-shadow);
}
@media (max-width: 640px), (max-height: 520px) {
  .aw-dialog { inset: 0; width: 100%; height: 100%; transform: translateY(24px); }
  .aw-dialog::backdrop { background: rgba(12, 12, 16, .4); }
  .aw-panel { border: 0; border-radius: 0; box-shadow: none; padding-top: env(safe-area-inset-top); }
}

/* header */
.aw-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--aw-line); flex: none; }
.aw-avatar {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--aw-accent); color: var(--aw-on-accent); border-radius: 50%; font: 700 16px/1 var(--aw-font);
}
.aw[data-shape="square"] .aw-avatar { border-radius: 0; }
.aw-id { flex: 1; min-width: 0; }
.aw-title { font: 650 15.5px/1.25 var(--aw-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aw-title:focus { outline: 0; }
.aw-id p { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 12.5px; line-height: 1.35; color: var(--aw-muted); margin-top: 2px; }
.aw-id p span + span::before { content: "·"; margin-right: 6px; }
.aw-ai { color: var(--aw-ink-2); font-weight: 600; }
.aw-demo {
  flex: none; font: 600 11.5px/1 var(--aw-font); color: var(--aw-ink-2);
  padding: 6px 8px; border: 1px dashed var(--aw-line-2); border-radius: 999px;
}
.aw[data-shape="square"] .aw-demo { border-radius: 0; }
.aw-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; color: var(--aw-ink-2);
  border-radius: var(--aw-r-sm);
}
.aw-icon:hover { background: var(--aw-soft); color: var(--aw-ink); }
.aw-icon svg, .aw-send svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* conversation */
.aw-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; }
.aw-log > * { flex-shrink: 0; }
.aw-log:focus-visible { outline-offset: -2px; }
.aw-msg { position: relative; display: flex; flex-direction: column; }
.aw-msg-you { align-items: flex-end; }
.aw-msg-you .aw-content {
  max-width: 86%; padding: 9px 14px; background: var(--aw-accent); color: var(--aw-on-accent);
  border-radius: var(--aw-radius) var(--aw-radius) min(var(--aw-radius), 5px) var(--aw-radius); overflow-wrap: anywhere;
}
.aw-msg-ai .aw-content { display: flex; flex-direction: column; gap: 10px; max-width: 100%; }
.aw-content > * { flex-shrink: 0; }
.aw-text { overflow-wrap: anywhere; }
.aw-text p + p, .aw-text p + ul, .aw-text p + ol, .aw-text ul + p, .aw-text ol + p { margin-top: 8px; }
.aw-text ul, .aw-text ol { padding-left: 20px; }
.aw-text ul li { list-style: disc; }
.aw-text ol li { list-style: decimal; }
.aw-text li + li { margin-top: 3px; }
.aw-text strong { font-weight: 650; }
.aw-text a, .aw-link, .aw-more { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--aw-line-2); }
.aw-text a:hover, .aw-link:hover, .aw-more:hover { text-decoration-color: currentColor; }
.aw-h { font-weight: 650; }
.aw-intro .aw-text { padding: 12px 14px; background: var(--aw-soft); border-radius: var(--aw-radius) var(--aw-radius) var(--aw-radius) min(var(--aw-radius), 5px); }

.aw-starters { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.aw-starter {
  display: block; max-width: 100%; text-align: left; padding: 9px 14px; font-size: 14px; line-height: 1.35; color: var(--aw-ink);
  border: 1px solid var(--aw-line-2); border-radius: 999px; background: var(--aw-paper); transition: border-color .15s, background-color .15s;
}
.aw[data-shape="square"] .aw-starter { border-radius: 0; }
.aw-starter:hover { border-color: var(--aw-accent); background: var(--aw-tint); }

.aw-think { display: inline-flex; align-items: center; gap: 8px; color: var(--aw-muted); font-size: 13.5px; }
.aw-think-i { display: inline-flex; gap: 4px; }
.aw-think-i i { width: 6px; height: 6px; border-radius: 50%; background: var(--aw-muted); animation: aw-dot 1.1s infinite ease-in-out; }
.aw-think-i i:nth-child(2) { animation-delay: .15s; }
.aw-think-i i:nth-child(3) { animation-delay: .3s; }
@keyframes aw-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* tool chips */
.aw-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.aw-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; font-size: 12.5px; line-height: 1.3; color: var(--aw-ink-2); background: var(--aw-soft); border-radius: 999px; }
.aw[data-shape="square"] .aw-chip { border-radius: 0; }
.aw-chip-i { flex: none; width: 14px; height: 14px; display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; }
.aw-chip.is-start .aw-chip-i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aw-accent); animation: aw-pulse 1s infinite ease-in-out; }
.aw-chip.is-done .aw-chip-i::before { content: "✓"; color: var(--aw-good); }
.aw-chip.is-error .aw-chip-i::before { content: "!"; color: var(--aw-bad); }
.aw-chip.is-stopped .aw-chip-i::before { content: "■"; font-size: 8px; color: var(--aw-muted); }
@keyframes aw-pulse { 50% { opacity: .35; transform: scale(.7); } }

/* notes */
.aw-note { font-size: 13.5px; color: var(--aw-muted); }
.aw-note-error { color: var(--aw-ink); padding: 10px 12px; border-left: 3px solid var(--aw-bad); background: var(--aw-soft); border-radius: 0 var(--aw-r-sm) var(--aw-r-sm) 0; }
.aw-note .aw-more { font-weight: 600; white-space: nowrap; }

/* ---------- cards */
.aw-card { border: 1px solid var(--aw-line); border-radius: var(--aw-r-md); background: var(--aw-paper); overflow: hidden; font-size: 14px; }
.aw[data-scheme="dark"] .aw-card { background: var(--aw-soft); }
.aw-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--aw-line); font-size: 12.5px; color: var(--aw-muted); }
.aw-card-h span:first-child { font-weight: 650; font-size: 13.5px; color: var(--aw-ink); }
.aw-card-h span + span { text-align: right; }
.aw-body { padding: 12px 14px 14px; }
.aw-cells + .aw-cta, .aw-body > .aw-cells { margin: -12px -14px 0; }
.aw-cell { position: relative; padding: 12px 14px; border-top: 1px solid var(--aw-line); display: flex; flex-direction: column; gap: 2px; }
.aw-cell:first-child { border-top: 0; }
.aw-cell:hover { background: var(--aw-soft); }
.aw[data-scheme="dark"] .aw-cell:hover { background: var(--aw-soft-2); }
.aw-cell:focus-within { box-shadow: inset 0 0 0 2px var(--aw-accent); }
.aw-cell h4 { font-weight: 650; font-size: 14.5px; line-height: 1.35; padding-right: 64px; }
.aw-stretch { color: inherit; }
.aw-stretch::after { content: ""; position: absolute; inset: 0; }
.aw-stretch:focus-visible { outline: 0; }
.aw-cell-go { position: absolute; top: 13px; right: 14px; font-size: 12px; color: var(--aw-muted); }
.aw-cell-go .arr { transition: transform .15s; display: inline-block; }
.aw-cell:hover .aw-cell-go { color: var(--aw-ink); }
.aw-cell:hover .aw-cell-go .arr { transform: translateX(2px); }
.aw-price { font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; }
.aw-pre, .aw-per { font-weight: 500; font-size: 12.5px; color: var(--aw-muted); }
.aw-pre { margin-right: 5px; }
.aw-spec { font-size: 13px; color: var(--aw-muted); }
.aw-for { font-size: 13.5px; color: var(--aw-ink-2); }
.aw-cell.is-off { opacity: .62; }
.aw-avail { font-size: 12.5px; font-weight: 600; }
.aw-avail.is-yes { color: var(--aw-good); }
.aw-avail.is-no { color: var(--aw-muted); }

/* listings: a thumbnail beside the facts */
.aw-homes .aw-cell { display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; row-gap: 2px; align-content: start; }
.aw-homes .aw-cell > :not(.aw-img) { grid-column: 2; }
.aw-homes .aw-cell h4 { padding-right: 0; }
.aw-homes .aw-cell-go { display: none; }
.aw-img { grid-row: 1 / span 4; width: 104px; height: 72px; object-fit: cover; border-radius: var(--aw-r-sm); background: var(--aw-soft-2); }

/* ledgers: hours, order quotes, estimates */
.aw-ledger { display: flex; flex-direction: column; gap: 6px; }
.aw-line { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.aw-line span { flex: none; max-width: 62%; }
.aw-line i { flex: 1; border-bottom: 1px dotted var(--aw-line-2); transform: translateY(-4px); min-width: 12px; }
.aw-line b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.aw-line.is-sub { color: var(--aw-muted); }
.aw-line.is-today { font-weight: 650; }
.aw-line.is-today span::after { content: " · today"; font-weight: 500; color: var(--aw-muted); }
.aw-total { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--aw-line); }
.aw-total > div { display: flex; flex-direction: column; }
.aw-total b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.aw-total small { font-size: 12px; color: var(--aw-muted); }
.aw-k { font-size: 12.5px; color: var(--aw-muted); }
.aw-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 12px; font-size: 14px; }
.aw-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--aw-muted); }
.aw-status.is-open i { background: var(--aw-good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aw-good) 22%, transparent); }
.aw-status.is-open b { color: var(--aw-good); }
.aw-status span { color: var(--aw-muted); }

/* menu */
.aw-menu li { padding: 11px 14px; border-top: 1px solid var(--aw-line); }
.aw-menu li:first-child { border-top: 0; }
.aw-menu-r { display: flex; align-items: baseline; gap: 8px; }
.aw-menu-r b { font-weight: 650; }
.aw-menu-r b a { color: inherit; text-decoration: underline; text-decoration-color: var(--aw-line-2); text-underline-offset: 3px; }
.aw-menu-r i { flex: 1; border-bottom: 1px dotted var(--aw-line-2); transform: translateY(-4px); min-width: 12px; }
.aw-menu-r span { font-weight: 600; font-variant-numeric: tabular-nums; }
.aw-menu .aw-for { margin-top: 2px; }
.aw-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.aw-tag { font-size: 11.5px; line-height: 1; padding: 4px 7px; color: var(--aw-ink-2); background: var(--aw-soft-2); border-radius: 999px; }
.aw[data-shape="square"] .aw-tag { border-radius: 0; }

/* classes */
.aw-classes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--aw-line); }
.aw-classes li:first-child { border-top: 0; }
.aw-cl-t { font-weight: 650; }
.aw-cl-t a { color: inherit; text-decoration: underline; text-decoration-color: var(--aw-line-2); text-underline-offset: 3px; }
.aw-spots { flex: none; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--aw-soft-2); }
.aw-spots.is-ok { color: var(--aw-good); }
.aw-spots.is-low { color: var(--aw-warn); }
.aw-spots.is-full { color: var(--aw-muted); }
.aw[data-shape="square"] .aw-spots { border-radius: 0; }

/* sources, slots, checks, done states (studio card types, kept tidy here too) */
.aw-sources li { padding: 10px 14px; border-top: 1px solid var(--aw-line); }
.aw-sources li:first-child { border-top: 0; }
.aw-src-t { font-weight: 600; }
.aw-src-t a { color: inherit; text-decoration: underline; text-decoration-color: var(--aw-line-2); text-underline-offset: 3px; }
.aw-src-u { font-size: 12px; color: var(--aw-muted); overflow-wrap: anywhere; }
.aw-days { display: flex; flex-direction: column; gap: 10px; }
.aw-day-l { font-size: 12.5px; font-weight: 600; color: var(--aw-muted); margin-bottom: 4px; }
.aw-day-s { display: flex; flex-wrap: wrap; gap: 6px; }
.aw-slot { padding: 6px 10px; font-size: 13px; border: 1px solid var(--aw-line-2); border-radius: var(--aw-r-sm); font-variant-numeric: tabular-nums; }
.aw-slot:hover, .aw-slot[aria-pressed="true"] { border-color: var(--aw-accent); background: var(--aw-tint); }
.aw-hint { font-size: 12.5px; color: var(--aw-muted); margin-top: 10px; }
.aw-done { display: flex; gap: 12px; align-items: flex-start; }
.aw-done-i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--aw-tint); color: var(--aw-ink); font-weight: 700; }
.aw-done > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.aw-when { font-size: 16px; font-weight: 650; }
.aw-score { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.aw-score-n b { font-size: 22px; font-weight: 700; }
.aw-score-n small { color: var(--aw-muted); }
.aw-meter { flex: 1; height: 6px; background: var(--aw-soft-2); border-radius: 3px; overflow: hidden; }
.aw-meter i { display: block; height: 100%; background: var(--aw-accent); transform-origin: left; }
.aw-score-l { font-size: 12.5px; color: var(--aw-muted); }
.aw-checks li { display: flex; gap: 8px; padding: 6px 0; border-top: 1px solid var(--aw-line); }
.aw-checks li:first-child { border-top: 0; }
.aw-st { flex: none; width: 18px; font-weight: 700; }
.aw-checks .is-good .aw-st { color: var(--aw-good); }
.aw-checks .is-warn .aw-st { color: var(--aw-warn); }
.aw-checks .is-bad .aw-st { color: var(--aw-bad); }
.aw-st-l em { display: none; }
.aw-bar { margin-top: 12px; }
.aw-bar-track { display: flex; gap: 2px; height: 8px; }
.aw-bar-track i { display: block; border-radius: 2px; }
.aw-bar-a { background: var(--aw-accent); }
.aw-bar-b { background: var(--aw-line-2); }
.aw-bar figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--aw-muted); margin-top: 6px; }
.aw-key { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; }

/* buttons and card calls to action */
.aw-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.aw-cells + .aw-cta { margin: 0; padding: 12px 14px 0; border-top: 1px solid var(--aw-line); }
.aw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px;
  font: 600 14px/1.2 var(--aw-font); background: var(--aw-accent); color: var(--aw-on-accent); border: 1px solid transparent;
  border-radius: var(--aw-r-sm); text-decoration: none; transition: filter .15s, background-color .15s;
}
.aw-btn:hover { filter: brightness(1.06); }
.aw-btn-ghost { background: transparent; color: var(--aw-ink); border-color: var(--aw-line-2); }
.aw-btn-ghost:hover { background: var(--aw-soft); filter: none; }
.aw-more { font-weight: 600; font-size: 13.5px; }

/* confirmation */
.aw-confirm { padding: 14px; border: 1.5px solid var(--aw-accent); border-radius: var(--aw-r-md); background: var(--aw-tint); display: flex; flex-direction: column; gap: 8px; }
.aw-confirm:focus { outline: 0; box-shadow: 0 0 0 3px var(--aw-ring); }
.aw-confirm-k { font-size: 12.5px; font-weight: 650; color: var(--aw-ink-2); }
.aw-confirm-q { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.aw-confirm-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.aw-confirm-d { font-size: 12.5px; color: var(--aw-muted); }
.aw-confirm.is-resolved { border-color: var(--aw-line); border-width: 1px; background: transparent; }
.aw-confirm-r { font-size: 13px; font-weight: 600; color: var(--aw-muted); }

/* composer */
.aw-jump { position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%); padding: 7px 12px; font-size: 12.5px; font-weight: 600; background: var(--aw-ink); color: var(--aw-paper); border-radius: 999px; box-shadow: var(--aw-shadow); z-index: 2; }
.aw-composer { flex: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--aw-line); background: var(--aw-paper); }
.aw-field { display: flex; align-items: flex-end; gap: 6px; padding: 5px 5px 5px 14px; background: var(--aw-soft); border: 1px solid var(--aw-line); border-radius: min(var(--aw-radius), 14px); transition: border-color .15s, box-shadow .15s; }
.aw-field:focus-within { border-color: var(--aw-accent); box-shadow: 0 0 0 3px var(--aw-ring); }
.aw-input { flex: 1; display: block; width: 100%; min-height: 38px; max-height: 140px; padding: 8px 0; resize: none; overflow-y: auto; font: 400 16px/1.4 var(--aw-font); color: var(--aw-ink); background: transparent; border: 0; }
.aw .aw-input:focus-visible { outline: 0; }
.aw-input::placeholder { color: var(--aw-muted); opacity: 1; }
.aw-send { flex: none; display: grid; place-items: center; width: 38px; height: 38px; background: var(--aw-accent); color: var(--aw-on-accent); border-radius: min(var(--aw-radius), 10px); }
.aw-stop { background: var(--aw-ink); color: var(--aw-paper); }
.aw-stop svg { fill: currentColor; stroke: none; }
.aw-disclose { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--aw-muted); text-align: center; }
.aw-disclose .aw-link { color: var(--aw-ink-2); font-weight: 500; }

/* privacy notice inside the panel */
.aw-privacy { position: absolute; inset: 67px 0 0; z-index: 3; padding: 22px 20px; background: var(--aw-paper); overflow-y: auto; }
.aw-privacy h3 { font-size: 16px; font-weight: 650; margin-bottom: 12px; }
.aw-privacy ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.aw-privacy li { position: relative; padding-left: 18px; font-size: 14px; color: var(--aw-ink-2); }
.aw-privacy li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--aw-accent); }

@media (max-width: 380px) {
  .aw-log { padding-left: 12px; padding-right: 12px; }
  .aw-head { padding-left: 12px; gap: 10px; }
  .aw-demo { display: none; }
  .aw-cell h4 { padding-right: 0; }
  .aw-cell-go { position: static; }
  .aw-homes .aw-cell { grid-template-columns: 80px 1fr; }
  .aw-img { width: 80px; height: 60px; }
}
@media (forced-colors: active) {
  .aw-launch, .aw-send, .aw-btn, .aw-avatar { border: 1px solid ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  .aw *, .aw *::before, .aw *::after, .aw .aw-dialog, .aw .aw-launch { animation: none !important; transition: none !important; }
  .aw-dialog { transform: none; }
}
