/* Teachers R4. Loaded only by CommercialOfferTransformer.
   Hero, school styles and payment handlers are deliberately outside this file. */
body:is(.dpe-commercial-offer, .dpe-commercial-preview) {
    --teacher-ink: #071b36;
    --teacher-blue: #1764da;
    --teacher-paper: #fff;
    --teacher-mist: #eff5fc;
    --teacher-yellow: #f5ce48;
    --teacher-muted: #4a6079;
}

body:is(.dpe-commercial-offer, .dpe-commercial-preview) :is(.dpe-offer-value, .dpe-offer-registration, .dpe-edition-program, .dpe-offer-price, .dpe-offer-faq) {
    padding-block: clamp(56px, 6vw, 88px);
}

body:is(.dpe-commercial-offer, .dpe-commercial-preview) :is(.dpe-value-heading, .dpe-registration-copy, .dpe-program-heading, .dpe-price-copy, .dpe-faq-layout > header) h2 {
    margin: 12px 0 20px;
    font: 600 clamp(32px, 3.1vw, 44px)/1.17 Inter, Arial, sans-serif;
    letter-spacing: -.015em;
    text-wrap: pretty;
}

body:is(.dpe-commercial-offer, .dpe-commercial-preview) :is(.dpe-value-heading, .dpe-registration-copy, .dpe-program-heading, .dpe-price-copy) > p {
    max-width: 56ch;
    margin: 0;
    font: 400 17px/1.65 Inter, Arial, sans-serif;
    color: var(--teacher-muted);
}

