/* =========================
   PALETA ITSM
========================= */
:root{
    --itsm-guinda: #6b0f2b;
    --itsm-guinda-2: #7f1734;
    --itsm-guinda-3: #4f0c20;
    --itsm-dorado: #c79a3b;
    --itsm-dorado-2: #e0b85a;
    --itsm-crema: #fbf8f2;
    --itsm-fondo: #f6f3ee;
    --itsm-texto: #2d2430;
    --itsm-texto-suave: #6d6270;
    --itsm-borde: #e7ddd0;
    --itsm-blanco: #ffffff;
}

body{
    margin:0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--itsm-fondo);
    color: var(--itsm-texto);
}

/* =========================
   HEADER
========================= */
.seaes-top{
    background: linear-gradient(90deg, var(--itsm-guinda-3) 0%, var(--itsm-guinda) 65%, var(--itsm-guinda-2) 100%);
    color: #fff;
    padding: 22px 0 18px;
    border-bottom: 4px solid var(--itsm-dorado);
    box-shadow: 0 10px 28px rgba(79, 12, 32, .25);
}

.seaes-brand{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}

.seaes-brand-logo{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 10px 14px;
}

.seaes-brand-logo img{
    max-height: 88px;
    width: auto;
    display:block;
}

.seaes-brand-text{
    flex:1;
    min-width:240px;
}

.seaes-kicker{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    letter-spacing:.5px;
    text-transform:uppercase;
    color: #f4d895;
    margin-bottom:6px;
}

.seaes-brand h1{
    margin:0;
    font-size:38px;
    font-weight:800;
    color:#fff;
    letter-spacing:.3px;
}

.seaes-brand p{
    margin:6px 0 0;
    font-size:16px;
    color:#f7e8c2;
}

/* =========================
   NAV
========================= */
.seaes-nav{
    background: #fffaf2;
    border-bottom: 1px solid var(--itsm-borde);
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.seaes-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
}

.seaes-nav li a{
    display:block;
    color: var(--itsm-guinda);
    text-decoration:none;
    padding:14px 18px;
    font-weight:700;
    border-bottom: 3px solid transparent;
    transition: all .2s ease;
}

.seaes-nav li a:hover{
    color: var(--itsm-guinda-3);
    background: #fff4dc;
    border-bottom-color: var(--itsm-dorado);
    text-decoration:none;
}

/* =========================
   MAIN
========================= */
.seaes-main{
    padding: 30px 0 50px;
}

