/* Suporte · CSS do protótipo aprovado (smart_pricing-prototipos/app/suporte.css + o <style> de suporte.html).
   Gerado a partir do protótipo; os tokens e as peças genéricas (card, btn, seg, chip, kpi) do protótipo ficam presos
   à classe .su, que está em #tab-suporte e na gaveta/janelas do Suporte (anexadas ao body). Ajustes do app no fim. */
.su {
  --own: #FF585D; --teal: #0F988E; --teal-txt: #0B6F68;
  --ink: #1A1A2E; --ink-2: #2E2E3A; --mut: #52525E; --bg: #F4F2ED; --card: #FBFAF8; --soft: #F4F2ED;
  --line: rgba(26, 26, 46, .13); --line-2: rgba(26, 26, 46, .08); --hover: rgba(26, 26, 46, .055);
  --tip: #1A1A2E; --on-tip: #E8E5DE; --on-tip-mut: #B9B6AE;
  --shadow: 0 1px 2px rgba(26, 26, 46, .05), 0 14px 30px -24px rgba(26, 26, 46, .4);
  --pop-shadow: 0 0 0 1px rgba(26, 26, 46, .08), 0 24px 60px -24px rgba(26, 26, 46, .45);
  --font: "Onest", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: var(--font); color: var(--ink);
}
body.dark-mode .su {
  --ink: #E8E5DE; --ink-2: #CFCBC2; --mut: #A9A69F; --bg: #1A1A2E; --card: #22223A; --soft: #2A2A44;
  --line: rgba(232, 229, 222, .14); --line-2: rgba(232, 229, 222, .08); --hover: rgba(232, 229, 222, .06);
  --teal-txt: #3FC2B7; --tip: #0F0F1C;
  --shadow: 0 0 0 1px rgba(232, 229, 222, .06), 0 14px 30px -24px rgba(0, 0, 0, .7);
  --pop-shadow: 0 0 0 1px rgba(232, 229, 222, .1), 0 24px 60px -20px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  body:not(.light-mode) .su {
  --ink: #E8E5DE; --ink-2: #CFCBC2; --mut: #A9A69F; --bg: #1A1A2E; --card: #22223A; --soft: #2A2A44;
  --line: rgba(232, 229, 222, .14); --line-2: rgba(232, 229, 222, .08); --hover: rgba(232, 229, 222, .06);
  --teal-txt: #3FC2B7; --tip: #0F0F1C;
  --shadow: 0 0 0 1px rgba(232, 229, 222, .06), 0 14px 30px -24px rgba(0, 0, 0, .7);
  --pop-shadow: 0 0 0 1px rgba(232, 229, 222, .1), 0 24px 60px -20px rgba(0, 0, 0, .7);
  }
}
.su h1, .su h2, .su h3, .su h4, .su p { margin: 0; }
.su .mono { font-family: var(--mono); }
.su .mut { color: var(--mut); }
.su .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.su .sp-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #1A1A2E; font: 700 12px/1 var(--font); }
.su .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); min-width: 0; }
.su .card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.su .card h2, .su .card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.su .card-sub { font-size: 13.5px; color: var(--mut); }
.su .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 600 14px var(--font); text-decoration: none; cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease); }
.su .btn:hover { border-color: var(--ink); }
.su .btn:disabled { opacity: .55; cursor: not-allowed; }
.su .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.su .btn-primary { background: #FF585D; border-color: #FF585D; color: #1A1A2E; box-shadow: 0 1px 0 rgba(26, 26, 46, .25), 0 8px 20px -10px rgba(26, 26, 46, .55); }
.su .btn-primary:hover { background: #FF6D71; border-color: #FF6D71; }
.su .seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line-2); max-width: 100%; }
.su .seg button { border: 0; background: transparent; min-height: 34px; padding: 0 12px; border-radius: 8px; font: 600 13.5px var(--font); color: var(--mut); cursor: pointer; }
.su .seg button:hover { color: var(--ink); }
.su .seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(26, 26, 46, .14), 0 4px 10px -6px rgba(26, 26, 46, .35); }
.su .chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.su .chip-ink { background: var(--ink); color: var(--bg); box-shadow: none; }
.su .mark { color: var(--ink); padding: 0 .18em; border-radius: 6px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.su .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.su .kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.su .kpi-label { font-size: 12.5px; color: var(--mut); }
.su .kpi-value { font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-top: 2px; }
.su .kpi-foot { margin-top: 4px; font-size: 12.5px; color: var(--mut); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.su button { font-family: inherit; cursor: pointer; }
.su :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@keyframes su-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Peças do Suporte (protótipo: suporte.css) ---------- */
/* Suporte · peças comuns às opções A, B e C (só tokens da base, para o escuro funcionar sozinho). */

/* Selos de nível: N1 recuado, N2 Teal, N3 Quase-preto (sem Vermelho: ele é da ação principal). */
.sup-nv { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 6px; font: 500 11px/1 var(--mono); letter-spacing: .02em; }
.sup-nv-N1 { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.sup-nv-N2 { background: var(--up); color: var(--teal-txt); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--teal) 45%, transparent); }
.sup-nv-N3 { background: var(--ink); color: var(--bg); }
.sup-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.sup-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sup-st-aberto { color: var(--ink); }
.sup-st-andamento { color: var(--teal-txt); }
.sup-st-aguardando { background: var(--ink); color: var(--bg); box-shadow: none; }
.sup-st-resolvido { color: var(--mut); }
.sup-st-resolvido::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

/* Detalhe do chamado */
.sup-dh-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sup-dh h3 { margin-top: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.sup-dl { margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 16px; }
.sup-dl div { min-width: 0; }
.sup-dl dt { font-size: 12px; color: var(--mut); }
.sup-dl dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.sup-sla { margin-top: 14px; display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13.5px; }
.sup-sla > div { display: flex; align-items: center; gap: 8px; }
.sup-sla-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.sup-sla .is-late { font-weight: 650; }
.sup-sla .is-late .sup-sla-dot { background: var(--ink); box-shadow: 0 0 0 3px var(--line); }
.sup-sla .is-paused .sup-sla-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mut); }

