/* ============================================================
   Contact page — redesign port (cream shell, light Slack-style scheduler,
   #contact channel window). Namespaced under .p-contact so nothing leaks
   into the shell. Source: design/contact/ canvas (2026-08-27), which
   superseded the dark-ember scheduler from the original handoff.
   ============================================================ */

.p-contact { font-family: var(--sans); color: var(--ink); }
.p-contact .cx-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; width: 100%; }

@keyframes cx-pulse { 0% { box-shadow: 0 0 0 0 rgba(63,179,127,.5); } 70% { box-shadow: 0 0 0 8px rgba(63,179,127,0); } 100% { box-shadow: 0 0 0 0 rgba(63,179,127,0); } }

/* crumbs (site pattern, matches other ported pages) */
.p-contact .cx-crumbs {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: flex; gap: 8px; align-items: center; margin-bottom: 18px;
}
.p-contact .cx-crumbs a { color: inherit; text-decoration: none; }
.p-contact .cx-crumbs a:hover { color: var(--green); }
.p-contact .cx-crumbs .sep { color: var(--ink-4); }
.p-contact .cx-crumbs .here { color: var(--green); }

/* hero */
.p-contact .cx-hero { padding: 72px 0 10px; background: radial-gradient(680px 320px at 10% -34%, rgba(239, 89, 32,.09), transparent 62%); }
.p-contact .cx-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.4vw, 60px); line-height: .98; letter-spacing: -.03em; color: var(--ink); margin: 0 0 16px; }
.p-contact .cx-hero h1 span { color: var(--green); }
.p-contact .cx-hsub { font-size: 16px; color: var(--ink-2); line-height: 1.62; max-width: 470px; margin: 0; }
.p-contact .cx-reply { font-family: var(--mono); font-size: 12.5px; color: #8a9089; margin-top: 18px; }
.p-contact .cx-reply b { color: #1f8a5b; font-weight: 700; }

/* who's on the other end */
@keyframes who-glow { 0%, 100% { box-shadow: 0 0 0 3px rgba(239, 89, 32,.25), 0 0 24px 2px rgba(239, 89, 32,.35), 0 18px 40px -18px rgba(13,16,14,.45); } 50% { box-shadow: 0 0 0 3px rgba(239, 89, 32,.45), 0 0 38px 6px rgba(239, 89, 32,.5), 0 18px 40px -18px rgba(13,16,14,.45); } }
.p-contact .who-wrap { display: flex; align-items: center; gap: 26px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px; box-shadow: 0 18px 40px -32px rgba(13,16,14,.4); }
.p-contact .who-pic { position: relative; flex-shrink: 0; }
.p-contact .who-av { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 3px solid var(--green); animation: who-glow 3.2s ease-in-out infinite; display: block; }
.p-contact .who-badge { position: absolute; right: -4px; bottom: -4px; width: 32px; height: 32px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 5px; box-shadow: 0 6px 16px rgba(13,16,14,.18); }
.p-contact .who-name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.p-contact .who-role { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); margin-top: 3px; }
.p-contact .who-joke { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 10px 0 0; max-width: 560px; }

/* shared primitives */
.p-contact .cx-sec { padding: 58px 0; }
.p-contact .cx-h2 { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -.02em; color: var(--ink); margin: 0; line-height: 1.05; }
.p-contact .cx-lede { font-size: 15.5px; color: var(--ink-2); line-height: 1.62; }
.p-contact .cx-lede a { color: var(--green); text-decoration: none; font-weight: 600; }
.p-contact .cx-lede a:hover { text-decoration: underline; }
.p-contact .cx-mono { font-family: var(--mono); }
.p-contact .cx-fieldlab { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a9089; margin-bottom: 7px; display: block; }
.p-contact .cx-fieldlab .opt { color: #a8aca4; font-weight: 500; }
.p-contact .cx-input { width: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .14s, box-shadow .14s; box-sizing: border-box; }
.p-contact .cx-input::placeholder { color: #a8aca4; }
.p-contact .cx-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(239, 89, 32,.13); }
.p-contact .cx-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.p-contact .cx-chip { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-1); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; cursor: pointer; transition: all .13s; display: inline-block; }
.p-contact .cx-chip input { position: absolute; opacity: 0; pointer-events: none; }
.p-contact .cx-chip:hover { border-color: var(--green-2); color: var(--green-2); }
.p-contact .cx-chip:has(input:checked) { background: linear-gradient(180deg, var(--green), var(--green-2)); border-color: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(239, 89, 32,.28); }
.p-contact .cx-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 13.5px; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--green), var(--green-2)); border: none; border-radius: 10px; padding: 13px 22px; cursor: pointer; text-decoration: none; box-shadow: 0 0 0 1px var(--green), 0 8px 22px rgba(239, 89, 32,.3); transition: transform .12s; }
.p-contact .cx-solid:hover { transform: translateY(-2px); }
.p-contact .cx-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--green); background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px; cursor: pointer; text-decoration: none; transition: all .13s; }
.p-contact .cx-ghost:hover { border-color: var(--green); }