/* =========================
   HERO
========================= */
.seaes-hero{
    background: linear-gradient(135deg, #fffdf9 0%, #fff8ee 100%);
    border: 1px solid var(--itsm-borde);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(107, 15, 43, .08);
    margin-bottom: 25px;
}

.seaes-hero h2{
    margin-top:0;
    color: var(--itsm-guinda);
    font-weight:800;
    line-height:1.25;
}

.seaes-hero p{
    color: var(--itsm-texto-suave);
    line-height:1.8;
    font-size:15px;
}

.seaes-box-resumen{
    background: linear-gradient(135deg, #fff4dc 0%, #f9e6bb 100%);
    border: 1px solid #ecd49d;
    border-radius: 18px;
    padding: 25px;
    text-align:center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.seaes-box-resumen .num{
    font-size: 42px;
    font-weight: 800;
    color: var(--itsm-guinda);
}

.seaes-box-resumen .txt{
    font-size: 14px;
    color: #6f5a27;
    font-weight: 600;
}

/* =========================
   SECTION
========================= */
.seaes-section{
    margin-bottom:25px;
}

.seaes-title{
    margin:0 0 18px;
    font-size:28px;
    font-weight:800;
    color: var(--itsm-guinda);
    position: relative;
    padding-left: 14px;
}

.seaes-title:before{
    content:"";
    position:absolute;
    left:0;
    top:4px;
    width:5px;
    height:30px;
    background: linear-gradient(180deg, var(--itsm-dorado), var(--itsm-guinda));
    border-radius:4px;
}

/* =========================
   CARDS
========================= */
.seaes-card{
    background: var(--itsm-blanco);
    border: 1px solid var(--itsm-borde);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(80, 46, 20, .06);
    min-height: 180px;
    transition: all .22s ease;
}

.seaes-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(107, 15, 43, .10);
}

.seaes-card h3,
.seaes-card h4{
    margin-top:0;
    color: var(--itsm-guinda);
}

.seaes-card p{
    color: var(--itsm-texto-suave);
    line-height: 1.75;
}

.seaes-card-ambito .clave{
    display:inline-block;
    background:#fff0cf;
    color: var(--itsm-guinda);
    border: 1px solid #efd59b;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    margin-bottom:10px;
}

/* =========================
   BOTONES
========================= */
.seaes-btn,
.seaes-link{
    display:inline-block;
    background: linear-gradient(90deg, var(--itsm-guinda), var(--itsm-guinda-2));
    color:#fff;
    text-decoration:none;
    padding:10px 16px;
    border-radius:24px;
    font-weight:700;
    margin-top:10px;
    border: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 8px 18px rgba(107, 15, 43, .18);
    transition: all .2s ease;
}

.seaes-btn:hover,
.seaes-link:hover{
    text-decoration:none;
    color:#fff;
    background: linear-gradient(90deg, var(--itsm-guinda-3), var(--itsm-guinda));
    transform: translateY(-1px);
}

.seaes-btn-dorado{
    display:inline-block;
    background: linear-gradient(90deg, var(--itsm-dorado), var(--itsm-dorado-2));
    color: #3d2a08;
    text-decoration:none;
    padding:10px 16px;
    border-radius:24px;
    font-weight:700;
    margin-top:10px;
    border: 1px solid #dab45a;
}

.seaes-btn-dorado:hover{
    text-decoration:none;
    color: #3d2a08;
    filter: brightness(0.98);
}

/* =========================
   TABLAS
========================= */
.table{
    background:#fff;
}

.table thead th{
    background:#f8ecd2;
    color: var(--itsm-guinda);
    border-bottom: 2px solid #dfc48b !important;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td{
    border-color:#eadfcd !important;
}

/* =========================
   FOOTER
========================= */
.seaes-footer{
    background: linear-gradient(90deg, var(--itsm-guinda-3), var(--itsm-guinda));
    color:#f5e7bd;
    padding:18px 0;
    text-align:center;
    border-top: 3px solid var(--itsm-dorado);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 767px){
    .seaes-brand{
        align-items:flex-start;
    }

    .seaes-brand-logo img{
        max-height: 70px;
    }

    .seaes-brand h1{
        font-size: 30px;
    }

    .seaes-title{
        font-size:24px;
    }

    .seaes-hero{
        padding:22px;
    }
}




/* =========================
   HERO PREMIUM
========================= */
.seaes-hero-premium{
    margin-bottom: 30px;
}

.seaes-hero-premium__wrap{
    background: linear-gradient(135deg, #fffdf9 0%, #fff5e7 100%);
    border: 1px solid var(--itsm-borde);
    border-radius: 26px;
    padding: 34px 28px;
    box-shadow: 0 16px 35px rgba(107, 15, 43, .08);
}

.seaes-hero-premium__content h2{
    margin: 10px 0 14px;
    color: var(--itsm-guinda);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
}

.seaes-hero-premium__content p{
    color: var(--itsm-texto-suave);
    line-height: 1.9;
    font-size: 15px;
    max-width: 92%;
}

.seaes-badge-top{
    display:inline-block;
    padding: 7px 14px;
    border-radius: 25px;
    background: #fff0cf;
    border: 1px solid #efd59b;
    color: var(--itsm-guinda);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.seaes-hero-premium__buttons{
    margin-top: 22px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.seaes-hero-panel{
    background: linear-gradient(180deg, rgba(107,15,43,.98) 0%, rgba(79,12,32,1) 100%);
    border-radius: 24px;
    padding: 24px;
    color: #fff;
    box-shadow: 0 18px 35px rgba(79,12,32,.22);
}

.seaes-hero-panel__logo{
    text-align:center;
    margin-bottom: 18px;
}

.seaes-hero-panel__logo img{
    max-width: 100%;
    max-height: 105px;
}

.seaes-mini-stats{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.seaes-mini-stat{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding: 16px;
    text-align:center;
}

.seaes-mini-stat .num{
    font-size: 28px;
    font-weight: 800;
    color: #f4d895;
}

.seaes-mini-stat .label{
    font-size: 12px;
    color: #f8eed8;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.seaes-hero-panel__footer{
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    color: #f9ebc6;
    font-size: 13px;
    text-align:center;
    font-weight: 700;
}

/* =========================
   QUICK CARDS
========================= */
.seaes-quick-card{
    display:flex;
    gap:16px;
    background:#fff;
    border:1px solid var(--itsm-borde);
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
    text-decoration:none !important;
    box-shadow:0 10px 24px rgba(80,46,20,.05);
    transition: all .22s ease;
    min-height: 170px;
}

.seaes-quick-card:hover{
    transform: translateY(-4px);
    box-shadow:0 16px 30px rgba(107,15,43,.10);
    text-decoration:none !important;
}

.seaes-quick-card__icon{
    width:58px;
    height:58px;
    min-width:58px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    background:#fff0cf;
    border:1px solid #efd59b;
}

.seaes-quick-card__body h4{
    margin:0 0 10px;
    color: var(--itsm-guinda);
    font-weight: 800;
}

.seaes-quick-card__body p{
    margin:0;
    color: var(--itsm-texto-suave);
    line-height:1.75;
}

/* =========================
   CARDS PREMIUM
========================= */
.seaes-card-premium{
    background:#fff;
    border:1px solid var(--itsm-borde);
    border-radius:20px;
    padding:22px;
    margin-bottom:20px;
    box-shadow:0 10px 24px rgba(80,46,20,.05);
    min-height:220px;
    transition: all .22s ease;
}

.seaes-card-premium:hover{
    transform: translateY(-4px);
    box-shadow:0 16px 30px rgba(107,15,43,.10);
}

.seaes-card-premium__top{
    margin-bottom:12px;
}

.seaes-card-premium .clave{
    display:inline-block;
    background:#fff0cf;
    color:var(--itsm-guinda);
    border:1px solid #efd59b;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.seaes-card-premium h4{
    margin:0 0 12px;
    color: var(--itsm-guinda);
    font-weight:800;
}

.seaes-card-premium p{
    color: var(--itsm-texto-suave);
    line-height:1.75;
}

/* =========================
   STAT CARDS
========================= */
.seaes-stat-card{
    background:#fff;
    border:1px solid var(--itsm-borde);
    border-radius:18px;
    padding:20px;
    min-height:120px;
    box-shadow:0 10px 24px rgba(80,46,20,.05);
}

.seaes-stat-card__label{
    display:block;
    color:#8d6f2c;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.4px;
    margin-bottom:10px;
}

.seaes-stat-card strong{
    color: var(--itsm-guinda);
    font-size:20px;
    line-height:1.4;
    display:block;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px){
    .seaes-hero-premium__content h2{
        font-size: 30px;
    }

    .seaes-hero-panel{
        margin-top:20px;
    }
}

@media (max-width: 767px){
    .seaes-hero-premium__wrap{
        padding: 24px 18px;
    }

    .seaes-hero-premium__content h2{
        font-size: 26px;
    }

    .seaes-mini-stats{
        grid-template-columns: 1fr 1fr;
    }

    .seaes-quick-card{
        min-height:auto;
    }
}



.seaes-inline-info{
    background:#fff7ea;
    border:1px solid #ead7ad;
    border-radius:12px;
    padding:10px 14px;
    min-height:34px;
    font-weight:600;
    color:#5a2433;
}

.seaes-block{
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid #eee2d0;
}

.seaes-lista{
    padding-left:18px;
}

.seaes-lista li{
    margin-bottom:14px;
    line-height:1.7;
    color:#5e5561;
}

.seaes-tag{
    display:inline-block;
    background:#fff0cf;
    border:1px solid #efd59b;
    color:#6b0f2b;
    font-size:11px;
    font-weight:800;
    padding:4px 8px;
    border-radius:15px;
    margin-bottom:6px;
}

.seaes-retro-item{
    border:1px solid #eadfcd;
    border-radius:14px;
    padding:16px;
    margin-bottom:14px;
    background:#fffdfa;
}



/* =========================
   CABECERA DE PÁGINA
========================= */
.seaes-page-head{
    margin-bottom: 18px;
}

.seaes-page-head__text{
    color: var(--itsm-texto-suave);
    margin-top: -4px;
    margin-bottom: 0;
    font-size: 15px;
}

/* =========================
   TOOLBAR SUPERIOR
========================= */
.seaes-toolbar-card{
    background: linear-gradient(135deg, #fffdf9 0%, #fff6ea 100%);
    border: 1px solid var(--itsm-borde);
    border-radius: 22px;
    padding: 20px 22px;
    box-shadow: 0 10px 24px rgba(80,46,20,.05);
    margin-bottom: 24px;
}

.seaes-toolbar-form{
    display: flex;
    gap: 18px;
    align-items: end;
    flex-wrap: wrap;
}

.seaes-toolbar-left{
    min-width: 260px;
    flex: 0 0 280px;
}

.seaes-toolbar-right{
    flex: 1;
    min-width: 280px;
}

.seaes-label{
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--itsm-guinda);
    text-transform: uppercase;
    letter-spacing: .35px;
}

.seaes-select-wrap{
    position: relative;
}

.seaes-select{
    width: 100%;
    height: 46px;
    border: 1px solid #dfcda9;
    border-radius: 14px;
    background: #fff;
    color: var(--itsm-guinda);
    font-weight: 700;
    padding: 0 14px;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.02);
}

.seaes-select:focus{
    border-color: var(--itsm-dorado);
    box-shadow: 0 0 0 4px rgba(199,154,59,.12);
}

.seaes-report-chip{
    min-height: 46px;
    background: #fffaf2;
    border: 1px solid #e4d4b3;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    color: var(--itsm-guinda);
    line-height: 1.45;
}

/* =========================
   MENÚ HORIZONTAL DE ÁMBITOS
========================= */
.seaes-tabs-wrap{
    margin-bottom: 24px;
}

.seaes-tabs{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.seaes-tabs::-webkit-scrollbar{
    height: 8px;
}

.seaes-tabs::-webkit-scrollbar-thumb{
    background: #d8c6a0;
    border-radius: 10px;
}

.seaes-tab{
    min-width: 280px;
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--itsm-borde);
    border-radius: 18px;
    padding: 16px 18px;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(80,46,20,.05);
    transition: all .22s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seaes-tab:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(107,15,43,.10);
    text-decoration: none !important;
}

.seaes-tab__clave{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff0cf;
    border: 1px solid #efd59b;
    color: var(--itsm-guinda);
    font-size: 13px;
    font-weight: 800;
}

.seaes-tab__titulo{
    color: var(--itsm-guinda);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.seaes-tab.activo{
    background: linear-gradient(135deg, var(--itsm-guinda) 0%, var(--itsm-guinda-2) 100%);
    border-color: rgba(0,0,0,.06);
    box-shadow: 0 16px 28px rgba(107,15,43,.18);
}

.seaes-tab.activo .seaes-tab__clave{
    background: linear-gradient(135deg, #f4d895 0%, #dfb24d 100%);
    border-color: transparent;
    color: #4a2a00;
}

.seaes-tab.activo .seaes-tab__titulo{
    color: #fff;
}

/* =========================
   DETALLE DEL ÁMBITO
========================= */
.seaes-card-detalle-premium{
    padding: 26px;
    border-radius: 22px;
}

.seaes-detail-head{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eadfcd;
}

.seaes-detail-head__badge{
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff0cf 0%, #f2d48e 100%);
    color: var(--itsm-guinda);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efd59b;
}

.seaes-detail-head h3{
    margin: 0 0 6px;
    color: var(--itsm-guinda);
    font-size: 30px;
    font-weight: 800;
}

.seaes-detail-head p{
    margin: 0;
    color: var(--itsm-texto-suave);
    line-height: 1.7;
}

.seaes-content-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.seaes-block-premium{
    background: #fffdf9;
    border: 1px solid #eee2d0;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 0;
}

.seaes-block-premium h4{
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--itsm-guinda);
    font-weight: 800;
}

.seaes-info-panel{
    min-height: 240px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px){
    .seaes-toolbar-left,
    .seaes-toolbar-right{
        flex: 1 1 100%;
        min-width: 100%;
    }

    .seaes-tab{
        min-width: 240px;
    }

    .seaes-detail-head h3{
        font-size: 24px;
    }
}

@media (max-width: 767px){
    .seaes-toolbar-card{
        padding: 16px;
    }

    .seaes-tab{
        min-width: 220px;
    }

    .seaes-detail-head{
        flex-direction: column;
    }

    .seaes-detail-head__badge{
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
}


.seaes-loading{
    background: #fff8ea;
    border: 1px solid #e7d6b3;
    color: var(--itsm-guinda);
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(80,46,20,.04);
}


/* =========================
   DASHBOARD DE INDICADORES
========================= */
.seaes-toolbar-card--premium{
    margin-bottom: 24px;
}

.seaes-kpis-row{
    margin-bottom: 10px;
}

.seaes-kpi-card{
    background: #fff;
    border: 1px solid var(--itsm-borde);
    border-radius: 22px;
    padding: 22px;
    min-height: 170px;
    box-shadow: 0 12px 26px rgba(80,46,20,.05);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.seaes-kpi-card:before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:6px;
    background: linear-gradient(90deg, var(--itsm-dorado), var(--itsm-guinda));
}

.seaes-kpi-card--primary{
    background: linear-gradient(135deg, var(--itsm-guinda) 0%, var(--itsm-guinda-2) 100%);
    border-color: transparent;
    box-shadow: 0 18px 30px rgba(107,15,43,.18);
}

.seaes-kpi-card--primary:before{
    background: linear-gradient(90deg, #f4d895, #dfb24d);
}

.seaes-kpi-card__label{
    display:block;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:#8a6e2f;
    margin-bottom:10px;
}

.seaes-kpi-card--primary .seaes-kpi-card__label{
    color:#f6df9a;
}

.seaes-kpi-card__value{
    display:block;
    font-size:38px;
    font-weight:800;
    color: var(--itsm-guinda);
    line-height:1.1;
    margin-bottom:10px;
}

.seaes-kpi-card__value--sm{
    font-size:24px;
    line-height:1.3;
}

.seaes-kpi-card--primary .seaes-kpi-card__value{
    color:#fff;
}

.seaes-kpi-card__sub{
    display:block;
    color: var(--itsm-texto-suave);
    font-size:14px;
    line-height:1.6;
}

.seaes-kpi-card--primary .seaes-kpi-card__sub{
    color:#f7ead2;
}

.seaes-panel{
    background:#fff;
    border:1px solid var(--itsm-borde);
    border-radius:22px;
    padding:22px;
    box-shadow:0 10px 24px rgba(80,46,20,.05);
    margin-bottom:24px;
}

.seaes-panel__head{
    margin-bottom:18px;
}

.seaes-panel__head h3{
    margin:0 0 6px;
    color: var(--itsm-guinda);
    font-weight:800;
    font-size:24px;
}

.seaes-panel__head p{
    margin:0;
    color: var(--itsm-texto-suave);
    line-height:1.7;
}

.seaes-ambitos-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:18px;
}

.seaes-ambito-card{
    background:#fffdf9;
    border:1px solid #eee2d0;
    border-radius:20px;
    padding:18px;
}

.seaes-ambito-card__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.seaes-ambito-card__clave{
    display:inline-block;
    padding:6px 12px;
    border-radius:18px;
    background:#fff0cf;
    border:1px solid #efd59b;
    color: var(--itsm-guinda);
    font-size:12px;
    font-weight:800;
}

.seaes-ambito-card__score{
    color: var(--itsm-guinda);
    font-size:22px;
    font-weight:800;
}

.seaes-ambito-card h4{
    margin:0 0 14px;
    color: var(--itsm-guinda);
    font-size:18px;
    line-height:1.35;
}

.seaes-ambito-card__meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:12px;
    color: var(--itsm-texto-suave);
    font-size:13px;
    font-weight:700;
}

.seaes-progress{
    width:100%;
    height:14px;
    border-radius:20px;
    background:#efe5d5;
    overflow:hidden;
}

.seaes-progress--thin{
    height:10px;
}

.seaes-progress__bar{
    height:100%;
    border-radius:20px;
    background: linear-gradient(90deg, var(--itsm-dorado), var(--itsm-guinda));
}

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

.seaes-criterio-card{
    background:#fffdf9;
    border:1px solid #eee2d0;
    border-radius:20px;
    padding:18px;
}

.seaes-criterio-card__score{
    font-size:26px;
    font-weight:800;
    color: var(--itsm-guinda);
    margin-bottom:8px;
}

.seaes-criterio-card h4{
    margin:0 0 10px;
    font-size:17px;
    color: var(--itsm-guinda);
    line-height:1.35;
}

.seaes-criterio-card__meta{
    margin-top:10px;
    color: var(--itsm-texto-suave);
    font-size:13px;
    font-weight:700;
}

.seaes-table-premium{
    margin-bottom:0;
    background:#fff;
}

.seaes-table-premium thead th{
    background:#f8ecd2;
    color: var(--itsm-guinda);
    border-bottom:2px solid #dfc48b !important;
    vertical-align:middle !important;
}

.seaes-table-premium tbody td{
    vertical-align:middle !important;
    color:#4d4650;
}

.seaes-table-premium--small{
    font-size:13px;
}

.seaes-badge-semaforo{
    display:inline-block;
    padding:7px 12px;
    border-radius:18px;
    color:#fff;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.3px;
    min-width:78px;
    text-align:center;
}

@media (max-width: 991px){
    .seaes-ambitos-grid{
        grid-template-columns: 1fr;
    }

    .seaes-criterios-grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 767px){
    .seaes-kpi-card__value{
        font-size:30px;
    }

    .seaes-kpi-card__value--sm{
        font-size:20px;
    }

    .seaes-criterios-grid{
        grid-template-columns: 1fr;
    }
}


.seaes-toolbar-left--wrap{
    display:grid;
    grid-template-columns:repeat(3,minmax(220px,1fr));
    gap:18px;
    width:100%;
}

.seaes-toolbar-right--grow{
    min-width:320px;
    width:100%;
}

.seaes-input{
    width:100%;
    min-height:46px;
    border:1px solid #d9c7a7;
    border-radius:14px;
    padding:10px 14px;
    background:#fff;
    color:#5a1323;
}

.seaes-bp-layout{
    display:grid;
    grid-template-columns:380px minmax(0,1fr);
    gap:24px;
    align-items:start;
}

.seaes-bp-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.seaes-bp-item{
    appearance:none;
    display:block;
    width:100%;
    text-align:left;
    border:1px solid #d9c7a7;
    border-radius:18px;
    background:#fff;
    padding:18px;
    cursor:pointer;
    transition:.2s ease;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.seaes-bp-item:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.seaes-bp-item.is-active{
    border-color:#7a1730;
    box-shadow:0 0 0 2px rgba(122,23,48,.12);
}

.seaes-bp-item__top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    flex-wrap:wrap;
}

.seaes-bp-item__title{
    font-weight:700;
    color:#5a1323;
    line-height:1.35;
    flex:1 1 220px;
}

.seaes-bp-item__meta,
.seaes-bp-item__criterios,
.seaes-bp-header-meta,
.seaes-bp-header-criterios{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:10px;
}

.seaes-bp-item__summary{
    margin-top:12px;
    color:#5f6270;
    line-height:1.55;
}

.seaes-chip,
.seaes-report-chip,
.seaes-badge{
    display:inline-flex;
    align-items:center;
    flex-wrap:wrap;
    max-width:100%;
}

.seaes-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.seaes-detail-card{
    border:1px solid #eadfcb;
    border-radius:16px;
    padding:16px;
    background:#fff;
}

.seaes-detail-card--impact{
    grid-column:1 / -1;
    background:#fffaf2;
    border-color:#d9c7a7;
}

.seaes-detail-card__title{
    margin:0 0 10px 0;
    font-size:16px;
    font-weight:700;
    color:#6f1027;
}

.seaes-detail-card__content{
    color:#454b57;
    line-height:1.65;
}

.seaes-evidencias-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.seaes-evidencia-card{
    display:flex;
    justify-content:space-between;
    gap:16px;
    border:1px solid #eadfcb;
    border-radius:16px;
    padding:16px;
    background:#fff;
}

.seaes-evidencia-card__title{
    margin:0 0 8px 0;
    font-size:16px;
    font-weight:700;
    color:#5a1323;
}

.seaes-evidencia-card__meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:8px;
}

.seaes-evidencia-card__desc{
    margin:0;
    line-height:1.55;
    color:#5f6270;
}

.seaes-evidencia-card__actions{
    display:flex;
    gap:8px;
    align-items:flex-start;
    flex-wrap:wrap;
}

@media (max-width: 1200px){
    .seaes-bp-layout{
        grid-template-columns:1fr;
    }

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

    .seaes-toolbar-left--wrap{
        grid-template-columns:1fr;
    }
}

/* ===== TOOLBAR BUENAS PRÁCTICAS EN UNA SOLA FILA ===== */
.seaes-toolbar-form--bp{
    display:flex;
    align-items:flex-end;
    gap:12px;
    flex-wrap:nowrap;
}

.seaes-toolbar-form--bp .seaes-toolbar-left{
    display:flex;
    align-items:flex-end;
    gap:12px;
    flex:1 1 auto;
    min-width:0;
}

.seaes-toolbar-form--bp .seaes-toolbar-left--wrap{
    display:flex;
    align-items:flex-end;
    gap:12px;
    flex:1 1 auto;
    min-width:0;
}

.seaes-toolbar-form--bp .seaes-toolbar-left--wrap > div{
    flex:0 0 auto;
    min-width:0;
}

.seaes-toolbar-form--bp .seaes-toolbar-right{
    flex:1 1 340px;
    min-width:260px;
    max-width:420px;
}

.seaes-toolbar-form--bp .seaes-label{
    display:block;
    margin:0 0 4px 0;
    font-size:12px;
    font-weight:700;
    line-height:1.1;
    letter-spacing:.3px;
    white-space:nowrap;
}

.seaes-toolbar-form--bp .seaes-select,
.seaes-toolbar-form--bp .seaes-input{
    width:100%;
    min-height:38px;
    height:38px;
    padding:6px 12px;
    border-radius:12px;
    font-size:14px;
    box-sizing:border-box;
}

.seaes-toolbar-form--bp .seaes-select-wrap{
    width:100%;
}

.seaes-toolbar-form--bp .seaes-toolbar-left--wrap > div:nth-child(1){
    width:220px;
}

.seaes-toolbar-form--bp .seaes-toolbar-left--wrap > div:nth-child(2){
    width:275px;
}

.seaes-toolbar-form--bp .seaes-toolbar-left--wrap > div:nth-child(3){
    width:190px;
}

.seaes-toolbar-card--premium{
    padding:12px 16px;
}

@media (max-width: 1200px){
    .seaes-toolbar-form--bp{
        flex-wrap:wrap;
    }

    .seaes-toolbar-form--bp .seaes-toolbar-left{
        flex:1 1 100%;
        flex-wrap:wrap;
    }

    .seaes-toolbar-form--bp .seaes-toolbar-left--wrap{
        flex-wrap:wrap;
    }

    .seaes-toolbar-form--bp .seaes-toolbar-right{
        flex:1 1 100%;
        max-width:none;
    }
}

@media (max-width: 768px){
    .seaes-toolbar-form--bp .seaes-toolbar-left--wrap > div,
    .seaes-toolbar-form--bp .seaes-toolbar-right{
        width:100% !important;
        min-width:0;
    }
}


/* ===== BUENAS PRÁCTICAS: CATÁLOGO IZQUIERDO MÁS COMPACTO ===== */
.seaes-bp-layout{
    display:grid;
    grid-template-columns: 320px minmax(0,1fr);
    gap:18px;
    align-items:start;
}

.seaes-bp-sidebar .seaes-card--premium{
    padding:14px;
}

.seaes-bp-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    max-height: calc(100vh - 260px);
    overflow:auto;
    padding-right:4px;
}

.seaes-bp-item{
    width:100%;
    text-align:left;
    border:1px solid #d9c7a7;
    border-radius:14px;
    background:#fff;
    padding:12px 12px 10px 12px;
    cursor:pointer;
    transition:.18s ease;
    box-shadow:0 1px 6px rgba(0,0,0,.04);
}

.seaes-bp-item:hover{
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(0,0,0,.07);
}

.seaes-bp-item.is-active{
    border-color:#7a1730;
    box-shadow:0 0 0 2px rgba(122,23,48,.10);
}

.seaes-bp-item__top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:8px;
}

.seaes-bp-item__title{
    font-size:14px;
    font-weight:700;
    line-height:1.25;
    color:#5a1323;
    margin:0;
    flex:1 1 auto;
}

.seaes-bp-item__meta,
.seaes-bp-item__criterios{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:6px;
}

.seaes-bp-item__summary{
    margin:8px 0 0 0;
    font-size:12.5px;
    line-height:1.35;
    color:#5f6270;

    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.seaes-bp-item .seaes-report-chip,
.seaes-bp-item .seaes-chip,
.seaes-bp-item .seaes-badge{
    font-size:11px;
    line-height:1;
    padding:5px 8px;
    border-radius:999px;
}

.seaes-bp-sidebar .seaes-card__title{
    font-size:18px;
    margin-bottom:2px;
}

.seaes-bp-sidebar .seaes-card__meta{
    font-size:12px;
}

/* Scroll fino opcional */
.seaes-bp-list::-webkit-scrollbar{
    width:8px;
}
.seaes-bp-list::-webkit-scrollbar-thumb{
    background:#d7c5a2;
    border-radius:10px;
}
.seaes-bp-list::-webkit-scrollbar-track{
    background:transparent;
}

@media (max-width: 1200px){
    .seaes-bp-layout{
        grid-template-columns: 280px minmax(0,1fr);
    }
}

@media (max-width: 980px){
    .seaes-bp-layout{
        grid-template-columns:1fr;
    }

    .seaes-bp-list{
        max-height:none;
        overflow:visible;
    }
}




/* ===== BADGES DE CRITERIOS TRANSVERSALES SEAES ===== */
.seaes-bp-header-criterios,
.seaes-bp-item__criterios{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
}

.seaes-crit-badge{
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    line-height:1;
    border:1px solid transparent;
    white-space:nowrap;
}

.seaes-bp-item__criterios .seaes-crit-badge{
    font-size:11px;
    padding:5px 9px;
}

/* Responsabilidad social */
.seaes-crit-badge--responsabilidad{
    background:#eef6ff;
    color:#1d4f91;
    border-color:#bfd6f6;
}

/* Equidad social y de género */
.seaes-crit-badge--equidad{
    background:#fff0f6;
    color:#a23a72;
    border-color:#f2bfd4;
}

/* Inclusión */
.seaes-crit-badge--inclusion{
    background:#eefbf3;
    color:#1f7a46;
    border-color:#bfe7cc;
}

/* Excelencia */
.seaes-crit-badge--excelencia{
    background:#fff6e8;
    color:#9a5b00;
    border-color:#efd3a1;
}

/* Vanguardia */
.seaes-crit-badge--vanguardia{
    background:#f2efff;
    color:#5b43a6;
    border-color:#cdc3f2;
}

/* Innovación social */
.seaes-crit-badge--innovacion{
    background:#eafaf8;
    color:#0f766e;
    border-color:#b8e7e1;
}

/* Interculturalidad */
.seaes-crit-badge--interculturalidad{
    background:#fff7ed;
    color:#9a4d1a;
    border-color:#f0cfaa;
}

/* Default */
.seaes-crit-badge--default{
    background:#f4f4f4;
    color:#555;
    border-color:#ddd;
}


/* ===== EVIDENCIAS: FECHA MÁS COMPACTA ===== */
.seaes-evidencia-card__meta .seaes-report-chip{
    font-size:11px;
    line-height:1;
    padding:4px 8px;
    border-radius:10px;
    min-height:auto;
}


/* ===== EVIDENCIAS: BOTONES SIN SALTO DE LÍNEA ===== */
.seaes-evidencia-card__actions .seaes-btn{
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 18px;
    line-height:1;
}

.seaes-evidencia-card__actions{
    flex-shrink:0;
}


/* ===== TARJETA DE EVIDENCIA MÁS ESTABLE ===== */
.seaes-evidencia-card{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
}

.seaes-evidencia-card__body{
    flex:1 1 auto;
    min-width:0;
}

.seaes-evidencia-card__actions{
    display:flex;
    gap:8px;
    align-items:flex-start;
    flex-wrap:nowrap;
    flex-shrink:0;
}

.seaes-evidencia-card__actions .seaes-btn{
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 18px;
    line-height:1;
}


/* ===== PLANES DE MEJORA ===== */

.seaes-plan-search-wrap{
    margin-bottom:12px;
}

.seaes-plan-item{
    padding:12px 12px 10px 12px;
}

.seaes-plan-item .seaes-bp-item__title{
    font-size:14px;
    line-height:1.25;
}

.seaes-plan-head-resumen{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:10px;
    margin-bottom:10px;
}

.seaes-plan-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:6px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.3px;
    text-transform:uppercase;
    border:1px solid transparent;
}

.seaes-plan-status--pendiente{
    background:#fff7e8;
    color:#9a5b00;
    border-color:#ecd29d;
}

.seaes-plan-status--proceso{
    background:#eef6ff;
    color:#1d4f91;
    border-color:#bfd6f6;
}

.seaes-plan-status--concluido{
    background:#eefbf3;
    color:#1f7a46;
    border-color:#bfe7cc;
}

.seaes-plan-status--cancelado{
    background:#fff0f0;
    color:#b42318;
    border-color:#f2c1c1;
}

.seaes-plan-status--reprogramado{
    background:#f7f1ff;
    color:#6d42a8;
    border-color:#d7c6f2;
}

.seaes-plan-status--borrador{
    background:#f4f4f4;
    color:#666;
    border-color:#ddd;
}

.seaes-plan-status--default{
    background:#f4f4f4;
    color:#666;
    border-color:#ddd;
}

.seaes-plan-progress-mini{
    min-width:180px;
    max-width:220px;
    background:#fff;
    border:1px solid #eadfcb;
    border-radius:12px;
    padding:8px 10px;
}

.seaes-plan-progress-mini__label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    font-weight:700;
    color:#6f1027;
    margin-bottom:6px;
}

.seaes-plan-progress-mini__bar{
    height:8px;
    border-radius:999px;
    background:#eee6d7;
    overflow:hidden;
}

.seaes-plan-progress-mini__bar span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#6b0f2b,#a21d4f);
}

.seaes-plan-evidencias{
    margin-top:12px;
    padding-top:12px;
    border-top:1px dashed #e6d9c2;
}

.seaes-plan-evidencias__title{
    margin:0 0 10px 0;
    font-size:14px;
    font-weight:700;
    color:#6f1027;
}

.seaes-plan-evidencias__list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.seaes-plan-evidencia-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    border:1px solid #eadfcb;
    border-radius:14px;
    background:#fff;
    padding:12px;
}