/* Escada N1 → N2 → N3 */
.sup-ladder { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: lv; }
.sup-ladder li { position: relative; padding: 0 8px 0 0; display: grid; gap: 2px; font-size: 12px; color: var(--mut); }
.sup-ladder li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 6px; }
.sup-ladder b { font: 500 11px var(--mono); color: var(--mut); }
.sup-ladder span { line-height: 1.3; }
.sup-ladder .is-done::before { background: color-mix(in srgb, var(--teal) 55%, transparent); }
.sup-ladder .is-done b, .sup-ladder .is-done { color: var(--ink-2); }
.sup-ladder .is-cur::before { background: var(--ink); }
.sup-ladder .is-cur b, .sup-ladder .is-cur { color: var(--ink); font-weight: 650; }

/* Conversa */
.sup-thread { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.sup-ev-sys { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--mut); padding-left: 6px; }
.sup-ev-sys time { margin-left: auto; font-size: 11px; }
.sup-ev-ic { width: 30px; text-align: center; }
.sup-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
.sup-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 700; color: var(--ink); }
.sup-msg.is-staff .sup-av { background: var(--teal); color: #1A1A2E; box-shadow: none; }
.sup-msg > div { background: var(--soft); border-radius: 4px 14px 14px 14px; padding: 10px 12px; min-width: 0; }
.sup-msg.is-note > div { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); border-style: dashed; }
.sup-msg-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.sup-msg-h strong { font-weight: 650; font-size: 13.5px; }
.sup-msg-h time { margin-left: auto; font-size: 11px; color: var(--mut); }
.sup-msg p { margin-top: 4px; font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.sup-closed { margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 13.5px; color: var(--mut); }
.sup-reply { margin-top: 16px; display: grid; gap: 8px; }
.sup-reply textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 10px 12px; font-size: 14px; color: var(--ink); }
.sup-reply-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sup-reply-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.sup-reply-acts .btn { min-height: 34px; font-size: 13px; padding: 0 10px; }
.sup-reply-hint { font-size: 12.5px; }

