.cp-campus-app,
.cp-campus-summary,
.cp-campus-lock,
.cp-campus-classroom,
.cp-tutor-panel,
.cp-campus-registration {
    --cp-campus-border: #e1e5ea;
    --cp-campus-text: #172033;
    --cp-campus-muted: #667085;
    --cp-campus-surface: #ffffff;
    --cp-campus-soft: #f7f8fa;
    --cp-campus-accent: #2457d6;
    --cp-campus-accent-dark: #173f9f;
    --cp-campus-success: #157347;
    --cp-campus-warning: #8a4b08;
    color: var(--cp-campus-text);
    font-family: inherit;
}

.cp-campus-app *,
.cp-campus-summary *,
.cp-campus-lock *,
.cp-campus-classroom *,
.cp-tutor-panel *,
.cp-campus-registration * {
    box-sizing: border-box;
}

.cp-campus-app {
    display: grid;
    gap: 22px;
    width: 100%;
}

.cp-campus-hero,
.cp-campus-summary,
.cp-campus-lock,
.cp-campus-section,
.cp-campus-class-card,
.cp-campus-overview article {
    border: 1px solid var(--cp-campus-border);
    background: var(--cp-campus-surface);
    box-shadow: 0 10px 32px rgba(23, 32, 51, 0.06);
}

.cp-campus-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 18px;
}

.cp-campus-hero h1,
.cp-campus-summary h2,
.cp-campus-section h2,
.cp-campus-class-card h2,
.cp-campus-lock h2 {
    margin: 0;
    color: var(--cp-campus-text);
    line-height: 1.2;
}

.cp-campus-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.cp-campus-hero p:not(.cp-campus-eyebrow),
.cp-campus-lock p {
    max-width: 760px;
    margin: 0;
    color: var(--cp-campus-muted);
}

.cp-campus-eyebrow {
    margin: 0 0 7px;
    color: var(--cp-campus-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.cp-campus-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eef1f5;
    color: var(--cp-campus-muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.cp-campus-status--active {
    background: #eaf7ef;
    color: var(--cp-campus-success);
}

.cp-campus-status--pending,
.cp-campus-status--cancelled {
    background: #fff3e5;
    color: var(--cp-campus-warning);
}

.cp-campus-overview,
.cp-campus-summary__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cp-campus-overview article,
.cp-campus-summary__grid article {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    padding: 19px;
    border-radius: 14px;
}

.cp-campus-overview span,
.cp-campus-summary__grid span {
    color: var(--cp-campus-muted);
    font-size: 13px;
}

.cp-campus-overview strong,
.cp-campus-summary__grid strong {
    overflow-wrap: anywhere;
    font-size: 17px;
}

.cp-campus-overview small,
.cp-campus-summary__grid small,
.cp-campus-material p,
.cp-campus-muted {
    color: var(--cp-campus-muted);
}

.cp-campus-alert {
    padding: 15px 17px;
    border: 1px solid #cfe1ff;
    border-radius: 12px;
    background: #f2f7ff;
}

.cp-campus-alert--warning {
    border-color: #f2d3ad;
    background: #fff8ef;
}

.cp-campus-class-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
}

.cp-campus-class-card__details {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: var(--cp-campus-muted);
    text-align: right;
}

.cp-campus-section {
    overflow: hidden;
    border-radius: 16px;
}

.cp-campus-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--cp-campus-border);
}

.cp-campus-section__heading > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    background: var(--cp-campus-soft);
    font-weight: 700;
}

.cp-campus-table-wrap {
    overflow-x: auto;
}

.cp-campus-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.cp-campus-table th,
.cp-campus-table td {
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid var(--cp-campus-border);
    text-align: left;
    vertical-align: middle;
}