.seaes-plan-evidencia-item__body{
    flex:1 1 auto;
    min-width:0;
}

.seaes-plan-evidencia-item__body strong{
    display:block;
    margin-bottom:6px;
    color:#5a1323;
}

.seaes-plan-evidencia-item__meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:6px;
}

.seaes-plan-evidencia-item__body p{
    margin:0;
    color:#5f6270;
    line-height:1.5;
}

.seaes-plan-evidencia-item__actions{
    display:flex;
    gap:8px;
    flex-wrap:nowrap;
    flex-shrink:0;
}

.seaes-plan-evidencia-item__actions .seaes-btn{
    white-space:nowrap;
}

@media (max-width: 900px){
    .seaes-plan-evidencia-item{
        flex-direction:column;
    }

    .seaes-plan-evidencia-item__actions{
        width:100%;
    }
}


/* ===== PLAN DE MEJORA: AJUSTES DE CATÁLOGO Y PROGRESO ===== */

.seaes-plan-search-wrap--top{
    margin-bottom:10px;
}

.seaes-plan-search-wrap--top .seaes-input{
    height:42px;
    border-radius:14px;
}

.seaes-plan-item{
    padding:14px 14px 12px 14px;
    border-radius:18px;
}

.seaes-plan-item .seaes-bp-item__title{
    display:block;
    font-size:14px;
    font-weight:700;
    line-height:1.28;
    color:#5a1323;
    margin-bottom:8px;
}