/* Campos de formulário */
.sup-field { display: grid; gap: 6px; min-width: 0; }
.sup-field > span, .sup-legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.sup-field small, .sup-hint { font-size: 12.5px; color: var(--mut); font-weight: 400; }
.sup-field > input, .sup-field > select, .sup-field > textarea { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 9px 12px; font-size: 14.5px; color: var(--ink); }
.sup-field > textarea, .sup-reply textarea { font: inherit; font-size: 14.5px; resize: vertical; line-height: 1.5; }
.sup-field > input:focus, .sup-field > select:focus, .sup-field > textarea:focus, .sup-reply textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.sup-field.is-err > input, .sup-field.is-err > select, .sup-field.is-err > textarea, .sup-field.is-err .sup-pick-box { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sup-err { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.sup-err::before { content: "! "; }
fieldset.sup-fs { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Impacto: 4 botões de rádio em linha */
.sup-impact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sup-impact label { position: relative; display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; font-size: 13.5px; font-weight: 600; background: var(--card); }
.sup-impact label small { font-weight: 400; font-size: 11.5px; color: var(--mut); line-height: 1.35; }
.sup-impact input { position: absolute; opacity: 0; }
.sup-impact label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sup-impact label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Seletor de imóveis */
.sup-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.sup-check input { width: 16px; height: 16px; accent-color: var(--teal); }
.sup-pick { display: grid; gap: 8px; }
.sup-pick-box { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 42px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.sup-pick-box:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.sup-pick-box.is-off { opacity: .45; }
.sup-pick-chips { display: contents; }
.sup-pick-chips .chip button { border: 0; background: none; padding: 0 0 0 2px; font-size: 14px; line-height: 1; color: var(--mut); }
.sup-pick-box input { flex: 1; min-width: 140px; border: 0; outline: 0; background: transparent; padding: 4px; font-size: 14px; color: var(--ink); }
.sup-pick-list { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: 4px; max-height: 260px; overflow: auto; background: var(--card); border-radius: 12px; box-shadow: var(--pop-shadow); }
.sup-pick-list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.sup-pick-list li span { font-size: 12px; }
.sup-pick-list li:hover, .sup-pick-list li:focus { background: var(--hover); outline: none; }
.sup-pick-list li[aria-selected="true"] { font-weight: 650; }
.sup-pick-list li[aria-selected="true"]::before { content: "✓"; margin-right: -2px; color: var(--teal-txt); }

/* Anexos */
.sup-files { display: grid; gap: 8px; }
.sup-drop { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 14px; border-radius: 12px; border: 1.5px dashed var(--line); cursor: pointer; font-size: 13.5px; transition: border-color .15s, background-color .15s; }
.sup-drop:hover, .sup-drop.is-over { border-color: var(--ink); background: var(--hover); }
.sup-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.sup-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sup-drop .mut { font-size: 12px; }
.sup-file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sup-file-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; background: var(--soft); font-size: 13px; }
.sup-file-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-file-list li.is-bad { box-shadow: inset 0 0 0 1px var(--ink); }
.sup-file-list button { border: 0; background: none; font-size: 16px; color: var(--mut); padding: 0 4px; }

/* "Para onde vai": rota do chamado pelo tipo */
.sup-route { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line-2); }
.sup-route-h { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }
.sup-route strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.sup-route dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13.5px; }
.sup-route dt { color: var(--mut); }
.sup-route dd { margin: 0; font-weight: 600; }
.sup-route p { font-size: 13px; color: var(--mut); line-height: 1.45; }
.sup-ctx { font-size: 12.5px; color: var(--mut); line-height: 1.5; }
.sup-ctx b { color: var(--ink-2); font-weight: 600; }

/* Confirmação */
.sup-done { display: grid; gap: 10px; justify-items: start; }
.sup-done-n { font: 500 13px var(--mono); color: var(--mut); }
.sup-done h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.sup-done p { font-size: 15px; color: var(--ink-2); max-width: 52ch; }
.sup-done .mark { white-space: nowrap; }

/* Gaveta lateral (detalhe do chamado nas opções A e C) */
.sup-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(26, 26, 46, .38); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.sup-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(560px, 100vw); background: var(--card); box-shadow: -20px 0 50px -30px rgba(26, 26, 46, .6); transform: translateX(102%); transition: transform .28s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
.sup-drawer.is-open { transform: none; visibility: visible; }
.sup-scrim.is-open { opacity: 1; pointer-events: auto; }
.sup-drawer-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 22px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--mut); }
.sup-drawer-body { overflow: auto; padding: 18px 22px 28px; }
.sup-x { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; display: grid; place-items: center; color: var(--ink); font-size: 22px; line-height: 1; }
.sup-x:hover { background: var(--hover); }

