.fp-page {
    --fp-guinda: #5f001f;
    --fp-guinda-dark: #3f0014;
    --fp-dorado: #b78a2f;
    --fp-dorado-soft: #d7bb73;
    --fp-text: #252525;
    --fp-muted: #666666;
    --fp-bg: #f7f4ee;
    --fp-card: #ffffff;
    --fp-border: rgba(183, 138, 47, 0.28);
    font-family: inherit;
    color: var(--fp-text);
    background: #fff;
    overflow: hidden;
}

.fp-page * {
    box-sizing: border-box;
}

.fp-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.fp-hero {
    position: relative;
    isolation: isolate;
    padding: 76px 0 68px;
    background:
        radial-gradient(circle at 86% 18%, rgba(183, 138, 47, 0.16), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #ffffff 48%, var(--fp-bg) 100%);
}

.fp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.24;
    background-image:
        linear-gradient(120deg, transparent 0 62%, rgba(95, 0, 31, 0.08) 62% 72%, transparent 72%),
        repeating-linear-gradient(90deg, rgba(95, 0, 31, 0.08) 0 1px, transparent 1px 52px);
}

.fp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 34px;
    align-items: center;
}

.fp-logo {
    display: block;
    width: min(320px, 72vw);
    height: auto;
    margin: 0 0 34px;
}

.fp-kicker {
    margin: 0 0 12px;
    color: var(--fp-dorado);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.fp-hero h1,
.fp-section h2,
.fp-hero__panel h2 {
    color: var(--fp-guinda);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0;
}

.fp-hero h1 {
    max-width: 820px;
    font-size: clamp(2.35rem, 6vw, 5rem);
}

.fp-hero__text {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--fp-muted);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
}

.fp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--fp-border);
    color: var(--fp-guinda);
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fp-btn:hover,
.fp-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(63, 0, 20, 0.14);
}

.fp-btn--primary {
    color: #fff;
    background: var(--fp-guinda);
    border-color: var(--fp-guinda);
}

.fp-btn--secondary {
    color: var(--fp-guinda);
    background: #fff;
}

.fp-btn--ghost {
    color: var(--fp-guinda);
    background: rgba(255, 255, 255, 0.64);
}

.fp-hero__panel {
    position: relative;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--fp-border);
    background:
        linear-gradient(145deg, rgba(95, 0, 31, 0.96), rgba(63, 0, 20, 0.95)),
        #5f001f;
    color: #fff;
    box-shadow: 0 24px 60px rgba(63, 0, 20, 0.22);
    overflow: hidden;
}

.fp-hero__panel::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -54px;
    width: 190px;
    height: 190px;
    border: 26px solid rgba(215, 187, 115, 0.22);
    border-radius: 999px;
}

.fp-panel__label {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--fp-dorado-soft);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

.fp-hero__panel h2 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.fp-hero__panel p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
    margin: 18px 0 0;
    line-height: 1.7;
}

.fp-section {
    padding: 72px 0;
}

.fp-section--quick,
.fp-memory {
    background: #fff;
}

.fp-section__head {
    max-width: 760px;
    margin-bottom: 32px;
}

.fp-section__head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.fp-section h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.fp-section__head p:not(.fp-kicker) {
    margin: 14px 0 0;
    color: var(--fp-muted);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .fp-hero__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fp-container {
        width: min(100% - 24px, 1180px);
    }

    .fp-hero {
        padding: 48px 0;
    }

    .fp-section {
        padding: 52px 0;
    }

    .fp-actions {
        flex-direction: column;
    }

    .fp-btn {
        width: 100%;
    }
}


/* Hero editorial renovado */


.fp-logo--hero {
    width: min(260px, 62vw);
    margin-bottom: 36px;
    filter: drop-shadow(0 18px 28px rgba(63, 0, 20, 0.08));
}




.fp-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Montserrat", sans-serif;
}

.fp-pdf-modal.is-open {
    display: flex;
}

.fp-pdf-modal-open {
    overflow: hidden;
}

.fp-pdf-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 24, 0.68);
    backdrop-filter: blur(8px);
}

.fp-pdf-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(1180px, calc(100vw - 36px));
    height: min(86vh, 900px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(30, 12, 26, 0.34);
}

.fp-pdf-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(111, 0, 46, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #fff7fa 100%);
}

.fp-pdf-modal__header span {
    display: block;
    margin-bottom: 5px;
    color: #0b1f3a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fp-pdf-modal__header h2 {
    margin: 0;
    color: #2a1420;
    font-size: clamp(1.15rem, 2vw, 1.85rem);
    line-height: 1.1;
}

.fp-pdf-modal__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #6f002e;
    color: #ffffff;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-pdf-modal__close:hover,
.fp-pdf-modal__close:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(111, 0, 46, 0.22);
}

.fp-pdf-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    background: #f5f0f3;
}

.fp-pdf-modal__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.fp-pdf-modal__viewer {
    display: none;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 14px 10px 22px;
    background: #f5f0f3;
    -webkit-overflow-scrolling: touch;
}

.fp-pdf-modal__body.is-pdfjs .fp-pdf-modal__frame {
    display: none;
}

.fp-pdf-modal__body.is-pdfjs .fp-pdf-modal__viewer {
    display: block;
}

.fp-pdf-modal__page {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(30, 12, 26, 0.16);
    overflow: hidden;
}

.fp-pdf-modal__page canvas {
    display: block;
    max-width: 100%;
    height: auto !important;
}

.fp-pdf-modal__message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 28px;
    color: #5f4c57;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.fp-pdf-modal__message.is-error {
    color: #6f002e;
}

.fp-pdf-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-top: 1px solid rgba(111, 0, 46, 0.12);
    background: #ffffff;
}

.fp-pdf-modal__footer p {
    margin: 0;
    color: #5f4c57;
    font-size: 0.92rem;
    line-height: 1.4;
}

.fp-pdf-modal__open {
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    .fp-pdf-modal {
        padding: 10px;
    }

    .fp-pdf-modal__dialog {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        border-radius: 20px;
    }

    .fp-pdf-modal__header {
        padding: 16px;
    }

    .fp-pdf-modal__close {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .fp-pdf-modal__footer {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .fp-pdf-modal__footer .fp-btn {
        width: 100%;
    }
}



/* ==================================================
   Dashboard operativo del Centro de Datos
================================================== */
.fp-dashboard {
    background: #f5f7fa;
    min-height: 100vh;
    padding: 36px 0 56px;
}

.fp-dashboard .fp-container {
    max-width: 1240px;
}

.fp-dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(28px, 5vw, 56px);
    margin-bottom: 28px;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 58%, rgba(72, 90, 115, 0.18) 100%),
        radial-gradient(circle at top right, rgba(72, 90, 115, 0.30), transparent 38%);
    border: 1px solid rgba(72, 90, 115, 0.14);
    box-shadow: 0 18px 46px rgba(13, 42, 78, 0.10);
}

.fp-dashboard-hero h1 {
    max-width: none;
    margin: 6px 0 10px;
    color: #0d2a4e;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.fp-dashboard-hero p {
    max-width: none;
    margin: 0;
    color: #536d95;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.32;
}

.fp-dashboard-hero--compact {
    padding: clamp(24px, 4vw, 42px);
}

.fp-dashboard-hero--compact h1 {
    font-size: clamp(32px, 4vw, 54px);
}

.fp-dashboard-topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}


.fp-dashboard-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    margin-bottom: 26px;
}

.fp-dashboard-tools-grid > .fp-dashboard-card {
    min-width: 0;
    margin-bottom: 0;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources {
    grid-column: auto;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle {
    min-height: 100%;
}

@media (max-width: 1100px) {
    .fp-dashboard-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fp-dashboard-tools-grid {
        grid-template-columns: 1fr;
    }
}

.fp-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fp-dashboard-grid--sections {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp-dashboard-card {
    position: relative;
    display: flex;
    min-height: 290px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.90)),
        linear-gradient(135deg, rgba(72, 90, 115, 0.13), transparent 46%);
    border: 1px solid rgba(72, 90, 115, 0.15);
    box-shadow: 0 16px 34px rgba(13, 42, 78, 0.08);
}

.fp-dashboard-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -65px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(72, 90, 115, 0.08);
    pointer-events: none;
}

.fp-dashboard-card.is-active {
    border-color: rgba(13, 42, 78, 0.22);
}

.fp-dashboard-card.is-disabled {
    opacity: 0.82;
}

.fp-dashboard-card__meta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #485a73;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fp-dashboard-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(72, 90, 115, 0.10);
    color: #0d2a4e;
    font-size: 12px;
}

.fp-dashboard-card h2 {
    margin: 4px 0 0;
    color: #0d2a4e;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.fp-dashboard-card p {
    margin: 0;
    color: #5f6f82;
    line-height: 1.5;
}

.fp-dashboard-card__subtitle {
    color: #536d95 !important;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2 !important;
}

.fp-dashboard-card .fp-btn,
.fp-dashboard-card__soon {
    margin-top: auto;
}

.fp-dashboard-card__soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(72, 90, 115, 0.10);
    color: #485a73;
    font-size: 14px;
    font-weight: 800;
}

.fp-dashboard-shortcode {
    display: inline-flex;
    max-width: 100%;
    padding: 7px 10px;
    overflow-wrap: anywhere;
    border-radius: 10px;
    background: rgba(13, 42, 78, 0.07);
    color: #0d2a4e;
    font-weight: 800;
}

.fp-dashboard-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    margin-top: 26px;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(72, 90, 115, 0.16);
    box-shadow: 0 16px 34px rgba(13, 42, 78, 0.08);
}

.fp-dashboard-detail h2 {
    margin: 6px 0 10px;
    color: #0d2a4e;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.fp-dashboard-detail p {
    margin: 0 0 10px;
    color: #5f6f82;
}

.fp-dashboard-detail__panel {
    padding: 18px;
    border-radius: 18px;
    background: #f5f7fa;
}

.fp-dashboard-detail code {
    padding: 3px 6px;
    border-radius: 7px;
    background: rgba(13, 42, 78, 0.08);
    color: #0d2a4e;
    font-weight: 800;
}

.fp-dashboard-muted {
    color: #7c8795 !important;
    font-size: 14px;
}

.fp-dashboard-denied {
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(72, 90, 115, 0.16);
}

.fp-dashboard-denied h2 {
    margin-top: 0;
    color: #0d2a4e;
}