.seaes-plan-item__status{
    margin-bottom:10px;
}

.seaes-plan-item .seaes-plan-status{
    min-height:32px;
    padding:6px 12px;
    font-size:11px;
    font-weight:800;
}

.seaes-plan-progress-card{
    border:1px solid #eadfcb;
    background:#fff;
    border-radius:12px;
    padding:8px 10px;
    margin-bottom:10px;
}

.seaes-plan-progress-card__label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    font-weight:700;
    color:#6f1027;
    margin-bottom:6px;
}

.seaes-plan-progress-card__bar{
    height:7px;
    background:#eee6d7;
    border-radius:999px;
    overflow:hidden;
}

.seaes-plan-progress-card__bar span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#6b0f2b,#a21d4f);
}

.seaes-plan-item__meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.seaes-plan-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:6px 12px;
    border-radius:12px;
    font-size:12px;
    font-weight:700;
    line-height:1;
    border:1px solid #e2d2b1;
    background:#fff8ea;
    color:#7a1730;
    white-space:nowrap;
}

.seaes-plan-chip--acciones{
    background:#fff8ea;
    color:#7a1730;
    border-color:#e2d2b1;
}

/* Encabezado derecho más compacto */
.seaes-plan-head-resumen{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:10px;
    margin-bottom:8px;
}