.cp-campus-table th {
    background: var(--cp-campus-soft);
    color: var(--cp-campus-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cp-campus-table tbody tr:last-child td {
    border-bottom: 0;
}

.cp-campus-table td small {
    display: block;
    margin-top: 4px;
    color: var(--cp-campus-muted);
}

.cp-campus-material {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 250px;
}

.cp-campus-material img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 9px;
    object-fit: cover;
}

.cp-campus-material strong {
    display: block;
}

.cp-campus-material p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.cp-campus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cp-campus-icon-button,
.cp-campus-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.cp-campus-icon-button {
    min-height: 36px;
    padding: 9px 10px;
    background: var(--cp-campus-soft);
    color: var(--cp-campus-text) !important;
    font-size: 12px;
}

.cp-campus-icon-button:hover,
.cp-campus-button:hover {
    transform: translateY(-1px);
}

.cp-campus-button {
    min-height: 43px;
    padding: 12px 17px;
}

.cp-campus-button--primary {
    background: var(--cp-campus-accent);
    color: #ffffff !important;
}

.cp-campus-button--primary:hover {
    background: var(--cp-campus-accent-dark);
}

.cp-campus-button--secondary {
    background: var(--cp-campus-soft);
    color: var(--cp-campus-text) !important;
}

.cp-campus-empty {
    padding: 30px 24px;
    color: var(--cp-campus-muted);
    text-align: center;
}

.cp-campus-lock,
.cp-campus-classroom {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 30px;
    border-radius: 18px;
}

.cp-campus-lock--compact {
    padding: 22px;
}

.cp-campus-lock__icon {
    display: grid;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    place-items: center;
    border-radius: 16px;
    background: var(--cp-campus-soft);
    font-size: 28px;
}

.cp-campus-lock__content p {
    margin: 7px 0 15px;
}

.cp-campus-summary {
    display: grid;
    gap: 18px;
    width: 100%;
    padding: 24px;
    border-radius: 16px;
}

.cp-campus-summary__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cp-campus-summary__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cp-campus-summary__grid article {
    border: 1px solid var(--cp-campus-border);
    background: var(--cp-campus-soft);
    box-shadow: none;
}

.cp-campus-summary > .cp-campus-button {
    justify-self: start;
}

.cp-campus-video-modal {
    width: min(920px, calc(100vw - 32px));
    max-width: 920px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.cp-campus-video-modal::backdrop {
    background: rgba(15, 23, 42, 0.78);
}

.cp-campus-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 17px;
}

.cp-campus-video-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.cp-campus-video-modal__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.cp-campus-video-modal iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 960px) {
    .cp-campus-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-campus-class-card,
    .cp-campus-class-card__details {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .cp-campus-hero,
    .cp-campus-summary__header,
    .cp-campus-lock,
.cp-campus-classroom {
        align-items: flex-start;
        flex-direction: column;
    }

    .cp-campus-overview,
    .cp-campus-summary__grid {
        grid-template-columns: 1fr;
    }

    .cp-campus-hero,
    .cp-campus-section__heading,
    .cp-campus-summary,
    .cp-campus-lock,
.cp-campus-classroom {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cp-campus-table th,
    .cp-campus-table td {
        padding: 13px;
    }

    .cp-campus-icon-button span {
        display: none;
    }
}

/* v0.9.0 · Contratación y solicitudes de pago */
.cp-campus-payment {
    max-width: 1180px;
    margin: 0 auto;
}

.cp-campus-payment .cp-campus-header {
    margin-bottom: 22px;
}

.cp-campus-checkout {
    display: grid;
    gap: 24px;
}

.cp-campus-plan-grid,
.cp-campus-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.cp-campus-plan-card,
.cp-campus-method-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.cp-campus-plan-card > input,
.cp-campus-method-card > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cp-campus-plan-card__body,
.cp-campus-method-card > span {
    display: grid;
    gap: 8px;
    min-height: 100%;
    padding: 20px;
    border: 2px solid var(--cp-campus-border);
    border-radius: 14px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.cp-campus-plan-card input:checked + .cp-campus-plan-card__body,
.cp-campus-method-card input:checked + span {
    border-color: var(--cp-campus-primary);
    box-shadow: 0 0 0 3px rgba(36, 91, 160, .12);
    transform: translateY(-1px);
}

.cp-campus-plan-card strong,
.cp-campus-method-card strong {
    font-size: 17px;
}

.cp-campus-plan-card b {
    color: var(--cp-campus-primary);
    font-size: 23px;
}

.cp-campus-plan-card small,
.cp-campus-method-card small,
.cp-campus-method-card em,
.cp-campus-plan-card em {
    color: var(--cp-campus-muted);
    font-style: normal;
    line-height: 1.55;
}

.cp-campus-method-card em {
    padding-top: 8px;
    border-top: 1px solid var(--cp-campus-border);
    font-size: 13px;
}

.cp-campus-form-section {
    display: grid;
    gap: 16px;
}

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

.cp-campus-field > span {
    font-weight: 700;
}

.cp-campus-field input,
.cp-campus-field select,
.cp-campus-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cp-campus-border);
    border-radius: 9px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.cp-campus-field--required > span::after {
    content: " *";
    color: #b42318;
}

.cp-campus-help {
    margin: 8px 0 0;
    color: var(--cp-campus-muted);
}

.cp-campus-payment-pending {
    margin-bottom: 24px;
}

.cp-campus-history {
    display: grid;
    gap: 8px;
}

.cp-campus-history > div {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 130px 120px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--cp-campus-border);
    border-radius: 10px;
}

.cp-campus-alert--success {
    border-color: #86c995;
    background: #eefaf0;
    color: #155724;
}

@media (max-width: 720px) {
    .cp-campus-plan-grid,
    .cp-campus-method-grid {
        grid-template-columns: 1fr;
    }

    .cp-campus-history > div {
        grid-template-columns: 1fr 1fr;
    }
}

/* v0.10.0 checkout usability */
.cp-campus-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.cp-campus-choice-card{display:block;cursor:pointer}.cp-campus-choice-card>input{position:absolute;opacity:0;pointer-events:none}.cp-campus-choice-card__body{display:flex;flex-direction:column;gap:8px;height:100%;padding:18px;border:1px solid #d8dee8;border-radius:14px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.cp-campus-choice-card>input:checked+.cp-campus-choice-card__body{border-color:#243b64;box-shadow:0 0 0 3px rgba(36,59,100,.12);transform:translateY(-1px)}.cp-campus-choice-card>input:focus-visible+.cp-campus-choice-card__body{outline:3px solid rgba(36,59,100,.3);outline-offset:2px}.cp-campus-price{font-size:1.55rem;font-weight:700}.cp-campus-price small{font-size:.8rem;font-weight:500}.cp-campus-step{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-right:9px;border-radius:999px;background:#243b64;color:#fff;font-weight:700}.cp-campus-section__heading>div{display:grid;align-content:start;gap:7px;min-width:0}.cp-campus-two-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.cp-campus-legal-note{font-size:.88rem;opacity:.78}.cp-campus-alert{padding:15px 18px;border-radius:12px;margin:16px 0}.cp-campus-alert--success{background:#effaf3;border:1px solid #a9dfbd}.cp-campus-alert--error{background:#fff1f1;border:1px solid #e7aaaa}.cp-campus-alert--warning{background:#fff8e5;border:1px solid #efd28a}.cp-campus-pending{border-left:5px solid #243b64}.cp-campus-link-button{appearance:none;border:0;background:none;padding:0;color:#1d4ed8;text-decoration:underline;cursor:pointer;font:inherit}.cp-campus-error-text{color:#a52626}.cp-campus-history form{margin:0}

/* v0.24.1 · Continuidad visual azul y dorada en contratación */
.cp-campus-checkout {
    --cp-campus-border:#d9e3f1;
    --cp-campus-text:#13203a;
    --cp-campus-muted:#667085;
    --cp-campus-surface:#fff;
    --cp-campus-soft:#f3f7fd;
    --cp-campus-accent:#2457d6;
    --cp-campus-accent-dark:#173f9f;
    --cp-checkout-gold:#c49a3a;
    width:min(1180px,100%);
    margin-inline:auto;
    color:var(--cp-campus-text);
}
.cp-campus-checkout *, .cp-campus-checkout *::before, .cp-campus-checkout *::after { box-sizing:border-box; }
.cp-campus-checkout > .cp-campus-hero {
    position:relative;
    overflow:hidden;
    border-color:#173f9f;
    background:radial-gradient(circle at 90% 15%,rgba(244,217,139,.2),transparent 34%),linear-gradient(135deg,#173f9f,#2457d6);
    box-shadow:0 20px 52px rgba(23,63,159,.22);
}
.cp-campus-checkout > .cp-campus-hero::after { content:""; position:absolute; top:24px; right:28px; width:74px; height:4px; border-radius:999px; background:var(--cp-checkout-gold); }
.cp-campus-checkout > .cp-campus-hero h1 { color:#fff; }
.cp-campus-checkout > .cp-campus-hero .cp-campus-eyebrow { color:#f4d98b; }
.cp-campus-checkout > .cp-campus-hero p:not(.cp-campus-eyebrow) { color:#e9efff; }
.cp-campus-checkout .cp-campus-section { border-color:#d8e2f1; background:linear-gradient(180deg,#fff,#fbfcff); box-shadow:0 13px 38px rgba(23,63,159,.07); }
.cp-campus-checkout-form > .cp-campus-section { padding:0 24px 24px; }
.cp-campus-checkout-form > .cp-campus-section > .cp-campus-section__heading { margin:0 -24px 22px; background:linear-gradient(90deg,#f2f6fd,#fff); }
.cp-campus-checkout .cp-campus-step { margin:0; background:linear-gradient(145deg,#2d68e7,#173f9f); box-shadow:0 6px 14px rgba(23,63,159,.2); }
.cp-campus-checkout .cp-campus-section__heading--step > div { grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:10px; }
.cp-campus-checkout .cp-campus-choice-card__body { border-color:#d8e2f1; border-radius:16px; background:linear-gradient(145deg,#fff,#f7f9fe); box-shadow:0 7px 20px rgba(23,63,159,.05); }
.cp-campus-checkout .cp-campus-choice-card:hover .cp-campus-choice-card__body { border-color:#9fb5dc; box-shadow:0 11px 26px rgba(23,63,159,.1); transform:translateY(-1px); }
.cp-campus-checkout .cp-campus-choice-card > input:checked + .cp-campus-choice-card__body { border-color:#2457d6; background:linear-gradient(145deg,#fff,#eef4ff); box-shadow:0 0 0 3px rgba(36,87,214,.13),0 12px 28px rgba(23,63,159,.1); }
.cp-campus-checkout .cp-campus-choice-card > input:checked + .cp-campus-choice-card__body::before { content:"Seleccionado"; align-self:flex-start; padding:4px 8px; border-radius:999px; background:#f7edcf; color:#725614; font-size:10px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.cp-campus-checkout .cp-campus-price { color:#173f9f; }
.cp-campus-checkout .cp-campus-price small { color:#8a6a1f; }
.cp-campus-checkout .cp-campus-field input, .cp-campus-checkout .cp-campus-field select, .cp-campus-checkout .cp-campus-field textarea { border-color:#cbd8eb; border-radius:10px; background:#fff; }
.cp-campus-checkout .cp-campus-field input:focus, .cp-campus-checkout .cp-campus-field select:focus, .cp-campus-checkout .cp-campus-field textarea:focus { outline:3px solid rgba(36,87,214,.14); border-color:#2457d6; }
.cp-campus-checkout .cp-campus-form-section { padding-top:24px; border-top:4px solid var(--cp-checkout-gold); background:linear-gradient(135deg,#f7f9fd,#fff); }
.cp-campus-checkout .cp-campus-button { width:max-content; border:1px solid #173f9f !important; background:linear-gradient(145deg,#2d68e7,#173f9f) !important; color:#fff !important; box-shadow:0 9px 21px rgba(23,63,159,.22); }
.cp-campus-checkout .cp-campus-button:hover, .cp-campus-checkout .cp-campus-button:focus-visible { background:linear-gradient(145deg,#245edb,#123782) !important; color:#fff !important; box-shadow:0 11px 25px rgba(23,63,159,.3); }
.cp-campus-checkout .cp-campus-pending { padding:24px; border-left:5px solid var(--cp-checkout-gold); background:linear-gradient(135deg,#fffaf0,#fff); }
.cp-campus-checkout .cp-campus-history > div { border-color:#d8e2f1; background:#fbfcff; }
.cp-campus-checkout .cp-campus-link-button { color:#173f9f; font-weight:800; }
.cp-campus-renewal-section .cp-campus-subscribe-card { max-width:760px; }
.cp-campus-renewal-section .cp-campus-subscribe-card__icon { display:grid; width:46px; height:46px; place-items:center; border-radius:13px; background:linear-gradient(145deg,#2457d6,#173f9f); color:#fff; font-size:23px; box-shadow:0 8px 18px rgba(23,63,159,.2); }
.cp-campus-renewal-section .cp-campus-subscribe-card > input:checked + .cp-campus-choice-card__body { border-color:#d1a735; background:linear-gradient(145deg,#fffaf0,#f3f7ff); box-shadow:0 0 0 3px rgba(209,167,53,.18),0 13px 28px rgba(23,63,159,.1); }
.cp-campus-renewal-section .cp-campus-subscribe-card > input:checked + .cp-campus-choice-card__body::before { content:"Suscripción activada"; }
.cp-campus-subscribe-card__notice { padding:10px 12px; border-left:3px solid #d1a735; border-radius:6px; background:#fff8e5; color:#715619; }
.cp-campus-renewal-badge { display:inline-flex; align-items:center; width:max-content; margin:4px 0 12px; padding:7px 11px; border:1px solid #d1a735; border-radius:999px; background:#fff8df; color:#715619; font-size:12px; font-weight:900; }
.cp-campus-current-subscription { border-top:4px solid #d1a735 !important; }
.cp-campus-current-subscription__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
.cp-campus-current-subscription__grid > div { min-width:0; padding:14px; border:1px solid #d8e2f1; border-radius:12px; background:#f7f9fe; }
.cp-campus-current-subscription__grid span,.cp-campus-current-subscription__grid strong { display:block; overflow-wrap:anywhere; }
.cp-campus-current-subscription__grid span { margin-bottom:5px; color:#66758c; font-size:12px; font-weight:800; text-transform:uppercase; }
.cp-campus-current-subscription__grid strong { color:#173f9f; }
@media (max-width:680px) {
    .cp-campus-checkout-form > .cp-campus-section { padding-right:18px; padding-left:18px; }
    .cp-campus-checkout-form > .cp-campus-section > .cp-campus-section__heading { margin-right:-18px; margin-left:-18px; }
    .cp-campus-checkout .cp-campus-button { width:100%; }
    .cp-campus-current-subscription__grid { grid-template-columns:minmax(0,1fr); }
}


/* Aulario privado por grupo. */
.cp-campus-classroom {
    display: grid;
    gap: 20px;
    width: 100%;
    color: var(--cp-campus-text);
    font-family: inherit;
}
.cp-campus-classroom__hero,
.cp-campus-classroom__meta article,
.cp-campus-classroom__instructions,
.cp-campus-classroom__meeting {
    border: 1px solid var(--cp-campus-border);
    background: var(--cp-campus-surface);
    box-shadow: 0 10px 32px rgba(23, 32, 51, .06);
}
.cp-campus-classroom__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 18px;
}
.cp-campus-classroom__hero h1 { margin: 0 0 8px; color: var(--cp-campus-text); font-size: clamp(27px, 4vw, 40px); line-height: 1.18; }
.cp-campus-classroom__hero p:not(.cp-campus-eyebrow) { max-width: 760px; margin: 0; color: var(--cp-campus-muted); }
.cp-campus-classroom__meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.cp-campus-classroom__meta article { display: grid; gap: 6px; min-width: 0; padding: 17px; border-radius: 13px; }
.cp-campus-classroom__meta span { color: var(--cp-campus-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cp-campus-classroom__meta strong { overflow-wrap: anywhere; }
.cp-campus-classroom__instructions { padding: 18px 20px; border-radius: 13px; }
.cp-campus-classroom__instructions p { margin: 6px 0 0; color: var(--cp-campus-muted); }
.cp-campus-classroom__meeting { min-width: 0; padding: 10px; border-radius: 17px; overflow: hidden; }
.cp-campus-classroom__meeting iframe { display: block; width: 100% !important; max-width: 100% !important; min-height: min(720px, 72vh); border: 0 !important; border-radius: 12px; }
.cp-campus-summary__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-self: start; }

@media (max-width: 900px) {
    .cp-campus-classroom__meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .cp-campus-classroom__hero { flex-direction: column; padding: 22px; }
    .cp-campus-classroom__meta { grid-template-columns: 1fr; }
    .cp-campus-classroom__meeting iframe { min-height: 560px; }
}


/* Tutor panel and tutor notes — v0.13.0 */
.cp-tutor-panel { display:grid; gap:24px; width:100%; color:var(--cp-campus-text); }
.cp-tutor-group { display:grid; gap:18px; padding:24px; border:1px solid var(--cp-campus-border); border-radius:18px; background:#fff; box-shadow:0 12px 35px rgba(15,23,42,.06); }
.cp-tutor-group__header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.cp-tutor-group__header h2 { margin:0 0 7px; }
.cp-tutor-group__header p:not(.cp-campus-eyebrow) { margin:0; color:var(--cp-campus-muted); }
.cp-tutor-group__overview { grid-template-columns:repeat(4,minmax(0,1fr)); }
.cp-tutor-details { border:1px solid var(--cp-campus-border); border-radius:14px; overflow:hidden; }
.cp-tutor-details summary { padding:16px 18px; background:var(--cp-campus-soft); font-weight:700; cursor:pointer; }
.cp-tutor-columns { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:18px; align-items:start; }
.cp-tutor-card { border:1px solid var(--cp-campus-border); box-shadow:none; }
.cp-tutor-card__body { display:grid; gap:14px; padding:18px; }
.cp-tutor-session-card { display:grid; gap:8px; }
.cp-tutor-session-form, .cp-tutor-create-form { display:grid; gap:12px; padding:16px; border:1px solid var(--cp-campus-border); border-radius:12px; background:#fff; }
.cp-tutor-create-form { background:var(--cp-campus-soft); }
.cp-tutor-delete-form { display:flex; justify-content:flex-end; }
.cp-tutor-session-form__head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.cp-tutor-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cp-tutor-panel label { display:grid; gap:6px; color:var(--cp-campus-muted); font-size:13px; font-weight:700; }
.cp-tutor-panel input, .cp-tutor-panel select, .cp-tutor-panel textarea { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--cp-campus-border); border-radius:9px; background:#fff; color:var(--cp-campus-text); font:inherit; font-weight:400; }
.cp-tutor-panel textarea { min-height:82px; resize:vertical; }
.cp-tutor-resource { display:grid; gap:10px; padding:15px; border:1px solid var(--cp-campus-border); border-radius:12px; }
.cp-tutor-resource small { display:block; margin-top:4px; color:var(--cp-campus-muted); }
.cp-tutor-resource__body p { margin:.4em 0; }
.cp-campus-button--danger, .cp-campus-icon-button--danger { background:#fff0f0; color:#a61b1b !important; }
.cp-classroom-schedule__list { display:grid; gap:10px; padding:18px; }
.cp-classroom-session { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; border:1px solid var(--cp-campus-border); border-radius:11px; }
.cp-classroom-session small { display:block; margin-top:4px; color:var(--cp-campus-muted); }
.cp-classroom-session--cancelled { opacity:.65; }
.cp-tutor-notes-public__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:18px; }
.cp-tutor-note-card { display:grid; align-content:start; gap:10px; padding:17px; border:1px solid var(--cp-campus-border); border-radius:12px; background:#fff; }
.cp-tutor-note-card h3, .cp-tutor-note-card h4 { margin:0; }
.cp-tutor-note-card p { margin:.3em 0; color:var(--cp-campus-muted); }
.cp-student-tutor-notes { display:grid; gap:12px; padding:18px; border:1px solid var(--cp-campus-border); border-radius:13px; background:var(--cp-campus-soft); }
.cp-student-tutor-notes .cp-tutor-notes-public__grid { grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; }
@media (max-width: 980px) { .cp-tutor-columns { grid-template-columns:1fr; } .cp-tutor-group__overview { grid-template-columns:repeat(2,minmax(0,1fr)); } .cp-student-tutor-notes .cp-tutor-notes-public__grid { grid-template-columns:1fr; } }
@media (max-width: 680px) { .cp-tutor-group { padding:16px; } .cp-tutor-group__header, .cp-classroom-session { align-items:stretch; flex-direction:column; } .cp-tutor-group__overview, .cp-tutor-form-grid, .cp-tutor-notes-public__grid { grid-template-columns:1fr; } }


/* v0.14.0 · Ritmo tipográfico, perfiles Tutor Campus y planning anual */
.cp-campus-section__heading > div,
.cp-campus-class-card > div:first-child,
.cp-campus-summary__header > div,
.cp-student-tutor-notes > div:first-child,
.cp-tutor-group__header > div:first-child,
.cp-tutor-planning-card > div:first-child {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}
.cp-campus-section__heading .cp-campus-eyebrow,
.cp-campus-class-card .cp-campus-eyebrow,
.cp-campus-summary__header .cp-campus-eyebrow,
.cp-student-tutor-notes .cp-campus-eyebrow,
.cp-tutor-group__header .cp-campus-eyebrow,
.cp-tutor-planning-card .cp-campus-eyebrow { margin: 0; }
.cp-campus-section__heading h2,
.cp-campus-section__heading h3,
.cp-campus-class-card h2,
.cp-campus-summary__header h2,
.cp-student-tutor-notes h3,
.cp-tutor-group__header h2,
.cp-tutor-planning-card h3 { margin: 0; line-height: 1.18; }
.cp-campus-button__icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cp-campus-button--planning { background: #f5ecd3; color: #684f16 !important; border: 1px solid #dfc77b; }
.cp-campus-button--planning:hover { background: #ead9a8; }
.cp-tutor-planning-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:start; padding:18px; border:1px solid #dfc77b; border-radius:14px; background:#fffaf0; }
.cp-tutor-planning-card p:not(.cp-campus-eyebrow) { margin:0; color:var(--cp-campus-muted); }
.cp-tutor-planning-form { grid-column:1/-1; display:grid; grid-template-columns:minmax(220px,1fr) auto auto; gap:12px; align-items:end; }
.cp-tutor-inline-check { display:flex !important; grid-template-columns:none !important; align-items:center; gap:8px; min-height:42px; }
.cp-tutor-inline-check input { width:auto; min-height:0; }
@media(max-width:760px){.cp-tutor-planning-card{grid-template-columns:1fr}.cp-tutor-planning-form{grid-template-columns:1fr}.cp-tutor-planning-card>.cp-campus-actions{justify-content:flex-start}}

/* v0.15.0 · Tipografía Lato para títulos y accesos dinámicos del perfil. */
.cp-campus-app,
.cp-campus-summary,
.cp-campus-lock,
.cp-campus-classroom,
.cp-tutor-panel,
.cp-profile-actions {
    --cp-campus-heading-font: "Lato", "Helvetica Neue", Arial, sans-serif;
}

.cp-campus-app :is(h1, h2, h3, h4),
.cp-campus-summary :is(h1, h2, h3, h4),
.cp-campus-lock :is(h1, h2, h3, h4),
.cp-campus-classroom :is(h1, h2, h3, h4),
.cp-tutor-panel :is(h1, h2, h3, h4) {
    font-family: var(--cp-campus-heading-font);
    font-weight: 800;
    letter-spacing: -0.018em;
}

.cp-campus-eyebrow,
.cp-profile-actions__button {
    font-family: var(--cp-campus-heading-font);
}

.cp-profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin: 16px 0;
    font-family: inherit;
}

.cp-profile-actions__button {
    display: inline-flex;
    min-height: 48px;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 17px;
    border: 1px solid #d7dee7;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 7px 20px rgba(23, 32, 51, 0.06);
    color: #172033 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.cp-profile-actions__button:hover,
.cp-profile-actions__button:focus-visible {
    border-color: #2457d6;
    background: #f6f8ff;
    box-shadow: 0 10px 24px rgba(36, 87, 214, 0.12);
    transform: translateY(-1px);
}

.cp-profile-actions__button:focus-visible {
    outline: 3px solid rgba(36, 87, 214, .2);
    outline-offset: 2px;
}

.cp-profile-actions__button .dashicons {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: #2457d6;
    font-size: 21px;
}

.cp-profile-actions__button--admin,
.cp-profile-actions__button--tutor {
    border-color: #dccb9e;
    background: #fffaf0;
}

.cp-profile-actions__button--admin .dashicons,
.cp-profile-actions__button--tutor .dashicons {
    color: #987326;
}

.cp-profile-actions__button--payment {
    border-color: #c9dfd1;
}

.cp-profile-actions__button--payment .dashicons {
    color: #157347;
}

@media (max-width: 680px) {
    .cp-profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cp-profile-actions__button {
        width: 100%;
        justify-content: flex-start;
    }
}

/* v0.16.0 · Alineación de shortcodes, acceso de tutores al aulario y perfil editable. */
.cp-campus-app,
.cp-campus-summary,
.cp-campus-lock,
.cp-campus-classroom,
.cp-tutor-panel,
.cp-campus-payment,
.cp-profile-actions,
.cp-profile-editor {
    width: min(1180px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.cp-profile-actions {
    justify-content: center;
}

.cp-profile-editor {
    --cp-campus-border: #e1e5ea;
    --cp-campus-text: #172033;
    --cp-campus-muted: #667085;
    --cp-campus-surface: #ffffff;
    --cp-campus-soft: #f7f8fa;
    --cp-campus-accent: #2457d6;
    --cp-campus-accent-dark: #173f9f;
    --cp-campus-heading-font: "Lato", "Helvetica Neue", Arial, sans-serif;
    display: grid;
    gap: 20px;
    padding: 26px;
    border: 1px solid var(--cp-campus-border);
    border-radius: 18px;
    background: var(--cp-campus-surface);
    box-shadow: 0 10px 32px rgba(23, 32, 51, .06);
    color: var(--cp-campus-text);
    font-family: inherit;
}

.cp-profile-editor *,
.cp-profile-editor *::before,
.cp-profile-editor *::after {
    box-sizing: border-box;
}

.cp-profile-editor :is(h2, h3) {
    margin: 0;
    color: var(--cp-campus-text);
    font-family: var(--cp-campus-heading-font);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.018em;
}

.cp-profile-editor__header > div {
    display: grid;
    gap: 8px;
}

.cp-profile-editor__header p:not(.cp-campus-eyebrow) {
    margin: 0;
    color: var(--cp-campus-muted);
}

.cp-profile-editor__form {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.cp-profile-editor__avatar-column {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.cp-profile-editor__avatar-wrap {
    width: 170px;
    height: 170px;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 999px;
    background: var(--cp-campus-soft);
    box-shadow: 0 0 0 1px var(--cp-campus-border), 0 10px 25px rgba(23, 32, 51, .12);
}

.cp-profile-editor__avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-profile-editor__avatar-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cp-profile-editor__avatar-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cp-profile-editor__avatar-column small,
.cp-profile-editor .cp-campus-field small {
    color: var(--cp-campus-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cp-profile-editor__fields {
    display: grid;
    gap: 22px;
}

.cp-profile-editor__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.cp-profile-editor__field--wide {
    grid-column: 1 / -1;
}

.cp-profile-editor__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.cp-profile-password-dialog {
    width: min(520px, calc(100vw - 30px));
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .32);
}

.cp-profile-password-dialog::backdrop {
    background: rgba(15, 23, 42, .66);
}

.cp-profile-password-dialog__content {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 13px;
    padding: 34px;
    text-align: center;
}

.cp-profile-password-dialog__content > p:not(.cp-campus-eyebrow) {
    margin: 0;
    color: var(--cp-campus-muted);
    line-height: 1.55;
}

.cp-profile-password-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: var(--cp-campus-soft);
    color: var(--cp-campus-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.cp-profile-password-dialog__icon {
    width: 58px;
    height: 58px;
    color: var(--cp-campus-accent);
    font-size: 58px;
}

.cp-profile-password-dialog__message {
    min-height: 22px;
    color: var(--cp-campus-muted);
    font-size: 14px;
}

.cp-profile-password-dialog__message.is-success {
    color: #157347;
}

.cp-profile-password-dialog__message.is-error {
    color: #a52626;
}

.cp-tutor-classroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.cp-tutor-classroom-card {
    display: grid;
    align-content: space-between;
    gap: 20px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--cp-campus-border);
    border-radius: 15px;
    background: var(--cp-campus-surface);
    box-shadow: 0 10px 32px rgba(23, 32, 51, .06);
}

.cp-tutor-classroom-card > div:first-child {
    display: grid;
    gap: 8px;
}

.cp-tutor-classroom-card h2,
.cp-tutor-classroom-card p {
    margin: 0;
}

.cp-tutor-classroom-card p:not(.cp-campus-eyebrow) {
    color: var(--cp-campus-muted);
}

@media (max-width: 760px) {
    .cp-profile-editor {
        padding: 20px;
    }

    .cp-profile-editor__form,
    .cp-profile-editor__grid {
        grid-template-columns: 1fr;
    }

    .cp-profile-editor__field--wide {
        grid-column: auto;
    }

    .cp-profile-editor__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cp-profile-editor__actions .cp-campus-button {
        width: 100%;
    }

    .cp-profile-actions {
        justify-items: center;
    }

    .cp-profile-actions__button {
        justify-content: center;
    }
}

/* v0.17.0 — Perfil público del tutor y comunicaciones. */
.cp-tutor-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cp-campus-accent-dark, #9a6f18);
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cp-tutor-profile-trigger:hover,
.cp-tutor-profile-trigger:focus-visible {
    color: var(--cp-campus-primary, #172033);
}

.cp-tutor-profile-dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: min(88vh, 860px);
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: transparent;
    overflow: auto;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .25);
}

.cp-tutor-profile-dialog::backdrop {
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(2px);
}

.cp-tutor-profile-dialog__card {
    position: relative;
    background: #fff;
    color: var(--cp-campus-text, #172033);
}

.cp-tutor-profile-dialog__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #172033;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15,23,42,.12);
}

.cp-tutor-profile-dialog__header {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 24px;
    align-items: center;
    padding: 34px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff9e8 100%);
    border-bottom: 1px solid var(--cp-campus-border, #e4e7ec);
}

.cp-tutor-profile-dialog__header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15,23,42,.14);
}

.cp-tutor-profile-dialog__header h2,
.cp-tutor-profile-dialog__header p {
    margin: 0;
}

.cp-tutor-profile-dialog__header > div {
    display: grid;
    gap: 10px;
}

.cp-tutor-profile-dialog__header > div > p:not(.cp-campus-eyebrow) {
    color: var(--cp-campus-muted, #667085);
    line-height: 1.6;
}

.cp-tutor-profile-dialog__content {
    display: grid;
    gap: 18px;
    padding: 30px 34px;
}

.cp-tutor-profile-dialog__content section {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cp-campus-border, #e4e7ec);
}

.cp-tutor-profile-dialog__content section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cp-tutor-profile-dialog__content .dashicons {
    color: #b88a25;
    font-size: 26px;
    width: 26px;
    height: 26px;
}

.cp-tutor-profile-dialog__content h3,
.cp-tutor-profile-dialog__content p {
    margin: 0;
}

.cp-tutor-profile-dialog__content h3 {
    margin-bottom: 6px;
    font-size: 17px;
}

.cp-tutor-profile-dialog__content p {
    color: var(--cp-campus-muted, #667085);
    line-height: 1.65;
}

.cp-tutor-profile-dialog__footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 20px 34px;
    background: #172033;
    color: #fff;
}

.cp-tutor-profile-dialog__footer a {
    color: #f4d98b;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.cp-tutor-public-profile {
    margin: 0 0 24px;
    border: 1px solid var(--cp-campus-border, #e4e7ec);
    border-radius: 16px;
    background: var(--cp-campus-surface, #fff);
    box-shadow: 0 10px 32px rgba(23, 32, 51, .06);
    overflow: hidden;
}

.cp-tutor-public-profile > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
}

.cp-tutor-public-profile > summary::-webkit-details-marker { display: none; }
.cp-tutor-public-profile > summary > span:first-child { display: grid; gap: 4px; }
.cp-tutor-public-profile > summary small { color: var(--cp-campus-muted, #667085); font-weight: 400; }

.cp-tutor-public-profile__form {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 28px;
    padding: 24px;
    border-top: 1px solid var(--cp-campus-border, #e4e7ec);
}

.cp-tutor-public-profile__avatar {
    display: grid;
    align-content: start;
    gap: 12px;
    text-align: center;
}

.cp-tutor-public-profile__avatar img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
    margin-inline: auto;
    box-shadow: 0 10px 28px rgba(15,23,42,.12);
}

.cp-tutor-public-profile__avatar input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cp-tutor-public-profile__avatar small { color: var(--cp-campus-muted, #667085); line-height: 1.45; }
.cp-tutor-public-profile__fields { display: grid; gap: 16px; }
.cp-tutor-public-profile__fields > label,
.cp-tutor-public-profile__fields .cp-tutor-form-grid > label { display: grid; gap: 7px; }
.cp-tutor-public-profile__fields label > span { font-weight: 700; color: var(--cp-campus-text, #172033); }
.cp-tutor-public-profile__fields input,
.cp-tutor-public-profile__fields textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--cp-campus-border, #d0d5dd);
    border-radius: 9px;
    background: #fff;
    color: var(--cp-campus-text, #172033);
    font: inherit;
}

.cp-tutor-form-grid--professional { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 780px) {
    .cp-tutor-profile-dialog__header,
    .cp-tutor-public-profile__form {
        grid-template-columns: 1fr;
    }

    .cp-tutor-profile-dialog__header {
        text-align: center;
    }

    .cp-tutor-profile-dialog__header img {
        margin-inline: auto;
        width: 128px;
        height: 128px;
    }

    .cp-tutor-profile-dialog__footer {
        display: grid;
        text-align: center;
    }

    .cp-tutor-form-grid--professional {
        grid-template-columns: 1fr;
    }
}

/* v0.18.0 · Registro público y circuito de captación */
.cp-campus-registration {
    --cp-campus-border: #dfe5ed;
    --cp-campus-text: #172033;
    --cp-campus-muted: #667085;
    --cp-campus-surface: #ffffff;
    --cp-campus-soft: #f7f9fc;
    --cp-campus-accent: #2457d6;
    --cp-campus-accent-dark: #173f9f;
    --cp-campus-success: #157347;
    --cp-campus-warning: #8a4b08;
    display: grid;
    gap: 22px;
    width: min(1180px, 100%);
    margin-inline: auto;
    color: var(--cp-campus-text);
    font-family: inherit;
}

.cp-campus-registration *,
.cp-campus-registration *::before,
.cp-campus-registration *::after { box-sizing: border-box; }

.cp-registration-form { display: grid; gap: 22px; }
.cp-registration-hero { background: linear-gradient(135deg, #ffffff 0%, #f2f6fc 100%); }
.cp-registration-hero > div { max-width: 790px; }

.cp-registration-role-grid,
.cp-registration-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
}

.cp-registration-role-card,
.cp-registration-plan-card,
.cp-registration-intents > label {
    position: relative;
    display: block;
    min-width: 0;
    border: 1px solid var(--cp-campus-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.cp-registration-role-card:hover,
.cp-registration-plan-card:hover,
.cp-registration-intents > label:hover,
.cp-registration-role-card.is-selected,
.cp-registration-plan-card.is-selected,
.cp-registration-intents > label.is-selected {
    border-color: #6f91df;
    box-shadow: 0 10px 26px rgba(36,87,214,.10);
    transform: translateY(-1px);
}

.cp-registration-role-card.is-selected,
.cp-registration-plan-card.is-selected,
.cp-registration-intents > label.is-selected { background: #f4f7ff; }

.cp-registration-role-card > input,
.cp-registration-plan-card > input,
.cp-registration-intents > label > input {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 18px;
    height: 18px;
    accent-color: var(--cp-campus-accent);
}

.cp-registration-role-card > span,
.cp-registration-intents > label > span {
    display: grid;
    gap: 8px;
    padding: 22px 50px 22px 22px;
}

.cp-registration-role-card strong,
.cp-registration-plan-card strong,
.cp-registration-intents strong { font-size: 17px; color: var(--cp-campus-text); }

.cp-registration-role-card small,
.cp-registration-plan-card small,
.cp-registration-intents small {
    color: var(--cp-campus-muted);
    line-height: 1.55;
}

.cp-registration-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    padding: 24px;
}

.cp-campus-field { display: grid; gap: 7px; min-width: 0; }
.cp-campus-field > span { color: var(--cp-campus-text); font-size: 14px; font-weight: 700; }
.cp-campus-field input,
.cp-campus-field select,
.cp-campus-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    background: #fff;
    color: var(--cp-campus-text);
    font: inherit;
}
.cp-campus-field input:focus,
.cp-campus-field select:focus,
.cp-campus-field textarea:focus {
    border-color: var(--cp-campus-accent);
    outline: 3px solid rgba(36,87,214,.13);
}

.cp-registration-opponent__body,
.cp-registration-security__body,
.cp-registration-complete__body {
    display: grid;
    gap: 20px;
    padding: 24px;
}

.cp-registration-phone { max-width: 430px; }
.cp-registration-plan-grid { padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-registration-plan-card__body { display: grid; gap: 10px; padding: 24px 52px 24px 22px; }
.cp-campus-price { color: #163b73; font-size: 26px; font-weight: 900; line-height: 1; }
.cp-campus-price small { margin-left: 4px; font-size: 13px; font-weight: 700; }

.cp-registration-intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.cp-registration-intents > label > span { min-height: 100%; }
.cp-registration-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--cp-campus-muted); line-height: 1.55; }
.cp-registration-consent input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--cp-campus-accent); }
.cp-registration-hcaptcha { min-height: 78px; }
.cp-campus-legal-note { margin: 0; color: var(--cp-campus-muted); font-size: 13px; line-height: 1.55; }
.cp-registration-actions,
.cp-campus-lock__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cp-registration-complete__body p { margin: 0; }
.cp-registration-associated-teacher__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding: 24px;
}
.cp-registration-associated-teacher__body > p,
.cp-registration-associated-teacher__body > .cp-campus-alert,
.cp-registration-associated-teacher__body > .cp-campus-legal-note { grid-column: 1 / -1; margin: 0; }
.cp-associated-teacher-picker { position: relative; display: grid; gap: 8px; max-width: 720px; }
.cp-associated-teacher-picker__control { position: relative; }
.cp-associated-teacher-picker__control > .dashicons {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 1;
    width: 20px;
    height: 20px;
    color: #54739d;
    font-size: 20px;
    pointer-events: none;
    transform: translateY(-50%);
}
.cp-associated-teacher-picker__control input[type="search"] {
    width: 100%;
    min-height: 49px;
    padding: 11px 42px;
    border: 1px solid #b9cae0;
    border-radius: 11px;
    background: #fff;
    color: var(--cp-campus-text);
    font: inherit;
}
.cp-associated-teacher-picker__control input[type="search"]:focus {
    border-color: var(--cp-campus-accent);
    outline: 3px solid rgba(36,87,214,.13);
}
.cp-associated-teacher-picker__options {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 40;
    max-height: 248px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid #bacce3;
    border-top: 3px solid #c69a3b;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(8,59,120,.18);
}
.cp-associated-teacher-picker__options button {
    display: flex;
    width: 100%;
    min-height: 43px;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #173b72;
    font: inherit;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
}
.cp-associated-teacher-picker__options button:hover,
.cp-associated-teacher-picker__options button:focus,
.cp-associated-teacher-picker__options button.is-active,
.cp-associated-teacher-picker__options button[aria-selected="true"] {
    outline: 0;
    background: #eaf3ff;
    color: #0758b8;
}
.cp-associated-teacher-picker__options button[hidden] { display: none; }
.cp-associated-teacher-picker__options .dashicons { color: #c1963d; }
.cp-associated-teacher-picker__required,
.cp-associated-teacher-picker__empty {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #71551d;
    font-size: 13px;
    line-height: 1.45;
}
.cp-associated-teacher-picker__required .dashicons { color: #b58628; }
.cp-associated-teacher-picker__empty { color: #9a4f43; }
.cp-associated-teacher-invite {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid #d9c486;
    border-radius: 13px;
    background: linear-gradient(105deg, #fff9e9, #f7fbff);
}
.cp-associated-teacher-invite > .dashicons {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    background: #083b78;
    color: #f0d28e;
    font-size: 22px;
}
.cp-associated-teacher-invite strong { color: #173b72; }
.cp-associated-teacher-invite p { margin: 4px 0 0; color: #66768a; font-size: 13px; line-height: 1.5; }
.cp-associated-teacher-invite .cp-campus-button { min-height: 42px; white-space: nowrap; }
.cp-teacher-invite-dialog {
    width: min(610px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 0;
    border: 0;
    border-radius: 18px;
    color: #17263a;
    box-shadow: 0 28px 80px rgba(8,27,61,.34);
}
.cp-teacher-invite-dialog::backdrop { background: rgba(8,27,61,.66); backdrop-filter: blur(3px); }
.cp-teacher-invite-dialog form { margin: 0; }
.cp-teacher-invite-dialog__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 4px solid #c69a3b;
    background: linear-gradient(135deg, #083b78, #0758b8);
    color: #fff;
}
.cp-teacher-invite-dialog__heading p,
.cp-teacher-invite-dialog__heading h3 { margin: 0; color: #fff; }
.cp-teacher-invite-dialog__heading p { color: #f0d28e; font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.cp-teacher-invite-dialog__heading h3 { margin-top: 3px; font-size: 23px; }
.cp-teacher-invite-dialog__heading button {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font: 400 26px/1 Arial,sans-serif;
    cursor: pointer;
}
.cp-teacher-invite-dialog__body { display: grid; justify-items: center; gap: 14px; padding: 27px 25px; text-align: center; }
.cp-teacher-invite-dialog__body h4 { margin: 0; color: #083b78; font-size: 21px; }
.cp-teacher-invite-dialog__body > p { max-width: 500px; margin: 0; color: #627286; line-height: 1.6; }
.cp-teacher-invite-dialog__body > small { color: #7a8797; }
.cp-teacher-invite-dialog__body .cp-campus-field { width: 100%; text-align: left; }
.cp-teacher-invite-dialog__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #eaf3ff;
    color: #0758b8;
    font-size: 29px;
}
.cp-teacher-invite-dialog__notice { width: 100%; padding: 12px 14px; border: 1px solid #c8d7e8; border-radius: 10px; background: #f3f7fc; color: #173b72; font-weight: 700; }
.cp-teacher-invite-dialog__notice.is-success { border-color: #9bcdb0; background: #edf9f2; color: #246844; }
.cp-teacher-invite-dialog__notice.is-error { border-color: #e0aca5; background: #fff2f0; color: #913c32; }
.cp-teacher-invite-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid #dbe4f0; background: #f7f9fc; }
.cp-teacher-invite-dialog__actions button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #b8c8dc;
    border-radius: 9px;
    background: #fff;
    color: #173b72;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.cp-teacher-invite-dialog__actions button[type="submit"] { border-color: #173f9f; background: #2457d6; color: #fff; }
.cp-teacher-invite-dialog__actions button:disabled { cursor: not-allowed; opacity: .58; }
.cp-teacher-invite-dialog form.is-sent .cp-teacher-invite-dialog__body > label,
.cp-teacher-invite-dialog form.is-sent .cp-registration-hcaptcha,
.cp-teacher-invite-dialog form.is-sent .cp-teacher-invite-dialog__body > small,
.cp-teacher-invite-dialog form.is-sent button[type="submit"] { display: none; }
.cp-campus-step {
    display: inline-grid;
    width: 31px;
    height: 31px;
    margin-right: 10px;
    place-items: center;
    border-radius: 999px;
    background: #163b73;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}
.cp-campus-registration .cp-campus-section__heading > div { display: flex; align-items: center; min-width: 0; }
.cp-campus-registration .cp-campus-section__heading h2 { margin: 0; }
.cp-campus-registration [hidden] { display: none !important; }
.cp-campus-registration .cp-campus-button:disabled,
.cp-campus-registration .cp-campus-button.is-disabled {
    cursor: not-allowed;
    opacity: .58;
    transform: none;
}

@media (max-width: 900px) {
    .cp-registration-role-grid,
    .cp-registration-intents { grid-template-columns: 1fr; }
    .cp-registration-plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .cp-registration-fields { grid-template-columns: 1fr; padding: 18px; }
    .cp-registration-role-grid,
    .cp-registration-opponent__body,
    .cp-registration-security__body,
    .cp-registration-complete__body { padding: 18px; }
    .cp-registration-associated-teacher__body { grid-template-columns: 1fr; padding: 18px; }
    .cp-associated-teacher-invite { grid-template-columns: 38px minmax(0, 1fr); }
    .cp-associated-teacher-invite > .dashicons { width: 38px; height: 38px; }
    .cp-associated-teacher-invite .cp-campus-button { grid-column: 1 / -1; width: 100%; justify-content: center; }
    .cp-teacher-invite-dialog__body { padding: 24px 18px; }
    .cp-teacher-invite-dialog__actions { display: grid; grid-template-columns: 1fr; }
    .cp-registration-actions,
    .cp-campus-lock__actions { display: grid; width: 100%; }
    .cp-registration-actions .cp-campus-button,
    .cp-campus-lock__actions .cp-campus-button { width: 100%; justify-content: center; }
}

/* v0.24.2 · Continuidad visual azul y dorada en Oposiciones */
.cp-campus-oppositions {
    --cp-campus-border:#d8e3f2;
    --cp-campus-soft:#f3f7fd;
    --cp-campus-accent:#2457d6;
    --cp-campus-accent-dark:#173f9f;
    --cp-oppositions-gold:#c49a3a;
    gap:24px;
}
.cp-campus-oppositions > .cp-campus-hero {
    position:relative;
    overflow:hidden;
    border-color:#173f9f;
    background:radial-gradient(circle at 90% 15%,rgba(244,217,139,.19),transparent 34%),linear-gradient(135deg,#173f9f,#2457d6);
    box-shadow:0 20px 52px rgba(23,63,159,.22);
}
.cp-campus-oppositions > .cp-campus-hero::after { content:""; position:absolute; top:24px; right:28px; width:74px; height:4px; border-radius:999px; background:var(--cp-oppositions-gold); }
.cp-campus-oppositions > .cp-campus-hero h1 { color:#fff; }
.cp-campus-oppositions > .cp-campus-hero .cp-campus-eyebrow { color:#f4d98b; }
.cp-campus-oppositions > .cp-campus-hero p:not(.cp-campus-eyebrow) { color:#e9efff; }
.cp-campus-oppositions > .cp-campus-hero .cp-campus-status { border:1px solid rgba(244,217,139,.55); background:rgba(255,255,255,.12); color:#fff; backdrop-filter:blur(4px); }
.cp-campus-oppositions .cp-campus-overview article { position:relative; overflow:hidden; border-color:#d5e1f2; background:linear-gradient(145deg,#fff,#f6f9fe); box-shadow:0 10px 27px rgba(23,63,159,.07); }
.cp-campus-oppositions .cp-campus-overview article::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(#2457d6,#c49a3a); }
.cp-campus-oppositions .cp-campus-overview article > span { color:#526078; font-weight:800; }
.cp-campus-oppositions .cp-campus-overview article > strong { color:#173f9f; }
.cp-campus-oppositions .cp-campus-overview article > small { color:#8a6a1f; }
.cp-campus-oppositions .cp-campus-class-card { border-color:#b8cbea; background:radial-gradient(circle at 5% 50%,rgba(36,87,214,.1),transparent 28%),linear-gradient(135deg,#fff,#f4f7fd); box-shadow:0 14px 36px rgba(23,63,159,.09); }
.cp-campus-oppositions .cp-campus-class-card h2 { color:#173f9f; }
.cp-campus-oppositions > .cp-campus-section { border-color:#d5e1f2; background:linear-gradient(180deg,#fff,#fbfcff); box-shadow:0 13px 38px rgba(23,63,159,.075); }
.cp-campus-oppositions > .cp-campus-section > .cp-campus-section__heading { background:linear-gradient(90deg,#edf3ff,#fff); border-bottom-color:#d5e1f2; }
.cp-campus-oppositions > .cp-campus-section > .cp-campus-section__heading h2 { color:#173f9f; }
.cp-campus-oppositions > .cp-campus-section > .cp-campus-section__heading > span { border:1px solid #e4cf92; background:#fff8e5; color:#725614; }
.cp-campus-oppositions .cp-tutor-note-card { border-color:#cfdbed; background:linear-gradient(145deg,#fff,#f7f9fd); box-shadow:0 7px 20px rgba(23,63,159,.05); }
.cp-campus-oppositions .cp-campus-table th { background:#edf3ff; color:#173f9f; }
.cp-campus-oppositions .cp-campus-table tbody tr { transition:background .15s ease; }
.cp-campus-oppositions .cp-campus-table tbody tr:hover { background:#f7f9ff; }
.cp-campus-oppositions .cp-campus-icon-button { border:1px solid #c8d6eb; background:#f5f8fd; color:#173f9f !important; }
.cp-campus-oppositions .cp-campus-icon-button:hover { border-color:#2457d6; background:#edf3ff; }
.cp-campus-oppositions .cp-campus-button--primary { border:1px solid #173f9f; background:linear-gradient(145deg,#2d68e7,#173f9f); color:#fff !important; box-shadow:0 8px 20px rgba(23,63,159,.2); }
.cp-campus-oppositions .cp-campus-button--primary:hover { background:linear-gradient(145deg,#245edb,#123782); }
.cp-campus-oppositions .cp-campus-button--planning { border-color:#d7b95f; background:#f8edcc; color:#684f16 !important; }
.cp-campus-oppositions .cp-learning-toolbar { padding:14px 18px; border-bottom:1px solid #dce5f2; background:#f9fbff; }
.cp-campus-oppositions .cp-learning-toolbar button { border-color:#c9d7eb; background:#fff; color:#526078; }
.cp-campus-oppositions .cp-learning-toolbar button.is-active { border-color:#2457d6; background:#2457d6; color:#fff; box-shadow:0 5px 13px rgba(23,63,159,.18); }
.cp-campus-oppositions .cp-learning-progress-select { border-color:#c8d6eb; background:#fff; color:#173f9f; }
.cp-campus-oppositions > .cp-campus-alert:not(.cp-campus-alert--warning) { border-left:4px solid var(--cp-oppositions-gold); background:#fffaf0; }
@media (max-width:680px) {
    .cp-campus-oppositions > .cp-campus-hero::after { top:18px; right:18px; width:48px; }
    .cp-campus-oppositions .cp-learning-toolbar { padding:12px; }
}
