.support-box{margin-top:24px;padding:clamp(16px,3vw,28px);border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text)}
.support-box h3,.support-box h2{margin:0 0 12px}.support-box p{line-height:1.65}.support-form{display:grid;gap:14px;margin-top:18px}.support-form label{display:grid;gap:7px;font-weight:700}.support-form input,.support-form select,.support-form textarea{box-sizing:border-box;max-width:100%;width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:inherit;font:inherit;min-height:44px}.support-form textarea{resize:vertical;line-height:1.6}.support-form button{justify-self:start}.support-hint{font-size:.85rem;color:var(--muted)}.support-feedback{min-height:1.6em;margin:12px 0;color:var(--accent)}.support-feedback.is-error{color:var(--red)}.support-record{padding:18px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.support-record header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.support-record h3{font:inherit;font-weight:800;margin:8px 0}.support-record small{color:var(--muted)}.support-text{white-space:pre-wrap;unicode-bidi:plaintext;overflow-wrap:anywhere;margin:12px 0}.support-status{display:inline-block;padding:4px 10px;border:1px solid var(--line);border-radius:30px;font-size:.8rem;color:var(--accent)}.support-reply{padding:12px 16px;margin-top:12px;border-inline-start:3px solid var(--accent);background:var(--accent-soft);border-radius:6px}.support-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.support-note{border:1px dashed var(--line);padding:12px;margin-top:10px;border-radius:8px}.support-private-label{font-size:.75rem;letter-spacing:.06em;font-weight:800;color:var(--accent)}.support-box button:focus-visible,.support-box a:focus-visible,.support-form :focus-visible{outline:3px solid var(--accent);outline-offset:3px}.support-box [hidden]{display:none!important}@media(max-width:600px){.support-form button{width:100%;justify-self:stretch}.support-box{padding:16px}.support-record{padding:16px 0}.support-actions>*{max-width:100%}}

.support-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;height:1.5em;margin-inline-start:6px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#c22f51;color:#fff;font:800 .8rem/1 sans-serif;vertical-align:middle}.support-unread-badge[hidden]{display:none!important}.support-unread-label{color:var(--accent);font-weight:800;font-size:.8rem}.support-record:has(.support-unread-label){border-inline-start:3px solid var(--accent);padding-inline-start:14px}

/* Dark badges keep the requested white/yellow/green/red labels readable in both themes. */
.support-status{background:#172235;color:#cbd5e1;border-color:#41516b;font-weight:800}
.support-status[data-status="new"]{color:#fff}
.support-status[data-status="read"]{color:#cbd5e1}
.support-status[data-status="reviewing"]{color:#facc15}
.support-status[data-status="closed"]{color:#4ade80}
.support-status[data-status="declined"]{color:#f87171}
