/* Aplicación: creación de casos y sala del caso. Usa los tokens de base.css (tema claro). */

:root { color-scheme: light; --arb-strong: var(--gold-ink); }

/* ---------- Páginas simples (crear caso, errores) ---------- */
.wrap-app { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.appnav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.appnav .wrap-app { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navlink { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.navlink:hover { color: var(--ink); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.muted { color: var(--text-2); }
.small { font-size: 13.5px; }

.nuevo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 44px; padding-bottom: 80px; }
.nuevo h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.06; letter-spacing: -.022em; color: var(--ink); margin: 18px 0 10px; font-weight: 600; }
.intro { color: var(--text-2); font-size: 16.5px; line-height: 1.6; margin: 0 0 28px; max-width: 580px; }

.form { padding: 6px 28px 28px; }
.form fieldset { border: 0; margin: 0; padding: 22px 0 8px; border-bottom: 1px solid var(--line); min-width: 0; }
.form legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 18px; font-weight: 600; font-size: 16px; color: var(--ink); }
.form legend + * { clear: both; }
.form legend em, .field em { font-style: normal; font-weight: 500; color: var(--muted); }
.n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.field input::placeholder, .field textarea::placeholder { color: #98a2b3; }
.field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.field small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.field.half { max-width: calc(50% - 8px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--ink); }
.btn.block { width: 100%; }

.nuevo-aside { position: sticky; top: 88px; display: grid; gap: 16px; }
.card.soft { padding: 22px; }
.card.soft h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; color: var(--ink); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: paso; }
.mini-steps li { counter-increment: paso; display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; }
.mini-steps li::before { content: counter(paso); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 13px; font-weight: 700; }
.mini-steps b { font-size: 14px; color: var(--ink); }
.mini-steps span { font-size: 13.5px; color: var(--text-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.ticks svg { margin-top: 2px; color: var(--green); stroke-width: 2.25; }
.caselist a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.caselist a:hover { color: var(--blue); }
.caselist small { color: var(--muted); white-space: nowrap; }

.success { padding: 32px; }
.ok-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.ok-ic svg { stroke-width: 2.25; }
.ok-ic.err { background: var(--danger-soft); color: var(--danger); }
.success h2, .vacio h2 { margin: 0 0 6px; font-size: 28px; font-weight: 600; color: var(--ink); }
.success h3 { margin: 26px 0 4px; font-size: 15px; color: var(--ink); }
.correos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.correos li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.correos svg { margin-top: 2px; }
.correos li.ok { background: var(--green-soft); }
.correos li.ok svg { color: var(--green); }
.correos li.warn { background: var(--gold-soft); }
.correos li.warn svg { color: var(--gold-ink); }
.correos li.err { background: var(--danger-soft); }
.correos li.err svg { color: var(--danger); }
.nota.err { color: var(--danger); font-size: 13.5px; }
.links { display: grid; gap: 8px; margin: 12px 0 22px; }
.linkrow { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.lr-label { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkrow code { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vacio { max-width: 560px; padding-top: 64px; padding-bottom: 64px; }
.vacio .card { padding: 32px; }
.vacio .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .nuevo { grid-template-columns: 1fr; }
  .nuevo-aside { position: static; }
}
@media (max-width: 600px) {
  .wrap-app { padding: 0 16px; }
  .nuevo { padding-top: 28px; }
  .form { padding: 4px 18px 22px; }
  .row2 { grid-template-columns: 1fr; }
  .field.half { max-width: none; }
  .success { padding: 24px 18px; }
  .linkrow { grid-template-columns: minmax(0, 1fr) auto; }
  .linkrow code { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Sala del caso ---------- */
.shell { display: grid; grid-template-rows: auto 1fr; height: 100vh; height: 100dvh; background: var(--paper); }

.topbar { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 10px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand.compact .mark { width: 30px; height: 30px; }
.ttl { flex: 1; min-width: 0; }
.ttl b { display: block; font-size: 15.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ttl small { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.chip.estado { display: none; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: 11px; font-weight: 700; }
.actions { display: flex; gap: 8px; }

.etapas { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.etapas li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; }
.etapas li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 11px; }
.etapas li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-soft); stroke-width: 2.75; }
.etapas li.done { color: var(--green); }
.etapas li.on { color: var(--ink); background: var(--gold-soft); }
.etapas li.on span { border-color: var(--gold); background: var(--gold); color: #fff; }
.etapas li.sep { width: 16px; height: 1.5px; padding: 0; border-radius: 1px; background: var(--line-2); }

.body { display: grid; grid-template-columns: 320px minmax(0, 1fr); min-height: 0; }

/* Barra lateral */
.side { min-height: 0; overflow-y: auto; padding: 12px 10px; background: var(--surface); border-right: 1px solid var(--line); }
.side > .who { display: flex; align-items: center; gap: 10px; padding: 8px 10px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.side > .who b { display: block; font-size: 14px; color: var(--ink); }
.side-label { padding: 16px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.item { display: flex; gap: 12px; align-items: flex-start; width: 100%; margin-bottom: 2px; padding: 10px; border-radius: 10px; text-align: left; transition: background .12s; }
.item:hover { background: var(--paper); }
.item.on { background: var(--paper-2); }
.item:focus-visible { outline: none; box-shadow: var(--ring); }
.item .meta { flex: 1; min-width: 0; }
.item .meta b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .meta span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.count { font-size: 11px; font-weight: 600; color: var(--muted); }
.consejero-item .meta b { color: var(--violet); }

.av { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 14.5px; font-weight: 700; color: #fff; }
.av.sm { width: 32px; height: 32px; font-size: 13px; }
.av.A { background: var(--green); }
.av.B { background: var(--blue); }
.av.canal { background: var(--ink); }
.av.consejero { background: var(--violet); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.badge.turno { background: var(--ink); color: #fff; }
.badge.espera { background: var(--paper-2); color: var(--text-2); }
.badge.cerrado { border: 1px solid var(--line-2); color: var(--muted); }
.badge.ia { background: var(--gold-soft); color: var(--gold-ink); }
.badge.privado { background: var(--violet-soft); color: var(--violet); }

/* Conversación */
.main { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; background: var(--paper); }
.subbar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.subbar .back { display: none; place-items: center; margin-left: -6px; padding: 4px; border-radius: 8px; color: var(--ink); }
.subbar .meta { flex: 1; min-width: 0; }
.subbar .meta b { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subbar .meta span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--muted); }
.subbar .meta span svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--gold-ink); }
.subbar .tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.msgs { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow-y: auto; padding: 24px max(24px, 6%) 32px; }
.bub { position: relative; max-width: min(76%, 640px); padding: 10px 14px 8px; border: 1px solid transparent; border-radius: 14px; box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
.bub.A { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 14%, transparent); }
.bub.B { background: var(--blue-soft); border-color: color-mix(in srgb, var(--blue) 14%, transparent); }
.bub.mine { align-self: flex-end; border-top-right-radius: 4px; }
.bub.theirs { align-self: flex-start; border-top-left-radius: 4px; }
.bub .who { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-size: 12.5px; font-weight: 700; }
.bub.A .who { color: var(--green); }
.bub.B .who { color: var(--blue); }
.who .rol { font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.bub .txt { white-space: pre-wrap; line-height: 1.55; color: var(--text); }
.bub .time { margin-top: 4px; font-size: 11px; color: var(--muted); text-align: right; }
.bub.arbitro { align-self: center; max-width: min(86%, 700px); background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.bub.arbitro .who { color: var(--gold-ink); }
.bub.consejero { background: var(--violet-soft); border-color: color-mix(in srgb, var(--violet) 18%, transparent); }
.bub.consejero .who { color: var(--violet); }
.bub.cede { opacity: .82; }
.bub.cede .txt { font-style: italic; }

.sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; max-width: 88%; padding: 6px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 12.5px; text-align: left; }
.sys svg { flex-shrink: 0; color: var(--muted); }
.warn-sys { display: flex; margin: 10px; color: var(--danger); }
.daysep { align-self: center; margin: 4px 0 8px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }

.solicitud { border-left: 3px solid var(--green) !important; }
.bub.B.solicitud { border-left-color: var(--blue) !important; }
.solicitud .label { margin-bottom: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.bub.B.solicitud .label { color: var(--blue); }

.threadcard { min-width: min(300px, 100%); cursor: pointer; transition: box-shadow .15s; }
.threadcard:hover { box-shadow: var(--shadow-md); }
.tlabel { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ttitle { margin: 3px 0 4px; font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); }
.excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; color: var(--text-2); }
.threadcard .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(20, 33, 61, .08); font-size: 13px; font-weight: 600; color: var(--ink); }

.atts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.att { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(20, 33, 61, .08); font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; }
.att:hover { border-color: var(--line-2); }
.att span { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att svg { color: var(--text-2); }
.att.img { padding: 0; background: none; border: 0; }
.att.img img { display: block; max-width: 260px; max-height: 190px; border-radius: 10px; border: 1px solid rgba(20, 33, 61, .08); }

/* Fallo: documento formal */
.fallo { position: relative; align-self: center; width: 100%; max-width: 820px; margin: 12px 0; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); }
.fallo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 16px 16px 0 0; background: var(--gold); }
.fallo.complemento::before { background: var(--ink); }
.fallo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fallo-head .mark { width: 36px; height: 36px; flex-shrink: 0; }
.fallo-head .eyebrow { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.fallo.complemento .fallo-head .eyebrow { color: var(--ink); }
.fallo-head .fecha { display: block; font-size: 13px; color: var(--muted); }
.fallo .tit { margin: 12px 0 8px; font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.fallo h4 { margin: 22px 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.fallo p, .fallo li { white-space: pre-wrap; line-height: 1.65; color: var(--text); }
.fallo p { margin: 0; }
.fallo ul { margin: 0; padding-left: 20px; }
.fallo li { margin-bottom: 8px; }
.dec { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; }
.dec.acoge { background: var(--green); }
.dec.rechaza { background: var(--blue); }
.dec.acoge_parcialmente { background: var(--gold); }
.dec.small { padding: 1px 8px; font-size: 11.5px; }
.prev { font-weight: 700; }
.prev.A { color: var(--green); }
.prev.B { color: var(--blue); }

/* Redacción */
.composer { padding: 12px 20px 14px; background: var(--surface); border-top: 1px solid var(--line); }
.composer .hint { padding: 2px 2px 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.composer .hint b { color: var(--ink); }
.composer .hint svg { vertical-align: -3px; color: var(--muted); }
.composer .row { display: flex; align-items: flex-end; gap: 4px; padding: 5px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.composer .row:focus-within { border-color: var(--blue); box-shadow: var(--ring); }
.composer textarea { flex: 1; min-height: 40px; max-height: 200px; padding: 9px 8px; border: 0; outline: none; resize: none; background: transparent; line-height: 1.5; }
.composer input.title { width: 100%; margin-bottom: 8px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-weight: 600; outline: none; }
.composer input.title:focus { border-color: var(--blue); box-shadow: var(--ring); }
.iconbtn { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; color: var(--text-2); }
.iconbtn:hover { background: var(--paper); color: var(--ink); }
.send { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; }
.send:hover { background: var(--ink-2); }
.send:disabled { opacity: .4; }
.send svg { stroke-width: 2.25; }
.pending { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pending .att { background: var(--paper); }
.pending .att button { display: grid; place-items: center; margin-left: 2px; padding: 0; color: var(--muted); }
.pending .att button:hover { color: var(--danger); }
.extra { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tabs { display: inline-flex; gap: 2px; margin-bottom: 10px; padding: 3px; border-radius: 10px; background: var(--paper-2); }
.tabs button { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.typing { align-self: center; padding: 7px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-size: 13px; font-weight: 600; }
.typing::after { content: "…"; display: inline-block; width: 1em; overflow: hidden; vertical-align: bottom; animation: puntos 1.2s infinite steps(4); }
@keyframes puntos { 0% { width: 0 } 100% { width: 1em } }
.consejero-typing { background: var(--violet-soft); color: var(--violet); }

.borrador { margin-top: 10px; padding: 12px 14px; border: 1px dashed color-mix(in srgb, var(--violet) 45%, transparent); border-radius: 12px; background: var(--surface); }
.borrador .blabel { margin-bottom: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.borrador .btitulo { margin-bottom: 4px; font-weight: 700; color: var(--ink); }

/* Árbol de argumentos */
.overlay { position: fixed; inset: 0; z-index: 20; display: flex; justify-content: center; align-items: flex-start; padding: 32px 16px; overflow-y: auto; background: rgba(20, 33, 61, .45); backdrop-filter: blur(2px); }
.sheet { width: min(1000px, 100%); padding: 24px 28px 32px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); }
.sheet .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sheet .head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; font-weight: 600; color: var(--ink); }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { margin-left: 18px; padding-left: 18px; border-left: 1.5px solid var(--line-2); }
.tree li { position: relative; margin: 10px 0; }
.tree ul > li::before { content: ""; position: absolute; left: -18px; top: 20px; width: 14px; border-top: 1.5px solid var(--line-2); }
.node { display: inline-block; max-width: 100%; padding: 9px 13px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--line-2); }
.node.A { background: var(--green-soft); border-left-color: var(--green); }
.node.B { background: var(--blue-soft); border-left-color: var(--blue); }
.node.arbitro { background: var(--gold-soft); border-left-color: var(--gold); }
.node.root { background: var(--surface); border-left-color: var(--ink); }
.node .nh { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.node .nt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; font-size: 14px; }
.node.close { background: transparent; border-style: dashed; font-size: 13px; color: var(--muted); }
.node.verdict { background: var(--surface); border-color: color-mix(in srgb, var(--gold) 50%, transparent); border-left-color: var(--gold); font-size: 13.5px; }

/* Pantallas medianas y teléfono */
@media (max-width: 1080px) {
  .etapas { display: none; }
  .chip.estado { display: inline-block; }
}
@media (max-width: 760px) {
  .body { grid-template-columns: 1fr; }
  .shell:not(.chat) .main { display: none; }
  .shell.chat .side { display: none; }
  .subbar { padding: 10px 12px; }
  .subbar .back { display: grid; }
  .msgs { padding: 14px 12px 20px; }
  .bub { max-width: 90%; }
  .topbar { gap: 10px; padding: 8px 12px; }
  .hide-m { display: none; }
  .fallo { padding: 20px 18px; }
  .composer { padding: 10px 12px 12px; }
  .sheet { padding: 18px 16px 24px; }
}
