/* AdiosMulta — «Mi cuenta» y la entrada a ella (web/cuenta, web/iniciar-sesion).
   The same language as «Recurrir mi multa» (recurrir.css: its titles, fields and cards; portada.css:
   the big button), for what a person comes back to: where each of their fines is, what happened to it,
   its documents and their own data. Nothing here moves by itself. */

.cu { max-width: 880px; }
.cu .fl-cabeza { text-align: left; }
.cu .fl-cabeza h1 { white-space: normal; font-size: clamp(38px, 6.4vw, 60px); margin: clamp(8px, 3vh, 28px) 0 10px; }
.cu .fl-cabeza p { margin: 0 0 28px; max-width: 34em; }
.cu-cabeza-fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.cu-cabeza-fila .fl-cabeza { flex: 1 1 380px; }
.cu-cabeza-fila .cr-cta { margin-bottom: 30px; }

.cu-seccion { margin: 0 0 34px; }
.cu-seccion-titulo {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-soft);
}

.cu-tarjeta {
    position: relative;
    display: block;
    padding: 24px 26px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 30px 80px -48px rgba(46, 114, 252, 0.45);
    color: inherit;
    text-decoration: none;
}
.cu-tarjeta + .cu-tarjeta { margin-top: 14px; }
a.cu-tarjeta { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
a.cu-tarjeta:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05), 0 34px 90px -46px rgba(46, 114, 252, 0.55); }
a.cu-tarjeta:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
@media (max-width: 560px) { .cu-tarjeta { padding: 20px 18px; border-radius: 24px; } }