/* Ver como: Cliente | Equipe Smart */
.sup-viewas { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }

@media (max-width: 640px) {
  .sup-impact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-ladder span { display: none; }
}

/* Estados novos: pausado, congelado, cancelado (sem Vermelho: tinta, hachura e contorno) */
.sup-st-pausado { color: var(--ink-2); box-shadow: none; border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); padding: 2px 8px; }
.sup-st-pausado::before { width: 7px; height: 8px; border-radius: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.sup-st-congelado { color: var(--ink); background: repeating-linear-gradient(135deg, var(--soft) 0 4px, var(--card) 4px 8px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sup-st-congelado::before { border-radius: 2px; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.sup-st-cancelado { color: var(--mut); }
.sup-st-cancelado::before { width: 8px; height: 2px; border-radius: 1px; }

/* Faixa de estado no topo do chamado */
.sup-state { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; color: var(--ink); }
.sup-state > svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sup-state strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.sup-state .mono { font-size: 11.5px; color: var(--mut); }
.sup-state p { margin-top: 4px; overflow-wrap: anywhere; }
.sup-state p b { font-weight: 650; }
.sup-state small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mut); line-height: 1.45; }
.sup-state.is-gelo { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 6%, var(--card)) 0 6px, var(--card) 6px 12px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sup-state.is-pausa { background: var(--soft); border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); }
.sup-state.is-cancel { background: var(--soft); color: var(--ink-2); }
.sup-dh h3:focus { outline: none; }
.sup-dh h3:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Eventos de estado na conversa */
.sup-ev-ic svg { width: 16px; height: 16px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sup-ev-sys.is-gelo { color: var(--ink); font-weight: 600; padding: 8px 10px 8px 6px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.sup-ev-sys.is-pausa, .sup-ev-sys.is-cancel { color: var(--ink-2); }

/* "Mais ações" (desescalar, pausar, congelar, cancelar) e o cancelar do cliente */
.sup-more { position: relative; }
.sup-more > summary { list-style: none; cursor: pointer; min-height: 34px; font-size: 13px; padding: 0 10px; }
.sup-more > summary::-webkit-details-marker { display: none; }
.sup-more > summary::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.sup-more[open] > summary { border-color: var(--ink); }
/* Abre no fluxo, numa linha própria: nada sai da gaveta nem a faz rolar de lado. */
.sup-more[open] { flex-basis: 100%; display: grid; gap: 6px; justify-items: start; }
.sup-more-menu { width: 100%; padding: 4px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.sup-more-menu button { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.sup-more-menu button:hover, .sup-more-menu button:focus-visible { background: var(--hover); outline: none; }
.sup-more-menu svg, .sup-reply-acts .btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sup-linkbtn { border: 0; background: none; padding: 4px 0; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.sup-linkbtn:hover { color: var(--ink); text-decoration-color: currentColor; }
.sup-reply-acts .sup-reply-hint { align-self: center; }

/* Janela das ações */
.sup-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: var(--pop-shadow); }
.sup-dlg::backdrop { background: rgba(26, 26, 46, .45); }
.sup-dlg form { display: grid; gap: 14px; padding: 22px; }
.sup-dlg h2 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.sup-dlg-txt { font-size: 14px; color: var(--mut); line-height: 1.5; margin-top: -6px; }
.sup-dur { display: flex; flex-wrap: wrap; }
.sup-dur-custom { display: flex; gap: 8px; }
.sup-dur-custom[hidden] { display: none; }
.sup-dur-custom input, .sup-dur-custom select { min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 0 10px; color: var(--ink); font: inherit; font-size: 14.5px; }
.sup-dur-custom input { width: 90px; }
.sup-dur-custom :focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.sup-dlg [data-prev] { font-size: 12.5px; color: var(--mut); }
.sup-dlg-foot { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* ---------- Página (protótipo: <style> de suporte.html) ---------- */
.su [hidden] { display: none !important; }
/* ---------- Faixa de abertura ---------- */
.spa-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: clamp(22px, 2.4vw, 30px); border-radius: 20px; background: var(--tip); color: var(--on-tip); box-shadow: 0 30px 70px -40px rgba(26, 26, 46, .8); margin-bottom: 18px; }
.spa-hero-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--on-tip-mut); }
.spa-live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(15, 152, 142, .55); }
.spa-hero h2 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.spa-hero p { margin-top: 8px; color: var(--on-tip-mut); max-width: 52ch; font-size: 15px; }
.spa-hero-side { display: grid; gap: 8px; justify-items: end; text-align: right; }
.spa-new { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid rgba(232, 229, 222, .22); background: rgba(232, 229, 222, .06); color: var(--on-tip); font-weight: 600; font-size: 14px; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.spa-new:hover { background: rgba(232, 229, 222, .12); border-color: rgba(232, 229, 222, .45); }
.spa-new b { min-width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--teal); color: #1A1A2E; font-size: 13px; }
.spa-new svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.spa-hero-sum { font-size: 13px; color: var(--on-tip-mut); }
.spa-hero :focus-visible { outline-color: var(--on-tip); }

/* ---------- Abrir chamado ---------- */
.spa-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.spa-form { display: grid; gap: 22px; }
.spa-step { display: grid; gap: 12px; }
.spa-step-h { display: flex; align-items: baseline; gap: 10px; }
.spa-step-h b { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font: 500 11px var(--mono); flex: none; transform: translateY(-1px); }
.spa-step-h h3 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.spa-step-h span { margin-left: auto; font-size: 12.5px; color: var(--mut); }
.spa-groups { display: grid; gap: 14px; border: 0; padding: 0; margin: 0; min-width: 0; }
.spa-group-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mut); margin-bottom: 6px; }
.spa-group-h strong { color: var(--ink-2); font-weight: 600; }
.spa-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 8px; }
.spa-tile { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 10px; align-items: start; align-content: start; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.spa-tile:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); transform: translateY(-1px); }
.spa-tile input { position: absolute; opacity: 0; pointer-events: none; }
.spa-tile .spa-ic { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); transition: background-color .18s var(--ease), color .18s var(--ease); }
.spa-tile .spa-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spa-tile strong { font-size: 14px; font-weight: 650; line-height: 1.3; }
.spa-tile small { font-size: 12px; color: var(--mut); line-height: 1.35; }
.spa-tile:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }
.spa-tile:has(input:checked) .spa-ic { background: var(--ink); color: var(--bg); }
.spa-tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.spa-more[hidden] { display: none; }
.spa-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spa-imp { display: grid; gap: 6px; }
.spa-imp .seg { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spa-imp .seg button { min-height: 38px; }
.spa-imp-desc { font-size: 12.5px; color: var(--mut); }
.spa-imp-desc.is-block { color: var(--ink); font-weight: 600; }
.spa-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font-size: 13.5px; font-weight: 600; color: var(--teal-txt); }
.spa-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.spa-contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13.5px; }
.spa-contact .sp-avatar { width: 28px; height: 28px; font-size: 11px; }
.spa-contact span { flex: 1; min-width: 200px; color: var(--ink-2); }
.spa-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.spa-foot .sup-ctx { max-width: 46ch; }

