/* Help (wave340-helpdesk, 2026-11-02; wave352-support, 2026-11-03) — the
 * help launcher + the panel (four tabs, and Desk for ops). wave352 retired
 * the Support page, so the desk is a tab inside the panel now. On the
 * design-system tokens, with the obligations dialog shapes reused for the
 * desk's dialogs. The
 * launcher sits above the Messages dock tab; the panel opens beside it
 * and goes under the Assistant drawer, the chat dock's own manners. */

.help-dock.hidden, .hd-panel.hidden, .hd-count.hidden, .hd-tabdot.hidden, .hd-err.hidden { display: none; }
.help-dock.hd-buried { visibility: hidden; }

/* the launcher */
.hd-launch { position: fixed; right: 20px; bottom: 72px; z-index: 880; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ds-navy, #1d2b4f); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(15, 20, 35, .28); }
.hd-launch:hover { filter: brightness(1.12); }
.hd-launch:focus-visible { outline: 3px solid var(--ds-gold-strong, #b8892b); outline-offset: 2px; }
.hd-launch .hd-ico { width: 26px; height: 26px; }
/* wave521 (2026-11-09): the launcher (z 880) floated over the open Messages
 * drawer and covered its composer's voice-note button whole (measured
 * 35x35 px overlap, 7 px hanging below the drawer's bottom edge). While
 * either right-side drawer is open, the launcher steps aside; it returns
 * the moment the drawer closes. */
body:has(#dock-panel:not(.hidden)) .hd-launch,
body:has(.asst-drawer:not(.hidden)) .hd-launch { display: none; }
/* wave542 (2026-11-09): the Communications page again — the launcher
 * (bottom: 72px, so its band is the composer's row) hangs at the
 * record pane's bottom-right corner, over the internal composer's
 * end. While that view is up the launcher steps aside with the dock
 * (chat.css's wave542 rule); it returns the moment he leaves. */
body:has(#view-emails:not(.hidden)) .hd-launch { display: none; }
.hd-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #c0392b; color: #fff;
  font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--ds-card, #fff); }

/* the panel */
.hd-panel { position: fixed; right: 20px; bottom: 128px; z-index: 890; width: min(392px, calc(100vw - 32px)); height: min(640px, calc(100vh - 150px));
  background: var(--ds-card, #fff); color: var(--ds-ink, #222); border: 1px solid var(--ds-line, #e3e3e8); border-radius: 16px;
  box-shadow: 0 22px 60px rgba(15, 20, 35, .26); display: flex; flex-direction: column; overflow: hidden; font-size: 14px; }
.hd-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; }
.hd-pad { padding: 12px 16px 16px; }
.hd-ico { width: 18px; height: 18px; flex: none; }

/* tabs + foot */
.hd-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ds-line, #e3e3e8); background: var(--ds-card, #fff); }
.hd-tabs button { position: relative; background: none; border: 0; padding: 9px 2px 6px; font: inherit; font-size: 11.5px; color: var(--ds-muted, #666);
  display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.hd-tabs button .hd-ico { width: 20px; height: 20px; }
.hd-tabs.hd-tabs-5 { grid-template-columns: repeat(5, 1fr); }   /* wave352: Desk, for ops */
.hd-tabs button.on { color: var(--ds-navy, #1d2b4f); font-weight: 700; }
.hd-tabs button.on .hd-ico { stroke-width: 2.1; }
.hd-tabdot { position: absolute; top: 7px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--ds-gold-strong, #b8892b); }
.hd-foot { margin: 0; padding: 0 0 8px; text-align: center; font-size: 11px; color: var(--ds-faint, #888); background: var(--ds-card, #fff); }

/* heads */
.hd-head { display: flex; align-items: center; gap: 6px; padding: 10px 10px 8px; border-bottom: 1px solid var(--ds-line, #e3e3e8); position: sticky; top: 0; background: var(--ds-card, #fff); z-index: 1; }
.hd-head h2 { flex: 1; margin: 0; font-size: 15px; text-align: center; color: var(--ds-navy, #1d2b4f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-iconbtn { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--ds-muted, #666); display: grid; place-items: center; cursor: pointer; flex: none; }
.hd-iconbtn:hover { background: var(--ds-tint, #f3f3f6); color: var(--ds-ink, #222); }
.hd-iconbtn-pad { width: 32px; flex: none; }

/* Home's hero — the picture at the top of the panel */
.hd-hero { position: relative; padding: 22px 18px 20px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(184, 137, 43, .55) 0%, rgba(184, 137, 43, 0) 55%), linear-gradient(150deg, #1d2b4f 0%, #33407a 60%, #4b3f86 100%); }
.hd-hero-x { position: absolute; top: 8px; right: 8px; color: rgba(255, 255, 255, .85); }
.hd-hero-x:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hd-hero-hi { margin: 14px 0 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.hd-hero-ask { margin: 2px 0 0; font-size: 20px; color: rgba(255, 255, 255, .72); }

/* lists + rows */
.hd-h3 { margin: 16px 0 6px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ds-faint, #888); font-weight: 600; }
.hd-list { display: flex; flex-direction: column; }
.hd-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 6px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.hd-row:hover { background: var(--ds-tint, #f3f3f6); }
.hd-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hd-row-t { font-weight: 600; color: var(--ds-ink, #222); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-row-s { font-size: 12.5px; color: var(--ds-muted, #666); }
.hd-row-when { font-size: 11.5px; color: var(--ds-faint, #888); flex: none; }
.hd-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e9ecf6; color: var(--ds-navy, #1d2b4f); flex: none; }
.hd-av-gold { background: var(--ds-gold-tint, #fbf3df); color: var(--ds-gold-strong, #b8892b); }
.hd-st { width: 10px; height: 10px; border-radius: 50%; flex: none; margin: 0 4px; background: #5677c9; }
.hd-st-in_progress { background: var(--ds-gold-strong, #b8892b); }
.hd-st-completed { background: #2e7d4f; }
.hd-card { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 14px; border: 1px solid var(--ds-line, #e3e3e8);
  border-radius: 12px; background: var(--ds-card, #fff); font: inherit; font-weight: 600; color: var(--ds-ink, #222); cursor: pointer; box-shadow: 0 2px 8px rgba(15, 20, 35, .06); }
.hd-card:hover { border-color: var(--ds-navy, #1d2b4f); }
.hd-send { position: relative; } /* wave732: the -26px straddle pull predates the wave731 chips row — with chips above it, the pull dragged this card up over the wrapped chips (Micheal's screenshot, Nov 16). Normal flow now. */
.hd-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hd-links button { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--ds-line, #e3e3e8); border-radius: 10px; background: var(--ds-card, #fff);
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ds-ink, #222); cursor: pointer; text-align: left; }
.hd-links button:hover { border-color: var(--ds-navy, #1d2b4f); color: var(--ds-navy, #1d2b4f); }
.hd-links .hd-ico { color: var(--ds-gold-strong, #b8892b); }
.hd-block { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.hd-empty { margin: 18px 4px; color: var(--ds-muted, #666); font-size: 13.5px; line-height: 1.5; text-align: center; }
.hd-quiet { font-size: 12.5px; color: var(--ds-muted, #666); line-height: 1.45; margin: 8px 0; }
.hd-flash { font-size: 13px; color: #2e7d4f; background: #eaf5ee; border: 1px solid #cfe6d7; border-radius: 8px; padding: 7px 10px; margin: 0 0 10px; }
.hd-flash-bad { color: #8a2b20; background: #fbecea; border-color: #f0cdc8; }
.hd-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ds-gold-strong, #b8892b); margin-right: 6px; vertical-align: 1px; }
.hd-unread .hd-row-t { color: var(--ds-navy, #1d2b4f); }
.hd-inchat { margin-top: 0; }
.hd-err { font-size: 13px; color: #8a2b20; background: #fbecea; border-radius: 8px; padding: 7px 10px; margin: 6px 0; }

/* banners — picture-led: the update's own picture, else the navy title card */
.hd-banner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; border-radius: 10px; overflow: hidden; color: #fff; padding: 10px 12px;
  min-height: 64px; background-color: #160633; background-repeat: no-repeat;
  background-image: url("rookery-lockup-white.png"), radial-gradient(120% 120% at 100% 0%, rgba(184, 137, 43, .55), rgba(184, 137, 43, 0) 60%), linear-gradient(140deg, #160633, #2a095e 55%, #4b3f86);
  background-size: auto 88%, cover, cover; background-position: right 14px center, center, center; }
.hd-banner > span { max-width: calc(100% - 96px); }
/* wave717: the big banner is a cover — the Rookery lockup centred, the
 * update's title printed in full directly below it (as photo banners
 * already behave), instead of the title clipping beside the logo. */
.hd-banner-big { background-size: auto 74%, cover, cover; background-position: center, center, center; }
.hd-banner-big > span { display: none; }
.hd-banner.hd-has-img { background-size: cover; background-position: center; }
.hd-banner-big { min-height: 150px; padding: 16px; }
.hd-banner-eyebrow { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); font-weight: 600; }
.hd-banner-t { font-size: 14px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-banner-big .hd-banner-t { font-size: 20px; }
.hd-banner.hd-has-img > span { display: none; }
.hd-upd-mini { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; width: 100%; border: 0; background: none; padding: 6px 0; text-align: left; font: inherit; cursor: pointer; }
.hd-upd-mini .hd-banner { min-height: 56px; padding: 6px 8px;
  background-image: url("rookery-mark-white.png"), radial-gradient(120% 120% at 100% 0%, rgba(184, 137, 43, .55), rgba(184, 137, 43, 0) 60%), linear-gradient(140deg, #160633, #2a095e 55%, #4b3f86);
  background-size: auto 68%, cover, cover; background-position: center, center, center; }
.hd-upd-mini .hd-banner > span { display: none; }
.hd-upd-mini .hd-banner.hd-has-img { background-size: cover; background-position: center; }
.hd-upd-mini .hd-banner-t { font-size: 11px; }
.hd-upd-mini-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hd-upd-mini:hover .hd-row-t { color: var(--ds-navy, #1d2b4f); text-decoration: underline; }
.hd-upd-big { display: flex; flex-direction: column; gap: 6px; width: 100%; border: 0; background: none; padding: 0; text-align: left; font: inherit; cursor: pointer; color: inherit; }
.hd-upd-big-t { font-size: 16px; font-weight: 700; color: var(--ds-ink, #222); line-height: 1.3; }
.hd-upd-big-s { font-size: 13px; color: var(--ds-muted, #666); line-height: 1.45; }
.hd-upd-big:hover .hd-upd-big-t { color: var(--ds-navy, #1d2b4f); }

/* the article */
.hd-article { padding: 14px 16px 22px; }
.hd-art-title { margin: 4px 0 10px; font-size: 20px; line-height: 1.25; color: var(--ds-navy, #1d2b4f); }
.hd-art-body { font-size: 14px; line-height: 1.6; }
.hd-art-body p { margin: 0 0 10px; }
.hd-art-h { margin: 16px 0 6px; font-size: 15px; color: var(--ds-ink, #222); }
.hd-art-ol, .hd-art-ul { margin: 0 0 12px; padding-left: 22px; }
.hd-art-ol li, .hd-art-ul li { margin: 0 0 6px; }
.hd-art-fig { margin: 8px 0 14px; }
.hd-art-fig img { width: 100%; border-radius: 10px; border: 1px solid var(--ds-line, #e3e3e8); min-height: 120px; background: var(--ds-tint, #f3f3f6); display: block; }
.hd-art-fig video { width: 100%; border-radius: 10px; border: 1px solid var(--ds-line, #e3e3e8); background: #14101f; display: block; }
.hd-art-fig figcaption { font-size: 12px; color: var(--ds-muted, #666); margin-top: 4px; }
/* wave720: the article's first paragraph is its TL;DR lead, and a
 * "> " line in the body is a Good-to-know callout box. */
.hd-art-lead { font-size: 15px; color: var(--ds-ink, #222); }
.hd-art-note { background: #f1edfd; border: 1px solid #ddd2fa; border-radius: 10px; padding: 11px 14px; margin: 0 0 12px; color: #3c3465; }
.hd-upd-mini-s { font-size: 12.5px; color: var(--ds-muted, #666); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-art-linked { margin-top: 18px; border-top: 1px solid var(--ds-line, #e3e3e8); }

/* conversations */
.hd-thread { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--ds-tint, #f6f6f9); min-height: 0; }
.hd-msg { max-width: 86%; align-self: flex-start; }
.hd-msg.hd-mine { align-self: flex-end; }
.hd-msg-who { margin: 0 0 3px; font-size: 11.5px; color: var(--ds-faint, #888); }
.hd-mine .hd-msg-who { text-align: right; }
.hd-msg-body { margin: 0; padding: 8px 12px; border-radius: 14px; background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e3e8); white-space: pre-wrap; line-height: 1.45; }
.hd-mine .hd-msg-body { background: var(--ds-navy, #1d2b4f); color: #fff; border-color: var(--ds-navy, #1d2b4f); }
.hd-staff:not(.hd-mine) .hd-msg-body { border-left: 3px solid var(--ds-gold-strong, #b8892b); }
.hd-compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--ds-line, #e3e3e8); }
.hd-compose textarea { flex: 1; font: inherit; font-size: 14px; border: 1px solid var(--ds-line-strong, #c9c9d2); border-radius: 10px; padding: 8px 10px; resize: vertical; min-height: 38px; }

/* forms */
.hd-f { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ds-ink, #222); margin-bottom: 12px; }
.hd-f input, .hd-f textarea { font: inherit; font-size: 14px; font-weight: 400; color: var(--ds-ink, #222); background: var(--ds-tint, #f6f6f9); border: 1px solid var(--ds-line, #e3e3e8);
  border-radius: 10px; padding: 9px 11px; width: 100%; box-sizing: border-box; }
.hd-f input:focus, .hd-f textarea:focus { outline: 2px solid var(--ds-navy, #1d2b4f); outline-offset: 0; background: var(--ds-card, #fff); }
.hd-f-row { display: flex; justify-content: space-between; }
.hd-opt { font-weight: 400; color: var(--ds-faint, #888); font-size: 12px; }
.hd-ticketform { display: flex; flex-direction: column; flex: 1 0 auto; box-sizing: border-box; }
.hd-ticketform .hd-submit { margin-top: auto; }
.hd-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- the Support desk — the panel's Desk tab (ops, wave352) ---------------- */
.hd-desk { padding-bottom: 20px; }
.hd-desk-note { margin-top: 14px; }
/* the desk's dialogs ride above the panel (z 890) */
.hd-ov { z-index: 1000; }
.hd-desk-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hd-desk-sub button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ds-line, #e3e3e8); background: var(--ds-card, #fff); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: 13px; color: var(--ds-muted, #666); cursor: pointer; }
.hd-desk-sub button.on { border-color: var(--ds-navy, #1d2b4f); color: var(--ds-navy, #1d2b4f); font-weight: 600; background: #eef0f7; }
.hd-desk-sub .hd-ico { width: 14px; height: 14px; }
.hd-pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--ds-tint, #f3f3f6); color: var(--ds-muted, #666); }
.hd-desk-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.hd-desk-bar p { margin: 0; font-size: 13.5px; }
.hd-desk-bar .btn { margin-left: 0; }
.hd-desk-bar select { font: inherit; font-size: 13.5px; margin-left: 6px; border: 1px solid var(--ds-line-strong, #c9c9d2); border-radius: 8px; padding: 5px 8px; }
.hd-dlist { display: flex; flex-direction: column; gap: 8px; }
.hd-drow { display: flex; flex-direction: column; align-items: stretch; gap: 8px; background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e3e8); border-left: 4px solid #5677c9; border-radius: 10px; padding: 10px 12px; }
.hd-drow-in_progress { border-left-color: var(--ds-gold-strong, #b8892b); }
.hd-drow-completed { border-left-color: #2e7d4f; opacity: .85; }
.hd-drow-upd { border-left-color: var(--ds-line-strong, #c9c9d2); }
.hd-drow-upd .hd-banner { width: auto; }
.hd-drow-main { flex: 1; min-width: 0; }
.hd-drow-t { margin: 0; font-weight: 600; color: var(--ds-navy, #1d2b4f); font-size: 14px; }
.hd-drow-s { margin: 2px 0 0; font-size: 12.5px; color: var(--ds-muted, #666); }
.hd-drow-b { margin: 6px 0 0; font-size: 13px; color: var(--ds-ink, #222); white-space: pre-line; line-height: 1.45; max-height: 4.4em; overflow: hidden; }
.hd-drow-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-start; }
.hd-drow-acts select { font: inherit; font-size: 13.5px; border: 1px solid var(--ds-line-strong, #c9c9d2); border-radius: 8px; padding: 6px 8px; }
.hd-num { font-variant-numeric: tabular-nums; color: var(--ds-muted, #666); font-weight: 600; margin-right: 4px; }
.hd-quote { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid var(--ds-line-strong, #c9c9d2); background: var(--ds-tint, #f6f6f9); font-size: 13px; white-space: pre-line; border-radius: 0 8px 8px 0; }
.hd-dlg { width: min(640px, 100%); }
.hd-linkpick { display: flex; flex-direction: column; gap: 4px; max-height: 180px; overflow-y: auto; border: 1px solid var(--ds-line, #e3e3e8); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; }
.hd-linkpick label { display: flex; align-items: center; gap: 8px; }
@media (max-width: 520px) {
  .hd-panel { right: 8px; left: 8px; width: auto; bottom: 124px; }
  .hd-launch { right: 12px; }
}

/* walk #25: the folded-in Ask + Get-started blocks (fragments from
 * help-drawer.js, in its own help-* classes) inside the panel. */
.hd-legacy section { padding: 14px 0; border-bottom: 1px solid var(--ds-hair, #eee); }
.hd-legacy section:last-child { border-bottom: 0; }
.hd-legacy h3 { margin: 0 0 8px; font-size: var(--ds-fs, 14px); color: var(--ds-navy, #1d2b4f); font-weight: 700; }

/* wave359-mobile (2026-11-03): on phones the help bubble shrinks a
 * touch and lifts clear of the Messages pill at the corner. */
@media (max-width: 640px) {
  .hd-launch { right: 12px; bottom: 84px; width: 44px; height: 44px; }
}

/* wave696: the Video tutorials views inside the panel — the player
 * takes the panel's width; the title sits like an article's. */
.hd-tut-title { margin: 4px 0 2px; font-size: 15px; font-weight: 600; color: var(--ds-ink, #222); }
.hd-video { margin: 10px 0 4px; }
.hd-video video { display: block; width: 100%; border-radius: 10px; background: #000; }
.hd-video .hd-row-s { display: block; margin-top: 4px; }

/* wave721: the support console */
.hd-co-note { color: var(--ds-muted, #666); margin: 0 0 12px; }
.hd-co-row { flex-direction: row; align-items: center; width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.hd-co-row .hd-drow-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hd-co-row .hd-ico { width: 16px; height: 16px; flex: none; }
.hd-co-h { margin: 18px 0 8px; font-size: 15px; }
.hd-co-sec { margin: 16px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ds-muted, #666); }
.hd-co-back { margin-bottom: 4px; }
.hd-co-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 10px; }
.hd-co-add label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ds-muted, #666); flex: 1; min-width: 180px; }
.hd-co-add select { padding: 8px; border: 1px solid var(--ds-line, #e3e3e8); border-radius: 8px; background: var(--ds-card, #fff); font: inherit; color: inherit; }

/* wave725: the full-page Support workspace — page scope only; the
 * panel keeps its own compact shape. */
#view-supportdesk .hdpage { max-width: 1180px; margin: 0 auto; padding: 6px 6px 48px; }
#view-supportdesk .hdpage-head h1 { font-size: 30px; font-weight: 700; color: var(--ds-navy, #14213d); margin: 6px 0 4px; }
#view-supportdesk .hdpage-sub { color: var(--ds-muted, #666); margin: 0 0 18px; max-width: 72ch; }
#view-supportdesk .hd-desk-sub { margin-bottom: 14px; }
#view-supportdesk .hd-drow { padding: 12px 14px; }
#view-supportdesk .hd-co-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
#view-supportdesk .hd-co-sec { margin-top: 24px; }
@media (max-width: 900px) { #view-supportdesk .hd-co-wrap { grid-template-columns: 1fr; } }

/* wave731 (operator gap #4): Support home quick-action chips + Ask AI Support */
.hd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.hd-chip { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ds-navy, #1d2b4f); background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e3e8); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.hd-chip:hover { border-color: var(--ds-gold-strong, #b8892b); }
.hd-chip-ai { background: linear-gradient(135deg, #3b1470, #5b2ea6); color: #fff; border-color: transparent; }
.hd-chip-star { color: #f2c14e; }
.hd-ainote { display: flex; gap: 8px; background: linear-gradient(135deg, #3b1470, #5b2ea6); color: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.hd-ainote p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.hd-ainote-star { color: #f2c14e; font-size: 15px; line-height: 1.3; }
.hd-ask-thread { display: grid; gap: 8px; margin-bottom: 10px; }
.hd-ask-q { justify-self: end; max-width: 88%; background: #e9e2fb; color: var(--ds-ink, #222); border-radius: 14px 14px 4px 14px; padding: 8px 11px; font-size: 13px; line-height: 1.45; }
.hd-ask-a { justify-self: start; max-width: 94%; background: var(--ds-card, #fff); border: 1px solid var(--ds-line, #e3e3e8); border-radius: 14px 14px 14px 4px; padding: 9px 11px; font-size: 13px; line-height: 1.5; }
.hd-ask-a p { margin: 0; }
.hd-ask-srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hd-srcbtn { font: inherit; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; color: var(--ds-navy, #1d2b4f); background: #f4f1fd; border: 1px solid var(--ds-line, #e3e3e8); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.hd-srcbtn .hd-ico { width: 13px; height: 13px; }