body:is(.dpe-commercial-offer, .dpe-commercial-preview) :is(.dpe-visual-label, .dpe-registration-copy > .dpe-offer-kicker, .dpe-price-copy > .dpe-offer-kicker) {
    display: block;
    margin: 0;
    color: var(--teacher-blue);
    font: 600 14px/1.5 Inter, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-offer-value { background: var(--teacher-paper); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-practice {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "heading photo" "outcomes photo";
    column-gap: clamp(32px, 5vw, 76px);
    row-gap: 20px;
    align-items: start;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-heading { grid-area: heading; display: block; margin: 0; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-heading h2 { color: var(--teacher-ink); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-practice-photo {
    grid-area: photo;
    margin: 0;
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-practice-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 510px;
    max-height: 670px;
    flex: 1;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 6px 44px 6px 6px;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) :is(.dpe-visual-practice-photo, .dpe-visual-online-photo, .dpe-visual-program-photo) figcaption {
    margin: 10px 0 0;
    color: var(--teacher-muted);
    font: 400 12px/1.6 Inter, Arial, sans-serif;
    letter-spacing: 0;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid {
    grid-area: outcomes;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: none;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid article {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 0;
    min-height: 0;
    border: 0;
    border-top: 1px solid #dce5ef;
    background: none;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid article > i {
    padding-top: 4px;
    color: var(--teacher-blue);
    font-size: 21px;
    text-align: center;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid h3 {
    margin: 0 0 5px;
    color: var(--teacher-ink);
    font: 600 19px/1.35 Inter, Arial, sans-serif;
    letter-spacing: -.01em;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid p {
    margin: 0;
    color: var(--teacher-muted);
    font: 400 16px/1.6 Inter, Arial, sans-serif;
}

/* Enrollment remains a single real form. The supporting photo is not a CTA. */
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-offer-registration { background: #f8faff; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-layout { gap: clamp(32px, 5vw, 70px); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-copy { position: static; padding-top: 4px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-promises { margin-top: 28px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-promises li { padding-block: 14px; font-weight: 450; font-size: 15px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-online-photo { margin: 32px 0 0; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-online-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px 4px 28px 4px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-card.form-card.is-form-card { background: #0b203c; border: 1px solid #26405f; box-shadow: 0 18px 48px #071b3612; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-card .form-head-title { font: 600 25px/1.25 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-card .dpe-registration-submit { background: var(--teacher-blue); font-weight: 600; font-size: 16px; box-shadow: none; }

/* A visual map with on-demand depth. No curriculum content is removed. */
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-edition-program { background: var(--teacher-mist); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-edition-program::before { display: none; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: clamp(32px, 5vw, 76px);
    row-gap: 18px;
    align-items: start;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-heading { display: block; grid-row: 1 / span 2; margin: 0; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-heading h2 { color: var(--teacher-ink); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-photo { margin: 22px 0 0; max-width: 330px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-photo img { display: block; width: 100%; height: auto; border-radius: 22px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-photo figcaption { text-align: center; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid #bdcfe3; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-module {
    display: block;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid #bdcfe3;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 14px;
    padding: 24px 4px;
    min-height: 108px;
    cursor: pointer;
    list-style: none;
    color: var(--teacher-ink);
}
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary::-webkit-details-marker { display: none; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary::marker { content: ""; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary:focus-visible { outline: 3px solid var(--teacher-blue); outline-offset: 4px; border-radius: 4px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module-number { color: var(--teacher-blue); font: 500 19px/1 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary h3 { margin: 0 0 7px; font: 600 21px/1.35 Inter, Arial, sans-serif; letter-spacing: -.01em; color: var(--teacher-ink); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary p { margin: 0; font: 400 14px/1.45 Inter, Arial, sans-serif; color: var(--teacher-muted); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module-toggle { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #b6cbe3; border-radius: 50%; color: var(--teacher-blue); font: 400 26px/1 Inter, Arial, sans-serif; transition: transform .2s ease, background-color .2s ease; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module[open] .dpe-visual-module-toggle { transform: rotate(45deg); background: var(--teacher-yellow); border-color: var(--teacher-yellow); color: var(--teacher-ink); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module[open] > summary h3 { color: var(--teacher-blue); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module .dpe-program-sessions { grid-template-columns: 1fr; gap: 0; margin-bottom: 24px; border-radius: 12px; border: 1px solid #d4e0ee; overflow: hidden; background: white; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module:not([open]) > .dpe-program-sessions { display: none; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-item { grid-template-columns: 26px minmax(0, 1fr); padding: 22px 24px; gap: 12px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-item + .dpe-program-item { border-top: 1px solid #dce5ef; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-item h4 { font: 600 18px/1.45 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-item > span { font: 500 13px/1.7 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-item li { font: 400 15px/1.6 Inter, Arial, sans-serif; color: var(--teacher-muted); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-evaluation { grid-column: 2; grid-template-columns: 1fr; gap: 5px; margin: 0; padding: 20px 24px; background: #dfebf9; color: var(--teacher-ink); border-radius: 10px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-evaluation span { color: var(--teacher-blue); font: 500 13px/1.5 Inter, Arial, sans-serif; text-transform: none; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-evaluation strong { color: var(--teacher-ink); font: 600 20px/1.5 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-evaluation p { color: var(--teacher-muted); text-align: left; font: 400 14px/1.6 Inter, Arial, sans-serif; }

/* The price is the focal point; included items stay fully visible. */
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-offer-price { background: var(--teacher-ink); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 76px); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-copy > p { color: #c1d1e5; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-copy > .dpe-offer-kicker { color: var(--teacher-yellow); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary { padding: 36px; background: white; border: 0; border-radius: 24px 4px 4px 4px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-value { border-bottom: 1px solid #dce5ef; padding-bottom: 24px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-value strong { color: var(--teacher-ink); font-weight: 600; font-size: clamp(54px, 6vw, 76px); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-value span { color: var(--teacher-muted); font-weight: 500; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary li { color: var(--teacher-muted); font: 400 16px/1.55 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary li::before { background: var(--teacher-blue); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary a.dpe-price-contact { background: var(--teacher-blue); color: white; border: 0; font: 600 16px/1.5 Inter, Arial, sans-serif; min-height: 56px; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary a.dpe-price-contact:hover { background: #104ea9; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary small { color: var(--teacher-muted); font: 400 13px/1.65 Inter, Arial, sans-serif; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary small a { color: var(--teacher-blue); }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-offer-faq { background: white; }
body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-faq-list summary { font-weight: 500; font-size: 17px; line-height: 1.55; }

@media (max-width: 991px) {
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-practice { column-gap: 28px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-layout,
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-layout { grid-template-columns: 1fr; gap: 32px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-online-photo { display: none; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-copy { max-width: 620px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 30px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary { grid-template-columns: 24px minmax(0, 1fr) 32px; gap: 10px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary h3 { font-size: 19px; }
}
@media (max-width: 767px) {
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) :is(.dpe-offer-value, .dpe-offer-registration, .dpe-edition-program, .dpe-offer-price, .dpe-offer-faq) > .dpe-offer-shell { width: calc(100% - 40px); }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-practice { grid-template-columns: 1fr; grid-template-areas: "heading" "photo" "outcomes"; gap: 26px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-practice-photo img { flex: none; min-height: 0; max-height: none; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px 28px 4px 4px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid article { padding-block: 17px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-value-grid h3 { font-size: 18px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-layout { grid-template-columns: 1fr; gap: 26px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-heading { grid-row: auto; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-program-photo { width: 200px; max-width: 62%; margin: 18px auto 0; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > summary { padding-block: 22px; min-height: 100px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-item { padding: 20px 14px; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-program-evaluation { grid-column: auto; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-price-summary { padding: 28px 22px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-faq-layout { gap: 22px; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-registration-promises { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module-toggle { transition: none; }
}
@media print {
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module > .dpe-program-sessions { display: grid; }
    body:is(.dpe-commercial-offer, .dpe-commercial-preview) .dpe-visual-module::details-content { content-visibility: visible; }
}