.seaes-plan-head-resumen .seaes-plan-status{
    min-height:34px;
    padding:6px 14px;
    font-size:12px;
}

.seaes-plan-head-resumen .seaes-report-chip{
    min-height:34px;
    padding:6px 12px;
    font-size:12px;
}

.seaes-plan-progress-mini{
    min-width:220px;
    max-width:260px;
    background:#fff;
    border:1px solid #eadfcb;
    border-radius:12px;
    padding:8px 10px;
}

.seaes-plan-progress-mini__label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    font-weight:700;
    color:#6f1027;
    margin-bottom:6px;
}

.seaes-plan-progress-mini__bar{
    height:8px;
    border-radius:999px;
    background:#eee6d7;
    overflow:hidden;
}

.seaes-plan-progress-mini__bar span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#6b0f2b,#a21d4f);
}

/* Estatus con mejor color */
.seaes-plan-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid transparent;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.seaes-plan-status--pendiente{
    background:#fff7e8;
    color:#9a5b00;
    border-color:#ecd29d;
}

.seaes-plan-status--proceso{
    background:#eef6ff;
    color:#1d4f91;
    border-color:#bfd6f6;
}

.seaes-plan-status--concluido{
    background:#eefbf3;
    color:#1f7a46;
    border-color:#bfe7cc;
}

