.wa-page { display: grid; grid-template-columns: minmax(0, 440px) auto; gap: 44px; justify-content: center; align-items: start; padding: 28px 24px; }
.wa-side { padding: 26px 28px 28px 56px; border-top: 6px solid var(--rosa); box-shadow: 0 2px 0 var(--rey-hondo); }
.wa-side h1 { font-size: 30px; line-height: 1.1; }
.lede { color: var(--muted); margin-top: 10px; font-size: 15px; max-width: 46ch; }
.kick { font: 800 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.numtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.numtabs button { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 6px; padding: 12px 14px; transition: border-color .12s; }
.numtabs button:hover { border-color: var(--ink); }
.numtabs button b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.numtabs button b::before { content: ''; width: 12px; height: 12px; border-radius: 2px; background: var(--A); }
.numtabs button[data-num='B'] b::before { background: var(--B); }
.numtabs button span { font-size: 12.5px; color: var(--muted); }
.numtabs button[data-num='A'][aria-selected='true'] { border-color: var(--A); box-shadow: 0 0 0 1.5px var(--A); }
.numtabs button[data-num='B'][aria-selected='true'] { border-color: var(--B); box-shadow: 0 0 0 1.5px var(--B); }
.fld { display: grid; gap: 5px; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fld select { border: 1.5px solid var(--line); border-radius: 5px; padding: 9px 10px; background: #fff; font-weight: 600; color: var(--ink); font-size: 14px; }
.tries { margin-top: 22px; }
#tries { display: grid; gap: 6px; margin-top: 8px; }
#tries button { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 5px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: border-color .12s, background-color .12s; }
#tries button:hover { border-color: var(--ink); background: var(--fog); }
#tries button small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 1px; }
.side-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* WhatsApp */
.wa { background: #EFEAE2; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; background: #075E54; color: #fff; }
.wa__av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #fff; }
.wa__head b { display: block; font-size: 15.5px; font-weight: 600; }
.wa__head span { font-size: 12px; color: #E6F2EF; }
.wa__num { margin-left: auto; font: 800 12px var(--sans); background: rgb(255 255 255 / .16); border-radius: 5px; padding: 3px 7px; }
.wa__body { flex: 1; overflow-y: auto; padding: 12px 10px 6px; display: flex; flex-direction: column; gap: 4px;
  background-color: #EFEAE2; background-image: radial-gradient(rgb(11 27 51 / .045) 1px, transparent 1px); background-size: 14px 14px; }
.msg { display: flex; }
.msg--me { justify-content: flex-end; }
.msg__b { max-width: 82%; padding: 6px 9px 4px; border-radius: 8px; font-size: 14px; line-height: 1.38; box-shadow: 0 1px .5px rgb(11 27 51 / .13); background: #fff; position: relative; }
.msg--me .msg__b { background: #D9FDD3; }
.msg--card .msg__b { max-width: 88%; padding: 6px; }
.msg--card .msg__t { margin-right: 3px; }
.msg__t { display: block; text-align: right; font-size: 10.5px; color: #667781; margin-top: 2px; }
.msg__who { display: block; font-size: 11.5px; font-weight: 700; color: var(--deep); margin-bottom: 1px; }
.msg--sys { justify-content: center; margin: 6px 0; }
.msg--sys span { background: #FFF5C4; color: #54656F; font-size: 12px; border-radius: 6px; padding: 4px 9px; box-shadow: 0 1px .5px rgb(11 27 51 / .1); text-align: center; }
.wa .ref { color: #075E54; }
.typing { display: inline-flex; gap: 3px; padding: 5px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; translate: 0 0; } 30% { opacity: 1; translate: 0 -2px; } }
.wa__chips { display: flex; gap: 6px; padding: 6px 10px 2px; overflow-x: auto; scrollbar-width: none; background: #EFEAE2; }
.wa__chips:empty { display: none; }
.wa__chips button { flex: none; border: 1px solid #c8d1d6; background: #fff; color: #075E54; border-radius: 16px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.wa__in { display: flex; gap: 6px; padding: 8px; background: #EFEAE2; }
.wa__in input { flex: 1; border: 0; border-radius: 22px; padding: 11px 15px; background: #fff; font-size: 15px; min-width: 0; }
.wa__in input:focus { outline: 2px solid #25D366; }
.wa__in button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #00A884; color: #fff; display: grid; place-items: center; flex: none; }

@media (max-width: 900px) {
  .wa-page { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0; }
  .wa-side { padding: 16px; min-width: 0; border-top-width: 4px; box-shadow: none; }
  .wa-side h1 { font-size: 22px; }
  .lede, .tries .kick, .side-actions a, .wa-side .holes { display: none; }
  .tries { margin-top: 12px; }
  #tries { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  #tries button { flex: none; max-width: 240px; }
  #tries button small { display: none; }
  .wa-page .phone { justify-self: center; }
}
@media (max-width: 560px) { .wa-page .phone { height: 78dvh; } .wa__head { padding-top: 12px; } }