/* Para onde vai */
.spa-side { position: sticky; top: 16px; display: grid; gap: 12px; }
.spa-route { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.spa-route-k { font-size: 12.5px; color: var(--mut); display: flex; align-items: center; gap: 8px; }
.spa-route h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.spa-route p { font-size: 13.5px; color: var(--mut); line-height: 1.45; }
.spa-times { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.spa-times li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; align-items: center; }
.spa-times .spa-ic { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); }
.spa-times .spa-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spa-times small { font-size: 12px; color: var(--mut); }
.spa-times strong { font-size: 14.5px; font-weight: 650; }
.spa-route .sup-ladder { margin-top: 0; }
.spa-route.is-empty { background: var(--soft); box-shadow: none; border-color: var(--line-2); }
.spa-route .spa-block { padding: 8px 10px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; }
.spa-hours { font-size: 12.5px; color: var(--mut); padding: 0 4px; }

/* ---------- Meus chamados ---------- */
.spa-list { margin-top: 18px; }
.spa-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.spa-row { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 13px 16px 13px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); text-align: left; transition: border-color .18s var(--ease), background-color .18s var(--ease); }
.spa-row:hover { border-color: var(--line); background: color-mix(in srgb, var(--card) 70%, var(--soft)); }
.spa-row-t { font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.spa-row-m { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--mut); }
.spa-row-r { grid-column: 2; grid-row: 1 / 3; display: grid; gap: 6px; justify-items: end; }
.spa-row-r time { font: 400 11px var(--mono); color: var(--mut); }
.spa-row-p { grid-column: 1; font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spa-row-p b { font-weight: 650; }
/* Resposta nova ainda não lida: faixa à esquerda, fundo levemente marcado e rótulo */
.spa-row.is-new { border-color: color-mix(in srgb, var(--teal) 55%, transparent); background: color-mix(in srgb, var(--card) 88%, var(--teal)); }
.spa-row.is-new::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--teal); }
.spa-row.is-new .spa-row-t { font-weight: 700; }
.spa-newtag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--teal); color: #1A1A2E; font-size: 12px; font-weight: 650; white-space: nowrap; }
.spa-newtag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1A1A2E; }
.spa-late { font-weight: 650; color: var(--ink); }
/* Congelado: hachura e contorno em tinta, sempre à vista; pausado: contorno pontilhado */
.spa-row.is-gelo, .spa-card.is-gelo { border-color: var(--ink); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 6%, var(--card)) 0 6px, var(--card) 6px 12px); }
.spa-row.is-gelo::before, .spa-card.is-gelo::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--ink); }
.spa-row.is-pausa, .spa-card.is-pausa { border-style: dashed; border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.spa-row.is-fim { opacity: .78; }
.spa-row-p .spa-st-ic, .spa-card-sla .spa-st-ic { display: inline-flex; vertical-align: -3px; margin-right: 4px; }
.spa-st-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spa-board-f { margin-bottom: 12px; }
.spa-empty { padding: 22px; text-align: center; color: var(--mut); font-size: 14px; border: 1px dashed var(--line); border-radius: 14px; }
.sup-msg.is-new > div { box-shadow: inset 0 0 0 1.5px var(--teal); }
.sup-ev-sys.is-new { padding: 8px 10px 8px 6px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--teal); }
.sup-ev-sys.is-new > span:nth-child(2)::after { content: "Nova"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--teal); color: #1A1A2E; font-size: 11px; font-weight: 650; }
.sup-msg.is-new .sup-msg-h strong::after { content: "Nova"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--teal); color: #1A1A2E; font-size: 11px; font-weight: 650; }

