/* FixDesk public site: small additions on top of fixdesk.css + motion.css (same tokens). */

/* chat widget (front) */
.chat-widget [hidden], [data-suggest][hidden], [data-dept-only][hidden] { display: none !important; }
.chat-widget .typing { position: static; left: auto; top: auto; opacity: 1; transform: none; }
.chat-widget .bubble { overflow-wrap: anywhere; }
.chat-widget .bubble.me a { color: inherit; text-decoration: underline; }
.chat-widget form.cw-body { margin: 0; }
.chat-widget .av.sm, .chat-widget .av.xs { display: inline-grid; place-items: center; }
.cw-rate { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 14px 0 4px; border-top: 1px solid var(--border); margin-top: 6px; }
.cw-rate .star-rate { font-size: 26px; }
.cw-rate .star-rate button:disabled { cursor: default; }

/* help center lists without a design page (search, category) */
.kb-results a { align-items: flex-start; }
.kb-results a > span { display: grid; gap: 2px; min-width: 0; }
.kb-results a b { color: var(--text); font-weight: 600; }
.kb-results a small { color: var(--muted); font-size: 13px; font-weight: 400; }
.kb-cat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.kb-cat-layout aside .card + .card { margin-top: 16px; }
@media (max-width: 979px) { .kb-cat-layout { grid-template-columns: minmax(0, 1fr); } }

/* submit a ticket */
@media (max-width: 979px) { #ticket-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.dropzone { display: block; cursor: pointer; }
.dropzone .link { color: var(--brand-ink); font-weight: 600; }
.dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.file-chip button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 0 2px; font-size: 15px; line-height: 1; }
.ticket-done { max-width: 640px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 10px; padding: 40px 28px; }
.ticket-done h2 { font-size: 24px; margin: 6px 0 0; }
.ticket-done p { max-width: 520px; margin: 0 0 8px; }

/* guest ticket composer attachments */
.composer label.icon-btn { cursor: pointer; }

@media print {
  .site-header, .site-footer, .install-bar, .chat-launcher, .chat-widget, .composer, .page-head .actions { display: none !important; }
}
