:root { --support-border:#d9d8d1; --support-radius:13px; --support-focus:#a14512; --support-muted:#66645e; }
.support-actions { box-sizing:border-box; margin:12px 0 0 44px; max-width:calc(100% - 52px); color:#292923; }
.support-actions:empty { display:none; }
.support-options { display:flex; flex-direction:column; gap:8px; max-width:35rem; }
.support-options-phone { flex-direction:row; flex-wrap:wrap; }
.support-option,.support-resource { appearance:none; -webkit-appearance:none; box-sizing:border-box; min-height:44px; border:1px solid var(--support-border); border-radius:var(--support-radius); padding:10px 13px; background:#fff; color:#292923; font:inherit; font-size:0.875rem; line-height:1.45; cursor:pointer; text-align:left; text-decoration:none; overflow-wrap:anywhere; }
.support-option:hover,.support-resource:hover { background:#faf8f4; border-color:#aaa79c; }
.support-option:focus-visible,.support-resource:focus-visible { outline:2px solid var(--support-focus); outline-offset:2px; }
.support-option:disabled { cursor:default; opacity:.6; }
.support-action-title { margin:0 0 2px; font-size:0.875rem; font-weight:600; }
.support-action-hint { display:block; margin:7px 0 0; color:var(--support-muted); font-size:0.75rem; line-height:1.5; }
.support-resources { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.support-resources > .support-action-hint { flex-basis:100%; margin:0; }
.legacy-message-assistant .support-actions { clear:both; margin-left:0; max-width:92%; padding:2px; }
.guest-row[data-kind="video"]::before { content:""; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:8px solid #a14512; margin-right:12px; }
.guest-row[data-kind="video"] > span { flex:1; }
@media (max-width:350px) { .support-actions { margin-left:32px; max-width:calc(100% - 32px); } .support-options-phone { flex-direction:column; } }
.support-context,.support-documents,.support-summary,.support-procedure { margin-top:12px; border:1px solid #e5e3dc; border-radius:var(--support-radius); background:#fcfbf8; overflow-wrap:anywhere; }
.support-context summary,.support-documents summary,.support-summary summary,.support-procedure summary { min-height:44px; box-sizing:border-box; padding:12px 13px; cursor:pointer; font-size:0.8125rem; line-height:1.5; color:#55534d; }
.support-context[open],.support-documents[open],.support-summary[open],.support-procedure[open] { padding-bottom:12px; }
.support-context > :not(summary),.support-summary > :not(summary),.support-procedure > :not(summary) { margin-left:13px; margin-right:13px; }
.support-context .support-options { margin-top:10px; }
.support-resource-list { display:flex; flex-direction:column; gap:8px; padding:0 12px; }
.support-resources > [role="status"] { order:3; }
.support-summary-text { white-space:pre-wrap; font:inherit; font-size:0.875rem; line-height:1.6; max-height:24rem; overflow:auto; }
.support-summary-text,.support-procedure li { overflow-wrap:anywhere; }
.support-procedure ol { padding-left:24px; font-size:0.875rem; line-height:1.65; }
.support-procedure li+li { margin-top:12px; }
.support-video-card { padding:0; overflow:hidden; margin-top:12px; }
.support-video-poster { display:flex; align-items:flex-start; flex-direction:column; gap:8px; padding:18px; background:linear-gradient(125deg,#f4f0e7,#fffdfa); }
.support-video-product { font-size:0.625rem; letter-spacing:.13em; font-weight:700; color:#8b542d; }
.support-video-meta { color:#747066; font-size:0.75rem; }
.support-video-screen:empty { display:none; }
.support-video-screen video { display:block; width:100%; max-height:65vh; background:#151515; }
.support-video-fallback { padding:12px; }
.support-copy-fallback { width:100%; min-height:88px; margin-top:8px; font-size:1rem; }
.support-resume { margin-top:12px; }
.support-resource-area:empty,.support-controls:empty { display:none; }
.support-new-reply { min-height:44px; border:1px solid #d9d8d1; background:#fff; border-radius:24px; padding:8px 18px; font:inherit; color:#71421f; box-shadow:0 2px 8px #0000000a; }
.support-actions summary:focus-visible,.support-new-reply:focus-visible { outline:2px solid var(--support-focus); outline-offset:2px; }
@media (prefers-reduced-motion:reduce) { .support-actions *, .support-new-reply { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }

.legacy-clear, .legacy-new { min-width:44px; min-height:44px; }
/* Avoid iOS Safari focusing zoom; keep the legacy send target usable by touch. */
.legacy-input { font-size:1rem; line-height:1.4; }
.legacy-send { height:44px; bottom:0; right:0; border-radius:22px; }

/* Mail uses the same warm surfaces, dark primary action and orange focus as chat. */
.support-email {
  --email-surface:#fcfbf8;
  --email-text:#292923;
  --email-muted:var(--support-muted,#66645e);
  --email-border:var(--support-border,#d9d8d1);
  --email-accent:var(--support-focus,#a14512);
  box-sizing:border-box;width:100%;max-width:35rem;min-width:0;
  margin-top:14px;padding:16px;border:1px solid var(--email-border);
  border-radius:var(--support-radius,13px);background:var(--email-surface);
  color:var(--email-text);font-size:14px;line-height:1.55;
  box-shadow:0 1px 2px rgba(41,41,35,.035);
}
.support-email-heading {margin:0;font-weight:600;font-size:14px;line-height:1.5}
.support-email-heading::before {content:"";display:inline-block;width:6px;height:6px;margin-right:8px;border-radius:50%;background:#ff6518;vertical-align:2px}
.support-email-help {margin:6px 0 0;color:var(--email-muted)}
.support-email-recipient {margin:16px 0 12px;overflow-wrap:anywhere;color:var(--email-muted);font-size:12px}
.support-email-label {display:block;margin:12px 0;color:var(--email-muted);font-size:12px;font-weight:500}
.support-email input,.support-email textarea {
  display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  margin:6px 0 0;padding:10px 12px;border:1px solid var(--email-border);border-radius:10px;
  background:#fff;color:var(--email-text);font:inherit;font-size:14px;font-weight:400;line-height:1.55;
  outline-offset:2px;transition:border-color .15s,box-shadow .15s;
}
.support-email input::placeholder,.support-email textarea::placeholder {color:#8a877e;opacity:1}
.support-email input:focus,.support-email textarea:focus {border-color:var(--email-accent);outline:2px solid var(--email-accent);outline-offset:2px}
.support-email textarea {height:clamp(220px,32vh,340px);min-height:180px;max-height:60vh;resize:vertical;overflow-wrap:anywhere}
.support-email-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.support-email .support-resource {min-width:0;min-height:44px;font-size:13px;line-height:1.45}
.support-email-send-actions .support-resource {display:flex;align-items:center;justify-content:center;width:100%;text-align:center}
.support-email [data-action="copy-email-draft"] {border-color:#1f1f1f;background:#1f1f1f;color:#fff;font-weight:600}
.support-email [data-action="copy-email-draft"]:hover {border-color:#000;background:#000;color:#fff}
.support-email [data-action="generate-email"] {color:var(--email-accent)}
.support-email-revise {display:grid;grid-template-columns:minmax(0,1fr)auto;align-items:center;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--email-border)}
.support-email-revise input {margin-top:0}
.support-email [data-action="refine-email"] {border-color:#e4c2ac;background:#fff3e9;color:#873b16;text-align:center}
.support-email [data-action="refine-email"]:hover:not(:disabled) {border-color:#b67b58;background:#fce9da}
.support-email-language-actions {gap:4px;margin-top:8px}
.support-email-language-actions .support-resource {border-color:transparent;border-radius:22px;background:transparent;color:var(--email-muted);text-align:center}
.support-email-language-actions .support-resource:hover:not(:disabled) {border-color:var(--email-border);background:#faf8f4;color:var(--email-text)}
.support-email-status {margin:12px 0 0;color:var(--email-muted);font-size:12px;overflow-wrap:anywhere}
.support-email-status:empty {display:none}
.support-email .support-email-copy-fallback {height:240px;min-height:200px;margin-top:12px;background:#faf8f4}
.support-email input:disabled,.support-email textarea:disabled {background:#f4f4f2;color:#77756f;opacity:1}
.support-email button:disabled {cursor:default;opacity:.5}
.support-email-empty {padding:0;border:0;background:transparent;box-shadow:none}
.support-email-empty .support-email-heading,.support-email-empty .support-email-help,.support-email input[hidden] {display:none}
@media(max-width:600px) {
  .support-email {padding:14px}
  .support-email input,.support-email textarea {font-size:16px}
  .support-email-send-actions,.support-email-revise {grid-template-columns:minmax(0,1fr)}
  .support-email-revise .support-resource {width:100%}
  .support-email-empty {padding:0}
}