.seaes-plan-status--cancelado{
    background:#fff0f0;
    color:#b42318;
    border-color:#f2c1c1;
}

.seaes-plan-status--reprogramado{
    background:#f7f1ff;
    color:#6d42a8;
    border-color:#d7c6f2;
}

.seaes-plan-status--borrador{
    background:#f4f4f4;
    color:#666;
    border-color:#ddd;
}

.seaes-plan-status--default{
    background:#f4f4f4;
    color:#666;
    border-color:#ddd;
}

.seaes-plan-item{
    padding:12px;
}

.seaes-plan-item .seaes-bp-item__title{
    font-size:13px;
}

.seaes-plan-chip,
.seaes-plan-item .seaes-plan-status{
    font-size:11px;
}



/* ===== PLANES DE MEJORA: AJUSTE FUERTE DEL PANEL IZQUIERDO ===== */

.seaes-bp-layout{
    display:grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap:18px;
    align-items:start;
}

.seaes-bp-sidebar{
    min-width:0;
}

.seaes-bp-sidebar .seaes-card--premium{
    padding:14px;
    overflow:hidden;
}

.seaes-plan-search-wrap--top{
    margin-bottom:12px;
    width:100%;
}

.seaes-plan-search-wrap--top .seaes-input{
    display:block;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    height:42px;
    border-radius:14px;
    padding:10px 14px;
}

