/* Instalación como app: guía de pasos */
.inst-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); width: 100%; color: inherit; }
.inst-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.inst-box { background: #1d2029; color: #f3f4f7; border: 1px solid #343846; border-radius: 18px; padding: 22px 20px; display: grid; gap: 12px; text-align: left; }
.inst-box h2 { margin: 0; font-size: 1.2rem; }
.inst-sub { margin: 0; color: #b9bdca; font-size: .95rem; }
.inst-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; line-height: 1.4; }
.inst-close { appearance: none; border: 0; border-radius: 12px; padding: 14px; font: inherit; font-weight: 700; background: #f0a35c; color: #14161c; cursor: pointer; margin-top: 4px; }
.inst-close:focus-visible { outline: 3px solid #f0a35c; outline-offset: 3px; }
[data-install][hidden] { display: none !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row .btn { margin-top: 20px; }
.btn.ghost-l { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .9; }
.dl-ic { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.top-r { display: flex; gap: 18px; align-items: center; }
@media (max-width: 639px) { .btn-row { gap: 0; } .btn-row .btn { flex: 1 1 100%; } .btn-row .btn + .btn { margin-top: 12px; } }
/* selector de idioma (landing y páginas legales) */
.lp-wrap { position: relative; display: inline-block; }
.lp-flag { display: inline-flex; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(128,128,128,.4); flex: none; }
.lp-flag svg { width: 100%; height: 100%; display: block; }
.lp-btn { appearance: none; background: transparent; border: 1px solid var(--line, #ccc); border-radius: 10px; padding: 7px 9px; cursor: pointer; display: inline-flex; align-items: center; }
.lp-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface, #fff); color: var(--fg, #111); border: 1px solid var(--line, #ccc); border-radius: 12px; padding: 6px; display: grid; gap: 2px; min-width: 150px; z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.lp-menu[hidden] { display: none; }
.lp-opt { appearance: none; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; padding: 10px 12px; border-radius: 8px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.lp-opt:hover, .lp-opt[aria-current="true"] { background: rgba(128,128,128,.15); }
.lp-btn:focus-visible, .lp-opt:focus-visible { outline: 3px solid var(--accent, #b4540f); outline-offset: 2px; }