@media (max-width: 1024px) {
    .fp-dashboard-grid,
    .fp-dashboard-grid--sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-dashboard-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .fp-dashboard {
        padding: 20px 0 36px;
    }

    .fp-dashboard-grid,
    .fp-dashboard-grid--sections {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-card {
        min-height: auto;
    }
}

/* ==================================================
   Dashboard operativo: ancho completo y tarjetas colapsables
================================================== */
.fp-dashboard {
    padding: 20px 0 56px;
}

.fp-dashboard .fp-container {
    width: calc(100% - 40px);
    max-width: none;
    margin-right: 20px;
    margin-left: 20px;
}

.fp-dashboard-hero {
    width: 100%;
}

.fp-dashboard-grid,
.fp-dashboard-grid--sections {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.fp-dashboard-card {
    min-height: 0;
    gap: 0;
    padding: 0;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fp-dashboard-card.is-open {
    grid-column: 1 / -1;
    box-shadow: 0 20px 48px rgba(13, 42, 78, 0.12);
}

.fp-dashboard-card__toggle {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.fp-dashboard-card__toggle:focus-visible {
    outline: 3px solid rgba(13, 42, 78, 0.26);
    outline-offset: -6px;
    border-radius: 22px;
}

.fp-dashboard-card__head {
    display: grid;
    min-width: 0;
    gap: 10px;
}

.fp-dashboard-card__title {
    display: block;
    margin: 4px 0 0;
    color: #0d2a4e;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.fp-dashboard-card__indicator {
    display: inline-flex;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(72, 90, 115, 0.10);
    color: #0d2a4e;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.fp-dashboard-card.is-open .fp-dashboard-card__indicator {
    transform: rotate(45deg);
    background: rgba(13, 42, 78, 0.12);
}

.fp-dashboard-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 980px;
    padding: 0 24px 24px;
}

.fp-dashboard-card__body[hidden] {
    display: none !important;
}

.fp-dashboard-card__body .fp-btn,
.fp-dashboard-card__body .fp-dashboard-card__soon {
    justify-self: start;
    margin-top: 2px;
}

.fp-dashboard-card .fp-btn,
.fp-dashboard-card__soon {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .fp-dashboard-grid,
    .fp-dashboard-grid--sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .fp-dashboard .fp-container {
        width: calc(100% - 40px);
        margin-right: 20px;
        margin-left: 20px;
    }

    .fp-dashboard-grid,
    .fp-dashboard-grid--sections {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-card.is-open {
        grid-column: auto;
    }
}


/* ==================================================
   Dashboard operativo: contenido amplio y tonos suaves
================================================== */
.fp-dashboard {
    background: #f6f8fb;
}

.fp-dashboard .fp-container {
    width: calc(100% - 40px);
    max-width: none !important;
    margin-right: 20px;
    margin-left: 20px;
}

.fp-dashboard-grid,
.fp-dashboard-grid--sections {
    width: 100%;
}

.fp-dashboard-card {
    background: #ffffff;
    border: 1px solid #dfe6ef;
    box-shadow: 0 10px 28px rgba(15, 32, 56, 0.06);
}

.fp-dashboard-card::after {
    background: rgba(83, 109, 149, 0.05);
}

.fp-dashboard-card.is-open {
    grid-column: 1 / -1;
    background: #ffffff;
    border-color: #d7e0ec;
    box-shadow: 0 14px 34px rgba(15, 32, 56, 0.08);
}

.fp-dashboard-card.is-open .fp-dashboard-card__toggle {
    background: linear-gradient(90deg, #f8fafc 0%, #eef3f8 100%);
    border-bottom: 1px solid #dfe6ef;
}

.fp-dashboard-card__toggle {
    background: #ffffff;
}

.fp-dashboard-card__body {
    width: 100%;
    max-width: none !important;
    padding: 20px 24px 24px;
    background: #ffffff;
}

.fp-dashboard-card__body > * {
    max-width: none;
}

.fp-dashboard-card__body p {
    width: 100%;
    max-width: none;
}

.fp-dashboard-card__body img,
.fp-dashboard-card__body picture,
.fp-dashboard-card__body figure {
    max-width: 100%;
}

.fp-dashboard-card__body .fp-page,
.fp-dashboard-card__body .fp-section,
.fp-dashboard-card__body .fp-container,
.fp-dashboard-card__body [class*="fp-"][class*="container"] {
    width: 100%;
    max-width: none !important;
    margin-right: 0;
    margin-left: 0;
}

.fp-dashboard-card__indicator {
    background: #edf2f7;
    color: #0d2a4e;
}

.fp-dashboard-card.is-open .fp-dashboard-card__indicator {
    background: #e7eef7;
}

.fp-dashboard-card__soon,
.fp-dashboard-card__meta strong {
    background: #edf2f7;
    color: #0d2a4e;
}

.fp-dashboard-detail {
    width: 100%;
    max-width: none;
}


/* ==================================================
   Dashboard operativo: breakout a ancho real de pantalla
================================================== */
.fp-page.fp-dashboard {
    box-sizing: border-box;
    width: calc(100vw - 40px);
    max-width: none !important;
    margin-right: calc(50% - 50vw + 20px);
    margin-left: calc(50% - 50vw + 20px);
}

.fp-page.fp-dashboard *,
.fp-page.fp-dashboard *::before,
.fp-page.fp-dashboard *::after {
    box-sizing: border-box;
}

.fp-page.fp-dashboard .fp-container {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.fp-dashboard-hero,
.fp-dashboard-grid,
.fp-dashboard-grid--sections,
.fp-dashboard-card.is-open,
.fp-dashboard-card__body {
    width: 100%;
    max-width: none !important;
}

.fp-dashboard-card__body .fp-site-section,
.fp-dashboard-card__body .fp-site-section > *,
.fp-dashboard-card__body [class*="fp-"][class*="wrap"],
.fp-dashboard-card__body [class*="fp-"][class*="grid"] {
    width: 100%;
    max-width: none !important;
}

@media (max-width: 680px) {
    .fp-page.fp-dashboard {
        width: calc(100vw - 40px);
        margin-right: calc(50% - 50vw + 20px);
        margin-left: calc(50% - 50vw + 20px);
    }
}


/* ==================================================
   Dashboard operativo: encabezado libre y estados suaves
================================================== */
.fp-dashboard-hero h1,
.fp-dashboard-hero p {
    width: 100%;
    max-width: none !important;
}

.fp-dashboard-hero p {
    display: block;
}

.fp-dashboard-card,
.fp-dashboard-card.is-active,
.fp-dashboard-card.is-open,
.fp-dashboard-card:hover,
.fp-dashboard-card.is-active:hover,
.fp-dashboard-card:focus-within {
    background: #ffffff !important;
    color: #0d2a4e;
}

.fp-dashboard-card:hover,
.fp-dashboard-card.is-active:hover {
    border-color: #d7e0ec;
    box-shadow: 0 14px 34px rgba(15, 32, 56, 0.08);
    transform: none;
}

.fp-dashboard-card__toggle,
.fp-dashboard-card__toggle:hover,
.fp-dashboard-card__toggle:focus,
.fp-dashboard-card.is-active .fp-dashboard-card__toggle,
.fp-dashboard-card.is-active:hover .fp-dashboard-card__toggle {
    background: #ffffff !important;
    color: #0d2a4e !important;
}

.fp-dashboard-card.is-open .fp-dashboard-card__toggle,
.fp-dashboard-card.is-open .fp-dashboard-card__toggle:hover,
.fp-dashboard-card.is-open .fp-dashboard-card__toggle:focus {
    background: linear-gradient(90deg, #f8fafc 0%, #f2f6fb 100%) !important;
    border-bottom: 1px solid #dfe6ef;
}

.fp-dashboard-card__toggle:hover .fp-dashboard-card__indicator,
.fp-dashboard-card.is-active:hover .fp-dashboard-card__indicator {
    background: #edf2f7;
    color: #0d2a4e;
}

.fp-dashboard-card__title,
.fp-dashboard-card__subtitle,
.fp-dashboard-card__meta,
.fp-dashboard-card__meta strong {
    color: inherit;
}

.fp-dashboard-card__subtitle {
    color: #536d95 !important;
}

/* ==================================================
   Dashboard operativo: ficha de sección
================================================== */
.fp-dashboard-section-panel {
    display: grid;
    gap: 20px;
    width: 100%;
}

.fp-dashboard-section-panel__intro {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e3eaf3;
}

.fp-dashboard-section-panel__intro p {
    margin: 6px 0 0;
    color: #596d88;
    font-size: 16px;
    line-height: 1.5;
}

.fp-dashboard-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf3f8;
    color: #0d2a4e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fp-dashboard-tools-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.fp-dashboard-tool {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e0e8f2;
    box-shadow: 0 8px 24px rgba(15, 32, 56, 0.045);
}

.fp-dashboard-tool__label {
    color: #485a73;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-tool code,
.fp-dashboard-preview code {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
}

.fp-dashboard-tool p {
    margin: 0;
    color: #6b7a8e;
    font-size: 14px;
    line-height: 1.45;
}

.fp-dashboard-copy-row {
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 10px;
}

.fp-dashboard-copy-row .fp-dashboard-shortcode {
    flex: 1 1 auto;
    align-items: center;
}

.fp-dashboard-copy-btn {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid #d8e2ef;
    border-radius: 12px;
    background: #f7fafc;
    color: #0d2a4e;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.fp-dashboard-copy-btn:hover,
.fp-dashboard-copy-btn:focus {
    background: #edf3f8;
    border-color: #c8d5e5;
}

.fp-dashboard-actions {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e3eaf3;
}

.fp-dashboard-actions .fp-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.1);
}

.fp-dashboard-preview {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dfe8f3;
    box-shadow: 0 10px 26px rgba(15, 32, 56, 0.055);
}

.fp-dashboard-preview summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: #0d2a4e;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    background: #f8fafc;
}

.fp-dashboard-preview summary::-webkit-details-marker {
    display: none;
}

.fp-dashboard-preview summary::after {
    content: "+";
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #edf3f8;
    color: #0d2a4e;
    font-size: 20px;
    line-height: 1;
}

.fp-dashboard-preview[open] summary::after {
    content: "×";
}

.fp-dashboard-preview__frame {
    width: 100%;
    padding: 0;
    background: #ffffff;
}

.fp-dashboard-preview__iframe {
    display: block;
    width: 100%;
    min-height: 560px;
    height: 720px;
    border: 0;
    background: #ffffff;
    overflow: hidden;
}

@media (max-width: 980px) {
    .fp-dashboard-tools-grid {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-section-panel__intro {
        flex-direction: column;
    }

    .fp-dashboard-copy-row {
        flex-direction: column;
    }
}

/* ==================================================
   Dashboard operativo: shortcodes separados
================================================== */
.fp-dashboard-card--shortcodes {
    grid-column: 1 / -1;
    margin-bottom: 28px;
}

.fp-dashboard-card--shortcodes .fp-dashboard-card__toggle {
    padding: 34px 28px;
}

.fp-dashboard-card--shortcodes.is-open .fp-dashboard-card__body {
    padding: 0 28px 34px;
}

.fp-dashboard-shortcodes-library {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.fp-dashboard-shortcode-item {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e0e8f2;
}

.fp-dashboard-shortcode-item > div {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.fp-dashboard-shortcode-item .fp-dashboard-shortcode {
    width: 100%;
    white-space: normal;
}

.fp-dashboard-tools-grid--files {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .fp-dashboard-shortcodes-library,
    .fp-dashboard-tools-grid--files {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-shortcode-item {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ==================================================
   Dashboard operativo: propuestas por archivo
================================================== */
.fp-dashboard-tool--global-css {
    background: #fbfcfe;
}

.fp-dashboard-edit-box,
.fp-dashboard-proposal-state,
.fp-dashboard-notice {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #dfe8f3;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 32, 56, 0.045);
}

.fp-dashboard-edit-box {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.fp-dashboard-edit-box__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.fp-dashboard-edit-box__head h3 {
    margin: 4px 0 6px;
    color: #0d2a4e;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.1;
}

.fp-dashboard-edit-box__head p,
.fp-dashboard-proposal-state p {
    margin: 0;
    color: #596d88;
    font-size: 15px;
    line-height: 1.5;
}

.fp-dashboard-upload-form {
    display: grid;
    gap: 16px;
    width: 100%;
}

.fp-dashboard-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.fp-dashboard-upload-grid label {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e3eaf3;
}

.fp-dashboard-upload-grid label span {
    color: #485a73;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-upload-grid input[type="file"] {
    width: 100%;
    min-width: 0;
    color: #536d95;
    font-size: 13px;
}

.fp-dashboard-actions--proposal {
    padding: 0;
    border: 0;
    background: transparent;
}

.fp-dashboard-proposal-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: #f9fbfd;
}

.fp-dashboard-proposal-state strong {
    display: inline-flex;
    margin: 0 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #edf3f8;
    color: #0d2a4e;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.fp-dashboard-proposal-state__forms {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.fp-dashboard-proposal-state__forms form {
    margin: 0;
}

.fp-dashboard-preview--proposal {
    border-color: #cfdcea;
}

.fp-dashboard-preview--proposal summary {
    background: #f2f6fb;
}

.fp-dashboard-notice {
    padding: 14px 16px;
    font-weight: 800;
}

.fp-dashboard-notice.is-success {
    border-color: #cde7d6;
    background: #f2fbf5;
    color: #1f6b3a;
}

.fp-dashboard-notice.is-error {
    border-color: #f1c5c5;
    background: #fff6f6;
    color: #3f4854;
}

@media (max-width: 980px) {
    .fp-dashboard-edit-box__head,
    .fp-dashboard-proposal-state {
        align-items: stretch;
        flex-direction: column;
    }

    .fp-dashboard-upload-grid {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-proposal-state__forms {
        justify-content: flex-start;
    }
}
.fp-dashboard-tools-grid--files {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
    .fp-dashboard-tools-grid--files {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   Dashboard operativo: propuesta ZIP y hover suave
================================================== */
.fp-dashboard-upload-zip {
    display: grid;
    gap: 10px;
    width: 100%;
    padding: 18px;
    border: 1px solid #dfe8f2;
    border-radius: 18px;
    background: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
}

.fp-dashboard-upload-zip label {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.fp-dashboard-upload-zip label span {
    color: #485a73;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-upload-zip input[type="file"] {
    width: 100%;
    min-width: 0;
    color: #536d95;
    font-size: 13px;
}

.fp-dashboard-upload-zip code {
    color: #0b1f3a;
    background: rgba(112, 0, 31, 0.06);
    border-radius: 8px;
    padding: 2px 6px;
}

.fp-dashboard .fp-btn:hover,
.fp-dashboard .fp-btn:focus,
.fp-dashboard-actions--proposal .fp-btn:hover,
.fp-dashboard-actions--proposal .fp-btn:focus {
    background: #fff8f2 !important;
    border-color: #dfcfb4 !important;
    color: #0b1f3a !important;
    box-shadow: 0 10px 22px rgba(112, 0, 31, 0.10) !important;
}

.fp-dashboard-actions--proposal .fp-btn {
    background: #ffffff;
    border-color: #dfcfb4;
    color: #0b1f3a;
}

@media (max-width: 860px) {
    .fp-dashboard-upload-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   Dashboard operativo: biblioteca de recursos
================================================== */
.fp-dashboard-card--resources {
    grid-column: 1 / -1;
    margin-bottom: 28px;
}

.fp-dashboard-card--resources .fp-dashboard-card__toggle {
    padding: 34px 28px;
}

.fp-dashboard-card--resources.is-open .fp-dashboard-card__body {
    padding: 0 28px 34px;
}

.fp-dashboard-resources {
    display: grid;
    gap: 22px;
    width: 100%;
}

.fp-dashboard-resource-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 18px;
    width: 100%;
}

.fp-dashboard-resource-upload,
.fp-dashboard-resource-map-box,
.fp-dashboard-resource-help,
.fp-dashboard-empty-state {
    width: 100%;
    border: 1px solid #dfe8f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 32, 56, 0.04);
}

.fp-dashboard-resource-upload {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.3fr) auto;
    align-items: end;
    gap: 14px;
    padding: 18px;
}

.fp-dashboard-resource-upload label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.fp-dashboard-resource-upload label span,
.fp-dashboard-resource-paths span {
    color: #485a73;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-resource-upload select,
.fp-dashboard-resource-upload input[type="file"] {
    width: 100%;
    min-width: 0;
    border: 1px solid #dfe8f2;
    border-radius: 12px;
    background: #f8fafc;
    color: #293a52;
    font-size: 14px;
    padding: 10px 12px;
}

.fp-dashboard-resource-map-box {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.fp-dashboard-resource-map-box p,
.fp-dashboard-resource-help,
.fp-dashboard-empty-state {
    margin: 0;
    color: #596d88;
    font-size: 14px;
    line-height: 1.5;
}

.fp-dashboard-resource-help,
.fp-dashboard-empty-state {
    padding: 16px 18px;
}

.fp-dashboard-resource-help code {
    display: block;
    width: 100%;
    margin-top: 8px;
    white-space: normal;
    word-break: break-word;
}

.fp-dashboard-resources-list {
    display: grid;
    gap: 14px;
    width: 100%;
}

.fp-dashboard-resource-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    padding: 16px;
    border: 1px solid #dfe8f2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 32, 56, 0.04);
}

.fp-dashboard-resource-item__preview {
    display: grid;
    place-items: center;
    width: 120px;
    height: 96px;
    overflow: hidden;
    border-radius: 16px;
    background: #f6f9fc;
    border: 1px solid #e2eaf4;
}

.fp-dashboard-resource-item__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-dashboard-resource-item__preview span {
    color: #0b1f3a;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.fp-dashboard-resource-item__content {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.fp-dashboard-resource-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.fp-dashboard-resource-item__head strong {
    display: block;
    color: #0d2a4e;
    font-size: 17px;
    line-height: 1.2;
    word-break: break-word;
}

.fp-dashboard-resource-item__head span {
    display: block;
    margin-top: 4px;
    color: #667891;
    font-size: 13px;
}

.fp-dashboard-resource-item__head form {
    margin: 0;
}

.fp-dashboard-delete-btn {
    border: 1px solid #edd7d7;
    border-radius: 999px;
    background: #fff8f8;
    color: #3f4854;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
}

.fp-dashboard-delete-btn:hover,
.fp-dashboard-delete-btn:focus {
    background: #fff1f1;
    border-color: #e8bebe;
}

.fp-dashboard-resource-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.fp-dashboard-resource-paths > div {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    background: #f9fbfd;
}

.fp-dashboard-resource-paths code {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

.fp-dashboard-resource-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 980px) {
    .fp-dashboard-resource-actions,
    .fp-dashboard-resource-upload,
    .fp-dashboard-resource-paths {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-resource-upload {
        align-items: stretch;
    }

    .fp-dashboard-resource-item {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-resource-item__preview {
        width: 100%;
        height: 160px;
    }

    .fp-dashboard-resource-item__head {
        flex-direction: column;
    }
}


/* Dashboard: botones de recursos sin hover gris */
.fp-dashboard-resource-upload .fp-btn,
.fp-dashboard .fp-dashboard-resource-upload .fp-btn,
.fp-dashboard .fp-btn {
    background: #fff8f2;
    border-color: #dfcfb4;
    color: #0b1f3a;
}

.fp-dashboard-resource-upload .fp-btn:hover,
.fp-dashboard-resource-upload .fp-btn:focus,
.fp-dashboard .fp-dashboard-resource-upload .fp-btn:hover,
.fp-dashboard .fp-dashboard-resource-upload .fp-btn:focus,
.fp-dashboard .fp-btn:hover,
.fp-dashboard .fp-btn:focus {
    background: #fff3e8 !important;
    border-color: #d9c6a6 !important;
    color: #0b1f3a !important;
    box-shadow: 0 10px 22px rgba(112, 0, 31, 0.08) !important;
}

/* Dashboard: recursos en vivo */
.fp-dashboard-resource-submit {
    display: grid;
    gap: 10px;
    align-items: end;
}

.fp-dashboard-resource-upload.is-uploading {
    opacity: 0.92;
}

.fp-dashboard-resource-upload .fp-btn[disabled],
.fp-dashboard-resource-upload .fp-btn[disabled]:hover,
.fp-dashboard-resource-upload .fp-btn[disabled]:focus,
.fp-dashboard-delete-btn[disabled],
.fp-dashboard-delete-btn[disabled]:hover,
.fp-dashboard-delete-btn[disabled]:focus {
    cursor: wait;
    opacity: 0.68;
    background: #fff8f2 !important;
    border-color: #dfcfb4 !important;
    color: #0b1f3a !important;
    box-shadow: none !important;
}

.fp-dashboard-upload-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.fp-dashboard-upload-progress[hidden] {
    display: none !important;
}

.fp-dashboard-upload-progress__track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border: 1px solid #e6d7c3;
    border-radius: 999px;
    background: #fff8f2;
}

.fp-dashboard-upload-progress__track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b1f3a 0%, #5b6572 100%);
    transition: width 0.18s ease;
}

.fp-dashboard-upload-progress strong {
    min-width: 42px;
    color: #0b1f3a;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.fp-dashboard-resources-list-wrap {
    width: 100%;
}

/* Recursos: listado compacto, selección múltiple y detalle desplegable */
.fp-dashboard-resource-bulk {
    display: grid;
    gap: 14px;
    width: 100%;
    margin: 0;
}

.fp-dashboard-resource-bulkbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    background: #f8fbff;
}

.fp-dashboard-resource-select-all,
.fp-dashboard-resource-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #0d2a4e;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
}

.fp-dashboard-resource-select-all input,
.fp-dashboard-resource-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #0b1f3a;
}

.fp-dashboard-resource-selection-count {
    color: #596d88;
    font-size: 13px;
    font-weight: 800;
}

.fp-dashboard-delete-btn--bulk {
    margin-left: auto;
}

.fp-dashboard-resource-bulk.is-deleting {
    opacity: 0.82;
}

.fp-dashboard-resources-list {
    gap: 10px;
}

.fp-dashboard-resource-item {
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.fp-dashboard-resource-item.is-selected {
    border-color: #d4b06d;
    box-shadow: 0 10px 24px rgba(112, 0, 31, 0.08);
}

.fp-dashboard-resource-item__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
}

.fp-dashboard-resource-check {
    justify-content: center;
    width: 28px;
    height: 28px;
}

.fp-dashboard-resource-check span {
    display: none;
}

.fp-dashboard-resource-item__toggle {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.fp-dashboard-resource-item__toggle:hover,
.fp-dashboard-resource-item__toggle:focus {
    background: transparent;
    outline: none;
}

.fp-dashboard-resource-item__preview {
    width: 64px;
    height: 52px;
    border-radius: 12px;
}

.fp-dashboard-resource-item__name {
    min-width: 0;
}

.fp-dashboard-resource-item__name strong {
    display: block;
    overflow: hidden;
    color: #0d2a4e;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-dashboard-resource-item__name small {
    display: block;
    margin-top: 3px;
    color: #667891;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.fp-dashboard-resource-item__indicator {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #f1f6fb;
    color: #0d2a4e;
    font-size: 17px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__indicator {
    transform: rotate(45deg);
    background: #fff8f2;
    color: #0b1f3a;
}

.fp-dashboard-resource-item__content {
    padding: 0 14px 14px 54px;
    border-top: 1px solid #edf2f7;
}

.fp-dashboard-resource-delete-hint {
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    color: #667891;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

.fp-dashboard-delete-btn:hover,
.fp-dashboard-delete-btn:focus,
.fp-dashboard-delete-btn--bulk:hover,
.fp-dashboard-delete-btn--bulk:focus {
    background: #fff8f2;
    border-color: #dfcfb4;
    color: #0b1f3a;
    box-shadow: 0 8px 18px rgba(112, 0, 31, 0.08);
}

@media (max-width: 720px) {
    .fp-dashboard-resource-bulkbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .fp-dashboard-delete-btn--bulk {
        margin-left: 0;
    }

    .fp-dashboard-resource-item__summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .fp-dashboard-resource-item__toggle {
        grid-template-columns: 52px minmax(0, 1fr) auto;
    }

    .fp-dashboard-resource-item__preview {
        width: 52px;
        height: 46px;
    }

    .fp-dashboard-resource-item__content {
        padding-left: 14px;
    }
}


/* Recursos: vista compacta real cerrada por defecto */
.fp-dashboard-resource-item__content[hidden] {
    display: none !important;
}

.fp-dashboard-resource-item:not(.is-open) .fp-dashboard-resource-item__content {
    display: none !important;
}

.fp-dashboard-resource-item:not(.is-open) {
    min-height: 74px;
}

.fp-dashboard-resource-item:not(.is-open) .fp-dashboard-resource-item__summary {
    border-bottom: 0 !important;
}

.fp-dashboard-resource-item:not(.is-open) .fp-dashboard-resource-item__toggle {
    min-height: 54px;
}

.fp-dashboard-resource-item:not(.is-open) .fp-dashboard-resource-item__name small {
    display: none !important;
}

.fp-dashboard-resource-item__toggle:hover .fp-dashboard-resource-item__indicator,
.fp-dashboard-resource-item__toggle:focus .fp-dashboard-resource-item__indicator {
    background: #fff8f2;
    color: #0b1f3a;
}


/* Recursos: grid flexible horizontal para biblioteca */
.fp-dashboard-resources-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px !important;
    align-items: stretch;
    width: 100%;
}

.fp-dashboard-resource-item {
    display: block !important;
    min-width: 0;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #dfe8f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 32, 56, 0.04);
}

.fp-dashboard-resource-item.is-open {
    grid-column: 1 / -1;
}

.fp-dashboard-resource-item__summary {
    position: relative;
    display: block !important;
    width: 100%;
    padding: 12px !important;
}

.fp-dashboard-resource-check {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    width: 24px !important;
    height: 24px !important;
    padding: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 10px rgba(13, 42, 78, 0.08);
}

.fp-dashboard-resource-check input {
    width: 16px !important;
    height: 16px !important;
}

.fp-dashboard-resource-item__toggle {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100%;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: center;
}

.fp-dashboard-resource-item__preview {
    width: 100% !important;
    height: 118px !important;
    border-radius: 14px !important;
    background: #fbfcfe;
}

.fp-dashboard-resource-item__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 8px;
}

.fp-dashboard-resource-item__preview span {
    font-size: 13px;
}

.fp-dashboard-resource-item__name {
    display: block;
    min-width: 0;
    padding: 0 6px 2px;
}

.fp-dashboard-resource-item__name strong {
    display: -webkit-box !important;
    overflow: hidden;
    color: #0d2a4e;
    font-size: 13px !important;
    line-height: 1.25 !important;
    text-align: center;
    white-space: normal !important;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fp-dashboard-resource-item__name small {
    display: none !important;
}

.fp-dashboard-resource-item__indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 28px !important;
    height: 28px !important;
    background: rgba(241, 246, 251, 0.94);
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__summary {
    border-bottom: 1px solid #edf2f7 !important;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__toggle {
    grid-template-columns: 92px minmax(0, 1fr) auto !important;
    align-items: center;
    text-align: left;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__preview {
    width: 92px !important;
    height: 74px !important;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__name {
    padding: 0;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__name strong {
    display: block !important;
    font-size: 16px !important;
    text-align: left;
    white-space: normal !important;
    -webkit-line-clamp: unset;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__name small {
    display: block !important;
    text-align: left;
}

.fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__content {
    padding: 16px !important;
}

@media (max-width: 720px) {
    .fp-dashboard-resources-list {
        grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
        gap: 12px !important;
    }

    .fp-dashboard-resource-item__preview {
        height: 104px !important;
    }

    .fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__toggle {
        grid-template-columns: 72px minmax(0, 1fr) auto !important;
    }

    .fp-dashboard-resource-item.is-open .fp-dashboard-resource-item__preview {
        width: 72px !important;
        height: 58px !important;
    }
}

/* ==================================================
   Dashboard · Gestor de páginas y avance
================================================== */
.fp-dashboard-card--manager {
    grid-column: 1 / -1;
}

.fp-dashboard-manager-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 22px;
    align-items: start;
    margin-bottom: 26px;
}

.fp-dashboard-manager-create {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(72, 90, 115, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
}

.fp-dashboard-manager-create label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.fp-dashboard-manager-create label span,
.fp-dashboard-progress-item .fp-dashboard-tool__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #485a73;
}

.fp-dashboard-manager-create input,
.fp-dashboard-manager-create select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(72, 90, 115, 0.22);
    border-radius: 12px;
    padding: 10px 12px;
    background: #ffffff;
    color: #0b2d57;
    font: inherit;
}

.fp-dashboard-progress-groups {
    display: grid;
    gap: 24px;
}

.fp-dashboard-progress-group {
    display: grid;
    gap: 12px;
}

.fp-dashboard-progress-group h4 {
    margin: 0;
    font-size: 1rem;
    color: #0b1f3a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fp-dashboard-progress-list {
    display: grid;
    gap: 12px;
}

.fp-dashboard-progress-item {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(72, 90, 115, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(11, 45, 87, 0.05);
}

.fp-dashboard-progress-item__main {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 280px) auto;
    gap: 16px;
    align-items: center;
}

.fp-dashboard-progress-item__main strong {
    display: block;
    font-size: 1.08rem;
    color: #0b2d57;
    margin: 4px 0;
}

.fp-dashboard-progress-item__main p {
    margin: 0;
    color: #485a73;
}

.fp-dashboard-progress-meter {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(72, 90, 115, 0.13);
}

.fp-dashboard-progress-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b1f3a, #5b6572);
}

.fp-dashboard-progress-percent {
    min-width: 54px;
    font-weight: 800;
    color: #0b1f3a;
    text-align: right;
}

.fp-dashboard-progress-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fp-dashboard-progress-checks span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.fp-dashboard-progress-checks .is-done {
    color: #0b5c3b;
    background: rgba(0, 133, 62, 0.10);
}

.fp-dashboard-progress-checks .is-pending {
    color: #6b7280;
    background: rgba(72, 90, 115, 0.10);
}

.fp-dashboard-progress-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fp-dashboard-progress-actions form {
    margin: 0;
}

.fp-dashboard-manager-create.is-creating,
.fp-dashboard-progress-actions form.is-creating {
    opacity: 0.72;
    pointer-events: none;
}

@media (max-width: 900px) {
    .fp-dashboard-manager-intro,
    .fp-dashboard-progress-item__main {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-progress-percent {
        text-align: left;
    }
}

/* ==================================================
   Centro de Datos · Análisis del sitio por sección
================================================== */
.fp-dashboard-analysis-import,
.fp-dashboard-analysis-box {
    width: 100%;
    border: 1px solid rgba(72, 90, 115, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 30px rgba(31, 49, 73, 0.08);
}

.fp-dashboard-analysis-import {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 22px;
    align-items: start;
    padding: 24px;
    margin: 20px 0 26px;
}

.fp-dashboard-analysis-import h3,
.fp-dashboard-analysis-box h3 {
    margin: 4px 0 8px;
    color: #25364d;
}

.fp-dashboard-analysis-import p,
.fp-dashboard-analysis-import small,
.fp-dashboard-analysis-summary,
.fp-dashboard-analysis-list p,
.fp-dashboard-analysis-action p {
    color: #536176;
}

.fp-dashboard-analysis-import__actions {
    display: grid;
    gap: 14px;
}

.fp-dashboard-analysis-import__actions form {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(72, 90, 115, 0.14);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
}

.fp-dashboard-analysis-import__actions label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: #31445f;
}

.fp-dashboard-analysis-import__actions input[type="file"] {
    width: 100%;
}

.fp-dashboard-progress-analysis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(231, 237, 244, 0.55);
    color: #3c4f6b;
}

.fp-dashboard-progress-analysis strong {
    color: #0b1f3a;
}

.fp-dashboard-progress-analysis span {
    flex: 1 1 320px;
}

.fp-dashboard-analysis-box {
    padding: 22px;
    margin: 18px 0 22px;
}

.fp-dashboard-analysis-box--empty {
    background: rgba(248, 250, 252, 0.72);
}

.fp-dashboard-analysis-box__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.fp-dashboard-analysis-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.08);
    color: #0b1f3a;
    font-size: 1.25rem;
    font-weight: 800;
}

.fp-dashboard-analysis-summary {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.65;
}

.fp-dashboard-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.fp-dashboard-analysis-list {
    padding: 16px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid rgba(72, 90, 115, 0.12);
}

.fp-dashboard-analysis-list strong,
.fp-dashboard-analysis-action strong {
    display: block;
    margin-bottom: 8px;
    color: #25364d;
}

.fp-dashboard-analysis-list ul {
    margin: 0;
    padding-left: 18px;
    color: #536176;
}

.fp-dashboard-analysis-list li + li {
    margin-top: 6px;
}

.fp-dashboard-analysis-action {
    margin-top: 16px;
    padding: 16px;
    border-left: 4px solid rgba(11, 31, 58, 0.45);
    border-radius: 12px;
    background: rgba(11, 31, 58, 0.04);
}

.fp-dashboard-analysis-action p {
    margin: 0;
}

@media (max-width: 860px) {
    .fp-dashboard-analysis-import {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-analysis-box__head {
        flex-direction: column;
    }
}

/* Centro de Datos · carga y descarga del análisis */
.fp-dashboard-analysis-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fp-dashboard-analysis-manual {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px dashed rgba(72, 90, 115, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.66);
}

.fp-dashboard-analysis-import button:disabled,
.fp-dashboard-analysis-import .fp-btn:disabled {
    opacity: 0.72;
    cursor: wait;
}


/* ==================================================
   Dashboard · Tarjetas superiores diferenciadas y separadores
================================================== */
.fp-dashboard-tools-grid {
    position: relative;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(72, 90, 115, 0.18);
}

.fp-dashboard-tools-grid::before {
    content: "Herramientas y biblioteca";
    grid-column: 1 / -1;
    display: block;
    margin: 0 0 -4px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #485a73;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources {
    color: #0b1f3a;
    background:
        radial-gradient(circle at 92% 16%, rgba(11, 31, 58, 0.07), transparent 28%),
        linear-gradient(180deg, #fff9f2 0%, #f3ede5 100%);
    border-color: rgba(11, 31, 58, 0.18);
    box-shadow: 0 16px 32px rgba(79, 59, 35, 0.10);
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager::after,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes::after,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources::after {
    opacity: 0.08;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta span {
    color: #3f4854;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta strong {
    color: #ffffff;
    background: #0b1f3a;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__title {
    color: #0b1f3a;
    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__subtitle {
    color: #6a5960;
    font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__indicator {
    color: #ffffff;
    background: rgba(11, 31, 58, 0.85);
}

.fp-dashboard-tools-grid > .fp-dashboard-card:hover {
    transform: translateY(-1px);
    background:
        radial-gradient(circle at 92% 16%, rgba(11, 31, 58, 0.10), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #f7f0e8 100%);
    border-color: rgba(11, 31, 58, 0.26);
}

.fp-dashboard-tools-grid > .fp-dashboard-card.is-open {
    grid-column: 1 / -1;
}

.fp-dashboard-sections-separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #485a73;
}

.fp-dashboard-sections-separator::before,
.fp-dashboard-sections-separator::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(72, 90, 115, 0.18);
}

.fp-dashboard-sections-separator span {
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* ==================================================
   Dashboard · Botones compactos azul marino
================================================== */
.fp-dashboard .fp-btn,
.fp-dashboard-copy-btn,
.fp-dashboard-delete-btn,
.fp-dashboard-delete-btn--bulk,
.fp-dashboard-analysis-import .fp-btn,
.fp-dashboard-analysis-buttons .fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    border-radius: 12px;
    border: 1px solid #123050;
    background: #123050;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    box-shadow: none;
}

.fp-dashboard .fp-btn:hover,
.fp-dashboard .fp-btn:focus,
.fp-dashboard-copy-btn:hover,
.fp-dashboard-copy-btn:focus,
.fp-dashboard-delete-btn:hover,
.fp-dashboard-delete-btn:focus,
.fp-dashboard-delete-btn--bulk:hover,
.fp-dashboard-delete-btn--bulk:focus,
.fp-dashboard-analysis-import .fp-btn:hover,
.fp-dashboard-analysis-import .fp-btn:focus,
.fp-dashboard-analysis-buttons .fp-btn:hover,
.fp-dashboard-analysis-buttons .fp-btn:focus {
    background: #1a3f66 !important;
    border-color: #1a3f66 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(18, 48, 80, 0.18) !important;
    transform: translateY(-1px);
}

.fp-dashboard .fp-btn--secondary,
.fp-dashboard .fp-btn--ghost {
    background: #123050;
    border-color: #123050;
    color: #ffffff !important;
}

.fp-dashboard .fp-btn[disabled],
.fp-dashboard .fp-btn[disabled]:hover,
.fp-dashboard .fp-btn[disabled]:focus,
.fp-dashboard-copy-btn[disabled],
.fp-dashboard-copy-btn[disabled]:hover,
.fp-dashboard-copy-btn[disabled]:focus,
.fp-dashboard-delete-btn[disabled],
.fp-dashboard-delete-btn[disabled]:hover,
.fp-dashboard-delete-btn[disabled]:focus,
.fp-dashboard-delete-btn--bulk[disabled],
.fp-dashboard-delete-btn--bulk[disabled]:hover,
.fp-dashboard-delete-btn--bulk[disabled]:focus {
    cursor: wait;
    opacity: 0.65;
    background: #123050 !important;
    border-color: #123050 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Dashboard · tamaño específico de títulos en herramientas superiores */
.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__title {
    font-size: 26px !important;
    line-height: 1.12;
}


/* ==================================================
   Dashboard · Análisis del sitio robusto por sección
================================================== */
.fp-dashboard-progress-analysis {
    display: grid;
    gap: 14px;
    width: 100%;
}

.fp-dashboard-progress-analysis__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.fp-dashboard-progress-analysis__summary span {
    flex: 1 1 320px;
}

.fp-dashboard-progress-analysis-details {
    display: grid;
    gap: 12px;
    width: 100%;
}

.fp-dashboard-progress-analysis-details__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    gap: 10px;
    width: 100%;
}

.fp-dashboard-analysis-mini-list {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(72, 90, 115, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.fp-dashboard-analysis-mini-list strong {
    display: block;
    margin-bottom: 7px;
    color: #0d2a4e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-analysis-mini-list ul {
    margin: 0;
    padding-left: 16px;
    color: #536176;
    font-size: 13px;
    line-height: 1.38;
}

.fp-dashboard-analysis-mini-list li + li {
    margin-top: 5px;
}

.fp-dashboard-analysis-mini-list p {
    margin: 0;
    color: #7c8898;
    font-size: 13px;
}

.fp-dashboard-analysis-mini-list.is-action {
    background: rgba(13, 48, 80, 0.05);
    border-color: rgba(13, 48, 80, 0.16);
}

.fp-dashboard-progress-analysis-recommendation {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-left: 4px solid #123050;
    border-radius: 12px;
    background: rgba(18, 48, 80, 0.05);
}

.fp-dashboard-progress-analysis-recommendation strong {
    color: #123050;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-progress-analysis-recommendation span {
    color: #3d4f66;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 1280px) {
    .fp-dashboard-progress-analysis-details__grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 860px) {
    .fp-dashboard-progress-analysis-details__grid {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   Dashboard · Análisis del sitio legible 20px
================================================== */
.fp-dashboard-progress-analysis,
.fp-dashboard-progress-analysis * {
    font-size: 20px;
    line-height: 1.45;
}

.fp-dashboard-progress-analysis {
    gap: 16px;
    padding: 18px 20px;
}

.fp-dashboard-progress-analysis__summary {
    gap: 10px 14px;
}

.fp-dashboard-progress-analysis__summary strong {
    font-size: 20px;
}

.fp-dashboard-progress-analysis__summary span {
    font-size: 20px;
    line-height: 1.45;
}

.fp-dashboard-progress-analysis-details__grid {
    gap: 14px;
}

.fp-dashboard-analysis-mini-list {
    padding: 18px;
    border-radius: 14px;
}

.fp-dashboard-analysis-mini-list strong {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.25;
}

.fp-dashboard-analysis-mini-list ul,
.fp-dashboard-analysis-mini-list p,
.fp-dashboard-analysis-mini-list li {
    font-size: 20px;
    line-height: 1.45;
}

.fp-dashboard-analysis-mini-list li + li {
    margin-top: 8px;
}

.fp-dashboard-analysis-mini-list.is-action {
    background: #123050;
    border-color: #123050;
    color: #ffffff;
}

.fp-dashboard-analysis-mini-list.is-action strong,
.fp-dashboard-analysis-mini-list.is-action ul,
.fp-dashboard-analysis-mini-list.is-action li,
.fp-dashboard-analysis-mini-list.is-action p {
    color: #ffffff;
}

.fp-dashboard-progress-analysis-recommendation {
    padding: 18px 20px;
    border-left: 6px solid #123050;
    border-radius: 14px;
}

.fp-dashboard-progress-analysis-recommendation strong,
.fp-dashboard-progress-analysis-recommendation span {
    font-size: 20px;
    line-height: 1.45;
}

.fp-dashboard .fp-btn,
.fp-dashboard-copy-btn,
.fp-dashboard-delete-btn,
.fp-dashboard-delete-btn--bulk,
.fp-dashboard-analysis-import .fp-btn,
.fp-dashboard-analysis-buttons .fp-btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #123050 !important;
    border-color: #123050 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1.15;
    font-weight: 800;
}

.fp-dashboard .fp-btn:hover,
.fp-dashboard .fp-btn:focus,
.fp-dashboard-copy-btn:hover,
.fp-dashboard-copy-btn:focus,
.fp-dashboard-delete-btn:hover,
.fp-dashboard-delete-btn:focus,
.fp-dashboard-delete-btn--bulk:hover,
.fp-dashboard-delete-btn--bulk:focus,
.fp-dashboard-analysis-import .fp-btn:hover,
.fp-dashboard-analysis-import .fp-btn:focus,
.fp-dashboard-analysis-buttons .fp-btn:hover,
.fp-dashboard-analysis-buttons .fp-btn:focus {
    background: #1a3f66 !important;
    border-color: #1a3f66 !important;
    color: #ffffff !important;
}

/* Dashboard · títulos del mapa de avance */
.fp-dashboard-progress-item__main strong {
    display: block;
    font-size: 2rem;
    color: #0b2d57;
    margin: 4px 0;
}

/* ==================================================
   Dashboard · Contenido recuperado del documento
================================================== */
.fp-dashboard-content-draft {
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(18, 48, 80, 0.16);
    border-radius: 18px;
    background: #f8fafc;
}

.fp-dashboard-content-draft__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fp-dashboard-content-draft__head h5 {
    margin: 4px 0 6px;
    color: #0b2d57;
    font-size: 2rem;
    line-height: 1.1;
}

.fp-dashboard-content-draft__head p,
.fp-dashboard-content-count {
    margin: 0;
    color: #485a73;
    font-size: 18px;
    line-height: 1.45;
}

.fp-dashboard-content-count {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 12px;
    background: #123050;
    color: #fff;
    font-weight: 800;
}

.fp-dashboard-content-blocks {
    display: grid;
    gap: 14px;
}

.fp-dashboard-content-block {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(72, 90, 115, 0.16);
    border-radius: 16px;
    background: #fff;
}

.fp-dashboard-content-block__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 180px) auto;
    gap: 12px;
    align-items: end;
}

.fp-dashboard-content-block label {
    display: grid;
    gap: 6px;
    margin: 0;
    color: #0b2d57;
    font-size: 18px;
    font-weight: 800;
}

.fp-dashboard-content-block input,
.fp-dashboard-content-block textarea,
.fp-dashboard-content-block select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d6e0ec;
    border-radius: 10px;
    background: #fff;
    color: #0b2d57;
    font-size: 18px;
    line-height: 1.45;
}

.fp-dashboard-content-block textarea {
    resize: vertical;
}

.fp-dashboard-content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.fp-dashboard-content-remove {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #123050;
    border-radius: 10px;
    background: #123050;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
}

.fp-dashboard-content-remove:hover,
.fp-dashboard-content-remove:focus {
    background: #1a3f66;
    border-color: #1a3f66;
}

@media (max-width: 900px) {
    .fp-dashboard-content-block__head {
        grid-template-columns: 1fr;
    }
}


/* Centro de Datos · contenido fuente recuperado en gestor */
.fp-dashboard-progress-source-content {
    margin-top: 16px;
    background: #f7f9fc;
    border: 1px solid rgba(11, 45, 87, 0.16);
    border-radius: 14px;
    padding: 18px;
}
.fp-dashboard-progress-source-content__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.fp-dashboard-progress-source-content__head strong {
    color: #0b2d57;
    font-size: 2rem;
    line-height: 1.1;
}
.fp-dashboard-progress-source-content__head span {
    color: #6b7890;
    font-size: 1rem;
    font-weight: 700;
}
.fp-dashboard-progress-source-content__blocks {
    display: grid;
    gap: 14px;
}
.fp-dashboard-progress-source-block {
    background: #fff;
    border: 1px solid rgba(11, 45, 87, 0.14);
    border-radius: 12px;
    padding: 16px;
}
.fp-dashboard-progress-source-block h5 {
    margin: 0 0 10px;
    color: #0b2d57;
    font-size: 1.5rem;
    line-height: 1.2;
}
.fp-dashboard-progress-source-block__text {
    color: #273c5d;
    font-size: 20px;
    line-height: 1.55;
    max-height: 360px;
    overflow: auto;
    white-space: normal;
    padding-right: 8px;
}

/* ==================================================
   Dashboard · Gestor en dos bloques operativos
================================================== */
.fp-dashboard-manager-section {
    display: grid;
    gap: 20px;
    width: 100%;
    padding: 24px;
    margin: 0 0 28px;
    border: 1px solid rgba(72, 90, 115, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.88));
    box-shadow: 0 18px 42px rgba(31, 49, 73, 0.08);
}

.fp-dashboard-manager-section--reports {
    border-top: 5px solid #485a73;
}

.fp-dashboard-manager-section--pages {
    border-top: 5px solid #0b1f3a;
}

.fp-dashboard-manager-section__header {
    display: grid;
    gap: 16px;
}

.fp-dashboard-manager-section__header--split {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    align-items: start;
}

.fp-dashboard-manager-section__header h3 {
    margin: 4px 0 8px;
    color: #25364d;
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.fp-dashboard-manager-section__header p,
.fp-dashboard-manager-section__header small {
    margin: 0;
    color: #536176;
}

.fp-dashboard-manager-report-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fp-dashboard-report-tile {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(72, 90, 115, 0.16);
    border-radius: 18px;
    background: #ffffff;
    color: #1f2933;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(31, 49, 73, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.fp-dashboard-report-tile:hover,
.fp-dashboard-report-tile:focus-within {
    transform: translateY(-2px);
    border-color: rgba(11, 31, 58, 0.32);
    box-shadow: 0 18px 34px rgba(31, 49, 73, 0.12);
}

.fp-dashboard-report-tile--primary {
    border-color: rgba(11, 31, 58, 0.24);
    background: linear-gradient(135deg, #0b1f3a, #111827);
    color: #ffffff;
}

.fp-dashboard-report-tile span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0b1f3a;
}

.fp-dashboard-report-tile--primary span,
.fp-dashboard-report-tile--primary strong,
.fp-dashboard-report-tile--primary p {
    color: #ffffff;
}

.fp-dashboard-report-tile strong {
    display: block;
    font-size: 1.05rem;
    color: #123050;
}

.fp-dashboard-report-tile p {
    margin: 0;
    color: #536176;
    font-size: 0.92rem;
    line-height: 1.45;
}

.fp-dashboard-report-tile--details summary {
    display: grid;
    gap: 8px;
    cursor: pointer;
    list-style: none;
}

.fp-dashboard-report-tile--details summary::-webkit-details-marker {
    display: none;
}

.fp-dashboard-report-tile--details summary::after {
    content: "Abrir opciones";
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(72, 90, 115, 0.10);
    color: #485a73;
    font-size: 0.78rem;
    font-weight: 800;
}

.fp-dashboard-report-tile--details[open] summary::after {
    content: "Cerrar opciones";
}

.fp-dashboard-report-tile__links {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(72, 90, 115, 0.14);
}

.fp-dashboard-report-tile__links a {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(72, 90, 115, 0.08);
    color: #123050;
    font-weight: 800;
    text-decoration: none;
}

.fp-dashboard-report-tile__links a:hover,
.fp-dashboard-report-tile__links a:focus {
    background: rgba(72, 90, 115, 0.14);
}

.fp-dashboard-analysis-import--clean {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    box-shadow: none;
    background: rgba(248, 250, 252, 0.9);
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-groups {
    margin-top: 2px;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-group {
    padding: 18px;
    border: 1px solid rgba(72, 90, 115, 0.12);
    border-radius: 20px;
    background: rgba(255,255,255,0.64);
}

@media (max-width: 1100px) {
    .fp-dashboard-manager-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-dashboard-manager-section__header--split,
    .fp-dashboard-analysis-import--clean {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .fp-dashboard-manager-section {
        padding: 18px;
        border-radius: 20px;
    }

    .fp-dashboard-manager-report-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   Dashboard · Ajuste 1.70.4: gestor limpio y colapsable
================================================== */
.fp-dashboard-tools-grid {
    grid-template-columns: 1fr;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes {
    grid-column: 1 / -1;
}

.fp-dashboard-progress-group,
.fp-dashboard-progress-item {
    display: block;
}

.fp-dashboard-progress-group__summary,
.fp-dashboard-progress-item__main {
    cursor: pointer;
    list-style: none;
}

.fp-dashboard-progress-group__summary::-webkit-details-marker,
.fp-dashboard-progress-item__main::-webkit-details-marker {
    display: none;
}

.fp-dashboard-progress-group__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b1f3a, #111827);
    color: #ffffff;
}

.fp-dashboard-progress-group__summary .fp-kicker,
.fp-dashboard-progress-group__summary strong,
.fp-dashboard-progress-group__summary em {
    color: #ffffff;
}

.fp-dashboard-progress-group__summary strong {
    display: block;
    margin-top: 2px;
    font-size: 1.02rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fp-dashboard-progress-group__summary em {
    flex: 0 0 auto;
    font-style: normal;
    font-weight: 800;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
}

.fp-dashboard-progress-group__summary::after,
.fp-dashboard-progress-item__main::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    font-weight: 800;
    line-height: 1;
}

.fp-dashboard-progress-group[open] > .fp-dashboard-progress-group__summary::after,
.fp-dashboard-progress-item[open] > .fp-dashboard-progress-item__main::after {
    content: "–";
}

.fp-dashboard-progress-group > .fp-dashboard-progress-list {
    margin-top: 14px;
}

.fp-dashboard-progress-item__main {
    padding: 0;
}

.fp-dashboard-progress-item__main::after {
    color: #485a73;
    background: rgba(72, 90, 115, 0.12);
}

.fp-dashboard-progress-item[open] {
    border-color: rgba(11, 31, 58, 0.24);
    box-shadow: 0 16px 34px rgba(31, 49, 73, 0.09);
}

.fp-dashboard-progress-item__body {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(72, 90, 115, 0.14);
}

.fp-dashboard-progress-analysis-details {
    margin-top: 0;
}

@media (max-width: 760px) {
    .fp-dashboard-progress-group__summary,
    .fp-dashboard-progress-item__main {
        align-items: flex-start;
    }

    .fp-dashboard-progress-group__summary {
        flex-direction: column;
    }
}

/* ==================================================
   Dashboard · Ajuste 1.70.6: gestor operativo más legible
================================================== */
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile {
    min-height: 168px;
    padding: 22px 20px;
    gap: 10px;
}
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile span {
    font-size: 0.82rem;
    line-height: 1.2;
}
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile strong {
    font-size: clamp(1.16rem, 1.25vw, 1.38rem);
    line-height: 1.15;
}
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile p {
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.45;
}
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary,
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary span,
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary strong,
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary p,
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary:visited,
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary:focus,
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--primary:hover {
    color: #ffffff !important;
}
.fp-dashboard-manager-section--reports .fp-dashboard-report-tile--details summary::after {
    font-size: 0.88rem;
}

.fp-dashboard-progress-analysis-details__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch;
}
.fp-dashboard-progress-analysis-details__grid > .fp-dashboard-analysis-mini-list {
    width: auto;
    min-height: 100%;
}
@media (max-width: 1280px) {
    .fp-dashboard-progress-analysis-details__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 760px) {
    .fp-dashboard-progress-analysis-details__grid {
        grid-template-columns: 1fr !important;
    }
}

.fp-dashboard-progress-source-content {
    padding: 0;
    overflow: hidden;
}
.fp-dashboard-progress-source-content__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}
.fp-dashboard-progress-source-content__head::-webkit-details-marker {
    display: none;
}
.fp-dashboard-progress-source-content__title {
    color: #0b2d57;
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.fp-dashboard-progress-source-content__count {
    color: #6b7890;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}
.fp-dashboard-progress-source-content__head::after {
    content: "+";
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(11, 45, 87, 0.10);
    color: #0b2d57;
    font-weight: 800;
    line-height: 1;
}
.fp-dashboard-progress-source-content[open] > .fp-dashboard-progress-source-content__head::after {
    content: "–";
}
.fp-dashboard-progress-source-content__blocks {
    padding: 0 18px 18px;
}

.fp-dashboard-tools-grid--files {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px;
}
.fp-dashboard-tools-grid--files .fp-dashboard-tool {
    min-height: 118px;
    padding: 14px 16px;
    gap: 7px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 32, 56, 0.035);
}
.fp-dashboard-tools-grid--files .fp-dashboard-tool__label {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}
.fp-dashboard-tools-grid--files .fp-dashboard-tool code {
    font-size: clamp(0.82rem, 0.92vw, 0.98rem);
    line-height: 1.25;
}
.fp-dashboard-tools-grid--files .fp-dashboard-tool p {
    font-size: 0.82rem;
    line-height: 1.32;
}
@media (max-width: 1180px) {
    .fp-dashboard-tools-grid--files {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 720px) {
    .fp-dashboard-tools-grid--files {
        grid-template-columns: 1fr !important;
    }
}


/* ==================================================
   Dashboard · Ajuste 1.70.7: secciones como KPI cards
================================================== */
.fp-dashboard-manager-section--pages .fp-dashboard-progress-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    align-items: stretch;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item {
    min-width: 0;
    padding: 0;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item[open] {
    grid-column: 1 / -1;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item__main {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "copy toggle"
        "meter meter"
        "percent percent";
    align-content: start;
    gap: 10px;
    min-height: 154px;
    padding: 18px 18px 16px;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item__main > div:first-child {
    grid-area: copy;
    min-width: 0;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item__main::after {
    grid-area: toggle;
    align-self: start;
    justify-self: end;
    margin-top: 2px;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-meter {
    grid-area: meter;
    width: 100%;
    height: 8px;
    margin-top: 2px;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-percent {
    grid-area: percent;
    min-width: 0;
    text-align: left;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0b1f3a;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-percent::before {
    content: "Avance ";
    color: #607080;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item__main strong {
    font-size: clamp(1.35rem, 1.7vw, 1.8rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    margin: 5px 0 8px;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item__main p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.98rem;
    line-height: 1.4;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item[open] > .fp-dashboard-progress-item__main {
    min-height: 0;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, 280px) auto auto;
    grid-template-areas: "copy meter percent toggle";
    align-items: center;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item[open] > .fp-dashboard-progress-item__main p {
    display: block;
    overflow: visible;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-item__body {
    padding: 18px;
    margin: 0;
}

@media (max-width: 1180px) {
    .fp-dashboard-manager-section--pages .fp-dashboard-progress-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 760px) {
    .fp-dashboard-manager-section--pages .fp-dashboard-progress-item[open] > .fp-dashboard-progress-item__main {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "copy toggle"
            "meter meter"
            "percent percent";
        align-items: start;
    }
}

/* ==================================================
   Dashboard · Resumen de análisis con mayor jerarquía
   v1.70.8
================================================== */
.fp-dashboard-manager-section--pages .fp-dashboard-progress-analysis__summary {
    display: block;
    width: 100%;
    padding: 22px 24px;
    border: 1px solid rgba(72, 90, 115, 0.18);
    border-radius: 18px;
    background: #e8edf3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-analysis__summary strong {
    display: block;
    margin: 0 0 12px;
    color: #7a003c;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-analysis__summary span {
    display: block;
    width: 100%;
    max-width: none;
    color: #3f5169;
    font-size: 20px;
    line-height: 1.55;
}

/* ==================================================
   Dashboard · Resumen de análisis más legible
   v1.70.9
================================================== */
.fp-dashboard-manager-section--pages .fp-dashboard-progress-analysis__summary-text {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: none;
    color: #3f5169;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 600;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-analysis__summary-text p {
    margin: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.fp-dashboard-manager-section--pages .fp-dashboard-progress-analysis__summary span {
    font-weight: 600;
}

/* v1.70.10 · Acciones de análisis segmentado */
.fp-dashboard-section-scope-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.fp-dashboard-progress-actions .fp-dashboard-copy-btn {
    white-space: nowrap;
}
@media (max-width: 760px) {
    .fp-dashboard-section-scope-actions {
        justify-content: flex-start;
    }
}

/* Dashboard · v1.70.15: ayudas de uso en botones de análisis segmentado */
.fp-dashboard-action-help {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: 260px;
    min-width: 160px;
}

.fp-dashboard-action-help .fp-dashboard-copy-btn,
.fp-dashboard-action-help .fp-btn {
    width: fit-content;
}

.fp-dashboard-action-help small {
    display: block;
    color: #5f6b7a;
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 600;
}

.fp-dashboard-progress-actions .fp-dashboard-action-help {
    flex: 1 1 190px;
}

.fp-dashboard-section-scope-actions .fp-dashboard-action-help {
    flex: 1 1 180px;
}

.fp-dashboard-section-scope-actions .fp-dashboard-status-pill {
    align-self: flex-start;
}

.fp-dashboard-tools-actions .fp-dashboard-action-help,
.fp-dashboard-library-card .fp-dashboard-action-help {
    max-width: 320px;
}

@media (max-width: 760px) {
    .fp-dashboard-action-help {
        max-width: none;
        width: 100%;
    }

    .fp-dashboard-action-help .fp-dashboard-copy-btn,
    .fp-dashboard-action-help .fp-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==================================================
   Dashboard · 1.70.17 KPI layout para tarjetas superiores
================================================== */
.fp-dashboard-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources {
    grid-column: auto !important;
}

.fp-dashboard-tools-grid > .fp-dashboard-card {
    min-width: 0;
    height: 100%;
    margin-bottom: 0;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle {
    min-height: 164px;
    height: 100%;
    padding: 20px 22px;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__head {
    gap: 10px;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta {
    margin-bottom: 2px;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta span {
    font-size: 12px;
    letter-spacing: 0.14em;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta strong {
    font-size: 12px;
    line-height: 1;
    padding: 7px 11px;
    border-radius: 999px;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__title {
    font-size: 22px !important;
    line-height: 1.12;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__subtitle {
    font-size: 14px;
    line-height: 1.45;
    max-width: 36ch;
}

.fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__indicator {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

.fp-dashboard-tools-grid > .fp-dashboard-card.is-open {
    grid-column: 1 / -1;
}

@media (max-width: 1180px) {
    .fp-dashboard-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fp-dashboard-tools-grid {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle {
        min-height: 148px;
    }
}


/* ==================================================
   Dashboard · 1.70.18 KPI desplegado a ancho completo
================================================== */
.fp-dashboard-tools-grid > .fp-dashboard-card--manager.is-open,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources.is-open,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes.is-open {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager.is-open .fp-dashboard-card__toggle,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources.is-open .fp-dashboard-card__toggle,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes.is-open .fp-dashboard-card__toggle {
    min-height: 112px;
    height: auto;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager.is-open .fp-dashboard-card__body,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources.is-open .fp-dashboard-card__body,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes.is-open .fp-dashboard-card__body {
    width: 100% !important;
    max-width: none !important;
}

.fp-dashboard-tools-grid > .fp-dashboard-card--manager.is-open .fp-dashboard-card__body > *,
.fp-dashboard-tools-grid > .fp-dashboard-card--resources.is-open .fp-dashboard-card__body > *,
.fp-dashboard-tools-grid > .fp-dashboard-card--shortcodes.is-open .fp-dashboard-card__body > * {
    width: 100%;
    max-width: none;
}


/* ==================================================
   Dashboard · 1.70.19 importación JSON sin recarga total
================================================== */
.fp-dashboard-analysis-import form.is-importing,
.fp-dashboard-analysis-import [data-fp-analysis-import-form].is-importing {
    opacity: 0.88;
}

.fp-dashboard-analysis-import__status {
    display: block;
    margin-top: 8px;
    color: #5f6b7a;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.fp-dashboard-analysis-import__status.is-success {
    color: #1f7a4d;
}

.fp-dashboard-analysis-import__status.is-error {
    color: #9f1d3f;
}

.fp-dashboard-analysis-import__status.is-busy {
    color: #485a73;
}

/* ==================================================
   Dashboard · 1.70.20 instrucciones dinámicas para análisis
================================================== */
.fp-dashboard-analysis-instructions {
    width: 100%;
    margin: 22px 0;
    padding: 22px;
    border: 1px solid rgba(72, 90, 115, 0.18);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.fp-dashboard-analysis-instructions form {
    display: grid;
    gap: 14px;
}

.fp-dashboard-analysis-instructions label {
    display: grid;
    gap: 6px;
}

.fp-dashboard-analysis-instructions label strong {
    color: #253247;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.fp-dashboard-analysis-instructions label small {
    color: #5f6b7a;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.fp-dashboard-analysis-instructions textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border: 1px solid rgba(72, 90, 115, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
    color: #253247;
    background: #f8fafc;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.fp-dashboard-analysis-instructions textarea:focus {
    outline: none;
    border-color: rgba(11, 31, 58, 0.55);
    box-shadow: 0 0 0 4px rgba(11, 31, 58, 0.08);
}

/* ==================================================
   Dashboard · 1.70.21 instrucciones por sección + AJAX
================================================== */
.fp-dashboard-analysis-instructions--section {
    margin: 18px 0 22px;
    background: #fbfcfe;
}

.fp-dashboard-analysis-instructions--compact {
    margin: 16px 0;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.fp-dashboard-analysis-instructions__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.fp-dashboard-analysis-instructions__status {
    color: #5f6b7a;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.fp-dashboard-analysis-instructions__status.is-success {
    color: #1f7a4d;
}

.fp-dashboard-analysis-instructions__status.is-error {
    color: #9f1d3f;
}

.fp-dashboard-analysis-instructions__status.is-busy {
    color: #485a73;
}

.fp-dashboard-analysis-instructions.is-saving textarea {
    opacity: 0.75;
}

/* ==================================================
   Dashboard · 1.70.35 alertas de opinión administrativa
================================================== */
.fp-dashboard-opinion-summary {
    margin-top: 16px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 18px;
    align-items: start;
    border: 1px solid rgba(11, 31, 58, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.08), rgba(72, 90, 115, 0.08));
    color: #172033;
}

.fp-dashboard-opinion-summary--empty {
    display: block;
    border-color: rgba(72, 90, 115, 0.14);
    background: rgba(72, 90, 115, 0.06);
}

.fp-dashboard-opinion-summary > div {
    min-width: 0;
}

.fp-dashboard-opinion-summary strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
    color: #172033;
}

.fp-dashboard-opinion-summary p {
    margin: 6px 0 0;
    max-width: 760px;
    color: #485a73;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.fp-dashboard-opinion-summary__badge {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0b1f3a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(11, 31, 58, 0.18);
}

.fp-dashboard-opinion-summary ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    list-style: none;
}

.fp-dashboard-opinion-summary a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #0b1f3a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.fp-dashboard-progress-item.has-admin-opinion {
    border-color: rgba(11, 31, 58, 0.30);
    box-shadow: 0 18px 42px rgba(11, 31, 58, 0.10);
}

.fp-dashboard-admin-opinion-badge {
    width: fit-content;
    margin: 8px 0 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(11, 31, 58, 0.10);
    color: #0b1f3a;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.fp-dashboard-admin-opinion-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0b1f3a;
    box-shadow: 0 0 0 4px rgba(11, 31, 58, 0.10);
}

.fp-dashboard-admin-opinion-alert {
    margin: 0 0 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 0.78fr) minmax(260px, 1fr);
    gap: 16px;
    border: 1px solid rgba(11, 31, 58, 0.20);
    border-radius: 20px;
    background: #fff8fb;
    box-shadow: inset 5px 0 0 #0b1f3a, 0 12px 26px rgba(11, 31, 58, 0.08);
}

.fp-dashboard-admin-opinion-alert strong {
    display: block;
    margin: 4px 0 6px;
    color: #172033;
    font-size: 15px;
    line-height: 1.25;
}

.fp-dashboard-admin-opinion-alert p {
    margin: 0;
    color: #485a73;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.fp-dashboard-admin-opinion-alert blockquote {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(11, 31, 58, 0.14);
    border-radius: 16px;
    background: #ffffff;
    color: #293449;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

@media (max-width: 860px) {
    .fp-dashboard-opinion-summary,
    .fp-dashboard-admin-opinion-alert {
        grid-template-columns: 1fr;
    }

    .fp-dashboard-opinion-summary ul {
        justify-content: flex-start;
    }
}

/* ==================================================
   Ajuste v1.70.53: tarjetas limpias + paleta azul marino / gris fuerte
   Alcance: solo dashboard operativo del gestor.
================================================== */
.fp-page.fp-dashboard {
    --gwgn-navy: #0b1f3a;
    --gwgn-navy-2: #12345a;
    --gwgn-gray: #3f4854;
    --gwgn-gray-2: #5b6572;
    --gwgn-border: #c7ced8;
    --gwgn-bg: #eef2f6;
    --gwgn-card: #ffffff;
    --gwgn-soft: #f7f9fb;
    --gwgn-soft-2: #e7edf4;
    background:
        radial-gradient(circle at 92% 6%, rgba(11, 31, 58, 0.10), transparent 26%),
        linear-gradient(180deg, #f7f9fb 0%, var(--gwgn-bg) 100%) !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-container {
    max-width: none !important;
}

.fp-page.fp-dashboard .fp-kicker,
.fp-page.fp-dashboard .fp-dashboard-card__meta,
.fp-page.fp-dashboard .fp-dashboard-tool__label,
.fp-page.fp-dashboard .fp-dashboard-sections-separator span,
.fp-page.fp-dashboard .fp-dashboard-progress-group__summary .fp-kicker {
    color: var(--gwgn-gray) !important;
    letter-spacing: .12em;
}

.fp-page.fp-dashboard .fp-dashboard-hero {
    border-color: var(--gwgn-border) !important;
    background:
        linear-gradient(105deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 58%, rgba(63,72,84,.18) 100%),
        radial-gradient(circle at top right, rgba(11,31,58,.20), transparent 38%) !important;
    box-shadow: 0 18px 44px rgba(11, 31, 58, .10) !important;
}

.fp-page.fp-dashboard .fp-dashboard-hero h1,
.fp-page.fp-dashboard .fp-dashboard-card__title,
.fp-page.fp-dashboard .fp-dashboard-detail h2,
.fp-page.fp-dashboard .fp-dashboard-denied h2,
.fp-page.fp-dashboard h1,
.fp-page.fp-dashboard h2,
.fp-page.fp-dashboard h3,
.fp-page.fp-dashboard h4,
.fp-page.fp-dashboard h5 {
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-dashboard-hero p,
.fp-page.fp-dashboard .fp-dashboard-card__subtitle,
.fp-page.fp-dashboard .fp-dashboard-card p,
.fp-page.fp-dashboard .fp-dashboard-tool p,
.fp-page.fp-dashboard .fp-dashboard-detail p,
.fp-page.fp-dashboard .fp-dashboard-muted {
    color: var(--gwgn-gray-2) !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-bottom: 30px !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card,
.fp-page.fp-dashboard .fp-dashboard-grid--sections > .fp-dashboard-card,
.fp-page.fp-dashboard .fp-dashboard-grid > .fp-dashboard-card {
    min-width: 0 !important;
    min-height: 170px !important;
    overflow: hidden !important;
    border: 1px solid var(--gwgn-border) !important;
    border-radius: 22px !important;
    background: var(--gwgn-card) !important;
    box-shadow: 0 14px 34px rgba(11, 31, 58, .075) !important;
    transform: none !important;
}

.fp-page.fp-dashboard .fp-dashboard-card::after {
    background: rgba(63, 72, 84, .045) !important;
}

.fp-page.fp-dashboard .fp-dashboard-card.is-active,
.fp-page.fp-dashboard .fp-dashboard-card:hover,
.fp-page.fp-dashboard .fp-dashboard-card:focus-within {
    border-color: #aeb8c5 !important;
    box-shadow: 0 18px 42px rgba(11, 31, 58, .10) !important;
}

.fp-page.fp-dashboard .fp-dashboard-card.is-open {
    grid-column: 1 / -1 !important;
    min-height: 0 !important;
    border-color: #9faaBA !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__toggle,
.fp-page.fp-dashboard button.fp-dashboard-card__toggle,
.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 170px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 24px 26px !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: var(--gwgn-navy) !important;
    text-align: left !important;
    text-decoration: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__toggle:hover,
.fp-page.fp-dashboard .fp-dashboard-card__toggle:focus,
.fp-page.fp-dashboard .fp-dashboard-card__toggle:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: inset 0 0 0 2px rgba(11, 31, 58, .12) !important;
    background: var(--gwgn-soft) !important;
}

.fp-page.fp-dashboard .fp-dashboard-card.is-open .fp-dashboard-card__toggle,
.fp-page.fp-dashboard .fp-dashboard-card.is-open .fp-dashboard-card__toggle:hover,
.fp-page.fp-dashboard .fp-dashboard-card.is-open .fp-dashboard-card__toggle:focus {
    min-height: 0 !important;
    background: linear-gradient(90deg, #ffffff 0%, var(--gwgn-soft-2) 100%) !important;
    border-bottom: 1px solid var(--gwgn-border) !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__head {
    width: 100% !important;
    min-width: 0 !important;
    max-width: calc(100% - 54px) !important;
    display: grid !important;
    gap: 10px !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__meta {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__meta span,
.fp-page.fp-dashboard .fp-dashboard-card__meta strong {
    min-width: 0 !important;
    white-space: normal !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__meta strong,
.fp-page.fp-dashboard .fp-dashboard-status-pill,
.fp-page.fp-dashboard .fp-dashboard-card__soon {
    background: #e6ebf1 !important;
    color: var(--gwgn-navy) !important;
    border-color: #d1dae4 !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 6px 0 0 !important;
    font-size: clamp(21px, 1.75vw, 28px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.04em !important;
    overflow-wrap: anywhere !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__subtitle {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    overflow-wrap: anywhere !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__indicator {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    margin-top: 4px !important;
    background: #e7edf4 !important;
    color: var(--gwgn-navy) !important;
    border: 1px solid #d3dce7 !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__indicator:hover,
.fp-page.fp-dashboard .fp-dashboard-card__toggle:hover .fp-dashboard-card__indicator,
.fp-page.fp-dashboard .fp-dashboard-card.is-active:hover .fp-dashboard-card__indicator {
    background: var(--gwgn-navy) !important;
    color: #ffffff !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__body,
.fp-page.fp-dashboard .fp-dashboard-section-panel__intro,
.fp-page.fp-dashboard .fp-dashboard-actions,
.fp-page.fp-dashboard .fp-dashboard-tool,
.fp-page.fp-dashboard .fp-dashboard-resource-map-box,
.fp-page.fp-dashboard .fp-dashboard-resource-item,
.fp-page.fp-dashboard .fp-dashboard-shortcode-item,
.fp-page.fp-dashboard .fp-dashboard-content-block,
.fp-page.fp-dashboard .fp-dashboard-progress-analysis-recommendation {
    border-color: var(--gwgn-border) !important;
    background: #ffffff !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-btn,
.fp-page.fp-dashboard .fp-dashboard-copy-btn,
.fp-page.fp-dashboard .fp-dashboard-resource-upload .fp-btn,
.fp-page.fp-dashboard .fp-dashboard-delete-btn,
.fp-page.fp-dashboard .fp-dashboard-content-remove,
.fp-page.fp-dashboard .fp-dashboard-card__form-actions button {
    border-color: #bac4cf !important;
    background: var(--gwgn-navy) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.fp-page.fp-dashboard .fp-btn:hover,
.fp-page.fp-dashboard .fp-btn:focus,
.fp-page.fp-dashboard .fp-dashboard-copy-btn:hover,
.fp-page.fp-dashboard .fp-dashboard-copy-btn:focus,
.fp-page.fp-dashboard .fp-dashboard-resource-upload .fp-btn:hover,
.fp-page.fp-dashboard .fp-dashboard-resource-upload .fp-btn:focus,
.fp-page.fp-dashboard .fp-dashboard-delete-btn:hover,
.fp-page.fp-dashboard .fp-dashboard-delete-btn:focus {
    border-color: var(--gwgn-gray) !important;
    background: var(--gwgn-gray) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(11, 31, 58, .16) !important;
}

.fp-page.fp-dashboard .fp-btn--secondary,
.fp-page.fp-dashboard .fp-btn--ghost,
.fp-page.fp-dashboard .fp-dashboard-action-help .fp-btn {
    background: #ffffff !important;
    color: var(--gwgn-navy) !important;
    border-color: var(--gwgn-border) !important;
}

.fp-page.fp-dashboard .fp-btn--secondary:hover,
.fp-page.fp-dashboard .fp-btn--ghost:hover,
.fp-page.fp-dashboard .fp-dashboard-action-help .fp-btn:hover,
.fp-page.fp-dashboard .fp-btn--secondary:focus,
.fp-page.fp-dashboard .fp-btn--ghost:focus,
.fp-page.fp-dashboard .fp-dashboard-action-help .fp-btn:focus {
    background: var(--gwgn-soft-2) !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-dashboard-shortcode,
.fp-page.fp-dashboard code {
    background: #e8edf3 !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-dashboard-admin-opinion-badge,
.fp-page.fp-dashboard .fp-dashboard-opinion-summary__badge {
    background: rgba(11,31,58,.10) !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-dashboard-admin-opinion-badge::before,
.fp-page.fp-dashboard .fp-dashboard-opinion-summary__badge::before {
    background: var(--gwgn-navy) !important;
    box-shadow: 0 0 0 4px rgba(11,31,58,.10) !important;
}

.fp-page.fp-dashboard .fp-dashboard-admin-opinion-alert,
.fp-page.fp-dashboard .fp-dashboard-opinion-summary {
    border-color: rgba(11,31,58,.20) !important;
    background: #f7f9fb !important;
    box-shadow: inset 5px 0 0 var(--gwgn-navy), 0 12px 26px rgba(11,31,58,.08) !important;
}

.fp-page.fp-dashboard input,
.fp-page.fp-dashboard select,
.fp-page.fp-dashboard textarea {
    border-color: var(--gwgn-border) !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard input:focus,
.fp-page.fp-dashboard select:focus,
.fp-page.fp-dashboard textarea:focus {
    border-color: var(--gwgn-navy) !important;
    box-shadow: 0 0 0 3px rgba(11,31,58,.12) !important;
    outline: 0 !important;
}

@media (max-width: 1180px) {
    .fp-page.fp-dashboard .fp-dashboard-tools-grid,
    .fp-page.fp-dashboard .fp-dashboard-grid,
    .fp-page.fp-dashboard .fp-dashboard-grid--sections {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .fp-page.fp-dashboard .fp-dashboard-tools-grid,
    .fp-page.fp-dashboard .fp-dashboard-grid,
    .fp-page.fp-dashboard .fp-dashboard-grid--sections {
        grid-template-columns: 1fr !important;
    }

    .fp-page.fp-dashboard .fp-dashboard-card__toggle,
    .fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle {
        min-height: 150px !important;
        padding: 20px !important;
    }
}


/* ==================================================
   GestorWeb-GN 1.70.54 · Ajuste final tarjetas y paleta
   Paleta: azul marino + gris fuerte. Evita desbordes en tarjetas.
================================================== */
.fp-page.fp-dashboard,
.fp-dashboard {
    --gwgn-navy: #0b1f3a;
    --gwgn-navy-2: #123050;
    --gwgn-navy-3: #1a3f66;
    --gwgn-gray-strong: #3f4854;
    --gwgn-gray: #5b6572;
    --gwgn-border: #c7ced8;
    --gwgn-soft: #eef2f6;
    --gwgn-soft-2: #f7f9fb;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid,
.fp-dashboard .fp-dashboard-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    overflow: visible !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 174px !important;
    height: auto !important;
    overflow: hidden !important;
    border: 1px solid var(--gwgn-border) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    color: var(--gwgn-navy) !important;
    box-shadow: 0 14px 34px rgba(11,31,58,.075) !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card:hover,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card:hover,
.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card:focus-within,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card:focus-within {
    border-color: #aeb8c5 !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(11,31,58,.10) !important;
    transform: none !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle,
.fp-page.fp-dashboard button.fp-dashboard-card__toggle,
.fp-dashboard button.fp-dashboard-card__toggle {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 174px !important;
    padding: 22px 28px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    gap: 16px !important;
    align-items: start !important;
    overflow: hidden !important;
    background: #ffffff !important;
    color: var(--gwgn-navy) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__head,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__head,
.fp-page.fp-dashboard .fp-dashboard-card__head,
.fp-dashboard .fp-dashboard-card__head {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta {
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: hidden !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta span,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta span,
.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta strong,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__meta strong {
    min-width: 0 !important;
    max-width: 100% !important;
    color: var(--gwgn-gray-strong) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__title,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__title,
.fp-page.fp-dashboard .fp-dashboard-card__title,
.fp-dashboard .fp-dashboard-card__title {
    max-width: 100% !important;
    color: var(--gwgn-navy) !important;
    font-size: clamp(22px, 1.55vw, 28px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__subtitle,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__subtitle,
.fp-page.fp-dashboard .fp-dashboard-card__subtitle,
.fp-dashboard .fp-dashboard-card__subtitle {
    max-width: 100% !important;
    color: var(--gwgn-gray) !important;
    font-size: 15px !important;
    line-height: 1.34 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__indicator,
.fp-dashboard .fp-dashboard-card__indicator,
.fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__indicator,
.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__indicator {
    flex: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border: 1px solid #d3dce7 !important;
    background: #e7edf4 !important;
    color: var(--gwgn-navy) !important;
    box-shadow: none !important;
}

.fp-page.fp-dashboard .fp-dashboard-card__toggle:hover .fp-dashboard-card__indicator,
.fp-dashboard .fp-dashboard-card__toggle:hover .fp-dashboard-card__indicator,
.fp-page.fp-dashboard .fp-dashboard-card.is-open .fp-dashboard-card__indicator,
.fp-dashboard .fp-dashboard-card.is-open .fp-dashboard-card__indicator {
    background: var(--gwgn-navy) !important;
    color: #ffffff !important;
    border-color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-dashboard-manager-section--pages,
.fp-dashboard .fp-dashboard-manager-section--pages,
.fp-page.fp-dashboard .fp-dashboard-manager-section--reports,
.fp-dashboard .fp-dashboard-manager-section--reports {
    border-top-color: var(--gwgn-gray-strong) !important;
}

.fp-page.fp-dashboard .fp-dashboard-report-tile,
.fp-dashboard .fp-dashboard-report-tile {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-color: var(--gwgn-border) !important;
    background: #ffffff !important;
    color: var(--gwgn-navy) !important;
}

.fp-page.fp-dashboard .fp-dashboard-report-tile--primary,
.fp-dashboard .fp-dashboard-report-tile--primary {
    border-color: var(--gwgn-navy) !important;
    background: linear-gradient(135deg, var(--gwgn-navy) 0%, #111827 100%) !important;
    color: #ffffff !important;
}

.fp-page.fp-dashboard .fp-dashboard-report-tile span,
.fp-dashboard .fp-dashboard-report-tile span,
.fp-page.fp-dashboard .fp-dashboard-report-tile strong,
.fp-dashboard .fp-dashboard-report-tile strong {
    color: var(--gwgn-navy) !important;
    overflow-wrap: anywhere !important;
}

.fp-page.fp-dashboard .fp-dashboard-report-tile p,
.fp-dashboard .fp-dashboard-report-tile p {
    color: var(--gwgn-gray) !important;
    overflow-wrap: anywhere !important;
}

.fp-page.fp-dashboard .fp-dashboard-report-tile--primary span,
.fp-dashboard .fp-dashboard-report-tile--primary span,
.fp-page.fp-dashboard .fp-dashboard-report-tile--primary strong,
.fp-dashboard .fp-dashboard-report-tile--primary strong,
.fp-page.fp-dashboard .fp-dashboard-report-tile--primary p,
.fp-dashboard .fp-dashboard-report-tile--primary p {
    color: #ffffff !important;
}

.fp-page.fp-dashboard .fp-dashboard-progress-meter span,
.fp-dashboard .fp-dashboard-progress-meter span,
.fp-page.fp-dashboard .fp-dashboard-analysis-action,
.fp-dashboard .fp-dashboard-analysis-action {
    border-color: rgba(11,31,58,.35) !important;
    background: rgba(11,31,58,.045) !important;
}

.fp-page.fp-dashboard .fp-dashboard-progress-meter span,
.fp-dashboard .fp-dashboard-progress-meter span {
    background: linear-gradient(90deg, var(--gwgn-navy), var(--gwgn-gray-strong)) !important;
}

.fp-page.fp-dashboard .fp-btn,
.fp-dashboard .fp-btn,
.fp-page.fp-dashboard .fp-dashboard-copy-btn,
.fp-dashboard .fp-dashboard-copy-btn {
    background: var(--gwgn-navy) !important;
    border-color: var(--gwgn-navy) !important;
    color: #ffffff !important;
}

@media (max-width: 1180px) {
    .fp-page.fp-dashboard .fp-dashboard-tools-grid,
    .fp-dashboard .fp-dashboard-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .fp-page.fp-dashboard .fp-dashboard-tools-grid,
    .fp-dashboard .fp-dashboard-tools-grid {
        grid-template-columns: 1fr !important;
    }

    .fp-page.fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle,
    .fp-dashboard .fp-dashboard-tools-grid > .fp-dashboard-card .fp-dashboard-card__toggle {
        min-height: 156px !important;
        padding: 20px !important;
    }
}