/* ---------- Equipe: fila ---------- */
.spa-team-tabs { margin-bottom: 16px; }
.spa-team-kpis { margin-bottom: 16px; }
.spa-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.spa-col { background: var(--soft); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; display: grid; gap: 8px; }
.spa-col-h { display: flex; align-items: center; gap: 8px; padding: 2px 4px 6px; }
.spa-col-h strong { font-size: 14px; font-weight: 650; }
.spa-col-h span.mut { margin-left: auto; font-size: 12.5px; }
.spa-card { position: relative; width: 100%; text-align: left; display: grid; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: border-color .18s var(--ease), transform .18s var(--ease); }
.spa-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.spa-card.is-new { border-color: color-mix(in srgb, var(--teal) 60%, transparent); }
.spa-card.is-new::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--teal); }
.spa-card-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--mut); }
.spa-card strong { font-size: 14px; font-weight: 650; line-height: 1.3; }
.spa-bar { height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.spa-bar i { display: block; height: 100%; background: var(--teal); }
.spa-bar.is-late i { background: var(--ink); }
.spa-card-sla { font-size: 12px; color: var(--mut); }
.spa-card-sla.is-late { color: var(--ink); font-weight: 650; }

/* ---------- Equipe: níveis e prazos ---------- */
.spa-cfg-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.spa-cfg-col { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 12px; padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line-2); transition: border-color .15s, background-color .15s; }
.spa-cfg-col.is-over { border-color: var(--ink); background: var(--hover); }
.spa-cfg-h { display: flex; align-items: center; gap: 8px; }
.spa-cfg-h strong { font-size: 15px; font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.spa-cfg-h .spa-mv { width: 28px; height: 28px; }
.spa-cfg-h span.mut { margin-left: auto; font-size: 12.5px; }
.spa-cfg-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spa-num { display: grid; gap: 4px; font-size: 12px; color: var(--mut); }
.spa-num div { display: flex; align-items: center; gap: 6px; padding: 0 10px; min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.spa-num div:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.spa-num input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font: 650 15px var(--font); color: var(--ink); }
.spa-num em { font-style: normal; font-size: 12px; color: var(--mut); white-space: nowrap; }
.spa-num.is-err div { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.spa-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; min-height: 56px; }
.spa-chip { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: grab; user-select: none; transition: border-color .15s, box-shadow .15s, opacity .15s; }
.spa-chip:hover { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
.spa-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.spa-chip.is-drag { opacity: .4; }
.spa-chip.is-moved { box-shadow: inset 0 0 0 1.5px var(--teal); }
.spa-chip.is-off .spa-ic, .spa-chip.is-off .t > span:first-child { opacity: .5; }
.spa-chip .t { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; }
.spa-chip .t .chip { font-size: 11px; padding: 1px 7px; }
.spa-chip .spa-mv { width: 30px; height: 30px; }
.spa-add { min-height: 38px; border: 1.5px dashed var(--line); border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; transition: border-color .15s, color .15s, background-color .15s; }
.spa-add:hover { border-color: var(--ink); color: var(--ink); background: var(--hover); }
/* Janela de edição (dialog nativo: prende o foco e fecha com Esc) */
.spa-dlg { width: min(540px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: var(--pop-shadow); }
.spa-dlg::backdrop { background: rgba(26, 26, 46, .45); }
.spa-dlg form { display: grid; gap: 16px; padding: 22px; }
.spa-dlg-top { display: flex; align-items: center; gap: 10px; }
.spa-dlg-top h2 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.spa-dlg-top .sup-x { margin-left: auto; }
.spa-dlg .sup-field > input, .spa-dlg .sup-field > select, .spa-dlg .sup-field > textarea { font: inherit; font-size: 14.5px; }
.spa-count { font-size: 12px; color: var(--mut); justify-self: end; margin-top: -2px; }
.spa-icons { display: grid; grid-template-columns: repeat(auto-fill, 40px); gap: 6px; }
.spa-icons button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); display: grid; place-items: center; padding: 0; transition: border-color .15s, background-color .15s, color .15s; }
.spa-icons button:hover { border-color: var(--ink); color: var(--ink); }
.spa-icons button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spa-icons button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.spa-icons button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.spa-dlg-prev { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--soft); }
.spa-dlg-prev > span { font-size: 12px; color: var(--mut); }
.spa-dlg-prev .spa-tile { cursor: default; max-width: 300px; }
.spa-dlg-prev .spa-tile:hover { transform: none; border-color: var(--line); }
.spa-dlg-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.spa-dlg-row input { width: 18px; height: 18px; accent-color: var(--ink); }
.spa-dlg-note { font-size: 12.5px; color: var(--mut); }
.spa-dlg-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-2); }
.spa-dlg-foot .spa-dlg-del { margin-right: auto; }
.spa-dlg-foot .spa-dlg-del:hover { border-color: var(--ink); }
.spa-chip .spa-ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); flex: none; }
.spa-chip .spa-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spa-chip span.t { flex: 1; min-width: 0; }
.spa-mv { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--mut); display: grid; place-items: center; flex: none; }
.spa-mv:hover, .spa-mv[aria-expanded="true"] { background: var(--hover); color: var(--ink); }
.spa-mv svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spa-menu { position: absolute; right: 4px; top: calc(100% + 4px); z-index: 30; min-width: 230px; padding: 4px; border-radius: 12px; background: var(--card); box-shadow: var(--pop-shadow); display: grid; }
.spa-menu button { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: none; text-align: left; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.spa-menu button:hover, .spa-menu button:focus-visible { background: var(--hover); outline: none; }
.spa-menu button[disabled] { color: var(--mut); cursor: default; }
.spa-drop-hint { font-size: 12.5px; color: var(--mut); text-align: center; padding: 14px 8px; border: 1.5px dashed var(--line); border-radius: 10px; }
.spa-cfg-prev { font-size: 12.5px; color: var(--mut); line-height: 1.45; padding-top: 8px; border-top: 1px solid var(--line-2); }
.spa-cfg-prev b { color: var(--ink-2); font-weight: 600; }
.spa-cfg-head { flex-wrap: nowrap; align-items: flex-start; }
.spa-cfg-head .card-sub { max-width: 68ch; margin-top: 4px; }
.spa-cfg-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.spa-cfg-bar { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 12px; background: var(--tip); color: var(--on-tip); }
.spa-cfg-bar span { font-size: 13.5px; white-space: nowrap; }
.spa-cfg-bar .btn { min-height: 34px; }
.spa-cfg-bar .btn:not(.btn-primary) { background: transparent; color: var(--on-tip); border-color: rgba(232, 229, 222, .3); }
.spa-cfg-bar .btn:not(.btn-primary):hover { border-color: var(--on-tip); }
.spa-cfg-bar :focus-visible { outline-color: var(--on-tip); }
.spa-cfg-acts:has(.spa-cfg-bar:not([hidden])) #spa-cfg-reset { display: none; }
.spa-cfg-bar .btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.spa-cfg-err { font-size: 13px; font-weight: 600; color: var(--ink); }
.spa-cfg-note { margin-top: 12px; font-size: 12.5px; color: var(--mut); }

@media (prefers-reduced-motion: no-preference) {
  .spa-live { animation: spa-pulse 2.4s var(--ease) infinite; }
  @keyframes spa-pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 152, 142, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(15, 152, 142, 0); } }
  .spa-more:not([hidden]) { animation: su-rise .45s var(--ease) both; }
  .spa-route { transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
  .spa-route.is-flash h3 { animation: su-rise .35s var(--ease) both; }
}
@media (max-width: 1080px) {
  .spa-grid { grid-template-columns: 1fr; }
  .spa-side { position: static; }
  .spa-board, .spa-cfg-cols { grid-template-columns: 1fr; }
  .spa-cfg-head { flex-wrap: wrap; }
  .spa-cfg-bar { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .spa-hero { grid-template-columns: 1fr; align-items: start; }
  .spa-hero-side { justify-items: start; text-align: left; }
  .spa-two, .spa-cfg-times { grid-template-columns: 1fr; }
  .spa-imp .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spa-row { grid-template-columns: 1fr; }
  .spa-row-r { grid-column: 1; grid-row: auto; justify-items: start; grid-auto-flow: column; align-items: center; }
  .spa-row-p { white-space: normal; }
}

/* ---------- Ajustes do app ---------- */
.su-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.su-head p { color: var(--mut); font-size: 14.5px; margin-top: 4px; max-width: 70ch; }
.su-state { padding: 22px; border-radius: 14px; border: 1px dashed var(--line); color: var(--mut); text-align: center; font-size: 14px; }
.su-state .btn { margin-top: 10px; }
.sup-reply-err { font-size: 13px; font-weight: 600; color: var(--ink); }
.su-title { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
#tab-suporte { padding-bottom: 32px; }
/* A gaveta fica acima da sidebar do app (z-index 1100). */
.sup-scrim.su { z-index: 1200; }
.sup-drawer.su { z-index: 1210; }
/* O h2 global do app pinta o título de tinta escura; no banner ele é claro. */
.su .spa-hero h2 { color: var(--on-tip); }
.su .spa-contact .sp-avatar { flex: none; min-width: 0; }
/* Texto longo do evento (pausa, cancelamento) fica ao lado do ícone, não embaixo. */
.su .sup-ev-sys > span:nth-child(2) { flex: 1 1 220px; min-width: 0; }
.sup-drawer.su { top: var(--banner-h, 0px); }