/* channel cards */
.p-contact .cx-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-contact .cx-method { display: flex; flex-direction: column; gap: 12px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 15px; padding: 24px; box-shadow: 0 18px 40px -32px rgba(13,16,14,.4); transition: transform .16s, box-shadow .16s, border-color .16s; text-decoration: none; }
.p-contact .cx-method:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -30px rgba(13,16,14,.42); border-color: #d3d1c8; }
.p-contact .cx-mico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: #fbeadf; color: var(--green-2); flex-shrink: 0; }
.p-contact .cx-mtitle { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); }
.p-contact .cx-mdesc { font-size: 13px; color: var(--ink-3); line-height: 1.55; flex: 1; }
.p-contact .cx-mcta { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--green); }

/* scheduler — light Slack-style card, full width (design/contact Main.dc.html) */
.p-contact .cx-demo { display: flex; flex-direction: column; gap: 24px; }
.p-contact .sd-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -32px rgba(13,16,14,.4); }
.p-contact .sd-head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #eeede7; }
.p-contact .sd-avwrap { position: relative; flex-shrink: 0; width: 40px; height: 40px; }
.p-contact .sd-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 22%; display: block; }
.p-contact .sd-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #3fb37f; border: 2px solid #fff; }
.p-contact .sd-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-contact .sd-title { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.1; }
.p-contact .sd-status { font-family: var(--mono); font-size: 10px; color: #1f8a5b; }
.p-contact .sd-tz { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-align: right; }
.p-contact .sd-split { display: grid; grid-template-columns: 300px minmax(0, 1fr) 230px; align-items: stretch; }
.p-contact .sd-col { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.p-contact .sd-when { border-left: 1px solid #eeede7; gap: 16px; }
.p-contact .sd-days { display: flex; gap: 8px; }
.p-contact .sd-day { flex: 1; min-width: 0; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 9px 3px 10px; cursor: pointer; transition: all .14s; background: var(--bg-1); }
.p-contact .sd-day .dw { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.p-contact .sd-day .dn { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 2px; }
.p-contact .sd-day:hover { border-color: var(--line-2); transform: translateY(-2px); }
.p-contact .sd-day.on { border-color: var(--green); background: rgba(239, 89, 32,.07); box-shadow: 0 0 0 1px var(--green); }
.p-contact .sd-day.on .dn { color: var(--green-2); }
.p-contact .sd-times { display: flex; flex-wrap: wrap; gap: 8px; }
.p-contact .sd-time { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 8px 13px; cursor: pointer; transition: all .14s; background: var(--bg-1); }
.p-contact .sd-time:hover { border-color: var(--green-2); color: var(--green-2); transform: translateY(-1px); }
.p-contact .sd-time.on { background: linear-gradient(180deg, var(--green), var(--green-2)); border-color: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(239, 89, 32,.3); }
.p-contact .sd-rail { border-left: 1px solid #eeede7; display: flex; flex-direction: column; min-width: 0; }
.p-contact .sd-rail-hd { padding: 12px 16px 10px; border-bottom: 1px solid #eeede7; display: flex; align-items: baseline; gap: 8px; }
.p-contact .sd-rail-hd .rdn { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.1; }
.p-contact .sd-rail-hd .rdw { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-2); }
.p-contact .sd-tl { position: relative; flex: 1; margin: 14px 14px 16px 12px; min-height: 200px; }
.p-contact .sd-hr { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line-2); }
.p-contact .sd-hr span { position: absolute; top: -6px; left: 0; font-family: var(--mono); font-size: 8.5px; color: var(--ink-4); background: var(--bg-1); padding-right: 4px; line-height: 1; }
/* 30 min on this scale is ~12.5px; keep the chip inside its half-hour lane */
.p-contact .sd-evt { position: absolute; left: 26px; right: 0; height: 14px; border-radius: 5px; background: linear-gradient(180deg, var(--green), var(--green-2)); box-shadow: 0 4px 12px rgba(239, 89, 32,.3); padding: 0 8px; color: #fff; font-family: var(--mono); font-size: 8.5px; font-weight: 700; line-height: 14px; transition: top .28s cubic-bezier(.2,.8,.3,1); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; }
.p-contact .sd-tl-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); line-height: 1.7; padding: 0 8px; }
.p-contact .sd-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid #eeede7; background: #faf9f6; }
.p-contact .sd-sum { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.p-contact .sd-in { width: 100%; font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .14s, box-shadow .14s; box-sizing: border-box; }
.p-contact .sd-in::placeholder { color: #a8aca4; }
.p-contact .sd-in:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(239, 89, 32,.13); }
.p-contact .sd-lab { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; display: block; }
.p-contact .sd-confirm { padding: 11px 20px; font-size: 13px; }
.p-contact .sd-confirm:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 0 0 0 1px var(--line-2); }
.p-contact .sd-bookedwrap { padding: 24px 22px; }
.p-contact .sd-bookedcard { display: flex; align-items: flex-start; gap: 16px; background: rgba(31,138,91,.07); border: 1px solid rgba(31,138,91,.3); border-radius: 14px; padding: 20px; }
.p-contact .sd-bookedcard .hd { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.p-contact .sd-bookedcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 7px 0 13px; }
.p-contact .sd-bookedcard p b { color: #1f8a5b; font-weight: 600; }

/* form + reply times — the #contact channel window (design/contact Bottom.dc.html) */
.p-contact .ch-win { background: var(--bg-1); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -32px rgba(13,16,14,.4); }
.p-contact .ch-head { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-bottom: 1px solid #eeede7; }
.p-contact .ch-name { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.p-contact .ch-name .hash { color: var(--green); }
.p-contact .ch-div { width: 1px; height: 16px; background: var(--line); flex-shrink: 0; }
.p-contact .ch-topic { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.p-contact .ch-mail { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--green); text-decoration: none; }
.p-contact .ch-mail:hover { text-decoration: underline; }
.p-contact .ch-log { background: #faf9f6; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid #eeede7; }
.p-contact .ch-row { display: flex; gap: 10px; align-items: flex-start; }
.p-contact .ch-sys { align-items: center; }
.p-contact .ch-ts { font-family: var(--mono); font-size: 10px; color: var(--ink-4); flex-shrink: 0; width: 38px; padding-top: 3px; }
.p-contact .ch-sys .ch-ts { padding-top: 0; }
.p-contact .ch-join { font-family: var(--mono); font-size: 11px; color: var(--ink-4); font-style: italic; }
.p-contact .ch-av { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; object-position: center 22%; flex-shrink: 0; }
.p-contact .ch-gap { width: 36px; flex-shrink: 0; }
.p-contact .ch-msg { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.p-contact .ch-byline { display: flex; align-items: baseline; gap: 8px; }
.p-contact .ch-who { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.p-contact .ch-role { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); }
.p-contact .ch-msg p, .p-contact .ch-line { font-size: 14px; color: var(--ink); line-height: 1.55; margin: 0; max-width: 640px; }
.p-contact .ch-sla { background: var(--bg-0); border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; width: 100%; max-width: 460px; }
.p-contact .ch-slarow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 8px 14px; font-family: var(--mono); font-size: 12px; }
.p-contact .ch-slarow .ch { color: var(--ink-2); }
.p-contact .ch-slarow .t { color: #1f8a5b; font-weight: 700; white-space: nowrap; }
.p-contact .ch-compose { padding: 18px 20px 14px; display: flex; flex-direction: column; gap: 14px; }
.p-contact .ch-compose form { display: flex; flex-direction: column; gap: 14px; }
.p-contact .ch-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.p-contact .ch-box { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); overflow: hidden; transition: border-color .14s, box-shadow .14s; }
.p-contact .ch-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(239, 89, 32,.13); }
.p-contact .ch-textarea { width: 100%; border: none; outline: none; resize: vertical; font-family: var(--sans); font-size: 14px; color: var(--ink); line-height: 1.55; padding: 13px 14px; min-height: 92px; box-sizing: border-box; background: transparent; display: block; }
.p-contact .ch-textarea::placeholder { color: #a8aca4; }
.p-contact .ch-bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-top: 1px solid #eeede7; background: #faf9f6; }
.p-contact .ch-heard { flex: 1; border: none; outline: none; background: transparent; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); min-width: 0; }
.p-contact .ch-heard::placeholder { color: #a8aca4; }
.p-contact .ch-send { width: 40px; height: 36px; flex-shrink: 0; border: none; border-radius: 9px; background: linear-gradient(180deg, var(--green), var(--green-2)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(239, 89, 32,.3); transition: transform .12s, opacity .12s; }
.p-contact .ch-send:hover { transform: translateY(-1px); }
.p-contact .ch-send:disabled { opacity: .55; cursor: wait; transform: none; }
.p-contact .ch-foot { font-family: var(--mono); font-size: 10px; color: var(--ink-4); text-align: center; }
.p-contact .cx-sent { display: flex; align-items: flex-start; gap: 16px; background: rgba(31,138,91,.07); border: 1px solid rgba(31,138,91,.3); border-radius: 14px; padding: 24px; }
.p-contact .cx-sentic { width: 44px; height: 44px; border-radius: 12px; background: #1f8a5b; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.p-contact .cx-formerr { margin-top: 4px; padding: 10px 14px; border-radius: 8px; background: rgba(196,71,26,.08); border: 1px solid rgba(196,71,26,.4); font-family: var(--mono); font-size: 12px; color: var(--green-2); display: none; }
.p-contact .cx-formerr.visible { display: block; }

/* final cta */
.p-contact .cx-final { text-align: center; border-radius: 20px; padding: 52px 28px; border: 1px solid var(--line); background: var(--bg-1); box-shadow: 0 24px 56px -36px rgba(13,16,14,.4); }
.p-contact .cx-final h2 { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -.025em; color: var(--ink); margin: 0 0 10px; text-wrap: balance; }
.p-contact .cx-final p { font-size: 16px; color: var(--ink-2); max-width: 520px; margin: 0 auto 26px; line-height: 1.6; }

@media (max-width: 980px) {
  .p-contact .sd-split { grid-template-columns: 280px minmax(0, 1fr); }
  .p-contact .sd-rail { display: none; }
}
@media (max-width: 900px) {
  .p-contact .cx-methods { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .p-contact .sd-split { grid-template-columns: 1fr; }
  .p-contact .sd-when { border-left: none; border-top: 1px solid #eeede7; }
  .p-contact .sd-head { flex-wrap: wrap; }
  .p-contact .sd-tz { margin-left: 0; width: 100%; text-align: left; padding-left: 52px; box-sizing: border-box; }
  .p-contact .ch-grid2 { grid-template-columns: 1fr; }
  .p-contact .ch-ts { display: none; }
  .p-contact .ch-div, .p-contact .ch-topic { display: none; }
}

/* ── live-chat dock (design cd-* block, verbatim) ─────────────────── */
@keyframes cd-bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
@keyframes cd-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cd-attn { 0%,100% { box-shadow: 0 14px 34px -14px rgba(13,16,14,.45), 0 0 0 0 rgba(239, 89, 32,.5); } 55% { box-shadow: 0 14px 34px -14px rgba(13,16,14,.45), 0 0 0 10px rgba(239, 89, 32,0); } }
.cd-dock { position: fixed; right: 24px; bottom: 22px; z-index: 400; display: flex; flex-direction: column; align-items: flex-end; }
/* The dock's JS opens and closes by toggling .hidden. Every piece it toggles
   carries an author `display` below, which outranks the UA sheet's
   [hidden] { display: none } — so hiding the panel did nothing and the open
   chat, the chip and the teaser all stacked in the corner at once. Re-assert
   it for the dock's own subtree. */
.cd-dock [hidden] { display: none !important; }
.cd-panel { animation: cd-in .45s cubic-bezier(.2,.9,.3,1.15) both; width: 344px; background: #fff; border: 1px solid #e7e3da; border-radius: 16px; box-shadow: 0 34px 80px -30px rgba(13,16,14,.5); overflow: hidden; display: flex; flex-direction: column; }
.cd-head { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid #eeede7; }
.cd-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.cd-name { font-family: 'Onest', sans-serif; font-weight: 700; font-size: 15px; color: #1c1915; line-height: 1.1; }
.cd-status { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 10px; color: #1f8a5b; display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.cd-status.off { color: #8a9089; }
.cd-x { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; border: none; background: none; display: grid; place-items: center; color: #8a9089; cursor: pointer; }
.cd-x:hover { background: #f7f5f1; color: #1c1915; }
.cd-body { height: 282px; overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; padding: 15px; background: #faf9f6; }
.cd-m { max-width: 80%; padding: 10px 13px; border-radius: 13px; font-size: 13.5px; line-height: 1.5; margin-top: 9px; }
.cd-m.tyler { align-self: flex-start; background: #fff; border: 1px solid #e8e6de; color: #1c1915; border-bottom-left-radius: 4px; }
.cd-m.me { align-self: flex-end; background: linear-gradient(180deg,var(--brand),#d94e1c); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 4px 12px rgba(239, 89, 32,.22); }
.cd-tag { align-self: flex-start; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 9.5px; color: #8a9089; margin: 4px 0 0 4px; }
.cd-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 14px; background: #fff; border: 1px solid #e8e6de; border-radius: 13px; border-bottom-left-radius: 4px; margin-top: 9px; }
.cd-typing span { width: 6px; height: 6px; border-radius: 50%; background: #c9c6bd; animation: cd-bounce 1.2s infinite; }
.cd-typing span:nth-child(2) { animation-delay: .15s; }
.cd-typing span:nth-child(3) { animation-delay: .3s; }
.cd-prompts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.cd-prompt { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 11px; font-weight: 600; color: var(--brand-2); background: #fff; border: 1px solid #f0cdbb; border-radius: 99px; padding: 6px 11px; cursor: pointer; transition: all .13s; }
.cd-prompt:hover { background: #fbeadf; }
.cd-compose { display: flex; gap: 9px; padding: 12px 12px 8px; border-top: 1px solid #eeede7; background: #fff; }
.cd-in { flex: 1; border: 1px solid #e7e3da; border-radius: 10px; padding: 10px 12px; font-family: 'Onest', sans-serif; font-size: 13px; color: #1c1915; min-width: 0; }
.cd-in:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(239, 89, 32,.13); }
.cd-send { width: 40px; height: 40px; flex-shrink: 0; border: none; border-radius: 10px; background: linear-gradient(180deg,var(--brand)); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(239, 89, 32,.3); transition: transform .12s; }
.cd-send:hover { transform: translateY(-1px); }
.cd-foot { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 9.5px; color: #a8aca4; text-align: center; padding: 0 12px 10px; background: #fff; }
.cd-chipbtn { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e7e3da; border-radius: 99px; padding: 6px 16px 6px 6px; box-shadow: 0 14px 34px -14px rgba(13,16,14,.45); cursor: pointer; transition: transform .13s; }
.cd-chipbtn:hover { transform: translateY(-2px); }
.cd-chipbtn.attn { animation: cd-attn 1.9s infinite; border-color: #f0cdbb; }
.cd-teaser { font-family: 'Onest', sans-serif; font-size: 12.5px; font-weight: 600; color: #1c1915; background: #fff; border: 1px solid #e7e3da; border-radius: 12px 12px 4px 12px; padding: 9px 13px; margin-bottom: 9px; box-shadow: 0 14px 34px -14px rgba(13,16,14,.4); cursor: pointer; animation: cd-in .4s cubic-bezier(.2,.9,.3,1.15) both; }
.cd-teaser:hover { border-color: #f0cdbb; }
.cx-chipav { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.cx-chipdot { width: 8px; height: 8px; border-radius: 50%; background: #3fb37f; animation: cx-pulse 2.2s infinite; }