.cu-multa-cabeza { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.cu-multa-quien { margin: 0; font-size: clamp(19px, 2.6vw, 22px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.cu-multa-exp { margin: 4px 0 0; font-size: 14px; color: var(--muted-soft); }
.cu-multa-exp span { white-space: nowrap; }
.cu-seccion-sola { margin: 0 0 34px; }
.cu-multa-siguiente { margin: 18px 0 0; font-size: 15px; color: var(--fg-soft); line-height: 1.55; text-wrap: pretty; }
.cu-multa-datos { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.cu-multa-datos strong { color: var(--fg); font-weight: 650; }

.cu-pastilla {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    background: var(--surface);
    color: var(--muted);
}
.cu-pastilla::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cu-pastilla--azul { background: color-mix(in srgb, var(--accent) 9%, #fff); color: var(--accent-texto); }
.cu-pastilla--bien { background: #ecf8ec; color: #136c13; }

/* The four steps of an appeal: Contratada · En preparación · Presentada · Resuelta. */
.cu-pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.cu-pasos li { display: grid; align-content: start; gap: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--muted-soft); }
.cu-pasos li::before { content: ""; height: 6px; border-radius: 999px; background: var(--surface); }
.cu-pasos li.is-hecho { color: var(--fg-soft); }
.cu-pasos li.is-hecho::before { background: var(--accent); }
.cu-pasos li.is-ahora { color: var(--accent-texto); }
.cu-pasos li.is-ahora::before { background: linear-gradient(90deg, var(--accent) 0 50%, color-mix(in srgb, var(--accent) 22%, #fff) 50% 100%); }
@media (max-width: 480px) { .cu-pasos li { font-size: 11px; } }

.cu-medias { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cu-medias p { margin: 0; }
.cu-medias .cu-multa-exp { margin-top: 2px; }

/* A fine's own page. */
.cu-volver { margin-bottom: 6px; }
.cu-historia { list-style: none; margin: 0; padding: 0; }
.cu-historia li { position: relative; padding: 0 0 20px 30px; }
.cu-historia li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, #fff);
}
.cu-historia li::after { content: ""; position: absolute; left: 9.5px; top: 24px; bottom: 2px; width: 1px; background: var(--border); }
.cu-historia li:last-child { padding-bottom: 0; }
.cu-historia li:last-child::after { display: none; }
.cu-historia li.is-pendiente::before { background: #fff; box-shadow: inset 0 0 0 2px var(--border-light); }
.cu-historia strong { display: block; font-size: 15.5px; font-weight: 700; }
.cu-historia span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.cu-historia time { font-size: 13px; font-weight: 600; color: var(--muted-soft); }

/* Each pair with its rule on top, and the first row without one: every row moves up a pixel inside a box that
   clips, whatever the number of columns. */
.cu-pares { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 20px; margin: 0; overflow: hidden; }
.cu-pares div { padding: 13px 0; margin-top: -1px; border-top: 1px solid var(--border-soft); }
.cu-pares dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-soft); margin: 0 0 4px; }
.cu-pares dd { margin: 0; font-size: 16px; font-weight: 600; color: var(--fg); word-break: break-word; }

.cu-docs { display: grid; gap: 10px; }
.cu-doc {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: var(--surface-soft);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cu-doc:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: #fff; }
.cu-doc svg { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.cu-doc strong { display: block; font-size: 15px; font-weight: 650; }
.cu-doc span { display: block; font-size: 13px; color: var(--muted-soft); }
.cu-doc i { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent-texto); }

.cu-ayuda { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* Their data, their devices, their account. */
/* Their data, edited inside their own card: the fields of the flow, without a second card around them. */
.cu-formulario { display: grid; gap: 18px; }
@media (min-width: 561px) { .cu-formulario .fl-campos-par { gap: 18px; } }
.cu-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cu-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cu-boton:hover { border-color: var(--border-light); background: var(--surface-soft); }
.cu-boton:disabled { opacity: 0.55; cursor: default; }
.cu-boton--azul { background: var(--accent); border-color: var(--accent); color: #fff; }
.cu-boton--azul:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.cu-boton--peligro { color: #b42318; }
.cu-boton--peligro:hover { border-color: #f1b4ae; background: #fff6f5; }

.cu-dispositivos { list-style: none; margin: 0; padding: 0; }
.cu-dispositivos li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border-soft); }
.cu-dispositivos li:first-child { border-top: 0; padding-top: 0; }
.cu-dispositivos strong { display: block; font-size: 15px; font-weight: 650; }
.cu-dispositivos span { display: block; font-size: 13px; color: var(--muted-soft); }
.cu-este { font-size: 12px; font-weight: 700; color: var(--accent-texto); white-space: nowrap; }

.cu-aviso { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.cu-aviso.is-error { color: #b42318; }
.cu-aviso.is-bien { color: #136c13; }

/* Entering: the email, then the code. */
.cu-entrar { max-width: 520px; margin: 0 auto; }
.cu-entrar .fl-cabeza { text-align: center; }
/* Its two titles on ONE line, like every title of the flow (the founder, 26-oct): a letter that fits its box
   from a 320 px phone to the desk («Entra en tu cuenta.» broke in two at 60 px). */
.cu-entrar .fl-cabeza h1 { white-space: nowrap; font-size: clamp(30px, 9.6vw, 54px); }
.cu-entrar .fl-cabeza p { margin-left: auto; margin-right: auto; }
.cu-entrar .fl-formulario { gap: 18px; }
.cu-entrar .fl-veredicto { margin: 26px 0 0; }
.cu-codigo input {
    height: 68px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.32em;
    padding-left: 0.32em;
    font-variant-numeric: tabular-nums;
}
.cu-pie { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--muted); text-wrap: pretty; }
.cu-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px 0 0; }
.cu-enlaces button {
    border: 0;
    background: none;
    padding: 4px 0;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--accent-texto);
    cursor: pointer;
}
.cu-enlaces button:hover { text-decoration: underline; text-underline-offset: 3px; }
.cu-legal { margin: 34px 0 0; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted-soft); }
.cu-legal a { color: inherit; }

.cu-cargando { opacity: 0; }
.cu-listo { opacity: 1; transition: opacity 0.25s ease; }

/* La suscripción (cuenta.js · suscripcion) */
.cu-suscripcion-plan { margin: 0 0 6px; font-size: 17px; color: var(--fg); }
.cu-suscripcion-plan b { font-weight: 800; letter-spacing: -0.01em; }
.cu-suscripcion .cu-ayuda + .cu-ayuda { margin-top: 4px; }

/* The watch's consent under the subscription's own buttons (cuenta.js, vigilancia). */
.cu-vigilancia { margin-top: 16px; }
.cu-vigilancia .cu-ayuda { margin: 0 0 12px; }

/* Withdrawing from a contract (cuenta.js, desistir): the declaration as it is sent, set apart. */
.cu-declaracion {
    margin: 4px 0 14px;
    padding: 12px 16px;
    border-left: 3px solid var(--line);
    background: var(--void-raised);
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
}
