/* ═══════════ Alta de negocio ═══════════ */

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --ink: #2C2520;
    --ink2: #6E625A;
    --ink3: #8F837A;
    --acc: #C9A84C;
    --acc-ink: #8A6D1F;
    --soft: #F5EDD4;
    --bg: #F2EDE6;
    --panel: #F8F5F0;
    --line: #E8E2DA;
    --line2: #F0EAE2;
    --campo: #E2DBD2;
    --error: #B4322A;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 15px/1.45 'DM Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

button, input, select {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--acc-ink);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.ob {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.ob-card {
    width: 100%;
    max-width: 1160px;
    height: min(760px, calc(100dvh - 64px));
    min-height: 600px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}

.ob-logo {
    display: flex;
    align-items: center;
}

    .ob-logo img {
        height: 46px;
        width: auto;
        display: block;
        border-radius: 10px;
    }

/* ═══════════ Lateral ═══════════ */

.ob-aside {
    width: 220px;
    flex-shrink: 0;
    background: var(--panel);
    border-right: 1.5px solid var(--line);
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
}

    .ob-aside .ob-logo {
        padding: 0 12px 18px;
    }

.ob-pasos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ob-paso {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: none;
    font-size: 14px;
    color: var(--ink2);
    text-align: left;
    cursor: default;
}

.ob-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid #D8D0C6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.ob-paso.hecho {
    cursor: pointer;
}

    .ob-paso.hecho .ob-num {
        background: var(--soft);
        border-color: var(--acc);
        color: var(--acc-ink);
    }

.ob-paso.actual {
    background: #fff;
    color: var(--ink);
    font-weight: 600;
}

    .ob-paso.actual .ob-num {
        background: var(--acc);
        border-color: var(--acc);
        color: var(--ink);
    }

@media (hover: hover) {
    .ob-paso.hecho:hover {
        background: #fff;
    }
}


/* ═══════════ Contenido ═══════════ */

.ob-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ob-top {
    display: none;
}

.ob-pasos-cont {
    flex: 1;
    padding: 30px 32px 24px;
    overflow-y: auto;
}

.ob-h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.4px;
}

    .ob-h1:focus {
        outline: none;
    }

.ob-sub {
    margin: 6px 0 22px;
    font-size: 15px;
    color: var(--ink2);
    max-width: 560px;
}

.ob-campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    min-width: 0;
}

.ob-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
}

.ob-opc {
    font-weight: 400;
}

.ob-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--campo);
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    max-width: 520px;
}

    .ob-input:focus {
        border-color: var(--acc);
        outline: none;
        box-shadow: 0 0 0 3px rgba(201, 168, 76, .18);
    }

    .ob-input[aria-invalid="true"] {
        border-color: var(--error);
    }

select.ob-input {
    appearance: none;
    padding-right: 36px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E625A' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
    cursor: pointer;
}

.ob-error {
    font-size: 13px;
    color: var(--error);
    min-height: 0;
}

    .ob-error:empty {
        display: none;
    }

.ob-nota {
    font-size: 12px;
    color: var(--ink2);
    font-weight: 400;
}

.ob-nota--pie {
    margin: 18px 0 0;
}

/* ═══════════ Chips ═══════════ */

.ob-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ob-chip {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid #DCD3C8;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
}

    .ob-chip[aria-pressed="true"] {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

.ob-chip--mas {
    border-style: dashed;
    color: var(--acc-ink);
}

@media (hover: hover) {
    .ob-chip:hover {
        border-color: var(--ink2);
    }

    .ob-chip[aria-pressed="true"]:hover {
        border-color: var(--ink);
    }
}

.ob-grupo-tit {
    margin: 4px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
}

.ob-grupo + .ob-grupo {
    margin-top: 16px;
}

/* ═══════════ Servicios ═══════════ */

.ob-otro {
    margin-top: 16px;
    padding: 16px;
    border: 1.5px dashed #DCD3C8;
    border-radius: 14px;
    max-width: 640px;
}

    .ob-otro .ob-campo {
        margin-bottom: 12px;
    }

.ob-otro-fila {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 12px;
}

.ob-otro-acciones {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.ob-ajuste {
    margin-top: 22px;
    max-width: 640px;
    background: var(--panel);
    border-radius: 14px;
    padding: 12px 16px 6px;
}

.ob-ajuste-cab {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
}

.ob-linea {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px 92px;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--line2);
    font-size: 14px;
}

    .ob-linea:first-child {
        border-top: 0;
    }

.ob-linea-nom {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ob-linea select, .ob-linea input {
    height: 38px;
    font-size: 14px;
    padding: 0 10px;
    border-radius: 10px;
}

.ob-linea select {
    padding-right: 28px;
    background-position: right 8px center;
    background-size: 14px;
}

.ob-precio {
    position: relative;
}

    .ob-precio input {
        padding-right: 26px;
        -moz-appearance: textfield;
    }

        .ob-precio input::-webkit-outer-spin-button, .ob-precio input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

    .ob-precio span {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ink3);
        font-size: 13px;
        pointer-events: none;
    }

.ob-vacio {
    padding: 10px 0;
    font-size: 13px;
    color: var(--ink2);
}

/* ═══════════ Equipo ═══════════ */

.ob-opciones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    max-width: 640px;
}

