/* Wasapazo: colores de manta andina (magenta, sol, turquesa) sobre morado profundo */
:root {
  --ink: #140a2e;
  --panel: rgba(30, 16, 66, .66);
  --panel2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .12);
  --text: #f6f1ff;
  --muted: #b5a8d9;
  --magenta: #ff3d8b;
  --sun: #ffc23d;
  --turq: #19e3c3;
  --violet: #8a5cff;
  --red: #ff6b7a;
  --bubble-out: rgba(255, 61, 139, .28);
  --bubble-in: rgba(255, 255, 255, .09);
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--ink); color: var(--text); font: 15px/1.5 var(--body); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.err { color: var(--red); min-height: 1.2em; margin-top: 8px; font-size: 14px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; }
h2 { margin: 0 0 4px; font-size: 28px; font-weight: 800; }
h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
small { color: var(--muted); }
code { background: var(--panel2); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }

/* ---------- fondo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #26124f 0%, var(--ink) 60%); }
.aurora { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(95px); mix-blend-mode: screen; opacity: .5; animation: drift 30s ease-in-out infinite alternate; }
.a1 { background: var(--magenta); top: -24vmax; left: -18vmax; }
.a2 { background: var(--turq); right: -26vmax; top: 6vmax; opacity: .3; animation-duration: 38s; animation-delay: -9s; }
.a3 { background: var(--violet); bottom: -30vmax; left: 18vmax; opacity: .55; animation-duration: 44s; animation-delay: -18s; }
@keyframes drift { to { transform: translate(9vmax, 7vmax) scale(1.18); } }
.weave {
  position: absolute; inset: 0; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M0 24h8v-8h8V8h16v8h8v8h8' fill='none' stroke='white' stroke-opacity='.075' stroke-width='2'/%3E%3Cpath d='M0 24h8v8h8v8h16v-8h8v-8h8' fill='none' stroke='white' stroke-opacity='.075' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(160deg, #000 0%, rgba(0, 0, 0, .15) 55%, transparent 85%);
  mask-image: linear-gradient(160deg, #000 0%, rgba(0, 0, 0, .15) 55%, transparent 85%);
}
@media (prefers-reduced-motion: reduce) { .aurora { animation: none; } }

/* ---------- login ---------- */
.login { min-height: 100%; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; background: var(--panel); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.login-card h1 { margin: 14px 0 4px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.login-card input { width: 100%; margin: 20px 0 12px; text-align: center; }
.mark { width: 40px; height: 40px; flex-shrink: 0; }
.mark.big { width: 76px; height: 76px; filter: drop-shadow(0 10px 24px rgba(255, 61, 139, .5)); }

/* ---------- estructura ---------- */
.app { display: flex; height: 100%; }
.side { width: 236px; background: rgba(16, 8, 38, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; flex-shrink: 0; overflow-y: auto; }
.brand { display: flex; gap: 11px; align-items: center; padding: 4px 8px 18px; }
.brand b { display: block; font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.brand small { font-size: 12px; }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; color: var(--muted); cursor: pointer; border: 0; background: none; font: inherit; text-align: left; width: 100%; }
.nav-item:hover { background: var(--panel2); color: var(--text); }
.nav-item.active { background: linear-gradient(90deg, rgba(255, 61, 139, .22), rgba(255, 194, 61, .06)); color: #fff; font-weight: 600; }
.nav-item.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 4px; border-radius: 4px; background: linear-gradient(var(--magenta), var(--sun)); }
.nav-item .badge { margin-left: auto; }
.nav-sep { height: 1px; background: var(--line); margin: 8px 4px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--line); background: rgba(16, 8, 38, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--magenta) 0 25%, var(--sun) 25% 50%, var(--turq) 50% 75%, var(--violet) 75%); opacity: .85; }
.spacer { flex: 1; }
.menu-btn { display: none; }
.acc-pick { display: flex; align-items: center; gap: 8px; }
.view { flex: 1; overflow-y: auto; padding: 22px; min-height: 0; }
.view.flush { padding: 0; overflow: hidden; }

/* ---------- controles ---------- */
input, select, textarea { background: rgba(10, 5, 28, .55); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(255, 194, 61, .18); }
input::placeholder, textarea::placeholder { color: #8a7db3; }
textarea { width: 100%; resize: vertical; min-height: 96px; }
select { cursor: pointer; }
option { background: #1d1040; }
.btn { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 8px 15px; font: inherit; cursor: pointer; transition: transform .12s, border-color .12s, background .12s; }
.btn:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, var(--magenta), #ff8a3d); color: #25061b; border-color: transparent; font-weight: 700; box-shadow: 0 6px 20px rgba(255, 61, 139, .35); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: rgba(255, 107, 122, .14); color: var(--red); border-color: rgba(255, 107, 122, .4); }
.btn.ghost { background: none; border-color: transparent; }
.btn.sm { padding: 5px 11px; font-size: 13px; }
.btn.wide { width: 100%; padding: 11px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.grow { flex: 1; min-width: 140px; }
.card { background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 16px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); }
.badge.green { color: var(--turq); border-color: rgba(25, 227, 195, .45); background: rgba(25, 227, 195, .1); }
.badge.red { color: var(--red); border-color: rgba(255, 107, 122, .45); background: rgba(255, 107, 122, .1); }
.badge.amber { color: var(--sun); border-color: rgba(255, 194, 61, .45); background: rgba(255, 194, 61, .1); }
.badge.violet { color: #c2a8ff; border-color: rgba(138, 92, 255, .55); background: rgba(138, 92, 255, .16); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #6b5f93; display: inline-block; }
.dot.open { background: var(--turq); box-shadow: 0 0 10px var(--turq); }
.dot.qr, .dot.connecting { background: var(--sun); }
.dot.loggedout, .dot.replaced { background: var(--red); }
.page-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.hint-list { color: var(--muted); font-size: 13px; padding-left: 18px; margin: 12px 0 0; }
.hint-list li { margin-bottom: 4px; }
.notice { border: 1px solid rgba(255, 194, 61, .4); background: rgba(255, 194, 61, .08); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 12px; }
.notice.warn { border-color: rgba(255, 107, 122, .5); background: rgba(255, 107, 122, .09); }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.radio { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.chip.preset { cursor: pointer; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 14px; }
.switch input { position: absolute; opacity: 0; }
.switch .knob { width: 46px; height: 26px; border-radius: 99px; background: rgba(255, 255, 255, .14); position: relative; transition: background .15s; flex-shrink: 0; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + .knob { background: linear-gradient(135deg, var(--magenta), #ff8a3d); }
.switch input:checked + .knob::after { transform: translateX(20px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--sun); outline-offset: 2px; }

/* ---------- tablas ---------- */
.tbl-wrap { max-height: 62vh; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 13px; position: sticky; top: 0; background: #1d1040; }
tr:hover td { background: rgba(255, 255, 255, .03); }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; background: rgba(25, 227, 195, .13); color: var(--turq); border-radius: 6px; padding: 1px 8px; font-size: 12px; margin-right: 4px; }

/* ---------- mensajes ---------- */
.chat-layout { display: grid; grid-template-columns: 340px 1fr; height: 100%; }
.chat-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: rgba(16, 8, 38, .45); }
.chat-tools { padding: 12px; display: flex; flex-direction: column; gap: 9px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 3px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel2); color: var(--muted); font-size: 13px; cursor: pointer; }
.chip.active { background: linear-gradient(135deg, var(--magenta), #ff8a3d); color: #25061b; border-color: transparent; font-weight: 600; }
.chat-items { overflow-y: auto; flex: 1; }
.chat-item { display: flex; gap: 11px; padding: 11px 14px; cursor: pointer; border-bottom: 1px solid var(--line); align-items: center; }
.chat-item:hover { background: var(--panel2); }
.chat-item.active { background: rgba(255, 61, 139, .16); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.ci-body { flex: 1; min-width: 0; }
.ci-top { display: flex; justify-content: space-between; gap: 6px; }
.ci-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-time { font-size: 12px; color: var(--muted); }
.ci-last { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread { background: var(--turq); color: #062b25; border-radius: 99px; font-size: 12px; font-weight: 700; padding: 0 7px; margin-left: 6px; }
.chat-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.chat-head { padding: 11px 18px; border-bottom: 1px solid var(--line); background: rgba(16, 8, 38, .5); display: flex; align-items: center; gap: 11px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 72%; padding: 8px 12px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; }
.msg.in { background: var(--bubble-in); align-self: flex-start; border-top-left-radius: 4px; }
.msg.out { background: var(--bubble-out); border: 1px solid rgba(255, 61, 139, .3); align-self: flex-end; border-top-right-radius: 4px; }
.msg time { display: block; font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }
.composer { padding: 11px; border-top: 1px solid var(--line); background: rgba(16, 8, 38, .6); position: relative; }
.composer .row { flex-wrap: nowrap; }
.composer textarea { min-height: 42px; max-height: 140px; resize: none; flex: 1; }
.qr-suggest { position: absolute; bottom: 64px; left: 11px; right: 11px; background: #25124f; border: 1px solid var(--line); border-radius: 12px; max-height: 200px; overflow-y: auto; }
.qr-suggest div { padding: 9px 13px; cursor: pointer; }
.qr-suggest div:hover { background: rgba(255, 61, 139, .18); }
.empty { color: var(--muted); display: grid; place-items: center; height: 100%; min-height: 160px; text-align: center; padding: 20px; }
.back-btn { display: none; }

/* ---------- cuentas, archivos, bienvenida ---------- */
.qr-box { background: #fff; padding: 10px; border-radius: 16px; display: inline-block; }
.qr-box img { display: block; width: 240px; height: 240px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.progress { height: 8px; background: var(--panel2); border-radius: 99px; overflow: hidden; margin-bottom: 4px; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--magenta), var(--sun)); }
.media-field { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.media-field select { flex: 1; min-width: 180px; }
.media-prev { flex-basis: 100%; }
.media-prev audio { width: 100%; max-width: 360px; height: 40px; }
.media-prev video, .media-prev img { max-width: 260px; max-height: 170px; border-radius: 12px; display: block; }
.dropzone { border: 2px dashed rgba(255, 255, 255, .22); border-radius: 20px; padding: 26px; text-align: center; color: var(--muted); margin-bottom: 18px; background: rgba(255, 255, 255, .03); }
.dropzone.over { border-color: var(--sun); background: rgba(255, 194, 61, .08); color: var(--text); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.media-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.media-card .thumb { height: 130px; border-radius: 12px; background: rgba(0, 0, 0, .25); display: grid; place-items: center; overflow: hidden; font-size: 40px; }
.media-card .thumb img, .media-card .thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-card .thumb audio { width: 92%; }
.media-card .nm { font-weight: 600; word-break: break-all; font-size: 14px; }
.phone { background: rgba(10, 5, 28, .6); border: 1px solid var(--line); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.phone .msg { max-width: 92%; }
.phone .msg audio { width: 100%; height: 36px; margin-top: 4px; }
.phone .msg video, .phone .msg img { max-width: 100%; border-radius: 10px; display: block; margin-bottom: 4px; }

/* ---------- modal / aviso ---------- */
.modal { position: fixed; inset: 0; background: rgba(8, 3, 22, .7); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal-card { background: #211047; border: 1px solid var(--line); border-radius: 22px; padding: 22px; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #2a1659; border: 1px solid var(--turq); color: var(--text); padding: 11px 20px; border-radius: 14px; z-index: 60; max-width: 90%; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.toast.bad { border-color: var(--red); color: #ffc2c9; }

/* ---------- celular ---------- */
@media (max-width: 820px) {
  .side { position: fixed; z-index: 40; top: 0; bottom: 0; left: -260px; transition: left .2s; width: 244px; background: #170a37; }
  .side.open { left: 0; box-shadow: 0 0 0 100vmax rgba(8, 3, 22, .65); }
  .menu-btn { display: inline-block; }
  .view { padding: 14px; }
  h2 { font-size: 24px; }
  .split { grid-template-columns: 1fr; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-layout .chat-pane { display: none; }
  .chat-layout.chat-open .chat-list { display: none; }
  .chat-layout.chat-open .chat-pane { display: flex; }
  .back-btn { display: inline-block; }
  .msg { max-width: 88%; }
}

#wsState { white-space: nowrap; }
.phone .msg.wide { width: 92%; }
.phone .msg.wide video, .phone .msg.wide img { width: 100%; }

/* ---------- v0.4: cuentas de usuario, planes y administrador ---------- */
.login-card { max-width: 420px; }
.login-card.pay { max-width: 780px; }
.login-card .auth-form { text-align: left; margin-top: 4px; }
.login-card .auth-form input { width: 100%; margin: 4px 0 12px; text-align: left; }
.login-card .auth-form label { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.login-card .auth-form .btn { margin-top: 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin: 16px 0 12px; }
.tab { border: 0; background: none; color: var(--muted); padding: 9px 6px; border-radius: 10px; font: inherit; cursor: pointer; }
.tab.active { background: linear-gradient(135deg, var(--magenta), #ff8a3d); color: #25061b; font-weight: 700; }
.promo { background: rgba(255, 194, 61, .12); border: 1px solid rgba(255, 194, 61, .4); color: var(--sun); border-radius: 12px; padding: 8px 12px; font-size: 14px; text-align: center; margin-bottom: 10px; }

.plan-badge { border: 1px solid var(--line); background: var(--panel2); color: var(--text); border-radius: 99px; padding: 4px 13px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.plan-badge:hover { border-color: rgba(255, 255, 255, .35); }
.plan-badge.warn { color: var(--sun); border-color: rgba(255, 194, 61, .55); background: rgba(255, 194, 61, .1); }
.plan-badge.bad { color: var(--red); border-color: rgba(255, 107, 122, .55); background: rgba(255, 107, 122, .1); }
.plan-badge.ok { color: var(--turq); border-color: rgba(25, 227, 195, .45); background: rgba(25, 227, 195, .08); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 22px 0 10px; text-align: center; }
.plan { position: relative; border: 1px solid var(--line); background: var(--panel2); border-radius: 18px; padding: 20px 14px 16px; }
.plan.best { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun) inset; }
.plan .tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--sun); color: #2a1a00; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 99px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1.15; margin: 4px 0; }
.plan .price small { font-size: 14px; font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.plan ul li { margin: 3px 0; }
.plan .row { justify-content: center; }
.pay h2 { font-size: 30px; }
.pay .lead { color: var(--muted); max-width: 52ch; margin: 8px auto 0; }

.fab { position: fixed; right: 16px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
body.in-app .fab { bottom: 112px; }
.fab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 99px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); transition: transform .12s, filter .12s; }
.fab-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.fab-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.fab-btn.tg { background: #229ed9; }
.fab-btn.wa { background: #1fa855; }
.fab-btn.tg svg { color: #fff; }
.fab-btn.wa svg { color: #fff; }
@media (max-width: 820px) {
  .fab-btn { padding: 11px; }
  .fab-btn span { display: none; }
  .fab-btn svg { width: 26px; height: 26px; }
  .plan-badge { font-size: 12px; padding: 4px 10px; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.stat b { display: block; font-family: var(--display); font-size: 28px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; }
.birthday { margin-bottom: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 61, 139, .14); border: 1px solid rgba(255, 61, 139, .4); }
.field { display: block; margin: 0 0 10px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.field input, .field select { width: 100%; }
.engine { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.engine .switch { margin: 0; }
a.btn { text-decoration: none; display: inline-block; }

/* dentro del panel los botones de contacto son redondos y chicos; el nombre aparece al pasar el mouse */
body.in-app .fab-btn { padding: 11px; }
body.in-app .fab-btn span { display: none; }
body.in-app .fab-btn:hover span, body.in-app .fab-btn:focus-visible span { display: inline; }
body.in-app .fab-btn:hover, body.in-app .fab-btn:focus-visible { padding: 11px 16px 11px 11px; }
.top { gap: 8px; }
.acc-pick select { max-width: 100%; text-overflow: ellipsis; }
.plan-badge { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 820px) {
  .top { padding: 10px 12px; }
  .acc-pick { min-width: 0; flex: 0 1 auto; }
  .acc-pick select { max-width: 38vw; }
  #wsState { font-size: 0; }
  #wsState::before { content: "●"; font-size: 14px; }
  body.in-app .fab-btn:hover span { display: none; }
}
@media (max-width: 820px) { .login { padding-bottom: 96px; } }
