/* ==========================================================================
   EPP Central — estilos
   Mismo lenguaje que EPP: negro cálido, dorado, profundidad con degradados y luz.
   ========================================================================== */

:root {
    --gold: #c9a86a;
    --gold-hi: #dcc08a;
    --gold-lo: #b08c52;
    --bg: #090807;
    --side: #0e0c0a;
    --text: #f4efe6;
    --muted: #b9b1a5;
    --label: #a89f92;
    --soft: #8d8579;
    --hair: rgba(255, 255, 255, .07);
    --hair-gold: rgba(201, 168, 106, .18);
    --radius: 18px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

h1, h2, h3, p { margin: 0; }

/* ---------- Superficies con profundidad ---------- */

.c-card {
    background:
        radial-gradient(90% 70% at 50% -10%, rgba(201, 168, 106, .10), transparent 60%),
        linear-gradient(155deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 42%, rgba(201, 168, 106, .03) 100%),
        rgba(16, 14, 12, .92);
    border: 1px solid rgba(201, 168, 106, .17);
    border-radius: var(--radius);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        inset 0 -1px 0 rgba(201, 168, 106, .06),
        0 30px 70px -36px rgba(0, 0, 0, .9);
    position: relative;
}

.c-card::before {
    background: linear-gradient(90deg, transparent, rgba(201, 168, 106, .5), transparent);
    content: "";
    height: 1px;
    left: 28%;
    position: absolute;
    right: 28%;
    top: 0;
}

.c-eyebrow {
    color: var(--gold);
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.c-rule {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    display: block;
    height: 1px;
    margin: 4px auto 0;
    opacity: .7;
    width: 40px;
}

/* ---------- Formularios ---------- */

.c-form { display: grid; gap: 14px; }

.c-form-row { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.c-field { display: grid; gap: 7px; }

.c-label {
    color: var(--label);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.c-input {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .028) 46%, rgba(0, 0, 0, .10) 100%),
        radial-gradient(120% 140% at 50% -40%, rgba(201, 168, 106, .10), transparent 60%),
        #16140f;
    border: 1px solid rgba(201, 168, 106, .18);
    border-bottom-color: rgba(201, 168, 106, .1);
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 8px 18px -12px rgba(0, 0, 0, .8);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    height: 42px;
    outline: none;
    padding: 0 14px;
    transition: border-color .25s ease, box-shadow .3s ease;
    width: 100%;
}

.c-input:hover { border-color: rgba(201, 168, 106, .3); }

.c-input:focus {
    border-color: rgba(201, 168, 106, .62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 0 3px rgba(201, 168, 106, .12), 0 10px 24px -14px rgba(201, 168, 106, .45);
}

.c-hint { color: var(--soft); font-size: 12px; margin-top: -4px; }

/* ---------- Botones ---------- */

.c-btn {
    align-items: center;
    border-radius: 11px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13.5px;
    font-weight: 650;
    gap: 9px;
    height: 42px;
    justify-content: center;
    letter-spacing: .02em;
    padding: 0 18px;
    transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease, background .25s ease;
}

.c-btn svg { height: 16px; width: 16px; transition: transform .3s var(--ease); }

.c-btn-primary {
    background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 52%, var(--gold-lo) 100%);
    border: 1px solid rgba(255, 236, 200, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 26px -16px rgba(201, 168, 106, .9);
    color: #15100a;
}

.c-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.c-btn-primary:hover svg { transform: translateX(3px); }

.c-btn-ghost {
    background: linear-gradient(180deg, rgba(201, 168, 106, .14), rgba(201, 168, 106, .03));
    border: 1px solid rgba(201, 168, 106, .42);
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, .12), 0 8px 20px -12px rgba(0, 0, 0, .8);
    color: var(--gold-hi);
}

.c-btn-ghost:hover { background: rgba(201, 168, 106, .12); border-color: rgba(201, 168, 106, .7); }

.c-btn-block { width: 100%; margin-top: 4px; }

.c-icon-btn {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid var(--hair);
    border-radius: 10px;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    transition: color .2s ease, border-color .2s ease;
    width: 34px;
}

.c-icon-btn svg { height: 16px; width: 16px; }
.c-icon-btn:hover { border-color: var(--hair-gold); color: var(--gold); }

.c-link { color: var(--gold); font-size: 13px; font-weight: 500; }
.c-link:hover { color: var(--gold-hi); }

/* ---------- Alertas ---------- */

.c-alert {
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 14px;
    padding: 11px 14px;
}

.c-alert-error { background: rgba(124, 38, 29, .2); border: 1px solid rgba(196, 67, 53, .4); color: #f2c3bd; }
.c-alert-success { background: rgba(43, 123, 64, .16); border: 1px solid rgba(67, 163, 92, .35); color: #b8dfc2; }

/* ==========================================================================
   Acceso
   ========================================================================== */

.c-auth-body {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 24px 16px;
    position: relative;
}

.c-auth-backdrop {
    background-position: center;
    background-size: cover;
    filter: blur(6px) saturate(.9);
    inset: -20px;
    opacity: .45;
    position: fixed;
    transform: scale(1.05);
}

.c-auth-body::after {
    background:
        radial-gradient(60% 50% at 50% 30%, rgba(201, 168, 106, .08), transparent 70%),
        linear-gradient(180deg, rgba(5, 4, 3, .55), rgba(5, 4, 3, .92));
    content: "";
    inset: 0;
    position: fixed;
}

.c-auth {
    display: grid;
    gap: 22px;
    justify-items: center;
    max-width: 420px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.c-auth-brand { align-items: center; display: flex; gap: 12px; }
.c-auth-brand img { border-radius: 13px; box-shadow: 0 14px 34px -14px rgba(201, 168, 106, .6); }
.c-auth-brand span { display: grid; gap: 4px; }
.c-auth-brand strong { font-size: 21px; font-weight: 700; letter-spacing: -.012em; }
.c-auth-brand em { color: var(--gold); font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.c-auth-card { padding: 28px 30px 26px; width: 100%; }

.c-auth-head { display: grid; gap: 6px; margin-bottom: 18px; text-align: center; }
.c-auth-head h1 { font-size: 22px; font-weight: 650; letter-spacing: -.015em; }
.c-auth-head p { color: var(--muted); font-size: 13px; }

.c-auth-foot {
    align-items: center;
    color: var(--soft);
    display: flex;
    font-size: 11.5px;
    gap: 7px;
}

.c-auth-foot svg { color: var(--gold); height: 13px; width: 13px; }

/* ==========================================================================
   Aplicación
   ========================================================================== */

.c-app-body {
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(176, 120, 60, .12), transparent 60%),
        radial-gradient(700px 500px at 10% 110%, rgba(120, 70, 30, .10), transparent 60%),
        var(--bg);
    min-height: 100vh;
}

.c-shell { display: flex; min-height: 100vh; }

/* ---------- Menú lateral ---------- */

.c-side {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 30%),
        var(--side);
    border-right: 1px solid var(--hair-gold);
    display: flex;
    flex: 0 0 260px;
    flex-direction: column;
    gap: 26px;
    height: 100vh;
    padding: 24px 16px 18px;
    position: sticky;
    top: 0;
}

.c-side-brand { align-items: center; display: flex; gap: 11px; padding: 0 6px; }
.c-side-brand img { border-radius: 11px; box-shadow: 0 10px 26px -12px rgba(201, 168, 106, .6); }
.c-side-brand span { display: grid; gap: 3px; }
.c-side-brand strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.c-side-brand em { color: var(--gold); font-size: 9.5px; font-style: normal; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.c-nav { display: grid; gap: 3px; }

.c-nav-label {
    color: var(--soft);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    padding: 14px 12px 6px;
    text-transform: uppercase;
}

.c-nav-label:first-child { padding-top: 0; }

.c-nav-item {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--muted);
    display: flex;
    font-size: 13.5px;
    font-weight: 500;
    gap: 11px;
    height: 42px;
    padding: 0 12px;
    position: relative;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.c-nav-item svg { flex: 0 0 18px; height: 18px; width: 18px; }
.c-nav-item > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.c-nav-item:hover { background: rgba(255, 255, 255, .035); color: var(--text); }

.c-nav-item.is-active {
    background:
        linear-gradient(90deg, rgba(201, 168, 106, .18), rgba(201, 168, 106, .05)),
        rgba(255, 255, 255, .02);
    border-color: rgba(201, 168, 106, .24);
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, .08), 0 10px 24px -16px rgba(201, 168, 106, .6);
    color: var(--text);
    font-weight: 600;
}

.c-nav-item.is-active svg { color: var(--gold); }

.c-nav-item.is-active::before {
    background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(201, 168, 106, .7);
    content: "";
    height: 18px;
    left: -1px;
    position: absolute;
    width: 2px;
}

.c-nav-item.is-soon { color: var(--soft); cursor: default; opacity: .7; }
.c-nav-item.is-soon:hover { background: none; color: var(--soft); }
.c-nav-item em {
    border: 1px solid var(--hair-gold);
    border-radius: 999px;
    color: var(--gold);
    font-size: 9.5px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .06em;
    flex: 0 0 auto;
    line-height: 1.4;
    margin-left: auto;
    padding: 1px 7px;
    white-space: nowrap;
}

.c-side-user {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid var(--hair);
    border-radius: 14px;
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding: 10px;
}

.c-avatar {
    align-items: center;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #15100a;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 12.5px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
}

.c-side-user-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.c-side-user-text strong { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-side-user-text em { color: var(--soft); font-size: 11px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-side-user form { margin: 0; }

/* ---------- Contenido ---------- */

.c-main {
    display: grid;
    align-content: start;
    flex: 1;
    gap: 22px;
    margin: 0 auto;
    max-width: 1320px;
    min-width: 0;
    padding: 32px clamp(20px, 3vw, 40px) 40px;
}

.c-page-head { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.c-page-head > div:first-child { display: grid; gap: 6px; }
.c-page-head h1 { font-size: 28px; font-weight: 700; letter-spacing: -.022em; }
.c-page-head p { color: var(--muted); font-size: 14px; max-width: 640px; }
.c-page-actions { display: flex; gap: 10px; }

.c-grid { display: grid; gap: 16px; }
.c-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Tarjetas del resumen */
.c-tile {
    display: grid;
    gap: 16px;
    padding: 22px;
    transition: transform .3s var(--ease), border-color .3s ease;
}

a.c-tile:hover { border-color: rgba(201, 168, 106, .4); transform: translateY(-2px); }

.c-tile-icon {
    align-items: center;
    background: linear-gradient(145deg, rgba(201, 168, 106, .26), rgba(201, 168, 106, .06));
    border: 1px solid rgba(201, 168, 106, .3);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 236, 200, .15);
    color: var(--gold-hi);
    display: inline-flex;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.c-tile-icon svg { height: 21px; width: 21px; }
.c-tile-body { display: grid; gap: 6px; }
.c-tile-title { font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; }
.c-tile-text { color: var(--muted); font-size: 13px; line-height: 1.5; }
.c-tile-stats { border-top: 1px solid var(--hair); color: var(--muted); display: flex; font-size: 12.5px; gap: 18px; padding-top: 14px; }
.c-tile-stats strong { color: var(--text); font-weight: 650; }
.c-tile-cta { align-items: center; color: var(--gold); display: inline-flex; font-size: 13px; font-weight: 600; gap: 6px; }
.c-tile-cta svg { height: 15px; width: 15px; transition: transform .3s var(--ease); }
a.c-tile:hover .c-tile-cta svg { transform: translateX(3px); }

.c-tile.is-soon { opacity: .62; }

.c-chip {
    border: 1px solid var(--hair-gold);
    border-radius: 999px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    align-self: end;
    justify-self: start;
    line-height: 1.3;
    padding: 4px 11px;
}

.c-strip { display: grid; gap: 14px; padding: 20px 22px; }
.c-strip-head { align-items: center; display: flex; justify-content: space-between; }
.c-strip-head h2 { font-size: 15px; font-weight: 650; }
.c-strip-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.c-strip-thumb {
    aspect-ratio: 4 / 5;
    background-position: center;
    background-size: cover;
    border: 1px solid var(--hair);
    border-radius: 10px;
    box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .9);
}

/* ---------- Portada ---------- */

.c-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.c-stat {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), rgba(16, 14, 12, .8);
    border: 1px solid var(--hair);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    display: grid;
    gap: 8px;
    padding: 14px 16px;
}

.c-stat span { color: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.c-stat strong { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.c-stat em { color: var(--soft); font-size: 13px; font-style: normal; font-weight: 500; margin-left: 5px; }

.c-scenes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.c-scene {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), rgba(14, 12, 10, .92);
    border: 1px solid rgba(201, 168, 106, .14);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -30px rgba(0, 0, 0, .95);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s ease;
}

.c-scene:hover { border-color: rgba(201, 168, 106, .38); transform: translateY(-3px); }
.c-scene.is-off .c-scene-media,
.c-scene.is-off .c-scene-body p,
.c-scene.is-off .c-tone { opacity: .45; }

.c-scene-media {
    aspect-ratio: 4 / 5;
    background-position: center;
    background-size: cover;
    position: relative;
}

.c-scene-media::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .82) 100%);
    content: "";
    inset: 0;
    position: absolute;
}

.c-scene-pos {
    background: rgba(8, 7, 6, .6);
    border: 1px solid rgba(201, 168, 106, .3);
    border-radius: 999px;
    color: var(--gold-hi);
    font-size: 11px;
    font-weight: 650;
    left: 12px;
    letter-spacing: .06em;
    padding: 3px 9px;
    position: absolute;
    top: 12px;
    z-index: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.c-scene-copy { bottom: 16px; left: 16px; position: absolute; right: 16px; z-index: 1; }
.c-scene-copy h3 { font-size: 19px; font-weight: 700; letter-spacing: -.018em; line-height: 1.1; text-shadow: 0 8px 22px rgba(0, 0, 0, .6); }
.c-scene-copy h3 span { color: var(--gold); }
.c-scene-rule { background: linear-gradient(90deg, var(--gold), transparent); display: block; height: 1px; margin-top: 10px; width: 30px; }

.c-scene-body { display: grid; gap: 12px; padding: 14px 16px 16px; }
.c-scene-body p { color: var(--muted); font-size: 12.5px; line-height: 1.5; min-height: 56px; }

.c-scene-meta { align-items: center; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; padding-top: 11px; }

.c-tone { align-items: center; color: var(--muted); display: inline-flex; font-size: 12px; gap: 7px; }
.c-tone i { border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; box-shadow: 0 0 8px rgba(0, 0, 0, .6); display: inline-block; height: 11px; width: 11px; }

.c-status { color: var(--soft); font-size: 11.5px; font-weight: 600; }
.c-status.is-on { color: #8fd0a2; }
.c-status.is-on::before { background: #5fbf7d; border-radius: 50%; box-shadow: 0 0 8px rgba(95, 191, 125, .8); content: ""; display: inline-block; height: 6px; margin-right: 6px; vertical-align: 1px; width: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .c-shell { flex-direction: column; }
    .c-side { flex: none; height: auto; position: static; }
    .c-form-row { grid-template-columns: 1fr; }
}

/* ---------- Casillas (mismo estilo que el login de EPP) ---------- */

.c-check { align-items: center; color: var(--muted); cursor: pointer; display: inline-flex; font-size: 13px; gap: 9px; justify-self: start; }

.c-check input {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)), #15130f;
    border: 1px solid rgba(201, 168, 106, .28);
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 2px 6px -2px rgba(0, 0, 0, .6);
    cursor: pointer;
    display: inline-grid;
    height: 16px;
    margin: 0;
    place-content: center;
    transition: background .2s ease, border-color .2s ease;
    width: 16px;
}

.c-check input::after {
    border: solid #17120a;
    border-width: 0 1.8px 1.8px 0;
    content: "";
    height: 8px;
    margin-top: -2px;
    opacity: 0;
    transform: rotate(45deg) scale(.5);
    transition: opacity .15s ease, transform .2s var(--ease);
    width: 4.5px;
}

.c-check input:hover { border-color: rgba(201, 168, 106, .55); }
.c-check input:checked { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); border-color: var(--gold); }
.c-check input:checked::after { opacity: 1; transform: rotate(45deg) scale(1); }
.c-check input:focus-visible { box-shadow: 0 0 0 3px rgba(201, 168, 106, .2); outline: none; }

/* ---------- Requisitos de contraseña ---------- */

.c-rules {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
    border: 1px solid var(--hair);
    border-radius: 12px;
    display: grid;
    gap: 7px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: -2px 0 0;
    padding: 12px 14px;
}

.c-rules li {
    align-items: center;
    color: var(--soft);
    display: flex;
    font-size: 12px;
    gap: 8px;
    transition: color .25s ease;
}

.c-rules li::before {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    content: "";
    flex: 0 0 14px;
    height: 14px;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.c-rules li.is-ok { color: var(--text); }

.c-rules li.is-ok::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315100a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 9px no-repeat,
        linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201, 168, 106, .45);
}

@media (max-width: 520px) {
    .c-rules { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Edición de portada
   ========================================================================== */

.c-btn[disabled] { cursor: default; filter: grayscale(.6) brightness(.7); opacity: .6; transform: none; }
.c-btn.is-busy { cursor: progress; }

.c-icon-btn[disabled] { cursor: default; opacity: .3; }
.c-icon-danger:hover { border-color: rgba(196, 67, 53, .5); color: #e58a7e; }

.c-back { align-items: center; color: var(--gold); display: inline-flex; font-size: 12.5px; font-weight: 500; gap: 4px; }
.c-back svg { height: 15px; width: 15px; }
.c-back:hover { color: var(--gold-hi); }

/* Barra de publicación */
.c-publish {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), rgba(16, 14, 12, .85);
    border: 1px solid var(--hair);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 14px 12px 18px;
}

.c-publish.is-dirty {
    background: linear-gradient(90deg, rgba(201, 168, 106, .14), rgba(201, 168, 106, .03) 60%), rgba(16, 14, 12, .85);
    border-color: rgba(201, 168, 106, .35);
}

.c-publish-dot { background: #5fbf7d; border-radius: 50%; box-shadow: 0 0 10px rgba(95, 191, 125, .8); height: 8px; width: 8px; }
.c-publish.is-dirty .c-publish-dot { animation: cPulse 2s ease-in-out infinite; background: var(--gold); box-shadow: 0 0 12px rgba(201, 168, 106, .9); }

@keyframes cPulse { 50% { opacity: .35; } }

.c-publish-text { display: grid; flex: 1; gap: 2px; min-width: 220px; }
.c-publish-text strong { font-size: 13.5px; font-weight: 650; }
.c-publish-text span { color: var(--muted); font-size: 12.5px; }
.c-publish form { margin: 0; }

/* Intervalo editable */
.c-stat-form { margin: 0; }
.c-stat-form label { color: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.c-stat-edit { align-items: center; display: flex; gap: 8px; letter-spacing: 0; text-transform: none; }
.c-stat-edit em { color: var(--soft); font-size: 13px; font-style: normal; }
.c-input-sm { font-size: 20px; font-weight: 650; height: 36px; padding: 0 10px; width: 74px; }

/* Herramientas de cada escena */
.c-scene-media { display: block; }

.c-scene-edit {
    align-items: center;
    background: rgba(8, 7, 6, .6);
    border: 1px solid rgba(201, 168, 106, .35);
    border-radius: 999px;
    color: var(--gold-hi);
    display: inline-flex;
    font-size: 11.5px;
    font-weight: 600;
    gap: 5px;
    opacity: 0;
    padding: 4px 10px;
    position: absolute;
    right: 12px;
    top: 12px;
    transition: opacity .25s ease;
    z-index: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.c-scene-edit svg { height: 13px; width: 13px; }
.c-scene-media:hover .c-scene-edit,
.c-scene-media:focus-visible .c-scene-edit { opacity: 1; }

.c-scene-title { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.018em; line-height: 1.1; text-shadow: 0 8px 22px rgba(0, 0, 0, .6); }
.c-scene-title span { color: var(--gold); }

.c-scene-tools { align-items: center; display: flex; gap: 6px; }
.c-scene-tools form { display: flex; gap: 6px; margin: 0; }
.c-scene-tools form:last-child { margin-left: auto; }
.c-scene-tools .c-icon-btn { height: 32px; width: 32px; }

.c-scene-new {
    align-content: center;
    border-style: dashed;
    color: var(--muted);
    display: grid;
    gap: 10px;
    justify-items: center;
    min-height: 320px;
    padding: 24px;
    text-align: center;
}

.c-scene-new strong { color: var(--text); font-size: 15px; font-weight: 650; }
.c-scene-new span:last-child { font-size: 12.5px; line-height: 1.5; max-width: 220px; }

/* Editor */
.c-editor {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
}

.c-editor-preview { display: grid; gap: 10px; position: sticky; top: 24px; }

.c-preview {
    aspect-ratio: 1280 / 1480;
    background: #070605;
    border: 1px solid rgba(201, 168, 106, .2);
    border-radius: 18px;
    box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .95);
    overflow: hidden;
    position: relative;
}

.c-preview-bg { background-position: center; background-size: cover; inset: 0; position: absolute; }
.c-preview-bg.is-raw { filter: brightness(.55) saturate(.7); }

.c-preview-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .3) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .86) 100%);
    inset: 0;
    position: absolute;
}

.c-preview-empty {
    align-content: center;
    color: var(--soft);
    display: grid;
    font-size: 13px;
    gap: 10px;
    inset: 0;
    justify-items: center;
    position: absolute;
}

.c-preview-empty svg { color: var(--gold); height: 34px; width: 34px; }

.c-preview-copy { bottom: 28px; display: grid; gap: 10px; left: 26px; position: absolute; right: 26px; }
.c-preview-title { font-size: 29px; font-weight: 750; letter-spacing: -.022em; line-height: 1.06; text-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
.c-preview-title span { color: var(--gold); }
.c-preview-rule { background: linear-gradient(90deg, var(--gold), transparent); height: 1px; width: 40px; }
.c-preview-text { color: rgba(255, 255, 255, .74); font-size: 13px; line-height: 1.55; max-width: 300px; }
.c-preview-note { color: var(--soft); font-size: 12px; text-align: center; }

.c-editor-fields { display: grid; gap: 18px; padding: 24px 26px; }

.c-textarea { height: auto; line-height: 1.5; min-height: 84px; padding: 11px 14px; resize: vertical; }
.c-hint code { background: rgba(201, 168, 106, .12); border-radius: 4px; color: var(--gold-hi); font-size: 11.5px; padding: 1px 5px; }

.c-label-row { align-items: center; display: flex; justify-content: space-between; }
.c-counter { color: var(--soft); font-size: 11.5px; font-variant-numeric: tabular-nums; }

.c-fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.c-fieldset legend { margin-bottom: 8px; padding: 0; }

.c-tones { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.c-tone-option {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
    border: 1px solid var(--hair);
    border-radius: 11px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    font-size: 12.5px;
    gap: 9px;
    padding: 9px 11px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.c-tone-option input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.c-tone-swatch { border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; box-shadow: 0 0 10px rgba(0, 0, 0, .6); flex: 0 0 16px; height: 16px; }
.c-tone-option:hover { border-color: rgba(201, 168, 106, .35); }

.c-tone-option:has(input:checked) {
    background: linear-gradient(90deg, rgba(201, 168, 106, .18), rgba(201, 168, 106, .04));
    border-color: rgba(201, 168, 106, .55);
    color: var(--text);
}

.c-tone-option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(201, 168, 106, .2); }

.c-segment {
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--hair);
    border-radius: 11px;
    display: inline-grid;
    gap: 3px;
    grid-template-columns: repeat(3, 1fr);
    padding: 3px;
}

.c-segment label { cursor: pointer; }
.c-segment input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.c-segment span { border-radius: 8px; color: var(--muted); display: block; font-size: 12.5px; padding: 7px 16px; text-align: center; transition: background .2s ease, color .2s ease; }

.c-segment input:checked + span {
    background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #15100a;
    font-weight: 650;
}

.c-segment input:focus-visible + span { box-shadow: 0 0 0 3px rgba(201, 168, 106, .25); }

.c-file { display: block; position: relative; }
.c-file input { cursor: pointer; inset: 0; opacity: 0; position: absolute; width: 100%; }

.c-file-ui {
    align-items: center;
    background: linear-gradient(180deg, rgba(201, 168, 106, .1), rgba(201, 168, 106, .02));
    border: 1px dashed rgba(201, 168, 106, .4);
    border-radius: 11px;
    color: var(--gold-hi);
    display: flex;
    font-size: 13px;
    gap: 10px;
    padding: 14px 16px;
    transition: border-color .2s ease, background .2s ease;
}

.c-file-ui svg { height: 18px; width: 18px; }
.c-file:hover .c-file-ui { background: rgba(201, 168, 106, .12); border-color: rgba(201, 168, 106, .7); }
.c-file input:focus-visible + .c-file-ui { box-shadow: 0 0 0 3px rgba(201, 168, 106, .2); }

.c-editor-actions { border-top: 1px solid var(--hair); display: flex; gap: 10px; justify-content: flex-end; padding-top: 18px; }

@media (max-width: 1000px) {
    .c-editor { grid-template-columns: 1fr; }
    .c-editor-preview { max-width: 400px; position: static; }
}

/* Orden y acciones rápidas */
.c-order {
    align-items: center;
    background: rgba(0, 0, 0, .22);
    border: 1px solid var(--hair);
    border-radius: 11px;
    display: inline-flex;
    gap: 4px;
    padding: 2px 3px 2px 9px;
}

.c-order-label { color: var(--label); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; margin-right: 2px; text-transform: uppercase; }
.c-order .c-icon-btn { border-color: transparent; height: 28px; width: 28px; }

.c-toggle-btn .c-ico-off { display: none; }
.c-scene.is-off .c-toggle-btn .c-ico-on { display: none; }
.c-scene.is-off .c-toggle-btn .c-ico-off { display: inline; }

.c-icon-btn.is-wait { cursor: progress; opacity: .5; }

.c-scene.is-moved { animation: cMoved 1.1s ease; }

@keyframes cMoved {
    0% { box-shadow: 0 0 0 0 rgba(201, 168, 106, .0), inset 0 1px 0 rgba(255, 255, 255, .06); border-color: rgba(201, 168, 106, .14); }
    25% { box-shadow: 0 0 0 3px rgba(201, 168, 106, .35), 0 18px 40px -20px rgba(201, 168, 106, .5); border-color: rgba(201, 168, 106, .8); }
    100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -30px rgba(0, 0, 0, .95); border-color: rgba(201, 168, 106, .14); }
}

.c-scene.is-leaving { opacity: 0; transform: scale(.94); transition: opacity .3s ease, transform .3s ease; }

.c-scene-media, .c-scene-body p, .c-tone { transition: opacity .35s ease; }

/* Reordenar arrastrando */
.c-drag-hint { align-items: center; color: var(--soft); display: flex; font-size: 12.5px; gap: 8px; margin-bottom: -8px; }
.c-drag-hint svg { color: var(--gold); flex: 0 0 16px; height: 16px; width: 16px; }

.c-scenes [data-scene-id] { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.c-scenes [data-scene-id] button, .c-scenes [data-scene-id] a.c-icon-btn { cursor: pointer; }

.c-scene-grip {
    align-items: center;
    background: rgba(8, 7, 6, .55);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    color: rgba(255, 255, 255, .75);
    display: inline-flex;
    height: 24px;
    justify-content: center;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 12px;
    transform: translateX(-50%);
    transition: opacity .25s ease;
    width: 34px;
    z-index: 1;
}

.c-scene-grip svg { height: 16px; stroke-width: 3; width: 16px; }
.c-scene:hover .c-scene-grip { opacity: 1; }

.c-scene.is-dragging {
    background: transparent;
    border: 1px dashed rgba(201, 168, 106, .55);
    box-shadow: inset 0 0 40px rgba(201, 168, 106, .06);
}

.c-scene.is-dragging > *,
.c-scene.is-dragging .c-scene-media,
.c-scene.is-dragging .c-scene-body p,
.c-scene.is-dragging .c-tone { opacity: 0 !important; }

.c-scene-ghost {
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .95), 0 0 0 1px rgba(201, 168, 106, .6), 0 0 30px rgba(201, 168, 106, .25);
    left: 0;
    margin: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    z-index: 1000;
}

body.is-sorting, body.is-sorting * { cursor: grabbing !important; }

/* ==========================================================================
   Pestañas de portada y textos
   ========================================================================== */

.c-tabs { border-bottom: 1px solid var(--hair); display: flex; gap: 4px; margin-bottom: -6px; }

.c-tab {
    align-items: center;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    display: inline-flex;
    font-size: 13.5px;
    font-weight: 500;
    gap: 8px;
    margin-bottom: -1px;
    padding: 10px 14px 12px;
    transition: color .2s ease, border-color .2s ease;
}

.c-tab svg { height: 16px; width: 16px; }
.c-tab em { background: rgba(255, 255, 255, .06); border-radius: 999px; color: var(--soft); font-size: 11px; font-style: normal; padding: 1px 7px; }
.c-tab:hover { color: var(--text); }
.c-tab.is-active { border-bottom-color: var(--gold); color: var(--text); font-weight: 600; }
.c-tab.is-active svg { color: var(--gold); }
.c-tab.is-active em { background: rgba(201, 168, 106, .16); color: var(--gold-hi); }

.c-texts { align-items: start; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 380px; }
.c-texts-fields { display: grid; gap: 16px; }

.c-text-group { display: grid; gap: 16px; padding: 22px 24px; }
.c-text-group-head { display: grid; gap: 4px; }
.c-text-group-head h2 { font-size: 16px; font-weight: 650; }
.c-text-group-head p { color: var(--soft); font-size: 12.5px; }
.c-text-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.c-input.is-custom { border-color: rgba(201, 168, 106, .45); }

.c-reset {
    background: none;
    border: 0;
    color: var(--soft);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    opacity: 0;
    padding: 0;
    transition: color .2s ease, opacity .2s ease;
}

.c-field:hover .c-reset, .c-field:focus-within .c-reset { opacity: 1; }
.c-reset:hover { color: var(--gold); }
.c-hint-warn { color: #c9a86a; margin-top: 0; opacity: .8; }

.c-texts-actions { align-items: center; display: flex; gap: 14px; justify-content: flex-end; padding: 4px 0 8px; }

.c-texts-preview { display: grid; gap: 12px; position: sticky; top: 24px; }
.c-preview-switch { justify-self: center; }

/* Maqueta del contenido */
.c-mock {
    background: radial-gradient(70% 40% at 50% 0%, rgba(201, 168, 106, .1), transparent 70%), linear-gradient(180deg, #0c0b09, #050404);
    border: 1px solid rgba(201, 168, 106, .18);
    border-radius: 16px;
    display: grid;
    gap: 12px;
    padding: 16px 18px 12px;
}

.c-mock-brand { align-items: center; display: flex; gap: 9px; justify-content: center; }
.c-mock-brand img { border-radius: 9px; }
.c-mock-brand span { display: grid; gap: 2px; }
.c-mock-brand strong { font-size: 14px; }
.c-mock-brand em { color: var(--gold); font-size: 8.5px; font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.c-mock-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 42%), rgba(16, 14, 12, .9);
    border: 1px solid rgba(201, 168, 106, .18);
    border-radius: 13px;
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    text-align: center;
}

.c-mock-title { font-size: 15px; }
.c-mock-title-sm { font-size: 13px; }
.c-mock-sub { color: var(--muted); font-size: 10.5px; }
.c-mock-rule { background: linear-gradient(90deg, transparent, var(--gold), transparent); height: 1px; justify-self: center; margin: 2px 0 4px; width: 26px; }
.c-mock-label { color: var(--label); display: block; font-size: 7.5px; font-weight: 600; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.c-mock-input { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), #16140f; border: 1px solid rgba(201, 168, 106, .16); border-radius: 6px; display: block; height: 20px; margin-top: 3px; }
.c-mock-row { align-items: baseline; display: flex; justify-content: space-between; }
.c-mock-link { color: var(--gold); font-size: 9px; }
.c-mock-checks { align-items: center; color: var(--muted); display: flex; font-size: 9px; gap: 5px; text-align: left; }
.c-mock-checks i { border: 1px solid rgba(201, 168, 106, .3); border-radius: 3px; flex: 0 0 9px; height: 9px; }
.c-mock-checks i:nth-of-type(2) { margin-left: 8px; }
.c-mock-btn { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); border-radius: 7px; color: #15100a; font-size: 10.5px; font-weight: 650; padding: 6px; }
.c-mock-note { color: var(--muted); font-size: 9.5px; }
.c-mock-small { color: var(--soft); font-size: 8.5px; }
.c-mock-left { text-align: left; }
.c-mock-sep { background: var(--hair); height: 1px; margin: 2px 0; }
.c-mock-ghost { border: 1px solid rgba(201, 168, 106, .45); border-radius: 999px; color: var(--gold-hi); font-size: 9.5px; justify-self: center; padding: 3px 14px; }
.c-mock-eyebrow { color: var(--gold); font-size: 7.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.c-mock-grid { display: grid; gap: 6px 8px; grid-template-columns: 1fr 1fr; }
.c-mock-foot { border-top: 1px solid var(--hair); color: var(--soft); display: flex; font-size: 8.5px; justify-content: space-between; padding-top: 8px; }

.c-mock-security {
    align-items: flex-start;
    background: linear-gradient(150deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), #0c0b09;
    border: 1px solid rgba(201, 168, 106, .18);
    border-radius: 11px;
    display: flex;
    gap: 9px;
    padding: 10px 12px;
}

.c-mock-security svg { color: var(--gold); flex: 0 0 16px; height: 16px; width: 16px; }
.c-mock-security > span { display: grid; gap: 3px; }
.c-mock-security b { font-size: 10.5px; }
.c-mock-security span span { color: var(--muted); font-size: 9.5px; }

[data-bind].is-focus { background: rgba(201, 168, 106, .22); border-radius: 3px; box-shadow: 0 0 0 2px rgba(201, 168, 106, .35); transition: background .2s ease; }

@media (max-width: 1100px) {
    .c-texts { grid-template-columns: 1fr; }
    .c-texts-preview { max-width: 420px; position: static; }
}
.c-mock[hidden] { display: none; }

/* ---------- Portada · Logo y nombre de la marca ---------- */
.c-brand-upload { align-items: center; display: grid; gap: 16px; grid-template-columns: 96px minmax(0, 1fr); }

.c-brand-thumb,
.c-brand-icon {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
    padding: var(--pad, 0%);
    position: relative;
}

.c-brand-thumb { background: rgba(0, 0, 0, .3); border: 1px dashed rgba(201, 168, 106, .35); border-radius: 18px; height: 96px; width: 96px; }

.c-brand-thumb img,
.c-brand-icon img {
    height: 100%;
    object-fit: contain;
    transform: translate(var(--x, 0px), var(--y, 0px));
    width: 100%;
}

.c-brand-icon.is-bg-oscuro,
.c-brand-thumb.is-bg-oscuro { background: linear-gradient(160deg, #1d1914, #0b0a08); border: 1px solid rgba(201, 168, 106, .35); border-radius: 22%; }

.c-brand-icon.is-bg-dorado,
.c-brand-thumb.is-bg-dorado { background: linear-gradient(135deg, #f0d49a, #c9a86a 55%, #9c7a3c); border-radius: 22%; }

.c-brand-range { display: grid; gap: 8px; }
.c-brand-range b { color: var(--gold-hi); font-size: 13px; font-weight: 650; }
.c-brand-range input[type="range"] { accent-color: #c9a86a; width: 100%; }

.c-brand-nudge { display: grid; gap: 8px; }

.c-brand-nudge-pad {
    display: grid;
    gap: 4px;
    grid-template-areas: ". up ." "left mid right" ". down .";
    grid-template-columns: repeat(3, 40px);
    justify-content: start;
}

.c-nudge {
    align-items: center;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(201, 168, 106, .3);
    border-radius: 10px;
    color: var(--gold-hi);
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
}

.c-nudge:hover { background: rgba(201, 168, 106, .12); border-color: rgba(201, 168, 106, .6); }
.c-nudge svg { fill: none; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 16px; }
.c-nudge[data-nudge="y:-1"] { grid-area: up; }
.c-nudge[data-nudge="x:-1"] { grid-area: left; }
.c-nudge[data-nudge="reset"] { font-size: 10.5px; grid-area: mid; }
.c-nudge[data-nudge="x:1"] { grid-area: right; }
.c-nudge[data-nudge="y:1"] { grid-area: down; }

.c-brand-stage {
    background: radial-gradient(90% 70% at 50% 0%, #2a2016, #0b0a08);
    border: 1px solid rgba(201, 168, 106, .18);
    border-radius: 16px;
    display: grid;
    gap: 16px;
    padding: 18px 20px 26px;
}

.c-brand-stage-label { color: var(--soft); font-size: 10.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }

.c-brand-preview { align-items: center; display: flex; gap: 12px; justify-content: center; }
.c-brand-preview .c-brand-icon { height: 52px; width: 52px; }
.c-brand-preview-menu { flex-direction: column; gap: 10px; }
.c-brand-icon-lg { height: 74px; width: 74px; }

.c-brand-guide {
    border: 1px dashed rgba(240, 212, 154, .45);
    border-radius: inherit;
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.c-brand-guide::before,
.c-brand-guide::after { background: rgba(240, 212, 154, .35); content: ""; position: absolute; }
.c-brand-guide::before { height: 1px; left: 0; right: 0; top: 50%; }
.c-brand-guide::after { bottom: 0; left: 50%; top: 0; width: 1px; }

.c-brand-words { display: grid; gap: 4px; }
.c-brand-words strong,
.c-brand-menu-name { align-items: center; color: #f4ede1; display: inline-flex; font-size: 20px; font-weight: 700; gap: 9px; }
.c-brand-menu-name { font-size: 16px; }
.c-brand-words small { color: #c9a86a; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.c-brand-words em,
.c-brand-menu-name em {
    border: 1px solid rgba(217, 184, 119, .6);
    border-radius: 5px;
    color: #d9b877;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
    padding: 4px 5px 3px 7px;
}

.c-brand-thumb img,
.c-brand-icon img { max-height: 100%; max-width: 100%; min-height: 0; min-width: 0; }
.c-brand-preview .c-brand-icon,
.c-brand-thumb { flex: 0 0 auto; }

/* El espacio se calcula sobre el propio recuadro (no sobre el contenedor) */
.c-brand-thumb,
.c-brand-icon { padding: 0; }
.c-brand-thumb img,
.c-brand-icon img { height: calc(100% - 2 * var(--pad, 0%)); width: calc(100% - 2 * var(--pad, 0%)); }
.c-brand-preview .c-brand-icon-lg { height: 74px; width: 74px; }
.c-mock-badge { border: 1px solid rgba(217, 184, 119, .6); border-radius: 4px; color: #d9b877; font-size: 8px; letter-spacing: .14em; padding: 2px 3px 1px 5px; vertical-align: 2px; }

/* Barra de publicación: muestra solo el estado actual */
.c-publish .c-publish-dirty { display: none; }
.c-publish.is-dirty .c-publish-dirty { display: grid; }
.c-publish.is-dirty .c-publish-clean { display: none; }
.c-brand-card { border: 1px solid rgba(201, 168, 106, .25); border-bottom: 0; border-radius: 14px 14px 0 0; display: block; height: 26px; margin: 0 6px -26px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); transition: margin-top .15s ease; }
.c-brand-stage { overflow: hidden; }


/* ---------------- Pie de página ---------------- */
.c-footer-editor { display: grid; gap: 18px; }

.c-footer-preview {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 12px;
    z-index: 3;
}

.c-footer-stage {
    border: 1px solid rgba(201, 168, 106, .18);
    border-radius: 16px;
    display: grid;
    gap: 10px;
    padding: 14px 20px 16px;
}

.c-footer-stage.is-oscuro { background: linear-gradient(180deg, #0b0d14, #0a0910); }
.c-footer-stage.is-claro { background: linear-gradient(180deg, #faf7f1, #f2ece1); border-color: rgba(138, 100, 32, .22); }
.c-footer-stage.is-claro .c-brand-stage-label { color: #8b7e6a; }

.c-footer-bar {
    --fp-gold: #c9a86a;
    --fp-dot: rgba(201, 168, 106, .55);
    --fp-text: #f4efe6;
    --fp-muted: #a39d93;
    align-items: center;
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(201, 168, 106, .35) 25%, rgba(201, 168, 106, .35) 75%, transparent) 1;
    display: flex;
    flex-wrap: wrap;
    font-size: 12.5px;
    justify-content: center;
    min-height: 54px;
    padding: 14px 0 4px;
    row-gap: 8px;
}

.is-claro .c-footer-bar {
    --fp-gold: #8a6420;
    --fp-dot: rgba(138, 100, 32, .5);
    --fp-text: #1d1a15;
    --fp-muted: #6f6659;
    border-image: linear-gradient(90deg, transparent, rgba(138, 100, 32, .3) 25%, rgba(138, 100, 32, .3) 75%, transparent) 1;
}

.c-fp-item {
    align-items: center;
    color: var(--fp-muted);
    display: inline-flex;
    gap: 7px;
    padding: 0 14px;
    position: relative;
    white-space: nowrap;
}

.c-fp-item[hidden] { display: none; }

/* Punto separador solo entre elementos visibles. */
.c-fp-item:not([hidden]) ~ .c-fp-item:not([hidden])::after {
    background: var(--fp-dot);
    border-radius: 999px;
    content: "";
    height: 3px;
    left: -2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
}

.c-fp-product { color: var(--fp-text); font-weight: 700; }

.c-fp-link::before {
    background: var(--fp-gold);
    content: "";
    flex: 0 0 auto;
    height: 14px;
    -webkit-mask: var(--fp-ico) center / contain no-repeat;
    mask: var(--fp-ico) center / contain no-repeat;
    width: 14px;
}

.c-fp-link.is-web { --fp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3z'/%3E%3C/svg%3E"); }
.c-fp-link.is-mail { --fp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='m4 7.5 8 6 8-6'/%3E%3C/svg%3E"); }
.c-fp-link.is-whatsapp { --fp-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5l1.2-3.6A8 8 0 1 1 8.4 18.6z'/%3E%3Cpath d='M9.2 9.2c.2 2.4 2.2 4.6 4.8 5l1-1.1 1.6.8c-.2 1-1 1.6-2 1.6-3.3-.2-6.1-3-6.3-6.3 0-1 .6-1.8 1.6-2l.8 1.6z'/%3E%3C/svg%3E"); }

.c-fp-empty { color: var(--fp-muted); font-size: 12px; font-style: normal; }
.c-fp-empty[hidden] { display: none; }

.c-footer-fields { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c-footer-fields > .c-card { align-content: start; }
.c-footer-fields > [data-fp-card="whatsapp"],
.c-footer-fields > .c-texts-actions { grid-column: 1 / -1; }

.c-fp-head { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.c-fp-head h2 { align-items: center; display: inline-flex; gap: 10px; }

.c-fp-num {
    align-items: center;
    border: 1px solid rgba(201, 168, 106, .4);
    border-radius: 999px;
    color: var(--gold, #c9a86a);
    display: inline-flex;
    font-size: 11px;
    font-weight: 650;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.c-fp-state {
    align-items: center;
    color: #9fd3b5;
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    gap: 6px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.c-fp-state::before { background: currentColor; border-radius: 999px; content: ""; height: 6px; width: 6px; }
[data-fp-card].is-off .c-fp-state { color: var(--soft); }
[data-fp-card].is-off .c-fp-num { border-color: rgba(255, 255, 255, .14); color: var(--soft); }

.c-optional { color: var(--soft); font-size: 10.5px; font-style: normal; font-weight: 500; letter-spacing: 0; margin-left: 6px; text-transform: none; }

@media (max-width: 900px) {
    .c-footer-fields { grid-template-columns: 1fr; }
    .c-footer-preview { position: static; }
}

/* ==========================================================================
   Móvil: menú como panel, sin desborde lateral
   ========================================================================== */
.c-mobilebar,
.c-side-overlay {
    display: none;
}

.c-main > * {
    min-width: 0;
}

@media (max-width: 900px) {
    .c-shell {
        display: block;
    }

    .c-mobilebar {
        align-items: center;
        backdrop-filter: blur(14px) saturate(120%);
        -webkit-backdrop-filter: blur(14px) saturate(120%);
        background: rgba(12, 11, 10, .82);
        border-bottom: 1px solid var(--hair-gold);
        display: flex;
        gap: 12px;
        justify-content: space-between;
        padding: 10px 16px;
        position: sticky;
        top: 0;
        z-index: 40;
    }

    .c-mobilebar-brand {
        align-items: center;
        color: var(--text);
        display: inline-flex;
        gap: 10px;
        text-decoration: none;
    }

    .c-mobilebar-brand img {
        border-radius: 8px;
    }

    .c-mobilebar-brand strong {
        font-size: 15px;
        font-weight: 700;
    }

    .c-mobilebar-toggle {
        height: 40px;
        width: 40px;
    }

    .c-side,
    .c-shell > .c-side {
        bottom: 0;
        box-shadow: 30px 0 80px rgba(0, 0, 0, .55);
        height: 100dvh;
        left: 0;
        max-width: 84vw;
        overflow-y: auto;
        position: fixed;
        top: 0;
        transform: translateX(-104%);
        transition: transform .3s cubic-bezier(.3, .7, .2, 1);
        width: 280px;
        z-index: 60;
    }

    body.c-side-open .c-side {
        transform: none;
    }

    .c-side-overlay {
        background: rgba(0, 0, 0, .55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        display: block;
        inset: 0;
        position: fixed;
        z-index: 50;
    }

    .c-side-overlay[hidden] {
        display: none;
    }

    body.c-side-open {
        overflow: hidden;
    }

    .c-main {
        padding: 20px 16px 32px;
    }

    /* Pestañas: deslizables en una fila, sin empujar la página */
    .c-tabs {
        flex-wrap: nowrap;
        margin-inline: -16px;
        overflow-x: auto;
        padding-inline: 16px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .c-tabs::-webkit-scrollbar {
        display: none;
    }

    .c-tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .c-page-head h1 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-side { transition: none; }
}

@media (max-width: 900px) {
    .c-fp-item:not([hidden]) ~ .c-fp-item:not([hidden])::after {
        display: none;
    }

    .c-footer-bar {
        flex-direction: column;
        gap: 6px;
    }
}

/* Requisitos de contraseña minimalistas (mismo estilo que EPP) */
.c-rules.is-minimal {
    background: none;
    border: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 4px 0 6px;
    padding: 0;
}

.c-rules.is-minimal li {
    font-size: 11.5px;
    gap: 6px;
}

.c-rules.is-minimal li::before {
    border-color: rgba(255, 255, 255, .25);
    flex-basis: 7px;
    height: 7px;
}

.c-rules.is-minimal li.is-ok {
    color: #8fd3a8;
}

.c-rules.is-minimal li.is-ok::before {
    background: #4fbf7d;
    border-color: #4fbf7d;
    box-shadow: 0 0 6px rgba(79, 191, 125, .5);
}

/* ---------------- Resumen: lo publicado ---------------- */
.c-published {
    display: grid;
    gap: 14px;
}

.c-published-meta {
    align-items: center;
    color: var(--soft);
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 10px;
}

.c-chip-warn {
    background: rgba(224, 169, 78, .12);
    border-color: rgba(224, 169, 78, .4);
    color: #e9bb6d;
}

.c-published-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.c-published-item {
    background: linear-gradient(180deg, #0b0d14, #0a0910);
    border: 1px solid rgba(201, 168, 106, .16);
    border-radius: 16px;
    color: var(--text);
    display: grid;
    gap: 12px;
    padding: 14px 18px 12px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.c-published-item:is(:hover, :focus-visible) {
    border-color: rgba(201, 168, 106, .5);
    box-shadow: 0 0 0 3px rgba(201, 168, 106, .07), 0 0 22px rgba(201, 168, 106, .12);
    outline: none;
    transform: translateY(-1px);
}

.c-published-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    min-height: 62px;
}

.c-published-footer {
    border-image: none;
    border-top: 0;
    justify-content: flex-start;
    min-height: 62px;
    padding: 4px 0;
}

.c-published-edit {
    align-items: center;
    border-top: 1px solid var(--hair);
    color: var(--gold);
    display: inline-flex;
    font-size: 12.5px;
    font-weight: 600;
    gap: 4px;
    padding-top: 10px;
}

.c-published-edit svg {
    fill: none;
    height: 14px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 14px;
}

@media (max-width: 900px) {
    .c-published-grid {
        grid-template-columns: 1fr;
    }
}

.c-card.c-published {
    padding: 18px 20px 20px;
}

/* ==========================================================================
   EPP 3.0 · Fase 2 · Resumen de clientes
   ========================================================================== */
.c-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.c-ov-card { display: grid; gap: 18px; padding: 22px; }
.c-ov-head { align-items: center; display: grid; gap: 14px; grid-template-columns: auto 1fr auto; }
.c-ov-head .c-chip { align-self: start; }

.c-kpis { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.c-kpi {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), rgba(16, 14, 12, .8);
    border: 1px solid var(--hair);
    border-radius: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    display: grid;
    gap: 4px;
    padding: 12px 14px;
}

.c-kpi strong { font-size: 26px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.c-kpi em { color: var(--label); font-size: 11.5px; font-style: normal; font-weight: 500; line-height: 1.3; }
.c-kpi.is-warn { border-color: rgba(224, 164, 58, .4); }
.c-kpi.is-warn strong { color: #f0be5a; }

.c-ov-foot { border-top: 1px solid var(--hair); color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12.5px; gap: 6px 18px; padding-top: 14px; }
.c-ov-foot strong { color: var(--text); font-weight: 650; }

.c-ov-off { color: var(--muted); display: grid; font-size: 13px; gap: 6px; line-height: 1.5; }
.c-ov-off small { color: var(--soft); font-size: 12px; }

.c-attention { display: grid; gap: 12px; padding: 18px 22px; }
.c-attention ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }

.c-attention li {
    align-items: center;
    border: 1px solid var(--hair);
    border-radius: 11px;
    color: var(--text);
    display: flex;
    font-size: 13px;
    gap: 11px;
    padding: 10px 13px;
}

.c-attention-dot { border-radius: 50%; flex: 0 0 8px; height: 8px; width: 8px; }
.c-attention li.is-info .c-attention-dot { background: var(--gold); box-shadow: 0 0 8px rgba(201, 168, 106, .6); }
.c-attention li.is-warn .c-attention-dot { background: #f0be5a; box-shadow: 0 0 8px rgba(240, 190, 90, .6); }
.c-attention li.is-danger .c-attention-dot { background: #e5735e; box-shadow: 0 0 8px rgba(229, 115, 94, .6); }
.c-attention li.is-danger { border-color: rgba(229, 115, 94, .3); }

@media (max-width: 520px) {
    .c-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-ov-head { grid-template-columns: auto 1fr; }
    .c-ov-head .c-chip { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   EPP 3.0 · Fase 2 · Suscripciones Cloud (lista, ficha, operaciones, diálogo)
   ========================================================================== */
a.c-ov-card.is-link { transition: transform .3s var(--ease), border-color .3s ease; }
a.c-ov-card.is-link:hover { border-color: rgba(201, 168, 106, .4); transform: translateY(-2px); }
a.c-ov-card.is-link:hover .c-tile-cta svg { transform: translateX(3px); }
.c-ov-head .c-tile-cta { align-self: start; }

/* Filtros */
.c-filterbar { display: grid; gap: 14px; padding: 18px 20px; }
.c-search { align-items: center; display: flex; position: relative; }
.c-search svg { color: var(--soft); height: 17px; left: 14px; pointer-events: none; position: absolute; width: 17px; }
.c-search .c-input { padding-left: 40px; }
.c-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.c-pill {
    align-items: center;
    border: 1px solid var(--hair);
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    font-size: 12.5px;
    font-weight: 500;
    gap: 7px;
    min-height: 32px;
    padding: 0 13px;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.c-pill em { color: var(--soft); font-size: 11.5px; font-style: normal; font-weight: 600; }
.c-pill:hover { border-color: rgba(201, 168, 106, .35); color: var(--text); }
.c-pill.is-active { background: rgba(201, 168, 106, .14); border-color: rgba(201, 168, 106, .45); color: var(--text); }
.c-pill.is-active em { color: var(--gold-hi); }
.c-pills-sm .c-pill { font-size: 12px; min-height: 28px; }

/* Estados y etiquetas */
.c-state {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 999px;
    display: inline-flex;
    font-size: 11.5px;
    font-weight: 600;
    gap: 6px;
    line-height: 1.3;
    padding: 3px 10px;
    white-space: nowrap;
}

.c-state::before { background: currentColor; border-radius: 50%; content: ""; height: 6px; width: 6px; }
.c-state.is-activa { color: #7fcf95; }
.c-state.is-prueba { color: #8fb7e8; }
.c-state.is-pago_pendiente, .c-state.is-expirada { color: #f0be5a; }
.c-state.is-suspendida, .c-state.is-error_aprovisionamiento { color: #e5735e; }
.c-state.is-cancelada { color: var(--soft); }
.c-state.is-pendiente, .c-state.is-aprovisionando { color: var(--gold); }

.c-tag {
    border: 1px solid var(--hair-gold);
    border-radius: 999px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    white-space: nowrap;
}

/* Lista */
.c-list { display: grid; overflow: hidden; padding: 6px 0; }

.c-list-head, .c-list-row {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.1fr) 20px;
    padding: 12px 22px;
}

.c-list-head { color: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.c-list-row { border-top: 1px solid var(--hair); transition: background .2s ease; }
.c-list-row:hover { background: rgba(201, 168, 106, .05); }
.c-list-main { display: grid; gap: 3px; min-width: 0; }
.c-list-main strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-list-main em { color: var(--soft); font-size: 12px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-list-cell { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.c-list-muted { color: var(--muted); display: grid; font-size: 13px; gap: 2px; }
.c-list-muted small { color: var(--soft); font-size: 11.5px; }
.c-list-go { color: var(--soft); }
.c-list-go svg { height: 16px; width: 16px; }
.c-list-row:hover .c-list-go { color: var(--gold); }

.c-empty { display: grid; gap: 10px; justify-items: center; padding: 40px 22px; text-align: center; }
.c-empty h2 { font-size: 16px; font-weight: 650; }
.c-empty p { color: var(--muted); font-size: 13px; }

/* Ficha */
.c-head-chips { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.c-kpis-detail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c-kpi small { color: var(--soft); font-size: 11.5px; }
.c-kpi-text { font-size: 16px !important; letter-spacing: -.01em !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-kpis-detail .c-kpi { align-content: start; }
.c-kpis-detail .c-kpi em { order: -1; text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; font-weight: 600; }

.c-detail { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 360px; }
.c-detail-main, .c-detail-side { display: grid; gap: 18px; min-width: 0; }
.c-panel { display: grid; gap: 16px; padding: 20px 22px; }
.c-panel-head { display: grid; gap: 4px; }
.c-panel-head h2 { font-size: 16px; font-weight: 650; }
.c-panel-head p { color: var(--soft); font-size: 12.5px; line-height: 1.5; }
.c-panel h3 { font-size: 13.5px; font-weight: 650; }
.c-subhead { border-top: 1px solid var(--hair); padding-top: 14px; }
.c-field.is-wide { grid-column: 1 / -1; }
.c-form-actions { display: flex; gap: 10px; justify-content: flex-end; }
.c-note { border: 1px dashed var(--hair-gold); border-radius: 11px; color: var(--muted); font-size: 12.5px; line-height: 1.5; padding: 11px 13px; }

.c-facts { display: grid; gap: 10px 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0; }
.c-facts > div { display: grid; gap: 3px; }
.c-facts > div.is-wide { grid-column: 1 / -1; }
.c-facts dt { color: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.c-facts dd { color: var(--text); font-size: 13.5px; line-height: 1.5; margin: 0; }

.c-subform { border-top: 1px solid var(--hair); padding-top: 16px; }
.c-plans { border: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 0; padding: 0; }
.c-plans legend { margin-bottom: 8px; }

.c-plan {
    border: 1px solid var(--hair);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    padding: 11px 12px;
    transition: border-color .2s ease, background .2s ease;
}

.c-plan:hover { border-color: rgba(201, 168, 106, .35); }
.c-plan:has(input:checked) { background: rgba(201, 168, 106, .1); border-color: rgba(201, 168, 106, .55); }
.c-plan input { accent-color: var(--gold); margin: 2px 0 0; }
.c-plan span { display: grid; gap: 3px; }
.c-plan strong { font-size: 13px; font-weight: 600; }
.c-plan em { color: var(--soft); font-size: 11.5px; font-style: normal; line-height: 1.4; }

/* Operaciones */
.c-ops { display: grid; gap: 8px; }

.c-op {
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--hair);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 3px;
    padding: 12px 14px;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
    width: 100%;
}

.c-op strong { font-size: 13px; font-weight: 600; }
.c-op em { color: var(--soft); font-size: 12px; font-style: normal; line-height: 1.4; }
.c-op:hover { background: rgba(201, 168, 106, .07); border-color: rgba(201, 168, 106, .4); }
.c-op.is-warn strong { color: #f0be5a; }
.c-op.is-warn:hover { border-color: rgba(240, 190, 90, .5); }
.c-op.is-danger strong { color: #ef8a76; }
.c-op.is-danger:hover { background: rgba(229, 115, 94, .07); border-color: rgba(229, 115, 94, .5); }

.c-owner { border-color: rgba(201, 168, 106, .35); }
.c-owner .c-form { border-top: 1px solid var(--hair); padding-top: 14px; }
.c-owner .c-text-grid { grid-template-columns: 1fr; }
.c-owner .c-btn { justify-self: start; }

/* Historial */
.c-timeline { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.c-timeline li { border-left: 1px solid var(--hair-gold); display: grid; gap: 3px; padding: 0 0 14px 16px; position: relative; }
.c-timeline li::before { background: var(--gold); border-radius: 50%; box-shadow: 0 0 8px rgba(201, 168, 106, .6); content: ""; height: 7px; left: -4px; position: absolute; top: 5px; width: 7px; }
.c-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.c-timeline strong { font-size: 13px; font-weight: 600; }
.c-timeline span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.c-timeline time { color: var(--soft); font-size: 11.5px; }

/* Diálogo de confirmación en dos pasos */
.c-dialog-layer {
    -webkit-backdrop-filter: blur(3px);
    align-items: center;
    backdrop-filter: blur(3px);
    background: rgba(5, 4, 3, .62);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 20px;
    position: fixed;
    transition: opacity .2s ease;
    z-index: 100;
}

.c-dialog-layer.is-open { opacity: 1; }
.c-dialog-layer[hidden] { display: none; }

.c-dialog {
    display: grid;
    gap: 14px;
    max-width: 440px;
    padding: 24px;
    transform: translateY(8px) scale(.98);
    transition: transform .25s var(--ease);
    width: 100%;
}

.c-dialog-layer.is-open .c-dialog { transform: none; }
.c-dialog-icon { align-items: center; background: rgba(229, 115, 94, .12); border: 1px solid rgba(229, 115, 94, .4); border-radius: 13px; color: #ef8a76; display: inline-flex; height: 44px; justify-content: center; width: 44px; }
.c-dialog-icon svg { height: 21px; width: 21px; }
.c-dialog h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.c-dialog p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.c-dialog-step { color: var(--gold); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.c-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }

.c-btn-danger {
    background: linear-gradient(180deg, #d9654f, #b54633);
    border: 1px solid rgba(255, 170, 150, .35);
    color: #fff;
}

.c-btn-danger:hover { filter: brightness(1.08); }
.c-btn-danger:disabled { cursor: not-allowed; filter: grayscale(.5) brightness(.7); }

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

@media (max-width: 760px) {
    .c-list-head { display: none; }
    .c-list-row { gap: 8px 12px; grid-template-columns: minmax(0, 1fr) 20px; padding: 14px 18px; }
    .c-list-row .c-list-main { grid-column: 1; }
    .c-list-row .c-list-go { grid-column: 2; grid-row: 1; }
    .c-list-row .c-list-cell { grid-column: 1 / -1; }
    .c-list-muted { align-items: baseline; display: flex; flex-wrap: wrap; gap: 4px 8px; }
    .c-list-muted::before { color: var(--label); content: attr(data-label); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
    .c-dialog-actions .c-btn { flex: 1 1 auto; justify-content: center; }
}

.c-dialog [hidden] { display: none !important; }
.c-kpi { min-width: 0; }
.c-kpis-detail .c-kpi small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) {
    .c-kpis-detail .c-kpi strong { font-size: 21px; white-space: nowrap; }
}

/* Control total del administrador principal */
.c-owner {
    background:
        radial-gradient(90% 70% at 50% -10%, rgba(201, 168, 106, .18), transparent 60%),
        linear-gradient(155deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 42%, rgba(201, 168, 106, .05) 100%),
        rgba(18, 15, 11, .95);
    border-color: rgba(201, 168, 106, .45);
}

.c-owner-badge {
    align-items: center;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
    border-radius: 999px;
    color: #15100a;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    justify-self: start;
    letter-spacing: .12em;
    margin-bottom: 4px;
    padding: 3px 10px;
    text-transform: uppercase;
}

.c-owner .c-btn { justify-self: start; }
.c-kind { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.c-owner .c-dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.c-owner .c-dates .c-input { min-width: 0; }

@media (max-width: 520px) {
    .c-owner .c-dates { grid-template-columns: 1fr; }
}

/* ==========================================================================
   EPP 3.0 · Fase 2 · Licencias privadas
   ========================================================================== */
.c-page-head-actions { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.c-page-head-actions > .c-btn { flex: 0 0 auto; }

.c-subtabs { border-bottom: 1px solid var(--hair); display: flex; gap: 4px; margin-top: -4px; overflow-x: auto; }
.c-subtabs a { border-bottom: 2px solid transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 10px 14px; transition: color .2s ease, border-color .2s ease; white-space: nowrap; }
.c-subtabs a:hover { color: var(--text); }
.c-subtabs a.is-active { border-bottom-color: var(--gold); color: var(--text); }

.c-narrow { max-width: 760px; }

.c-mini-list { display: grid; gap: 8px; }
.c-mini-row { align-items: center; border: 1px solid var(--hair); border-radius: 12px; display: flex; gap: 12px; justify-content: space-between; padding: 11px 14px; transition: border-color .2s ease, background .2s ease; }
a.c-mini-row:hover { background: rgba(201, 168, 106, .05); border-color: rgba(201, 168, 106, .35); }
.c-mini-row > span:first-child { display: grid; gap: 3px; min-width: 0; }
.c-mini-row strong { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-mini-row em { color: var(--soft); font-size: 12px; font-style: normal; }
.c-mini-actions { display: flex; flex: 0 0 auto; gap: 8px; }

.c-btn-sm { font-size: 12px; min-height: 32px; padding: 0 12px; }
.c-btn.is-danger { border-color: rgba(229, 115, 94, .45); color: #ef8a76; }
.c-btn.is-danger:hover { background: rgba(229, 115, 94, .1); }

.c-secret {
    align-items: center;
    background: radial-gradient(80% 120% at 0% 0%, rgba(201, 168, 106, .2), transparent 60%), rgba(18, 15, 11, .95);
    border-color: rgba(201, 168, 106, .55);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 20px 22px;
}

.c-secret > div { display: grid; flex: 1 1 320px; gap: 8px; min-width: 0; }
.c-secret code { color: var(--gold-hi); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 20px; font-weight: 600; letter-spacing: .04em; overflow-wrap: anywhere; }
.c-secret code.is-long { font-size: 12px; letter-spacing: 0; line-height: 1.5; max-height: 120px; overflow: auto; }
.c-secret p { color: var(--muted); font-size: 12.5px; }

.c-validations { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.c-validations li { align-items: baseline; display: grid; font-size: 12.5px; gap: 10px; grid-template-columns: 150px minmax(0, 1fr) auto; }
.c-validations strong { font-weight: 600; }
.c-validations li.is-ok strong { color: #7fcf95; }
.c-validations li.is-bad strong { color: #ef8a76; }
.c-validations span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-validations time { color: var(--soft); font-size: 11.5px; }

.c-check { align-items: center; color: var(--muted); cursor: pointer; display: inline-flex; font-size: 13px; gap: 9px; }
.c-check input { accent-color: var(--gold); height: 16px; width: 16px; }
.c-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }
.c-link { color: var(--gold); }
.c-link:hover { color: var(--gold-hi); }
.c-op-form { border: 1px solid var(--hair); border-radius: 12px; display: grid; gap: 10px; padding: 12px; }
.c-op-form .c-op { background: transparent; border-style: dashed; }
.c-origins { margin-top: 2px; }

@media (max-width: 760px) {
    .c-validations li { grid-template-columns: 1fr; gap: 2px; }
    .c-mini-row.is-static { align-items: flex-start; flex-direction: column; }
}
.c-field[hidden] { display: none; }

/* ---------------------------------------------------------------------------
   Etapa 4 · Seguridad y paquetes de licencias privadas
   ------------------------------------------------------------------------ */
.c-subtab-count { background: rgba(229, 115, 94, .16); border-radius: 999px; color: #f0a091; font-size: 11px; font-style: normal; font-weight: 700; margin-left: 4px; padding: 1px 7px; }

.c-sec-list { display: grid; gap: 12px; }
.c-sec-item { display: grid; gap: 18px 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); padding: 20px 22px; }
.c-sec-item.is-reviewed { opacity: .78; }
.c-sec-main { display: grid; gap: 8px; min-width: 0; align-content: start; }
.c-sec-main h2 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.c-sec-who { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.c-sec-who strong { color: var(--text); font-weight: 600; }
.c-sec-files { border: 1px solid var(--hair); border-radius: 10px; display: grid; gap: 3px; list-style: none; margin: 2px 0 0; max-height: 180px; overflow: auto; padding: 9px 12px; }
.c-sec-files li { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.c-sec-review { color: #7fcf95; font-size: 12.5px; }
.c-sec-side { align-content: start; display: grid; gap: 12px; min-width: 0; }
.c-sec-facts { display: grid; gap: 8px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.c-sec-facts > div { display: grid; gap: 2px; min-width: 0; }
.c-sec-facts dt { color: var(--label); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.c-sec-facts dd { font-size: 13px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-sec-side > .c-btn { justify-self: start; }
.c-sec-form { display: grid; gap: 8px; }

.c-list-pkg .c-list-head, .c-list-pkg .c-list-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.c-list-row.is-static:hover { background: transparent; }
.c-list-muted a.c-link { font-size: 13px; }
.c-pkg-actions { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; min-width: 0; }
.c-pkg-revoke { display: grid; gap: 10px; justify-items: end; }
.c-pkg-revoke > summary { list-style: none; }
.c-pkg-revoke > summary::-webkit-details-marker { display: none; }
.c-pkg-revoke[open] > summary { opacity: .6; }
.c-pkg-revoke .c-form { justify-items: end; min-width: 230px; }
.c-pkg-form { align-items: end; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; }

@media (max-width: 860px) {
    .c-sec-item { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .c-list-pkg .c-list-row { grid-template-columns: minmax(0, 1fr); }
    .c-list-pkg .c-list-row > * { grid-column: 1 / -1; }
    .c-pkg-actions { justify-content: flex-start; }
    .c-pkg-revoke { justify-items: start; }
    .c-pkg-revoke .c-form { justify-items: stretch; min-width: 0; width: 100%; }
    .c-pkg-form { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Etapa 5 · Versiones de EPP
   ------------------------------------------------------------------------ */
.c-ver-list { display: grid; gap: 10px; }
.c-ver-item { border: 1px solid var(--hair); border-radius: 14px; display: grid; gap: 10px; padding: 14px 16px; }
.c-ver-item.is-retired { opacity: .62; }
.c-ver-head { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
.c-ver-head h3 { font-size: 15px; font-weight: 650; }
.c-ver-meta { color: var(--soft); font-size: 12px; margin-top: 2px; }
.c-ver-head .c-head-chips { margin-top: 0; }
.c-ver-notes { border-left: 2px solid var(--hair-gold); color: var(--muted); font-size: 12.5px; line-height: 1.55; padding: 2px 0 2px 12px; }
.c-ver-actions { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 8px; }
.c-ver-edit { display: contents; }
.c-ver-edit > summary { list-style: none; }
.c-ver-edit > summary::-webkit-details-marker { display: none; }
.c-ver-edit[open] > summary { opacity: .6; }
.c-ver-edit > .c-form { border-top: 1px solid var(--hair); flex: 1 1 100%; padding-top: 12px; }
.c-ver-bars { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.c-ver-bars li { align-items: center; display: grid; font-size: 12.5px; gap: 10px; grid-template-columns: 82px minmax(0, 1fr) 28px; }
.c-ver-bar-label { color: var(--muted); }
.c-ver-bars strong { font-weight: 650; text-align: right; }
.c-ver-bar { background: rgba(255, 255, 255, .05); border-radius: 999px; height: 8px; overflow: hidden; }
.c-ver-bar span { background: rgba(201, 168, 106, .45); border-radius: inherit; display: block; height: 100%; transition: width .5s var(--ease); }
.c-ver-bar span.is-current { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.c-detail > * { min-width: 0; }
@media (max-width: 520px) {
    .c-ver-behind .c-mini-row { align-items: flex-start; flex-direction: column; }
    .c-ver-behind .c-mini-row strong { white-space: normal; }
}

/* Etapa 6 · Migraciones */
.c-list-mig .c-list-head, .c-list-mig .c-list-row { grid-template-columns: minmax(0, 1.8fr) minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, 1.1fr) 20px; }
.c-steps { color: var(--muted); display: grid; font-size: 12.5px; gap: 10px; line-height: 1.55; margin: 0; padding-left: 18px; }
.c-steps strong { color: var(--text); font-weight: 600; }
.c-form [hidden] { display: none !important; }

/* Etapa 7 · Acceso con código */
.c-level-options { display: flex; flex-wrap: wrap; gap: 8px; }
.c-level-option { align-items: center; border: 1px solid var(--hair); border-radius: 999px; cursor: pointer; display: inline-flex; font-size: 12.5px; gap: 8px; padding: 7px 14px; }
.c-level-option:has(input:checked) { background: rgba(201, 168, 106, .1); border-color: rgba(201, 168, 106, .55); color: var(--text); }
.c-level-option input { accent-color: var(--gold-hi); margin: 0; }
.c-level-option.is-disabled { cursor: not-allowed; opacity: .45; }
.c-level-form { gap: 12px; }
.c-code-input { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: .32em; text-align: center; }
.c-code-links { display: grid; gap: 4px; justify-items: center; margin-top: 16px; }
.c-code-links form { margin: 0; }
.c-link-btn { background: none; border: 0; color: var(--gold-hi); cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; padding: 4px; }
.c-link-btn.is-muted { color: var(--muted); font-weight: 500; }
.c-backup-list { display: grid; gap: 6px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0 0; padding-left: 22px; }
.c-backup-list code { font-size: 15px; letter-spacing: .08em; }
.c-side-user .c-icon-btn + form { display: inline-flex; }

/* Seguridad · instalaciones en silencio (etapa 8, ofuscación) */
.c-silence { padding: 22px; display: grid; gap: 18px; }
.c-silence-head { display: flex; gap: 15px; align-items: flex-start; }
.c-silence-intro { min-width: 0; }
.c-silence-head h2 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 6px; color: var(--text); }
.c-silence-head p { font-size: 13px; color: var(--muted); margin: 0; max-width: 72ch; line-height: 1.55; }
.c-silence-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.c-silence-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 13px 15px; border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 255, 255, .015); transition: border-color .15s ease; }
.c-silence-list li:hover { border-color: var(--hair-gold); }
.c-silence-lic { display: grid; gap: 3px; text-decoration: none; min-width: 0; }
.c-silence-cliente { color: var(--text); font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.c-silence-lic:hover .c-silence-cliente { color: var(--gold-hi); }
.c-silence-dominio { color: var(--muted); font-size: 12px; }
.c-silence-dias { display: grid; gap: 2px; text-align: right; white-space: nowrap; }
.c-silence-dias strong { color: var(--gold); font-size: 13px; font-weight: 600; }
.c-silence-dias em { color: var(--muted); font-size: 11.5px; font-style: normal; }
@media (max-width: 560px) {
    .c-silence-list li { justify-content: flex-start; }
    .c-silence-dias { text-align: left; }
}

/* EPP 3.0 · Espacio para adjuntos de las cuentas Cloud. */
@media (min-width: 761px) {
    .c-list-head, .c-list-row { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1fr) 20px; }
}
.c-list-space { align-content: center; }
.c-list-space small { color: var(--soft); }
.c-list-space { gap: 5px; }
.c-list-space .c-space-bar { min-height: 4px; }
.c-list-space .c-tag { justify-self: start; }
.c-space-bar { background: rgba(255, 255, 255, .07); border-radius: 999px; display: block; height: 4px; overflow: hidden; width: 100%; }
.c-space-bar i { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: inherit; display: block; height: 100%; }
.c-space-bar.is-warn i { background: linear-gradient(90deg, #c98a35, #e3b05c); }
.c-space-bar.is-full i { background: linear-gradient(90deg, #b8453b, #e5735e); }
.c-space-bar.is-lg { height: 8px; }
.c-tag-gold { background: rgba(201, 168, 106, .12); }
.c-space { display: grid; gap: 16px; }
.c-space-meter { display: grid; gap: 10px; }
.c-space-used { align-items: baseline; display: flex; flex-wrap: wrap; gap: 8px; }
.c-space-used strong { font-size: 24px; font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -.02em; }
.c-space-used span { color: var(--muted); font-size: 13px; }
.c-space-meter .c-hint { margin-top: 0; }
.c-space-request { align-items: flex-start; border: 1px solid rgba(201, 168, 106, .35); border-radius: 14px; display: flex; gap: 14px; padding: 14px; }
.c-space-request .c-tile-icon { flex: 0 0 40px; height: 40px; width: 40px; }
.c-space-request .c-tile-icon svg { height: 20px; width: 20px; }
.c-space-request strong { display: block; font-size: 14px; font-weight: 650; margin-bottom: 4px; }
.c-space-request p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.c-space-request .c-hint { margin-top: 6px; }
.c-space-decision .c-form-actions, .c-space-set .c-form-actions { flex-wrap: wrap; }
.c-space-history { border-top: 1px solid var(--hair); display: grid; gap: 8px; list-style: none; margin: 0; padding: 14px 0 0; }
.c-space-history li { align-items: center; display: grid; font-size: 12.5px; gap: 10px; grid-template-columns: auto minmax(0, 1fr) auto; }
.c-space-history li > span:nth-child(2) { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-space-history time { color: var(--soft); font-size: 12px; }
@media (max-width: 760px) {
    .c-list-space .c-space-bar { flex: 1 0 100%; }
    .c-space-history li { grid-template-columns: auto minmax(0, 1fr); }
    .c-space-history time { grid-column: 2; }
}

/* EPP 3.0 · Código de enlace para el instalador de EPP Cloud */
.c-link-code { display: grid; gap: 10px; margin-top: 16px; }
.c-link-code h2 { margin: 0; font-size: 18px; }
.c-link-code p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.c-link-code-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; resize: none; }

/* EPP 3.0 · Campos que autocompleta el navegador (contraseñas y correos guardados): mantienen el fondo
   oscuro de EPP Central con el texto legible, en vez del fondo claro del navegador. */
.c-input:-webkit-autofill,
.c-input:-webkit-autofill:hover,
.c-input:-webkit-autofill:focus,
.c-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text);
    caret-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #16140f inset, inset 0 1px 0 rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 1000px #16140f inset, inset 0 1px 0 rgba(255, 255, 255, .07);
    border-color: rgba(201, 168, 106, .30);
    transition: background-color 99999s ease-out 0s, color 99999s ease-out 0s;
}

/* EPP 3.0 · Mi cuenta */
.c-side-user-link { align-items: center; border-radius: 10px; color: inherit; display: flex; flex: 1; gap: 10px; min-width: 0; text-decoration: none; }
.c-side-user-link:hover .c-side-user-text strong,
.c-side-user-link.is-active .c-side-user-text strong { color: var(--gold-hi, #e2c27d); }
.c-side-user-link:focus-visible { outline: 2px solid rgba(201, 168, 106, .6); outline-offset: 3px; }
.c-inline-form { margin: 10px 0 0; }
.c-activity { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.c-activity li { border-top: 1px solid var(--hair); display: grid; gap: 2px; padding: 10px 0; }
.c-activity li:first-child { border-top: 0; padding-top: 0; }
.c-activity strong { font-size: 13px; font-weight: 600; }
.c-activity span { color: var(--soft); font-size: 12px; }

/* EPP 3.0 · Respaldos automáticos (ficha de cuenta Cloud y listados). */
.c-tag-danger { border-color: rgba(229, 115, 94, .45); background: rgba(229, 115, 94, .1); color: #e5735e; }
.c-backup { display: grid; gap: 16px; }
.c-backup .c-facts small { color: var(--soft); }
.c-backup-restore { padding-top: 4px; }