.ob-opcion {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1.5px solid var(--campo);
    border-radius: 14px;
    cursor: pointer;
}

    .ob-opcion input {
        width: 20px;
        height: 20px;
        margin: 1px 0 0;
        accent-color: var(--ink);
        flex-shrink: 0;
    }

    .ob-opcion b {
        display: block;
        font-size: 15px;
    }

    .ob-opcion small {
        display: block;
        margin-top: 2px;
        font-size: 13px;
        color: var(--ink2);
    }

    .ob-opcion:has(input:checked) {
        border-color: var(--ink);
        box-shadow: inset 0 0 0 1px var(--ink);
    }

.ob-personas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 520px;
}

.ob-persona {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ob-av {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--acc-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.ob-persona .ob-input {
    flex: 1;
}

.ob-tu {
    width: 36px;
    font-size: 12px;
    color: var(--ink2);
    flex-shrink: 0;
}

.ob-quitar {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--ink3);
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ob-quitar svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
    }

@media (hover: hover) {
    .ob-quitar:hover {
        color: var(--error);
        background: #FBECEA;
    }
}

.ob-mas {
    margin-top: 10px;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--acc-ink);
    cursor: pointer;
}

/* ═══════════ Horario ═══════════ */

.ob-dias {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ob-dia {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid #DCD3C8;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink2);
    cursor: pointer;
}

    .ob-dia[aria-pressed="true"] {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

.ob-horas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 200px));
    gap: 12px;
}

.ob-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

    .ob-switch input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
    }

.ob-switch-pista {
    width: 44px;
    height: 26px;
    border-radius: 13px;
    background: #D8D0C6;
    position: relative;
    transition: background .15s;
    flex-shrink: 0;
}

    .ob-switch-pista::after {
        content: '';
        position: absolute;
        left: 3px;
        top: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        transition: transform .15s;
    }

.ob-switch input:checked + .ob-switch-pista {
    background: var(--ink);
}

    .ob-switch input:checked + .ob-switch-pista::after {
        transform: translateX(18px);
    }

.ob-switch input:focus-visible + .ob-switch-pista {
    outline: 3px solid var(--acc-ink);
    outline-offset: 2px;
}

.ob-aviso {
    margin: 6px 0 0;
    max-width: 520px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #F2EBDD;
    font-size: 13px;
    color: #5A4A2A;
}

/* ═══════════ Cuenta ═══════════ */

.ob-url {
    display: flex;
    align-items: center;
    max-width: 520px;
    height: 46px;
    border: 1.5px solid var(--campo);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

    .ob-url:focus-within {
        border-color: var(--acc);
        box-shadow: 0 0 0 3px rgba(201, 168, 76, .18);
    }

.ob-url-pre {
    padding: 0 2px 0 14px;
    color: var(--ink2);
    white-space: nowrap;
}

.ob-url input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 14px 0 0;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
}

.ob-url-estado {
    font-size: 13px;
    color: var(--ink2);
    min-height: 18px;
}

    .ob-url-estado.ok {
        color: #2E7D4F;
    }

    .ob-url-estado.mal {
        color: var(--error);
    }