.seaes-bp-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-height:calc(100vh - 260px);
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:6px;
    min-width:0;
}

.seaes-plan-item,
.seaes-bp-item.seaes-plan-item{
    display:block;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    padding:14px;
    border-radius:18px;
    overflow:hidden;
}

.seaes-plan-item .seaes-bp-item__top{
    display:block;
    width:100%;
    margin-bottom:8px;
}

.seaes-plan-item .seaes-bp-item__title{
    display:block;
    width:100%;
    max-width:100%;
    font-size:14px;
    line-height:1.25;
    word-break:break-word;
    overflow-wrap:anywhere;
    margin-bottom:0;
}

.seaes-plan-item__status{
    width:100%;
    margin-bottom:10px;
}

.seaes-plan-item .seaes-plan-status{
    display:inline-flex;
    max-width:100%;
    min-height:32px;
    padding:6px 12px;
    font-size:11px;
    box-sizing:border-box;
}

.seaes-plan-progress-card{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    border:1px solid #eadfcb;
    background:#fff;
    border-radius:12px;
    padding:8px 10px;
    margin-bottom:10px;
    overflow:hidden;
}

.seaes-plan-progress-card__label{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:700;
    color:#6f1027;
    margin-bottom:6px;
}

.seaes-plan-progress-card__bar{
    width:100%;
    height:7px;
    background:#eee6d7;
    border-radius:999px;
    overflow:hidden;
}

