/* Páginas de cuenta y administración: se apoyan en /assets/style.css (mismos colores, tipografía y modo oscuro). */
.cta-wrap { max-width: 560px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { font-size: 20px; }
.panel p { margin: 0; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-size: 14px; font-weight: 600; color: var(--muted); }
.campo input, .campo textarea, .campo select { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-height: 46px; }
.campo textarea { min-height: 90px; resize: vertical; }
.btn { justify-content: center; min-height: 46px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn.peligro { border-color: var(--red); color: var(--red); }
.aviso { border-radius: 10px; padding: 12px 14px; font-size: 15px; border: 1px solid var(--line); background: var(--bg2); }
.aviso.error { border-color: var(--red); color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); }
.aviso.ok { border-color: var(--green); color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan .precio { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.plan .precio small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .nota { font-size: 14px; color: var(--muted); }
dl.estado { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
dl.estado dt { color: var(--muted); font-size: 14px; }
dl.estado dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
details.instalar { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
details.instalar summary { cursor: pointer; font-family: var(--display); font-weight: 700; }
details.instalar ol { margin: 10px 0 0; padding-left: 22px; }
details.instalar h3 { font-size: 16px; margin-top: 14px; }
.tabla-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.datos { border-collapse: collapse; width: 100%; font-size: 14px; }
table.datos th, table.datos td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.datos th { background: var(--bg2); font-weight: 600; color: var(--muted); }
table.datos td .btn { min-height: 0; }
.fila { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.fila .campo { flex: 1 1 200px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main section > p { margin: 0; }
ul.dispositivos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
ul.dispositivos li { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
ul.dispositivos li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
ul.dispositivos li .muted { font-size: 14px; }
ul.dispositivos li .btn { flex: 0 1 auto; }
