/* ==========================================================
   Oakens · simulador, IA, prospecção, relatórios dos clientes e painel do cliente
   ========================================================== */
:root { --vgold: #b8895b; --vgold-2: #8a6234; --vgold-soft: #f5efe6; --vnavy: #0f231b; --vnavy-2: #1b3a2e; --vpos: #2f8a57; --vneg: #c0392b; }
[data-theme="dark"] { --vgold-soft: rgba(170, 136, 99, .14); }

/* Tabelas simples */
.rt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rt { width: 100%; border-collapse: collapse; font-size: 14px; }
.rt th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rt td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rt tr:last-child td { border-bottom: 0; }
.rt .num, .num { text-align: right; font-variant-numeric: tabular-nums; }
.rt small { font-size: 12px; }

/* Campos com prefixo/sufixo (R$, %, dias) */
.in-pre { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); overflow: hidden; }
.in-pre:focus-within { border-color: var(--vgold); box-shadow: 0 0 0 3px rgba(170, 136, 99, .15); }
.in-pre i { display: inline-flex; align-items: center; padding: 0 10px; font-style: normal; font-size: 13px; color: var(--muted); background: var(--bg); }
.field .in-pre input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; background: transparent; }
.field small.muted { font-size: 12px; line-height: 1.35; }

/* Topo do simulador / IA / prospecção */
.sim-hero, .ia-hero, .prospect-hero { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(120deg, var(--vnavy) 0%, var(--vnavy-2) 100%); color: #fff; border: 0; }
.sim-hero h2, .ia-hero h2, .prospect-hero h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0; color: #fff; font-weight: 600; }
.sim-hero h2 em, .ia-hero h2 em, .prospect-hero h2 em { font-style: normal; color: #d1a878; }
.sim-hero .muted, .ia-hero .muted, .prospect-hero .muted { color: rgba(255, 255, 255, .78); max-width: 760px; }
.sim-hero .eyebrow, .ia-hero .eyebrow, .prospect-hero .eyebrow { color: #d1a878; text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; font-weight: 600; }
.sim-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.prospect-hero { flex-direction: column; align-items: stretch; }
.prospect-hero .flash { color: #5c3d00; }
.prospect-hero .field > span { color: rgba(255, 255, 255, .85); }
.prospect-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 110px auto; gap: 10px; align-items: end; }
.prospect-form .btn { min-height: 46px; }
.rt--prospect tr.is-dup { opacity: .55; }
.wa-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(31, 174, 84, .12); color: #128c45 !important; font-weight: 600; font-size: 12.5px; text-decoration: none; }
.loading-dots::after { content: '…'; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; text-align: left; text-decoration: none; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip:hover, .chip.is-on { border-color: var(--vgold); background: var(--vgold-soft); }

/* Formulário do simulador */
.sim-form { display: flex; flex-direction: column; gap: 6px; }
.sim-group { border: 0; padding: 0; margin: 0 0 14px; }
.sim-group legend { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vgold-2); margin-bottom: 10px; }
.sim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.sim-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
.sim-actions .row-btns { flex-wrap: wrap; }

/* Resultado */
.sim-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sim-top-l { display: flex; gap: 20px; align-items: center; min-width: 0; }
.sim-top h2 { font-size: 24px; margin: 4px 0; }
.sim-top-r .row-btns { justify-content: flex-end; flex-wrap: wrap; }
.sim-stats { margin: 0; }
.stat--gold { background: var(--vgold-soft); border-color: #e3d3bd; }
.stat--gold strong { color: var(--vgold-2); }
.stat--late strong { color: var(--vneg); }
.gold { color: var(--vgold-2); }

.score-ring { --c: var(--vpos); position: relative; flex-shrink: 0; width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(closest-side, var(--card) 79%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.score-ring b { display: block; font-size: 32px; line-height: 1; font-weight: 700; }
.score-ring small { display: block; font-size: 11px; color: var(--muted); }
.score-ring span { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 99px; background: var(--c); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.score-ring--warn { --c: #c98a0b; }
.score-ring--late { --c: var(--vneg); }
.score-pill { display: inline-block; min-width: 34px; padding: 2px 8px; border-radius: 99px; font-weight: 700; font-size: 12.5px; text-align: center; background: var(--ok-soft); color: #0f6f12; }
.score-pill--warn { background: var(--warn-soft); color: #8a5a00; }
.score-pill--late { background: var(--late-soft); color: #9b1c1c; }

.pillars { display: grid; gap: 10px; }
.pillar { display: grid; grid-template-columns: 110px minmax(0, 1fr) 28px; gap: 12px; align-items: center; font-size: 14px; }
.pillar div { height: 10px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.pillar i { display: block; height: 100%; border-radius: 6px; background: var(--vpos); transition: width 1s cubic-bezier(.22, 1, .36, 1); }
.pillar--warn i { background: #c98a0b; }
.pillar--late i { background: var(--vneg); }
.pillar b { text-align: right; }

.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alert { padding: 10px 14px 10px 36px; border-radius: 10px; font-size: 14px; position: relative; background: var(--bg); }
.alert::before { content: ''; position: absolute; left: 14px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.alert--alto { background: var(--late-soft); color: #7a1d1d; }
.alert--alto::before { background: var(--vneg); }
.alert--medio { background: var(--warn-soft); color: #6b4700; }
.alert--medio::before { background: #c98a0b; }
.alert--baixo::before { background: var(--vpos); }
[data-theme="dark"] .alert--alto, [data-theme="dark"] .alert--medio { color: var(--ink); }
.hbars--gold .hbar i { background: linear-gradient(90deg, var(--vgold-2), #d1a878); }

.whatif { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 22px; }
.whatif label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.whatif label span { display: flex; justify-content: space-between; }
.whatif input[type=range] { width: 100%; accent-color: var(--vgold-2); }
.whatif-res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.whatif-res div { display: flex; flex-direction: column; gap: 2px; }
.whatif-res small { font-size: 12px; color: var(--muted); }
.whatif-res b { font-size: 20px; font-variant-numeric: tabular-nums; }
.whatif-res em { font-style: normal; font-size: 12.5px; font-weight: 600; }
.is-pos, .whatif-res em.is-pos { color: var(--vpos); }
.is-neg, .whatif-res em.is-neg { color: var(--vneg); }

.sim-offer { display: flex; flex-direction: column; gap: 10px; border-color: #e3d3bd; }
.svc { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.svc input { margin-top: 3px; accent-color: var(--vgold-2); }
.svc b { display: block; font-size: 14px; }
.svc small { display: block; font-size: 12px; color: var(--muted); }
.svc em { font-style: normal; font-weight: 600; font-size: 14px; white-space: nowrap; text-align: right; }
.svc em small { display: inline; }
.svc-total { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 12px; background: var(--vgold-soft); }
.svc-total small { display: block; font-size: 11.5px; color: var(--muted); }
.svc-total b { font-size: 16px; }
.ai-card .ai-text { font-size: 14px; max-height: 420px; overflow: auto; margin-bottom: 10px; }
.ai-card .ai-text h2, .ai-card .ai-text h3, .ai-card .ai-text h4 { font-size: 14px; margin: 12px 0 4px; color: var(--vgold-2); }
.sim-kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 13px; margin: 0 0 14px; }
.sim-kv dt { color: var(--muted); }
.sim-kv dd { margin: 0; text-align: right; font-weight: 600; }

/* Simulador de IA */
.ia-chat { display: flex; flex-direction: column; gap: 12px; min-height: 560px; }
.ia-top { display: flex; gap: 10px; align-items: end; }
.ia-top .field { flex: 1; }
.ia-log { flex: 1; overflow-y: auto; max-height: 60vh; display: flex; flex-direction: column; gap: 10px; padding: 4px; }
.ia-msg { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.ia-msg--me { align-self: flex-end; background: var(--vnavy); color: #fff; border-bottom-right-radius: 4px; }
.ia-msg--ai { align-self: flex-start; background: var(--vgold-soft); border-bottom-left-radius: 4px; }
.ia-msg--ai small { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.ia-msg.is-typing { opacity: .7; }
.ia-form { display: flex; gap: 8px; align-items: flex-end; }
.ia-form textarea { flex: 1; min-height: 52px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font: inherit; background: var(--card); color: var(--ink); resize: vertical; }
.ia-chips { display: flex; flex-direction: column; gap: 6px; }
.ia-chips .chip { width: 100%; }

/* Relatórios dos clientes (grade) */
.rt--grid td.num, .rt--grid th.num { text-align: center; }
.rg { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 64px; padding: 4px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.rg--pub { background: var(--ok-soft); color: #0f6f12; }
.rg--draft { background: var(--warn-soft); color: #8a5a00; }
.rg--pub.is-neg { background: var(--late-soft); color: #9b1c1c; }
.rg--new { border: 1px dashed var(--line-2); color: var(--muted); min-width: 40px; }
.rg--new:hover { border-color: var(--vgold); color: var(--vgold-2); }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.model { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.form-grid { display: grid; gap: 12px; }
.rp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rp-bar .row-btns { flex-wrap: wrap; }
.rp-form { display: flex; flex-direction: column; gap: 10px; }
.rp-group { margin: 8px 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vgold-2); }
.rp-split { grid-template-columns: minmax(0, 1fr) 360px; }

/* Relatório (painel, cliente e link público) */
.rp { display: flex; flex-direction: column; gap: 16px; }
.rp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rp-head h2 { font-size: 22px; margin-top: 2px; }
.rp-head .eyebrow { color: var(--vgold-2); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.rp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rp-kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.rp-kpi small { font-size: 12px; color: var(--muted); }
.rp-kpi strong { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rp-kpi.is-pos strong { color: var(--vpos); }
.rp-kpi.is-neg strong { color: var(--vneg); }
.rp-var { font-style: normal; font-size: 12px; font-weight: 600; }
.rp-var.is-up { color: var(--vpos); }
.rp-var.is-down { color: var(--vneg); }
.rp-meta { display: block; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 4px; }
.rp-meta i { display: block; height: 100%; background: var(--vgold); }
.rp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rp-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); min-width: 0; }
.rp-card h3 { font-size: 14.5px; margin-bottom: 12px; }
.rp-note { background: var(--vgold-soft); border-color: #e7d9c5; }
[data-theme="dark"] .rp-note { border-color: var(--line); }
.rp-dre { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rp-dre td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.rp-dre .num { white-space: nowrap; }
.rp-dre .rp-s td { font-weight: 600; background: var(--bg); }
.rp-dre .rp-t td { font-weight: 700; font-size: 15px; border-top: 2px solid var(--ink); border-bottom: 0; }
.rp-dre .rp-b td { font-weight: 600; }
.rp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 13.5px; }
.rp-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.rp-list .rp-strong { font-weight: 700; border-bottom: 0; }
.rp-actions { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.rp-chart { width: 100%; height: auto; display: block; }
.rp-chart .rp-col { fill: #4e8a70; transform-origin: bottom; transform-box: fill-box; animation: rpGrow .9s cubic-bezier(.22, 1, .36, 1) both; }
.rp-chart .rp-col:nth-of-type(2) { animation-delay: .06s; } .rp-chart .rp-col:nth-of-type(3) { animation-delay: .12s; } .rp-chart .rp-col:nth-of-type(4) { animation-delay: .18s; } .rp-chart .rp-col:nth-of-type(5) { animation-delay: .24s; } .rp-chart .rp-col:nth-of-type(6) { animation-delay: .3s; }
.rp-line { fill: none; stroke: var(--vgold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: rpDraw 1.6s .4s ease forwards; }
.rp-dot { fill: var(--vgold); stroke: var(--card); stroke-width: 2; }
.rp-dot.is-neg { fill: var(--vneg); }
.rp-lbl { font-size: 12px; fill: var(--muted); font-family: inherit; }
.rp-axis { stroke: var(--line-2); }
.rp-legend { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.lg-bar, .lg-line { display: inline-block; width: 14px; height: 10px; border-radius: 3px; background: #4e8a70; margin-right: -8px; }
.lg-line { height: 3px; background: var(--vgold); }
@keyframes rpGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rpDraw { to { stroke-dashoffset: 0; } }
.rp-goal { margin-bottom: 16px; }
.rp-goal-h, .rp-goal-f { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.rp-goal-f { color: var(--muted); margin-top: 6px; }
.rp-goal-bar { height: 14px; border-radius: 8px; background: var(--bg); overflow: hidden; margin-top: 6px; }
.rp-goal-bar i { display: block; height: 100%; border-radius: 8px; animation: rpWide 1.2s cubic-bezier(.22, 1, .36, 1) both; transform-origin: left; }
.rp-goal-bar .is-ok { background: var(--vpos); } .rp-goal-bar .is-warn { background: #c98a0b; } .rp-goal-bar .is-late { background: var(--vneg); }
@keyframes rpWide { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rp-ind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rp-ind-i { padding: 12px; border-radius: 12px; border-left: 4px solid var(--vpos); background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.rp-ind-i small { font-size: 12px; color: var(--muted); } .rp-ind-i b { font-size: 18px; } .rp-ind-i span { font-size: 11.5px; color: var(--muted); }
.rp-ind--warn { border-left-color: #c98a0b; } .rp-ind--late { border-left-color: var(--vneg); }
.rp-months { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.rp-months .chip { flex-shrink: 0; }
.alert-bar--gold { background: var(--vgold-soft) !important; border-color: #e3d3bd !important; color: var(--vgold-2) !important; }

@media (max-width: 1100px) {
	.rp-split { grid-template-columns: 1fr; }
	.rp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.rp-grid { grid-template-columns: 1fr; }
	.prospect-form { grid-template-columns: 1fr 1fr; }
	.whatif-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.sim-top-l { flex-direction: column; align-items: flex-start; }
	.sim-top-r .row-btns, .sim-actions .row-btns { justify-content: stretch; }
	.sim-top-r .row-btns > *, .sim-actions .row-btns > * { flex: 1 1 100%; }
	.sim-top-r .row-btns .inline-form .btn { width: 100%; }
	.sim-grid { grid-template-columns: 1fr; }
	.prospect-form { grid-template-columns: 1fr; }
	.pillar { grid-template-columns: 90px minmax(0, 1fr) 24px; }
	.rp-ind { grid-template-columns: 1fr; }
	.rp-kpi strong { font-size: 18px; }
	.ia-msg { max-width: 96%; }
	.ia-form { flex-direction: column; align-items: stretch; }
}
@media print {
	.side, .top, .ctop, .cfoot, .rp-print, .preview-bar, .wa-float, .rp-months, .chello { display: none !important; }
	.rp-card, .rp-kpi, .rp-note { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.rp-chart .rp-col, .rp-line { animation: none; stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.rp-chart .rp-col, .rp-line, .rp-goal-bar i { animation: none; stroke-dashoffset: 0; }
}
.sim-stats .stat strong { font-size: clamp(18px, 2vw, 24px); white-space: nowrap; }
.sim-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

/* Login: entrada de um clique da demonstração */
.login-quick { display: flex; flex-direction: column; gap: 10px; padding: 16px; margin: 6px 0 4px; border-radius: 14px; background: #f5efe6; border: 1px solid #e3d3bd; }
.login-quick-t { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a6234; }
.login-quick-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.login-quick-btns .btn { min-height: 46px; justify-content: center; }
.login-quick-diag { font-size: 13px; color: #8a6234; text-decoration: none; }
[data-theme="dark"] .login-quick { background: rgba(170, 136, 99, .12); border-color: rgba(170, 136, 99, .3); }
@media (max-width: 420px) { .login-quick-btns { grid-template-columns: 1fr; } }

/* WhatsApp (demonstração) */
.wa-demo { margin-bottom: 0; }
.wa { display: grid; grid-template-columns: 320px minmax(0, 1fr); padding: 0; overflow: hidden; height: min(72vh, 720px); }
.wa-list { border-right: 1px solid var(--line); overflow-y: auto; }
.wa-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.wa-item:hover, .wa-item.is-on { background: var(--vgold-soft); }
.wa-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--vnavy); color: #fff; font-size: 13px; font-weight: 600; }
.wa-item-t { min-width: 0; }
.wa-item-t b { display: block; font-size: 14px; }
.wa-item-t small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-item-m { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11px; color: var(--muted); }
.wa-item-m em { font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; background: #1fae54; color: #fff; font-size: 11px; font-weight: 700; }
.wa-item-m i { font-style: normal; font-size: 12px; }
.wa-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.wa-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.wa-head small { display: block; font-size: 12px; color: var(--muted); }
.wa-toggle { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; cursor: pointer; }
.wa-toggle input { width: 18px; height: 18px; accent-color: #1fae54; }
.wa-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #efeae2; }
[data-theme="dark"] .wa-log { background: #0b141a; }
.wa-msg { max-width: 78%; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); font-size: 14px; color: #111; }
.wa-msg p { white-space: pre-wrap; margin: 0; }
.wa-msg a { color: #027eb5; word-break: break-all; }
.wa-msg small { display: block; text-align: right; font-size: 10.5px; color: #667781; margin-top: 2px; }
.wa-msg--out { align-self: flex-end; background: #d9fdd3; }
.wa-msg.is-bot { background: #e7f0fd; }
.wa-msg.is-typing { opacity: .7; font-style: italic; }
.wa-tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: #3a5ea8; margin-bottom: 2px; }
.wa-send, .wa-sim { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.wa-send textarea { flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 20px; padding: 10px 14px; font: inherit; background: var(--card); color: var(--ink); }
.wa-sim { background: var(--vgold-soft); flex-wrap: wrap; }
.wa-sim span { font-size: 12.5px; font-weight: 600; color: var(--vgold-2); }
.wa-sim input { flex: 1; min-width: 180px; min-height: 36px; border: 1px solid #e3d3bd; border-radius: 10px; padding: 0 10px; font: inherit; background: var(--card); color: var(--ink); }
@media (max-width: 900px) {
	.wa { grid-template-columns: 1fr; height: auto; }
	.wa-list { max-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
	.wa-log { min-height: 360px; max-height: 60vh; }
	.wa-msg { max-width: 92%; }
}