.seaes-plan-progress-card__bar span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#6b0f2b,#a21d4f);
}

.seaes-plan-item__meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    width:100%;
}

.seaes-plan-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:6px 12px;
    border-radius:12px;
    font-size:12px;
    font-weight:700;
    line-height:1;
    border:1px solid #e2d2b1;
    background:#fff8ea;
    color:#7a1730;
    white-space:nowrap;
    box-sizing:border-box;
}

.seaes-plan-chip--acciones{
    background:#fff8ea;
    color:#7a1730;
    border-color:#e2d2b1;
}

/* Scroll más discreto */
.seaes-bp-list::-webkit-scrollbar{
    width:8px;
}
.seaes-bp-list::-webkit-scrollbar-thumb{
    background:#d6c29b;
    border-radius:10px;
}
.seaes-bp-list::-webkit-scrollbar-track{
    background:transparent;
}

/* Encabezado derecho: que no se encime con el sidebar */
.seaes-bp-detail{
    min-width:0;
}

.seaes-card__title--xl{
    word-break:break-word;
    overflow-wrap:anywhere;
}

@media (max-width: 1200px){
    .seaes-bp-layout{
        grid-template-columns: 340px minmax(0,1fr);
    }
}

@media (max-width: 980px){
    .seaes-bp-layout{
        grid-template-columns:1fr;
    }

    .seaes-bp-list{
        max-height:none;
        overflow:visible;
        padding-right:0;
    }
}


.seaes-input{
    width:100%;
    min-height:44px;
    border:1px solid #d7deea;
    border-radius:14px;
    padding:10px 14px;
    background:#fff;
    outline:none;
}

.seaes-input:focus{
    border-color:#4b7bec;
    box-shadow:0 0 0 3px rgba(75,123,236,.12);
}

.seaes-doc-card{
    background:#fff;
    border:1px solid #e8edf5;
    border-radius:20px;
    padding:20px;
    height:100%;
    box-shadow:0 10px 25px rgba(15,23,42,.06);
    display:flex;
    flex-direction:column;
    gap:12px;
}

.seaes-doc-card__head{
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.seaes-doc-card__badge{
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    border-radius:999px;
    background:#eef4ff;
    color:#1e40af;
    font-size:12px;
    font-weight:700;
}

.seaes-doc-card__title{
    font-size:1.05rem;
    font-weight:700;
    margin:0;
    color:#0f172a;
}

.seaes-doc-card__meta{
    font-size:.88rem;
    color:#64748b;
}

.seaes-doc-card__desc{
    color:#334155;
    line-height:1.55;
    flex:1;
}

.seaes-doc-card__foot{
    margin-top:auto;
}

.seaes-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
}

.seaes-btn--primary{
    background:#2563eb;
    color:#fff;
}

.seaes-btn--primary:hover{
    background:#1d4ed8;
    color:#fff;
}

.seaes-btn--muted{
    background:#e5e7eb;
    color:#6b7280;
}

.seaes-empty-state{
    padding:30px;
    border:1px dashed #cbd5e1;
    border-radius:18px;
    background:#f8fafc;
    color:#475569;
}