.ob-terminos {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 560px;
    padding: 14px;
    border: 1.5px solid var(--campo);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

    .ob-terminos input {
        width: 20px;
        height: 20px;
        margin: 0;
        accent-color: var(--ink);
        flex-shrink: 0;
    }

    .ob-terminos a {
        color: var(--ink);
        font-weight: 600;
    }

    .ob-terminos.mal {
        border-color: var(--error);
    }

.ob-recaptcha {
    margin: 14px 0 0;
    font-size: 11px;
    color: var(--ink3);
}

    .ob-recaptcha a {
        color: var(--ink2);
    }

.grecaptcha-badge {
    visibility: hidden !important;
}

.ob-banner {
    margin-top: 18px;
    max-width: 560px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #FBECEA;
    border: 1px solid #EBC3BE;
    color: #8E2B23;
    font-size: 14px;
}

/* ═══════════ Pie ═══════════ */

.ob-foot {
    padding: 14px 32px;
    border-top: 1.5px solid var(--line);
    background: #FAF8F5;
}

.ob-foot-fila {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ob-contador {
    flex: 1;
    text-align: right;
    font-size: 13px;
    color: var(--ink2);
}

.ob-ver {
    display: none;
    width: 100%;
    min-height: 40px;
    margin-bottom: 8px;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

    .ob-ver svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
    }

.ob-btn {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ob-btn--pri {
    background: var(--acc);
    color: var(--ink);
    padding: 0 26px;
}

.ob-btn--osc {
    background: var(--ink);
    color: #fff;
}

.ob-btn--sec {
    background: transparent;
    border: 1.5px solid var(--campo);
    color: var(--ink2);
    font-weight: 500;
}

.ob-btn:disabled {
    opacity: .55;
    cursor: wait;
}

@media (hover: hover) {
    .ob-btn--pri:hover {
        filter: brightness(.95);
    }

    .ob-btn--sec:hover {
        border-color: var(--ink2);
        color: var(--ink);
    }
}

.ob-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(44, 37, 32, .25);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: ob-giro .7s linear infinite;
}

.ob-btn.cargando .ob-spinner {
    display: inline-block;
}

@keyframes ob-giro {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════ Vista previa ═══════════ */

.ob-prev {
    width: 300px;
    flex-shrink: 0;
    background: var(--panel);
    border-left: 1.5px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
}

.ob-prev-tit {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink2);
}

.ob-prev-pie {
    font-size: 11px;
    color: var(--ink3);
}

.ob-movil {
    width: 236px;
    height: 500px;
    border-radius: 32px;
    background: var(--ink);
    padding: 8px;
    flex-shrink: 0;
}

.ob-pantalla {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background: #FBF8F3;
    overflow: hidden;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
}

.pv-cab {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pv-ini {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--acc);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 12px Georgia, serif;
    flex-shrink: 0;
}

.pv-nom {
    font-size: 12px;
    font-weight: 600;
}

.pv-hor {
    font-size: 10px;
    color: var(--ink2);
}

.pv-tit {
    font-size: 17px;
    font-weight: 600;
}

.pv-caja {
    background: #fff;
    border-radius: 12px;
    padding: 8px 10px;
}

.pv-caja-tit {
    font-weight: 600;
    margin-bottom: 4px;
}

.pv-svc {
    padding: 5px 0;
    border-top: 1px solid var(--line2);
}

    .pv-svc:first-of-type {
        border-top: 0;
    }

    .pv-svc b {
        display: block;
    }

    .pv-svc span, .pv-gris {
        color: var(--ink2);
    }

.pv-mas {
    color: var(--ink3);
    padding-top: 4px;
}

.pv-emps {
    display: flex;
    gap: 8px;
}

.pv-emp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 50px;
    text-align: center;
    overflow: hidden;
}

    .pv-emp i {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--soft);
        color: var(--acc-ink);
        display: flex;
        align-items: center;
        justify-content: center;
        font-style: normal;
        font-weight: 600;
    }

    .pv-emp:first-child i {
        background: #fff;
        border: 1.5px solid var(--ink);
    }

    .pv-emp small {
        font-size: 8.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

.pv-dias {
    display: flex;
    gap: 5px;
}

.pv-dia {
    flex: 1;
    border: 1.5px solid var(--campo);
    border-radius: 8px;
    text-align: center;
    padding: 3px 0;
}

    .pv-dia small {
        display: block;
        font-size: 9px;
        color: var(--ink2);
    }

    .pv-dia b {
        font-size: 13px;
    }

.ob-hoja {
    position: fixed;
    inset: 0;
    background: rgba(44, 37, 32, .45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 50;
}

.ob-hoja-caja {
    width: 100%;
    max-width: 420px;
    background: var(--panel);
    border-radius: 22px 22px 0 0;
    padding: 14px 0 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ob-hoja-cab {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink2);
}

.ob-hoja-cerrar {
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ob-hoja-cerrar svg {
        width: 18px;
        height: 18px;
        stroke: var(--ink);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
    }

/* ═══════════ Tablet ═══════════ */

@media (max-width: 1100px) {
    .ob-prev {
        display: none;
    }

    .ob-ver {
        display: inline-flex;
    }
}

/* ═══════════ Móvil ═══════════ */

@media (max-width: 760px) {
    .ob {
        padding: 0;
        align-items: stretch;
    }

    .ob-card {
        height: auto;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .ob-pasos-cont {
        overflow: visible;
    }

    .ob-aside {
        display: none;
    }

    .ob-top {
        display: block;
        padding: 16px 18px 0;
    }

    .ob-top-fila {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .ob-top .ob-logo img {
        height: 36px;
        border-radius: 8px;
    }

    .ob-top-paso {
        font-size: 13px;
        color: var(--ink2);
    }

    .ob-barra {
        display: flex;
        gap: 5px;
        margin-top: 12px;
    }

        .ob-barra span {
            flex: 1;
            height: 4px;
            border-radius: 2px;
            background: var(--campo);
        }

            .ob-barra span.on {
                background: var(--acc);
            }

    .ob-pasos-cont {
        padding: 20px 18px 24px;
    }

    .ob-h1 {
        font-size: 24px;
    }

    .ob-input {
        max-width: none;
    }

    .ob-otro-fila {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ob-linea {
        grid-template-columns: minmax(0, 1fr) 92px 80px;
        gap: 8px;
    }

    .ob-opciones {
        grid-template-columns: 1fr;
    }

    .ob-dias {
        justify-content: space-between;
        gap: 4px;
    }

    .ob-dia {
        width: 42px;
        height: 42px;
    }

    .ob-foot {
        position: sticky;
        bottom: 0;
        padding: 8px 14px 16px;
        background: #fff;
    }

    .ob-contador {
        display: none;
    }

    .ob-btn--pri {
        flex: 1;
    }
}

/* ═══════════ Pantalla final ═══════════ */

.fin {
    height: auto;
    min-height: 640px;
}

.fin-texto {
    width: 470px;
    flex-shrink: 0;
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
}

.fin-icono {
    margin-top: 56px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fin-icono svg {
        width: 26px;
        height: 26px;
        stroke: var(--acc-ink);
        fill: none;
        stroke-width: 1.8;
        stroke-linejoin: round;
    }

.fin-h1 {
    margin: 22px 0 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.5px;
}

.fin-p {
    margin: 12px 0 0;
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.55;
}

    .fin-p b {
        color: var(--ink);
        word-break: break-word;
    }

.fin-nota {
    margin: 22px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #FAF8F5;
    font-size: 13px;
    color: var(--ink2);
}

.fin-ayuda {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--ink2);
}

    .fin-ayuda form {
        margin: 0;
    }

    .fin-ayuda a {
        color: var(--ink);
    }

.fin-enlace {
    min-height: 32px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--acc-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.fin-agenda {
    flex: 1;
    min-width: 0;
    background: var(--panel);
    border-left: 1.5px solid var(--line);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fin-marco {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    min-height: 420px;
}

.fin-cal {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.fin-cal-cab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line2);
    font-size: 14px;
    font-weight: 600;
}

.fin-nueva {
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--acc);
    font-size: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.fin-cols-cab {
    display: flex;
    padding-left: 44px;
    border-bottom: 1px solid var(--line2);
}

    .fin-cols-cab span {
        flex: 1;
        padding: 8px;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }

    .fin-cols-cab i {
        width: 20px;
        height: 20px;
        border-radius: 6px;
        flex-shrink: 0;
    }

.fin-rejilla {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fin-fila {
    flex: 1;
    min-height: 40px;
    display: flex;
    border-top: 1px solid #F5F1EB;
}

    .fin-fila small {
        width: 44px;
        padding: 3px 6px;
        font-size: 10px;
        color: var(--ink3);
        flex-shrink: 0;
    }

    .fin-fila span {
        flex: 1;
        border-left: 1px solid var(--line2);
    }

.fin-lista {
    width: 230px;
    border-left: 1px solid var(--line2);
    padding: 16px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.fin-lista-tit {
    font-size: 14px;
    font-weight: 600;
}

.fin-lista-sub {
    font-size: 12px;
    color: var(--ink2);
    margin: 2px 0 8px;
}

.fin-tarea {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-top: 1px solid var(--line2);
    font-size: 13px;
}

    .fin-tarea:first-of-type {
        border-top: 0;
    }

    .fin-tarea > span {
        width: 16px;
        height: 16px;
        border-radius: 5px;
        border: 1.5px solid #D8D0C6;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .fin-tarea b {
        display: block;
        font-weight: 600;
    }

    .fin-tarea small {
        display: block;
        color: var(--ink2);
        font-size: 12px;
    }

    .fin-tarea.hecha {
        color: var(--ink3);
        text-decoration: line-through;
    }

        .fin-tarea.hecha > span {
            background: var(--ink);
            border-color: var(--ink);
        }

.fin-prueba {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line2);
    font-size: 12px;
    color: var(--ink2);
}

@media (max-width: 1000px) {
    .fin {
        flex-direction: column;
    }

    .fin-texto {
        width: auto;
    }

    .fin-icono {
        margin-top: 32px;
    }

    .fin-agenda {
        border-left: 0;
        border-top: 1.5px solid var(--line);
    }
}

@media (max-width: 760px) {
    .fin-texto {
        padding: 24px 20px;
    }

    .fin-h1 {
        font-size: 26px;
    }

    .fin-agenda {
        padding: 20px 16px 28px;
    }

    .fin-cal {
        display: none;
    }

    .fin-lista {
        width: auto;
        border-left: 0;
    }

    .fin-marco {
        min-height: 0;
    }
}

/* ═══════════ Páginas sueltas: contraseña y enlaces ═══════════ */

.ob-mini {
    --accent: var(--acc-ink);
    width: 100%;
    max-width: 460px;
}

    .ob-mini > .ob-logo {
        justify-content: center;
        margin-bottom: 24px;
    }

        .ob-mini > .ob-logo img {
            height: 72px;
            border-radius: 16px;
        }

.ob-mini-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 32px 32px 28px;
}

.ob-mini-icono {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

    .ob-mini-icono svg {
        width: 24px;
        height: 24px;
        stroke: var(--acc-ink);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ob-mini-icono.ok {
        background: #E6F2EA;
    }

        .ob-mini-icono.ok svg {
            stroke: #2E7D4F;
        }

    .ob-mini-icono.mal {
        background: #FBECEA;
    }

        .ob-mini-icono.mal svg {
            stroke: var(--error);
        }

.ob-mini .ob-h1 {
    font-size: 24px;
}

.ob-mini .ob-sub {
    margin: 8px 0 22px;
}

.ob-mini .ob-input {
    max-width: none;
}

.ob-input--fijo {
    background: var(--panel);
    color: var(--ink2);
    border-color: var(--line);
}

    .ob-input--fijo:focus {
        box-shadow: none;
        border-color: var(--line);
    }

.ob-mini form {
    margin: 0;
}

.ob-mini .ob-btn--pri {
    width: 100%;
    margin-top: 4px;
}

.ob-mini-pie {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line2);
    font-size: 13px;
    color: var(--ink2);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .ob-mini-pie a {
        color: var(--ink);
        font-weight: 600;
    }

.ob-mini .ob-banner {
    margin: 0 0 18px;
}

.ob-mini-ok {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #E6F2EA;
    color: #24603D;
    font-size: 14px;
}

.ob-clave {
    position: relative;
}

    .ob-clave .ob-input {
        padding-right: 48px;
    }

.ob-ojo {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    color: var(--ink3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ob-ojo svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

.cp-strength-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}

.cp-strength-bars {
    display: flex;
    gap: 4px;
}

.cp-strength-bar {
    flex: 1;
    height: 4px;
    border-radius: 3px;
    background: var(--campo);
    transition: background .3s;
}

    .cp-strength-bar.s-weak {
        background: #D9665F;
    }

    .cp-strength-bar.s-fair {
        background: #D9B04C;
    }

    .cp-strength-bar.s-good {
        background: #6FAF7E;
    }

    .cp-strength-bar.s-strong {
        background: #2E7D4F;
    }

.cp-strength-lbl {
    font-size: 12px;
    color: var(--ink2);
}

    .cp-strength-lbl.weak {
        color: var(--error);
    }

    .cp-strength-lbl.fair {
        color: #7A6010;
    }

    .cp-strength-lbl.good, .cp-strength-lbl.strong {
        color: #24603D;
    }

.cp-reqs {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.cp-req {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink2);
}

    .cp-req.met {
        color: #24603D;
    }

.cp-req-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-req.met .cp-req-dot {
    background: #2E7D4F;
    border-color: #2E7D4F;
}

.cp-req-dot svg {
    width: 8px;
    height: 8px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0;
}

.cp-req.met .cp-req-dot svg {
    opacity: 1;
}

.cp-match-error {
    font-size: 13px;
    color: var(--error);
}

@media (max-width: 760px) {
    .ob-mini-card {
        padding: 26px 20px 22px;
        border-radius: 18px;
    }
}

@media (max-width: 760px) {
    .ob.ob--mini {
        padding: 24px 16px;
        align-items: center;
    }
}
