/* Course View composition only. Shared tokens, Header/Footer and TEA cards stay owned by tea.css. */
.cv { --cv-header-height: 112px; background: var(--tea-page); color: var(--tea-text); padding-block: 28px 64px; font-family: var(--tea-font-family); }
.cv *, .cv-modal * { box-sizing: border-box; }
.cv :is(h1,h2,h3,p):not(:where([data-tea-card-url] *)) { margin: 0; overflow-wrap: anywhere; }
.cv h1:not(:where([data-tea-card-url] *)) { font-size: 40px; line-height: 1.1; font-weight: 800; }
.cv h2:not(:where([data-tea-card-url] *)) { font-size: 32px; line-height: 1.3; font-weight: 700; margin-bottom: 16px; }
.cv h3:not(:where([data-tea-card-url] *)) { font-size: 20px; line-height: 1.4; font-weight: 700; }
.cv :is(p,li):not(:where([data-tea-card-url] *)) { font-size: 17px; line-height: 1.5; }
.cv p + p:not(:where([data-tea-card-url] *)) { margin-top: 12px; }
.cv a:not(:where([data-tea-card-url] *, .tea-button)) { color: var(--tea-link); }
.cv-muted, .cv .cv-muted { color: var(--tea-muted); }
.cv .cv-code { font-size: 14px; color: var(--tea-muted); }
.cv-hero { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 24px 32px; align-items: start; padding-block: 28px; }
.cv-hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.cv .cv-hero p, .cv .cv-hero__intro h1 { margin: 0; }
.cv-school { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--tea-subtle); color: var(--tea-link); border-radius: 8px; font-weight: 700; }
.cv-hero__description { color: var(--tea-muted); font-size: 17px!important; line-height: 1.4!important; }
.cv-hero__read-more { font-size: 14px; white-space: nowrap; }
.cv-hero__image { display: block; width: 100%; height: auto; aspect-ratio: 750 / 513; align-self: start; object-fit: cover; border-radius: 10px; }
.cv-hero__facts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cv-hero__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; width: 100%; }
.cv-metadata { display: flex; flex-wrap: wrap; gap: 16px 24px; color: var(--tea-link); }
.cv-metadata > span { display: inline-flex; align-items: center; gap: 10px; }
.cv-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-weight: 600; }
.cv-rating > span { color: var(--tea-color-rating); font-size: 24px; letter-spacing: 2px; }
.cv-hero__authors { width: 100%; display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--tea-border); color: var(--tea-link); }
.cv-hero__authors-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tea-subtle); }
.cv-wishlist { display: inline-flex; align-items: center; gap: 8px; color: var(--tea-link); background: none; border: 0; padding: 0; font-size: 14px; }
.cv-wishlist img { filter: none; }
.cv-navigation { position: sticky; top: var(--cv-header-height); z-index: 85; padding: 0 16px; background: var(--tea-surface); border: 1px solid var(--tea-border); border-radius: 8px; margin-bottom: 32px; }
.cv[data-cv-calendar-mode] .tea-breadcrumb + .cv-navigation { margin-top: 20px; }
.cv-navigation__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.cv-navigation__links a { padding: 16px 0 12px; border-bottom: 3px solid transparent; font-size: 14px; }
.cv-navigation__links a[aria-current="location"] { color: var(--tea-brand); border-color: var(--tea-link); font-weight: 700; }
.cv-navigation__mobile { display: none; }
.cv-section { margin-bottom: 48px; scroll-margin-top: calc(var(--cv-header-height) + var(--cv-navigation-height,54px) + 24px - var(--cv-scroll-padding-top,0px)); min-width: 0; }
.cv-section__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cv-section__heading h2 { margin-bottom: 0; }
.cv-surface { padding: 24px; background: var(--tea-surface); border: 1px solid var(--tea-border); border-radius: 8px; }
.cv-list { padding-left: 22px; margin: 12px 0 0; }
.cv-list li { padding-left: 6px; margin-bottom: 10px; }
.cv-list li::marker { color: var(--tea-link); }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cv-tags a { padding: 8px 12px; border-radius: 8px; background: var(--tea-subtle); }
.cv-programme { display: grid; gap: 12px; margin-bottom: 20px; }
.cv-module { background: var(--tea-surface); border: 1px solid var(--tea-border); border-radius: 8px; }
.cv-module summary { display: flex; align-items: center; gap: 20px; min-height: 78px; padding: 14px 20px; cursor: pointer; list-style: none; }
.cv-module summary::-webkit-details-marker { display: none; }
.cv-module summary h3 { flex: 1; min-width: 0; }
.cv-number { display: inline-grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 8px; background: var(--tea-subtle); color: var(--tea-link); font-weight: 700; }
.cv-chevron { color: var(--tea-link); font-size: 24px; }
.cv-module[open] .cv-chevron { transform: rotate(180deg); }
.cv-module__body { padding: 0 24px 20px 88px; color: var(--tea-muted); white-space: pre-line; }
.cv-text-button { background: none; border: 0; padding: 8px 0; color: var(--tea-link); cursor: pointer; }
.cv-author-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.cv-author { display: flex; gap: 20px; }
.cv-author img { border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.cv-author > div { min-width: 0; }
.cv-author a { display: inline-block; margin-top: 16px; }
.cv-people { margin-bottom: 32px; }
.cv-people .load-preview { border: 1px solid var(--tea-border); }
/* Adapt the shared instructor card inside the course column only. */
.cv-people > .load-preview > .row { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 24px; margin: 0; }
.cv-people > .load-preview > .row > div { max-width: 100%; width: auto; padding: 0; }
.cv-people .col-sm > div > .d-flex { flex-direction: column; align-items: flex-start!important; gap: 8px; }
.cv-people a.t-m_b-18 { font-size: 24px; line-height: 1.3; }
.cv-people .col-sm .t-m_r-14 { font-size: 15px; line-height: 1.5; }
.cv-people .col-sm .t-m_r-14.d-flex { margin-bottom: 12px!important; }
.cv-people .col-sm > div > .d-flex > .d-flex { flex-wrap: wrap; gap: 4px 12px; }
.cv-people .col-sm .flex-grow-1 { margin-bottom: 0!important; }
.cv-people .col-sm > div > .d-flex { margin-bottom: 10px!important; }
.cv-author { align-items: flex-start; }
.cv-author img { width: 64px; height: 64px; }
.cv-author h3 { font-size: 20px; }
.cv-author .cv-muted { font-size: 14px; color: var(--tea-link); }
.cv-related-grid > div { flex: 0 0 50%; max-width: 50%; }
.cv :is(button,a,summary,select):focus-visible { outline: var(--tea-focus-width) solid var(--tea-focus-color); outline-offset: 3px; }
.cv #faq { scroll-margin-top: calc(var(--cv-header-height) + var(--cv-navigation-height,54px) + 24px - var(--cv-scroll-padding-top,0px)); }
.cv [hidden] { display: none!important; }
.cv-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 30%); gap: 24px; align-items: start; }
.cv-layout__main { min-width: 0; }
.cv-sidebar { min-width: 0; position: sticky; top: calc(var(--cv-header-height) + 80px); }
.cv-sidebar__inner { max-height: calc(100dvh - var(--cv-header-height) - 96px); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.cv-sidebar h2 { font-size: 22px; line-height: 1.3; margin-bottom: 4px; }
.cv-sidebar h3 { font-size: 20px; }
.cv-sidebar .tea-button { width: 100%; white-space: normal; text-align: center; }
.cv-formats { display: flex; gap: 12px; margin-bottom: 20px; }
.cv-format { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--tea-surface); border: 1px solid var(--tea-border); border-radius: 8px; color: var(--tea-link); padding: 14px; cursor: pointer; }
.cv-format[aria-pressed="true"] { background: var(--tea-subtle); border-color: var(--tea-link); font-weight: 700; }
.cv-formats--sidebar { flex-direction: column; gap: 8px; margin: 0; }
.cv-formats--sidebar .cv-format { justify-content: flex-start; padding: 10px 12px; }
.cv-formats--sidebar .tea-icon { width: 24px; height: 24px; }
.cv-session-filters { display: flex; gap: 16px; margin-bottom: 20px; }
.cv-session-filters label { display: grid; gap: 6px; font-size: 13px; color: var(--tea-muted); }
.cv-session-filters select { background: var(--tea-surface); color: var(--tea-link); border: 1px solid var(--tea-border); border-radius: 6px; padding: 8px; max-width: 100%; }
.cv-sessions { display: grid; gap: 12px; }
.cv-session { display: grid; grid-template-columns: minmax(0,1fr) minmax(160px,.35fr); gap: 20px; padding: 24px; background: var(--tea-surface); border: 1px solid var(--tea-border); border-radius: 8px; }
.cv-session.is-selected { border-color: var(--tea-link); box-shadow: inset 3px 0 var(--tea-link); background: var(--tea-subtle); }
.cv-session__facts { color: var(--tea-muted); margin-top: 16px; }
.cv-session__facts p { font-size: 14px; margin: 8px 0 0; }
.cv-session__action { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cv-session--self { grid-template-columns: minmax(0,1fr); gap: 24px; }
.cv-session--self.is-selected { background: var(--tea-surface); box-shadow: none; border-color: var(--tea-border); }
.cv-session--self h3 { font-size: 26px; }
.cv-session--self .cv-muted { margin-top: 8px; font-size: 15px; }
.cv-self-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--tea-border); }
.cv-self-facts dt { font-size: 14px; font-weight: 600; color: var(--tea-brand); }
.cv-self-facts dd { margin: 6px 0 0; color: var(--tea-muted); font-size: 15px; }
.cv-session--self .cv-session__action { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--tea-border); }
.cv-session--self .cv-session__action > strong { font-size: 26px; color: var(--tea-brand); margin-right: auto; }
.cv-session--scheduled { grid-template-columns: minmax(140px,.65fr) minmax(0,1fr) minmax(150px,.55fr); gap: 16px; padding-block: 20px; }
.cv-session--scheduled .cv-session__identity { display: contents; }
.cv-session--scheduled .cv-session__identity h3 { font-size: 20px; }
.cv-session--scheduled .cv-session__facts { margin: 0; }
.cv-session--scheduled .cv-session__facts p:first-child { margin-top: 0; }
.cv-session--scheduled .cv-session__action { grid-column: 3; grid-row: 1; }
.cv-status { color: var(--tea-link); font-size: 13px; }
.cv-selected { border-top: 1px solid var(--tea-border); padding-top: 20px; }
.cv-price { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--tea-subtle); border-radius: 6px; }
.cv-price > span { font-size: 13px; color: var(--tea-muted); }
.cv-price strong { font-size: 28px; line-height: 1.2; }
.cv-team-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; margin-top: 24px; background: var(--tea-subtle); border-radius: 8px; }
.cv-team-cta p { font-size: 14px; margin-top: 8px; }
.cv-team-cta .tea-button { flex-shrink: 0; }
.cv-empty { padding: 48px 24px; text-align: center; }
.cv-empty p { margin-top: 20px; }
.cv-error { color: var(--tea-color-error); }
.cv-mobile-action { display: none; }
.modal-open .cv .cv-mobile-action { visibility: hidden; }
.cv-review-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 20px; }
.cv-review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 8px 0 20px; }
.cv-review-summary .cv-rating > span { font-size: 32px; }
.cv-review-summary .cv-rating strong { font-size: 18px; color: var(--tea-brand); }
.cv-review-summary .tea-button { padding: 10px 16px; font-size: 14px; }
.cv-review { display: flex; flex-direction: column; min-width: 0; }
.cv-review header { display: flex; align-items: flex-start; gap: 12px; }
.cv-review h3 { font-size: 18px; }
.cv-review header p { color: var(--tea-link); font-size: 13px; margin-top: 4px; }
.cv-review__avatar { display: grid; place-items: center; background: var(--tea-subtle); border-radius: 6px; flex: 0 0 48px; height: 48px; font-size: 20px; font-weight: 700; }
.cv-review__identity { min-width: 0; }
.cv-review__rating { margin-left: auto; display: grid; gap: 4px; text-align: right; flex-shrink: 0; }
.cv-review__rating strong { color: var(--tea-color-rating); font-size: 14px; }
.cv-review__rating strong span { display: block; font-size: 17px; letter-spacing: 1px; }
.cv-review time { color: var(--tea-muted); font-size: 12px; }
.cv-review__answer { margin-top: 20px; }
.cv-review__answer + .cv-review__answer { border-top: 1px solid var(--tea-border); padding-top: 16px; margin-top: auto; }
.cv-review__answer:has(+ .cv-review__answer) { padding-bottom: 24px; }
.cv-review__answer p { color: var(--tea-muted); font-size: 13px; }
.cv-review blockquote { white-space: pre-line; font-size: 16px; line-height: 1.5; margin: 8px 0 0; overflow-wrap: anywhere; }
.cv-rating-details { margin-bottom: 20px; }
.cv-rating-details > div { display: flex; gap: 20px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--tea-border); }
.cv-rating-details strong { white-space: nowrap; }
.cv-review-filter { display: inline-flex; align-items: center; gap: 12px; margin: 12px 0 0; }
.cv-review-filter select { color: var(--tea-link); border: 1px solid var(--tea-border); border-radius: 6px; background: var(--tea-surface); padding: 10px; }
.cv [data-cv-review-more] { width: 100%; justify-content: flex-start; background: var(--tea-subtle); border-color: transparent; }
.cv-faq-list { border: 1px solid var(--tea-border); border-radius: 8px; overflow: hidden; background: var(--tea-surface); }
.cv-faq-item + .cv-faq-item { border-top: 1px solid var(--tea-border); }
.cv-faq-item h3 { font-size: 16px; }
.cv-faq-item h3 button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 48px; border: 0; background: none; color: var(--tea-brand); text-align: left; padding: 10px 18px; font: inherit; cursor: pointer; }
.cv-faq-item h3 button[aria-expanded="true"] { color: var(--tea-link); background: var(--tea-subtle); }
.cv-faq-item h3 button[aria-expanded="true"] .cv-chevron { transform: rotate(180deg); }
.cv-faq-answer__body { padding: 16px 20px 20px; color: var(--tea-muted); }
.cv .cv-faq-answer p, .cv .cv-faq-answer li { font-size: 15px; }
.cv-faq-more { margin-top: 16px; }
.cv-faq-more > summary { cursor: pointer; padding: 8px 0; color: var(--tea-link); font-size: 15px; }
.cv-faq-more[open] > summary { margin-bottom: 12px; }
.cv-modal { color: var(--tea-text); font-family: var(--tea-font-family); }
.cv-modal [hidden] { display: none!important; }
.cv-modal .modal-dialog { max-width: 840px; width: calc(100% - 48px); margin: 24px auto; }
.cv-modal .modal-content { padding: 32px; border: 1px solid var(--tea-border); border-radius: 12px; background: var(--tea-surface); }
.cv-modal .modal-content { max-height: calc(100dvh - 48px); overflow-y: auto; }
.cv-team-options { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 14px!important; }
.cv-team-options legend { font-size:14px; font-weight:600; }
.cv-team-options label { display:flex; align-items:center; gap:7px; padding:8px; border:1px solid var(--tea-border); border-radius:6px; font-size:13px; }
.cv-team-options label:has(input:checked) { background:var(--tea-subtle); border-color:var(--tea-link); }
.cv-team-logistics { width:100%; table-layout:fixed; border-collapse:collapse; font-size:12px; }
.cv-team-logistics th,.cv-team-logistics td { border:1px solid var(--tea-border); padding:6px; text-align:center; overflow-wrap:anywhere; }
.cv-team-logistics th:first-child { text-align:left; width:30%; }
.cv-team-logistics label { margin:0; }
.cv-period-picker { margin:10px 0; padding:10px; border:1px solid var(--tea-border); border-radius:6px; }
.cv-period-picker summary { cursor:pointer; color:var(--tea-link); }
.cv-modal [data-cv-request] .cv-field { margin-bottom:12px; gap:5px; }
.cv-modal [data-cv-request] .cv-field textarea { min-height:64px; }
.cv-modal [data-cv-step] > .cv-request__actions { position:sticky; bottom:-32px; background:var(--tea-surface); padding:12px 0; z-index:2; }
.cv-modal .cv-period-actions { display:flex; justify-content:space-between; gap:8px; padding:12px 0 0; }
.cv-modal .cv-period-tabs, .cv-modal .cv-period-nav { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:8px 0; }
.cv-modal .cv-period-tabs button, .cv-modal .cv-period-nav button, .cv-modal .cv-period-grid button { border:0; border-radius:6px; background:var(--tea-surface); color:var(--tea-link); padding:7px; cursor:pointer; }
.cv-modal .cv-period-tabs button[aria-pressed=true], .cv-modal .cv-period-grid button[aria-pressed=true] { background:var(--tea-link); color:var(--tea-surface); }
.cv-modal .cv-period-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; text-align:center; font-size:13px; }
.cv-modal .cv-period-grid.is-months { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cv-modal .cv-period-grid button:disabled { opacity:.4; cursor:default; }
.cv-modal .cv-request__summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.cv-modal [data-cv-summary] { overflow-wrap:anywhere; }
.cv-modal .cv-request__summary { padding: 16px; margin: 16px 0; border-radius: 8px; background: var(--tea-page); color: var(--tea-muted); overflow-wrap: anywhere; }
.cv-modal .cv-request__summary strong { display: block; color: var(--tea-text); }
.cv-modal .cv-preferences label { display: inline-flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--tea-border); border-radius: 8px; }
.cv-modal .cv-preferences label:has(input:checked) { border-color: var(--tea-link); background: var(--tea-subtle); }
.cv-modal [data-cv-otp] { padding: 20px 0; }
.cv-modal [data-cv-otp] h3 { font-size: 22px; margin-bottom: 12px; }
.cv-modal [data-cv-otp] p { overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .cv-modal .modal-dialog { width: calc(100% - 24px); margin: 12px auto; } .cv-modal .modal-content { padding: 20px; max-height: calc(100dvh - 24px); } }
.cv-modal__header { display: flex; gap: 20px; justify-content: space-between; margin-bottom: 24px; }
.cv-modal__header h2 { font-size: 30px; line-height: 1.2; font-weight: 700; margin: 0 0 10px; }
.cv-modal__header p { margin: 0; color: var(--tea-muted); font-size: 16px; overflow-wrap: anywhere; }
.cv-modal__header > button { font-size: 28px; align-self: flex-start; padding: 0 8px; }
.cv-modal fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.cv-request__steps { list-style: none; padding: 0; display: flex; gap: 24px; border-bottom: 1px solid var(--tea-border); margin: 0 0 24px; }
.cv-request__steps li { display: flex; align-items: center; gap: 10px; flex: 1; padding-bottom: 16px; color: var(--tea-muted); font-size: 16px; }
.cv-request__steps li[aria-current] { color: var(--tea-link); border-bottom: 2px solid var(--tea-link); font-weight: 700; }
.cv-request__steps span { display: grid; place-items: center; background: var(--tea-subtle); border-radius: 50%; width: 36px; height: 36px; flex: 0 0 36px; }
.cv-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.cv-field { display: grid; align-content: start; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--tea-brand); }
.cv-field input, .cv-field select, .cv-field textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--tea-border); border-radius: 6px; background: var(--tea-surface); color: var(--tea-text); font: 400 15px/22px var(--tea-font-family); }
.cv-field textarea { resize: vertical; min-height: 84px; }
.cv-field [aria-invalid="true"] { border-color: var(--tea-color-error); }
.cv-modal .cv-error { color: var(--tea-color-error); font-weight: 400; font-size: 13px; }
.cv-modal input:focus, .cv-modal select:focus, .cv-modal textarea:focus { outline: 2px solid var(--tea-focus-color); outline-offset: 2px; }
.cv-modal .cv-check, .cv-preferences label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 400; margin-bottom: 16px; }
.cv-modal input[type="checkbox"], .cv-modal input[type="radio"] { width: 18px; height: 18px; accent-color: var(--tea-link); flex: 0 0 18px; }
.cv-modal .cv-preferences { margin-bottom: 16px; }
.cv-preferences legend { font-size: 14px; font-weight: 600; }
.cv-preferences > div { display: flex; gap: 20px; flex-wrap: wrap; }
.cv-form-hint { font-size: 13px!important; color: var(--tea-muted); margin-bottom: 20px!important; }
.cv-request__optional { margin-bottom: 20px; }
.cv-request__optional summary { color: var(--tea-link); cursor: pointer; padding: 8px 0; }
.cv-request__actions { display: flex; justify-content: flex-end; gap: 16px; padding-top: 20px; border-top: 1px solid var(--tea-border); margin-top: 20px; }
.cv-request__success { padding-block: 32px; text-align: center; }
.cv-request__success p { margin-block: 24px; font-size: 20px; }
@media (max-width:1199.98px) {
    .cv-hero { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .cv-hero__image { height: auto; aspect-ratio: 2 / 1; }
    .cv-hero__facts { width: 100%; }
    .cv h1:not(:where([data-tea-card-url] *)) { font-size: 38px; line-height: 1.16; }
    .cv h2:not(:where([data-tea-card-url] *)) { font-size: 28px; }
    .cv-navigation { position: static; padding: 12px; }
    .cv-navigation__links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
    .cv-navigation__links a { border: 1px solid var(--tea-border); border-radius: 6px; padding: 10px; font-size: 14px; }
    .cv-navigation__links a[aria-current="location"] { background: var(--tea-subtle); }
    .cv-hero__participate { width: 100%; }
    .cv-layout { grid-template-columns: minmax(0,1fr); }
    .cv-sidebar { position: static; }
    .cv-sidebar__inner { max-height: none; overflow: visible; }
    .cv { padding-bottom: 120px; }
    .cv-mobile-action { position: fixed; bottom: 0; left: 0; right: 0; z-index: 86; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); background: var(--tea-surface); border-top: 1px solid var(--tea-border); }
    .cv-mobile-action > div { display: grid; gap: 4px; }
    .cv-mobile-action .tea-button { font-size: 14px; }
}
@media (max-width:575.98px) {
    .cv { padding-top: 16px; }
    .cv .tea-breadcrumb { font-size: 12px; }
    .cv h1:not(:where([data-tea-card-url] *)) { font-size: 30px; line-height: 1.14; }
    .cv h2:not(:where([data-tea-card-url] *)) { font-size: 24px; }
    .cv h3:not(:where([data-tea-card-url] *)) { font-size: 18px; }
    .cv-people > .load-preview { padding: 18px!important; }
    .cv-people > .load-preview > .row { grid-template-columns: 56px minmax(0,1fr); gap: 16px; }
    .cv-people > .load-preview > .row > .col-sm { display: contents!important; }
    .cv-people .col-sm > div { display: contents!important; }
    .cv-people .col-sm > div > .d-flex { grid-column: 2; }
    .cv-people .col-sm > div > .t-m_r-14 { grid-column: 1 / -1; margin-bottom: 0!important; }
    .cv-people .col-sm > div:last-child > a { grid-column: 1 / -1; }
    .cv-people a.t-m_b-18 { font-size: 20px; }
    .cv-people .col-sm .t-m_r-14 { font-size: 14px; }
    .cv-related-grid > div { flex-basis: 100%; max-width: 100%; }
    .cv-self-facts { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .cv-session--self h3 { font-size: 22px; }
    .cv-review-summary .cv-rating { gap: 8px; }
    .cv-review-summary .cv-rating > span { font-size: 28px; }
    .cv-review-summary .cv-rating strong { font-size: 16px; }
    .cv-review-summary .tea-button { width: 100%; }
    .cv p, .cv li:not(:where([data-tea-card-url] *)) { font-size: 16px; }
    .cv-hero__image { height: auto; aspect-ratio: 358/220; }
    .cv-metadata { flex-direction: column; font-size: 14px; }
    .cv-hero__description { font-size: 17px!important; }
    .cv-navigation__links { display: none; }
    .cv-navigation__mobile { display: block; width: 100%; }
    .cv-navigation label { font-size: 12px; color: var(--tea-muted); margin-bottom: 6px; }
    .cv-navigation select { border: 0; color: var(--tea-link); background: var(--tea-surface); min-height: 40px; }
    .cv-section { margin-bottom: 32px; }
    .cv-section__heading { align-items: flex-start; flex-wrap: wrap; }
    .cv-author-grid { grid-template-columns: minmax(0,1fr); }
    .cv-surface { padding: 18px; }
    .cv-module summary { padding: 12px; gap: 12px; }
    .cv-module__body { padding: 0 16px 16px; }
    .cv-formats { flex-wrap: wrap; }
    .cv-format { padding: 10px; font-size: 14px; gap: 8px; }
    .cv-format .tea-icon { width: 24px; height: 24px; }
    .cv-session { grid-template-columns: minmax(0,1fr); padding: 18px; }
    .cv-session--scheduled .cv-session__identity { display: block; }
    .cv-session--scheduled .cv-session__facts { margin-top: 16px; }
    .cv-session--scheduled .cv-session__action { grid-column: auto; grid-row: auto; }
    .cv-session-filters { flex-direction: column; }
    .cv-team-cta { align-items: stretch; flex-direction: column; padding: 18px; }
    .cv-mobile-action { padding-inline: 16px; }
    .cv-mobile-action .tea-button { padding: 12px; min-width: 0; max-width: 64%; white-space: normal; text-align: center; }
    .cv-review-grid { grid-template-columns: minmax(0,1fr); }
    .cv-review header { flex-wrap: wrap; }
    .cv-modal .modal-dialog { width: calc(100% - 24px); margin: 12px auto; }
    .cv-modal .modal-content { padding: 20px 16px; }
    .cv-modal__header h2 { font-size: 24px; }
    .cv-form-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
    .cv-request__steps { gap: 12px; }
    .cv-request__steps li { font-size: 13px; gap: 8px; }
    .cv-request__steps span { width: 28px; height: 28px; flex-basis: 28px; }
    .cv-request__actions { flex-wrap: wrap; }
    .cv-request__actions .tea-button { width: 100%; white-space: normal; }
}
@media print { .cv { display: none!important; } }

/* Interactive Course View states: scoped to this page and its modals. */
.cv .tea-icon, .cv-modal .tea-icon { vertical-align: middle; flex-shrink: 0; }
.cv-chevron { transform: rotate(90deg); transition: transform .15s ease; }
.cv-module[open] > summary > .cv-chevron,
.cv-faq-item h3 button[aria-expanded="true"] .cv-chevron { transform: rotate(-90deg); }
.cv-stars { display: inline-flex!important; align-items: center; gap: 3px; color: var(--tea-color-rating); vertical-align: middle; }
.cv-star { display: block; width: 20px; height: 20px; background: currentColor; -webkit-mask: url('/images/icon/util/star-white-border.svg') center/contain no-repeat; mask: url('/images/icon/util/star-white-border.svg') center/contain no-repeat; }
.cv-star.is-filled { -webkit-mask-image: url('/images/icon/util/star-yellow.svg'); mask-image: url('/images/icon/util/star-yellow.svg'); }
.cv-review-summary .cv-star { width: 28px; height: 28px; }
.cv-review__rating .cv-star { width: 16px; height: 16px; }
.cv-review__rating .cv-stars { margin-right: 6px; }
.cv-review__rating strong { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; }
.cv-review-format { display: flex; align-items: center; gap: 6px; }
.cv-review__text { --cv-text-preview: 240px; }
.cv [data-cv-expandable].is-collapsed { max-height: var(--cv-text-preview,160px); overflow: hidden; }
.cv-text-expand { align-self: flex-start; }
.cv-review-instructor { border-top: 1px solid var(--tea-border); margin-top: 16px!important; padding-top: 12px; color: var(--tea-muted); font-size: 13px!important; }
.cv-audience-text { --cv-text-preview: 120px; }
.cv-review-all { width: 100%; justify-content: space-between; background: var(--tea-subtle); border-color: transparent; }
.cv-review-all .tea-icon { margin-left: 16px; }
.cv-word-summary { margin-top: 32px; }
.cv-word-summary h3 { font-size: 24px; }
.cv-word-summary > p { font-size: 14px; margin-top: 8px; }
.cv-word-summary .cv-tags > span { padding: 10px 16px; border-radius: 6px; background: var(--tea-subtle); color: var(--tea-link); }
.cv-reviews-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); align-items: start; gap: 20px; margin-top: 20px; }
.cv-review-filters { padding: 16px; }
.cv-review-filters summary { font-weight: 700; color: var(--tea-brand); cursor: pointer; margin-bottom: 16px; }
.cv-review-filters label { display: grid; gap: 8px; margin: 16px 0; font-size: 14px; }
.cv-review-filters fieldset { border: 0; padding: 0; margin: 0; }
.cv-review-filters legend { font-size: 17px; font-weight: 700; }
.cv-review-filters .cv-rating-choice { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.cv-rating-choice .cv-star { width: 16px; height: 16px; }
.cv-rating-choice input { width: 16px; height: 16px; accent-color: var(--tea-link); }
.cv-review-filters select, .cv-reviews-results select, .cv-rating-comparison select { width: 100%; min-width: 0; padding: 10px; color: var(--tea-brand); border: 1px solid var(--tea-border); border-radius: 6px; background: var(--tea-surface); }
.cv-reviews-results { min-width: 0; }
.cv-reviews-results > .cv-section__heading { flex-wrap: wrap; align-items: flex-start; }
.cv-reviews-results .cv-section__heading h3 { flex: 1; min-width: 180px; }
.cv-reviews-results .cv-section__heading label { font-size: 13px; }
.cv-review-list { display: grid; gap: 16px; margin-block: 16px; }
.cv-reviews--all .cv-review { padding: 20px; }
.cv-reviews--all .cv-review__text { --cv-text-preview: 135px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.cv-reviews--all .cv-review__answer { margin: 0; min-width: 0; padding: 0; }
.cv-reviews--all .cv-review__answer + .cv-review__answer { border-top: 0; border-left: 1px solid var(--tea-border); padding-left: 16px; }
.cv-reviews--all .cv-review__answer p { font-size: 12px; }
.cv-reviews--all .cv-review__answer blockquote { font-size: 14px; }
.cv-reviews--all .cv-review header { flex-wrap: wrap; }
.cv-reviews--all .cv-review__rating { margin-left: auto; }
.cv-filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cv-filter-chip { border: 1px solid var(--tea-border); border-radius: 6px; padding: 8px 30px 8px 10px; color: var(--tea-link); background: var(--tea-subtle) url('/images/tea/navigation/close.svg') right 8px center/14px no-repeat; font-size: 13px; cursor: pointer; }
.cv-review-pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--tea-muted); }
.cv-review-pagination nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cv-review-pagination button { border: 0; background: none; color: var(--tea-link); padding: 8px; min-width: 32px; cursor: pointer; }
.cv-review-pagination button[aria-current] { background: var(--tea-subtle); font-weight: 700; }
.cv-review-pagination button:disabled:not([aria-current]) { opacity: .45; cursor: default; }
.cv .cv-review-mobile-more { display: none; margin-top: 20px; }
.cv-review-empty { text-align: center; padding-block: 48px; }
.cv-review-empty .tea-button { margin-top: 24px; }
.cv-ratings-modal .modal-dialog { max-width: 1320px; width: calc(100% - 48px); }
.cv-ratings-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(240px,1fr); gap: 32px; margin-block: 28px; }
.cv-ratings-grid h3 { font-size: 22px; margin: 0 0 12px; }
.cv-ratings-grid .cv-muted { font-size: 13px; line-height: 1.5; }
.cv-rating-comparison { background: var(--tea-subtle); padding: 16px; border-radius: 6px; }
.cv-rating-comparison summary { color: var(--tea-link); font-weight: 700; cursor: pointer; }
.cv-rating-comparison label { display: grid; gap: 8px; margin: 16px 0 0; }
.cv-rating-table { overflow-x: auto; margin-top: 20px; }
.cv-rating-table table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.cv-rating-table th, .cv-rating-table td { padding: 10px 12px; vertical-align: top; font-size: 14px; }
.cv-rating-table tbody th { font-weight: 400; }
.cv-rating-table thead th { background: var(--tea-subtle); }
.cv-rating-table tr:nth-child(odd) > * { background: var(--tea-subtle); }
.cv-rating-table td { min-width: 90px; }
.cv-rating-table td strong { color: var(--tea-link); font-size: 20px; }
.cv-rating-table td small { display: block; margin-top: 4px; color: var(--tea-muted); font-size: 11px; }
.cv-modal meter { display: block; width: 100%; height: 5px; margin-top: 6px; background: var(--tea-border); border: 0; border-radius: 4px; }
.cv-modal meter::-webkit-meter-bar { background: var(--tea-border); border: 0; border-radius: 4px; }
.cv-modal meter::-webkit-meter-optimum-value { background: var(--tea-link); border-radius: 4px; }
.cv-modal meter::-moz-meter-bar { background: var(--tea-link); }
.cv-modal [data-cv-session-metric] meter::-webkit-meter-optimum-value, .cv-word-session meter::-webkit-meter-optimum-value { background: var(--tea-accent); }
.cv-word-bar { margin-top: 22px; }
.cv-word-bar > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cv-word-bar strong { color: var(--tea-link); }
.cv-word-session { text-align: right; color: var(--tea-muted); margin-top: 4px; }
.cv-person-list { display: grid; gap: 16px; margin: 20px 0 32px; }
.cv-person { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; align-items: start; gap: 20px; }
.cv-person-avatar { position: relative; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--tea-subtle); color: var(--tea-brand); font-size: 26px; font-weight: 700; }
.cv-person-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv-person__body { min-width: 0; }
.cv-person__body h3 { font-size: 23px; }
.cv-person__role { display: inline-block; border-radius: 6px; padding: 4px 10px; margin: 8px 0!important; color: var(--tea-link); background: var(--tea-subtle); font-size: 14px!important; }
.cv-person .cv-person__specialty { font-size: 14px; }
.cv-person-bio { --cv-text-preview: 90px; margin-top: 12px; white-space: pre-line; }
.cv-person-bio p { font-size: 15px; }
.cv-person-rating { font-size: 13px!important; margin-top: 8px!important; }
.cv-person-rating .cv-star { width: 14px; height: 14px; }
.cv-person__links { display: grid; gap: 16px; font-size: 14px; }
.cv-person__links > * { display: inline-flex; align-items: center; gap: 8px; }
.cv-person--author { grid-template-columns: 64px minmax(0,1fr); gap: 16px; }
.cv-person--author .cv-person-avatar { width: 64px; height: 64px; font-size: 22px; }
.cv-person--author .cv-person__links { grid-column: 2; }
.cv-person--author h3 { font-size: 20px; }
.cv-person--author .cv-person-bio { --cv-text-preview: 70px; }
.cv-faq-categories { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 12px; }
.cv-faq-categories button { border: 0; background: none; color: var(--tea-link); font-size: 14px; padding: 10px; cursor: pointer; }
.cv-faq-categories button[aria-pressed="true"] { background: var(--tea-subtle); color: var(--tea-brand); font-weight: 700; border-radius: 6px; }
.cv .cv-faq-notice { font-size: 13px; }
@media (max-width:1199.98px) {
    .cv-person { grid-template-columns: 80px minmax(0,1fr); }
    .cv-person__links { grid-column: 2; }
    .cv-ratings-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:575.98px) {
    .cv-reviews-layout { grid-template-columns: minmax(0,1fr); }
    .cv :is(a,button,input,select,textarea) { scroll-margin-block: 120px; }
    body:has(#course-view) #scrollTopBtn { bottom: 110px; }
    .cv-review__text { --cv-text-preview: 220px; }
    .cv-reviews--all .cv-review__text { --cv-text-preview: 220px; grid-template-columns: minmax(0,1fr); gap: 20px; }
    .cv-reviews--all .cv-review__answer + .cv-review__answer { border-left: 0; padding: 0; }
    .cv-reviews-results .cv-section__heading { display: grid; }
    .cv .cv-review-mobile-more { display: flex; }
    .cv-review-pagination { margin-top: 16px; }
    .cv-person, .cv-person--author { grid-template-columns: 56px minmax(0,1fr); padding: 18px; gap: 16px; }
    .cv-person-avatar, .cv-person--author .cv-person-avatar { width: 56px; height: 56px; font-size: 20px; }
    .cv-person__body h3 { font-size: 20px; }
    .cv-person__links, .cv-person--author .cv-person__links { grid-column: 1 / -1; }
    .cv-person-bio { --cv-text-preview: 120px; }
    .cv-review__rating strong { font-size: 13px; }
    .cv-ratings-modal .modal-dialog { width: calc(100% - 24px); }
    .cv-rating-table th, .cv-rating-table td { padding: 8px; font-size: 12px; }
    .cv-rating-table td { min-width: 68px; }
    .cv-ratings-grid h3 { font-size: 20px; }
}
@media (max-width:1199.98px) { body:has(#course-view) #scrollTopBtn { bottom: 110px; } }
@media (max-width:575.98px) {
    .cv-review-filters fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 8px; }
    .cv-review-filters .cv-rating-choice { margin: 4px 0; }
    .cv-rating-choice .cv-stars { gap: 1px; }
    .cv-rating-choice .cv-star { width: 12px; height: 12px; }
}
/* Targeted UI acceptance: page composition must not recolour shared TEA cards. */
.cv-arrow-down { transform: rotate(90deg); }
.cv-hero__authors-icon { width: 58px; height: 58px; }
.cv-hero__authors .cv-text-button { padding: 0; }
.cv-audience-text { --cv-text-preview: 180px; }
.cv-audience-role { margin-top: 20px; }
.cv-audience-role h3 { color: var(--tea-color-text-primary, #102c46); font-size: 22px; font-weight: 700; }
.cv-audience-role ul, .cv-business-benefits ul { padding-left: 22px; margin-bottom: 0; }
.cv-business-benefits { background: var(--tea-color-tint, #e7f1f4); border-radius: 8px; padding: 18px; }
.cv-hero__description { overflow-wrap: anywhere; white-space: pre-line; }
.cv-person-excerpt { margin-top: 12px!important; font-size: 15px!important; color: var(--tea-muted); white-space: pre-line; overflow-wrap: anywhere; }
.cv-person [hidden], .cv-person-modal [hidden] { display: none!important; }
.cv-author-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cv-person__skills { color: var(--tea-muted); font-size: 14px!important; overflow-wrap: anywhere; }
.cv-person__body .cv-person__role:has(+ .cv-person__skills) { margin-bottom: 4px!important; }
.cv .cv-person__role + .cv-person__skills { margin-top: 0; }
.cv-person-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cv-person-rating strong { color: var(--tea-text); font-weight: 700; }
@media (max-width:575.98px) { .cv-author-grid { grid-template-columns: minmax(0,1fr); } }
.cv-person-modal .modal-dialog { max-width: 878px; }
.cv-person-course { display: grid; gap: 6px; padding: 16px 20px; background: var(--tea-subtle); border-radius: 8px; margin-bottom: 28px; }
.cv-person-course span { color: var(--tea-link); font-size: 15px; }
.cv-person-profile { display: grid; grid-template-columns: 200px minmax(0,1fr); align-items: center; gap: 32px; }
.cv-person-profile .cv-person-avatar { width: 200px; height: 200px; font-size: 48px; }
.cv-person-profile h3 { font-size: 30px!important; margin-bottom: 8px!important; }
.cv-person-full-bio { white-space: pre-line; margin-block: 24px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.cv-person-detail { border-top: 1px solid var(--tea-border); margin-top: 24px; padding-top: 20px; }
.cv-person-detail h3 { font-size: 24px!important; margin-bottom: 12px!important; }
.cv-person-detail li { margin-bottom: 12px; font-size: 16px!important; }
.cv-person-detail p { white-space: pre-line; font-size: 16px!important; }
.cv-person-detail li::marker { color: var(--tea-link); }
.cv-person-modal-actions { display: flex; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--tea-border); margin-top: 24px; padding-top: 20px; }
.cv-person-modal-actions > * { flex: 1 1 240px; }
.cv-instructor-dates { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.cv-review header { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 4px 12px; align-items: start; }
.cv-review__avatar { grid-row: 1 / span 2; }
.cv .cv-review__identity h3 { font-size: 17px; font-weight: 700; }
.cv-review__meta { grid-column: 2 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.cv-review__meta time { font-size: 15px; color: var(--tea-muted); white-space: nowrap; }
.cv .cv-review-format { font-size: 14px; font-weight: 400; background: var(--tea-subtle); border-radius: 5px; padding: 4px 8px; color: var(--tea-link); width: fit-content; max-width: 100%; margin: 0; }
.cv-review-format .tea-icon { flex-shrink: 0; }
.cv-review__rating { grid-column: 3; grid-row: 1; }
.cv .cv-review__rating strong { color: var(--tea-text); font-size: 16px; font-weight: 700; }
.cv .cv-review__answer > p { color: var(--tea-text); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cv-review__answer blockquote { color: var(--tea-muted); font-weight: 400; white-space: pre-line; }
.cv-review-filters legend, .cv-review-filters .cv-filter-heading { color: var(--tea-text); font-size: 21px; font-weight: 700; line-height: 1.3; }
.cv-reviews--all .cv-review header { grid-template-columns: 48px minmax(0,1fr) auto; }
.cv-reviews--all .cv-review__rating { grid-column: 3; }
.cv-reviews--all .cv-review__text:has(> .cv-review__answer:only-child) { grid-template-columns: minmax(0,1fr); }
@media (max-width:1199.98px) {
    .cv-reviews--all .cv-review header { grid-template-columns: 48px minmax(0,1fr) auto; }
    .cv-reviews--all .cv-review__rating { grid-column: 3; }
}
@media (max-width:575.98px) {
    .cv-person-profile { grid-template-columns: 80px minmax(0,1fr); gap: 16px; }
    .cv-person-profile .cv-person-avatar { width: 80px; height: 80px; font-size: 28px; }
    .cv-person-profile h3 { font-size: 22px!important; }
    .cv-review header, .cv-reviews--all .cv-review header { grid-template-columns: 40px minmax(0,1fr) auto; gap: 4px 8px; }
    .cv .cv-review__rating strong { font-size: 16px; }
    .cv-review__rating .cv-stars { margin-right: 0; }
    .cv-review__rating .cv-star { width: 13px; height: 13px; }
    .cv-review__rating strong { max-width: 114px; }
}
/* Contextual person profiles: Figma instructor / author modal. */
.cv-person-course { grid-template-columns:48px minmax(0,1fr); align-items:center; gap:24px; }
.cv-person-course strong { display:block; font-size:21px; line-height:1.3; margin-top:6px; }
.cv-person-profile .cv-person__role { display:inline-block; background:var(--tea-subtle); color:var(--tea-link); border-radius:16px; padding:4px 14px; font-size:15px; }
.cv-person-years { font-weight:700; font-size:18px; margin:12px 0; }
.cv-person-summary { white-space:pre-line; overflow-wrap:anywhere; font-size:16px; margin-top:12px; }
.cv-person-detail ul { padding-left:30px; margin-bottom:0; }
.cv-person-detail li { white-space:pre-line; overflow-wrap:anywhere; line-height:1.5; }
@media(max-width:575.98px) {
    .cv-person-course { gap:14px; padding:14px; }
    .cv-person-course strong { font-size:18px; }
    .cv-person-profile { grid-template-columns:1fr; gap:16px; }
    .cv-person-profile .cv-person-avatar { width:80px; height:80px; font-size:30px; }
    .cv-person-profile h3 { font-size:26px!important; }
    .cv-person-detail h3 { font-size:22px!important; }
}
.cv-person-modal .modal-content { padding:16px 24px 24px; border-radius:10px; }
.cv-person-modal .cv-modal__header { margin-bottom:8px; }
.cv-person-modal .cv-modal__header h2 { font-size:34px; line-height:1.25; margin:0; }
.cv-person-modal .cv-person-course { padding:12px 20px; margin-bottom:20px; }
.cv-person-modal .cv-person-profile h3 { font-size:34px!important; }
.cv-person-modal .cv-person-full-bio { margin:12px 0; }
.cv-person-modal .cv-person-detail { margin-top:16px; padding-top:12px; }
.cv-person-modal .cv-person-detail h3 { font-size:28px!important; margin-bottom:10px!important; }
.cv-person-modal .cv-person-detail li { margin-bottom:8px; }
.cv-person-modal .cv-person-detail li:last-child { margin-bottom:0; }
.cv-person-modal .cv-person-modal-actions { margin-top:16px; padding-top:16px; }
.cv-person-modal .cv-person-roles { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0; }
.cv-person-modal .cv-person-modal-actions .tea-button { min-height:56px; font-size:18px; }
@media(max-width:575.98px) {
    .cv-person-modal .modal-content { padding:16px; }
    .cv-person-modal .modal-dialog { width:calc(100% - 32px); margin:16px auto; }
    .cv-person-modal .cv-modal__header h2 { font-size:26px; }
    .cv-person-modal .cv-person-profile h3 { font-size:26px!important; }
    .cv-person-modal .cv-person-detail h3 { font-size:22px!important; }
    .cv-person-modal .cv-person-modal-actions .tea-button { min-height:48px; font-size:16px; }
}
/* Participation layout, scoped to the course page. */
.cv-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cv-formats--main .cv-format { flex: 0 1 auto; min-height: 60px; padding: 12px 24px; color: var(--tea-text); font-size: 19px; }
.cv-formats--main .cv-format[aria-pressed="true"] { color: var(--tea-link); border-color: transparent; }
.cv-formats--sidebar .cv-format { border: 0; padding: 6px 10px; color: var(--tea-link); }
.cv-formats--sidebar .cv-format::before { content: ''; width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid var(--tea-link); border-radius: 50%; }
.cv-formats--sidebar .cv-format[aria-pressed="true"]::before { background: var(--tea-link); box-shadow: inset 0 0 0 4px var(--tea-subtle); }
.cv-session-filters { flex-direction: row; flex-wrap: wrap; margin-bottom: 18px; }
.cv-session-filters select { min-height: 45px; padding: 8px 14px; }
.cv-schedule-heading, .cv-session--scheduled { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(150px, 1.25fr) minmax(130px, 1.1fr) minmax(110px, 1fr) 24px; gap: 12px; align-items: center; }
.cv-schedule-heading { min-height: 50px; padding: 12px 20px; background: var(--tea-subtle); border: 1px solid var(--tea-border); border-radius: 7px 7px 0 0; font-size: 16px; font-weight: 600; }
.cv-sessions { gap: 0; }
.cv-session--scheduled { width: 100%; min-width: 0; min-height: 82px; padding: 14px 20px; border: 1px solid var(--tea-border); border-top: 0; border-radius: 0; color: var(--tea-text); text-align: left; cursor: pointer; font: inherit; }
.cv-session--scheduled.is-selected { border-color: var(--tea-border); box-shadow: inset 6px 0 var(--tea-link); }
.cv-session__date { font-size: 19px; font-weight: 700; line-height: 1.25; }
.cv-session__date strong, .cv-session__date small { display: block; }
.cv-session__date small { margin-top: 4px; color: var(--tea-muted); font-size: 14px; font-weight: 400; }
.cv-session__detail { min-width: 0; display: flex; align-items: center; gap: 10px; overflow-wrap: normal; }
.cv-session__detail .tea-icon { flex: 0 0 24px; color: var(--tea-link); }
.cv-session__avatar { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; overflow: hidden; border-radius: 50%; background: var(--tea-subtle); color: var(--tea-link); font-size: 14px; font-weight: 700; }
.cv-session__avatar img { position: absolute; inset: 0; width: 40px; height: 40px; object-fit: cover; }
.cv-session__detail strong, .cv-session__detail small { display: block; }
.cv-session__detail small { color: var(--tea-muted); font-size: 14px; }
.cv-session__arrow { color: var(--tea-link); font-size: 22px; }
.cv-status { display: inline-block; padding: 10px 12px; background: var(--tea-subtle); border-radius: 6px; color: var(--tea-link); font-size: 14px; }
.cv-status--open { background: #edf8f4; color: #08795f; }
.cv-session-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--tea-muted); font-size: 14px; }
.cv-session-pagination nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cv-session-pagination button { border: 0; background: transparent; color: var(--tea-link); min-width: 36px; min-height: 36px; cursor: pointer; }
.cv-session-pagination button[aria-current] { background: var(--tea-subtle); border-radius: 5px; font-weight: 700; }
.cv-session-pagination button:disabled { opacity: .45; cursor: default; }
.cv-session--self { display: block; padding: 28px; }
.cv-self-process { border-top: 1px solid var(--tea-border); margin-top: 24px; padding-top: 20px; }
.cv-self-process p { color: var(--tea-muted); margin: 8px 0!important; }
.cv-selected__details { display: grid; gap: 10px; margin-top: 12px; padding: 16px; background: var(--tea-page); border: 1px solid var(--tea-border); border-radius: 6px 6px 0 0; }
.cv-selected__date, .cv-selected__item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; color: var(--tea-muted); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.cv-selected__details .tea-icon { flex: 0 0 20px; color: var(--tea-link); }
.cv-selected__date strong { display: block; color: var(--tea-text); font-size: 23px; line-height: 1.2; }
.cv-selected__date [data-cv-selected-field] { display: block; margin-top: 3px; }
.cv-no-selection { border-top: 1px solid var(--tea-border); padding-top: 20px; }
.cv-no-selection p { margin-top: 10px!important; font-size: 14px!important; }
.cv-sidebar__code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cv .cv-cart-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 4px; border: 0; border-radius: 6px; color: var(--tea-link); background: transparent; cursor: pointer; }
.cv .cv-cart-toggle:hover { background: var(--tea-subtle); }
.cv .cv-cart-toggle:focus-visible { outline: 2px solid var(--tea-link); outline-offset: 2px; }
.cv .cv-cart-toggle:disabled { opacity: .5; cursor: default; }
.cv .cv-programme-download { display: flex; align-items: center; gap: 12px; border-top: 1px solid #cad6dc; padding: 18px 0 0; color: var(--tea-link); font-size: 14px; }
.cv .cv-programme-download:hover { text-decoration: underline; }
.cv .cv-programme-download:focus-visible { outline: 2px solid var(--tea-link); outline-offset: 4px; }
.cv-programme-download__arrow { margin-left: auto; }
.cv-price { border-radius: 0 0 6px 6px; }
.cv-sidebar { scroll-margin-top: calc(var(--cv-header-height) + 20px); }
@media (max-width: 1199.98px) { .cv-sidebar { margin: -24px 0 48px; } }
@media (max-width: 767.98px) {
    .cv-formats--main .cv-format { flex: 1 1 145px; font-size: 16px; padding: 10px; }
    .cv-schedule-heading { display: none; }
    .cv-sessions { gap: 10px; }
    .cv-session--scheduled { grid-template-columns: minmax(0,1fr) 24px; gap: 10px; border: 1px solid var(--tea-border); border-radius: 7px; }
    .cv-session--scheduled > :not(.cv-session__arrow) { grid-column: 1; }
    .cv-session--scheduled .cv-session__arrow { grid-column: 2; grid-row: 1 / span 4; }
    .cv-session__detail .tea-icon { flex-basis: 24px; width: 24px; height: 24px; }
    .cv-self-facts { grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); }
    .cv-session-filters label { flex: 1 1 140px; }
    .cv-session-filters select { width: 100%; }
}

/* Review cards and loading state. */
.cv .cv-review header, .cv .cv-reviews--all .cv-review header { grid-template-columns: 48px minmax(0,1fr) auto; }
.cv .cv-review__identity { min-width: 0; }
.cv .cv-review__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; }
.cv .cv-review__identity time { margin: 0; }
.cv .cv-review-format { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.cv .cv-review-format .tea-icon { flex: 0 0 20px; }
.cv .cv-reviews--all .cv-review__rating { grid-column: 3; grid-row: 1; }
.cv .cv-reviews-results > .cv-section__heading { display: flex; align-items: center; flex-wrap: wrap; }
.cv .cv-reviews-results .cv-section__heading label { display: flex; align-items: center; gap: 8px; margin: 0; }
.cv-review-summary .tea-button--link-outline { background: var(--tea-surface); color: var(--tea-interactive-fill); border-color: var(--tea-interactive-fill); }
.cv-review-summary .tea-button--link-outline:hover { background: var(--tea-interactive-hover); color: var(--tea-color-text-inverse); }
.cv-review-list-shell { position: relative; }
.cv-reviews-browser .cv-review-loading:not([hidden]) { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: center; padding-top: 24px; pointer-events: none; }
.cv-review-spinner { width: 24px; height: 24px; border: 3px solid var(--tea-border); border-top-color: var(--tea-interactive-fill); border-radius: 50%; animation: cv-review-spin .7s linear infinite; }
.cv-reviews-browser:not([hidden]) .cv-review-loading:not([hidden]) ~ .cv-review-list { opacity: .55; }
[data-cv-reviews][aria-busy="true"] .cv-review-list-shell { min-height: 120px; }
@keyframes cv-review-spin { to { transform: rotate(360deg); } }
.cv-review-pagination .cv-review-page-arrow::before { content: ''; display: block; width: 20px; height: 20px; background: currentColor; mask: url('/images/tea/icons/arrow-left-control-link.svg') center/contain no-repeat; -webkit-mask: url('/images/tea/icons/arrow-left-control-link.svg') center/contain no-repeat; }
.cv-review-pagination .cv-review-page-arrow--next::before { mask-image: url('/images/tea/icons/arrow-right-control-link.svg'); -webkit-mask-image: url('/images/tea/icons/arrow-right-control-link.svg'); }
@media (prefers-reduced-motion: reduce) { .cv-review-spinner { animation-duration: 1.5s; } }
@media (max-width:575.98px) { .cv .cv-review header, .cv .cv-reviews--all .cv-review header { grid-template-columns: 40px minmax(0,1fr) auto; } }

/* Course calendar */
.cv-calendar > h2 { margin-top: 12px!important; }
.cv-calendar__filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 24px; }
.cv-calendar__chip { background: var(--tea-subtle); border-radius: 5px; padding: 8px 12px; }
.cv-calendar__layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(220px,1fr); gap: 24px; align-items: start; }
.cv-calendar__month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cv-calendar__month button { border: 0; background: none; color: var(--tea-link); font-size: 28px; width: 42px; cursor: pointer; }
.cv-calendar__week, .cv-calendar__grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.cv-calendar__week span, .cv-calendar__day { min-height: 48px; border: 1px solid var(--tea-border); margin: -1px 0 0 -1px; background: var(--tea-surface); font-size: 14px; }
.cv-calendar__week span { display: grid; place-items: center; min-height: 36px; background: var(--tea-subtle); color: var(--tea-muted); font-weight: 700; }
.cv-calendar__day { position: relative; display: flex; flex-direction: column; align-items: center; padding: 4px 1px 12px; color: inherit; }
button.cv-calendar__day { cursor: pointer; font-weight: 700; }
.cv-calendar__day.is-outside { color: var(--tea-muted); background: var(--tea-page); }
.cv-calendar__day.is-event-selected { background: rgba(var(--tea-petrol-rgb), .06); }
.cv-calendar__day.is-day-selected { outline: 2px solid var(--tea-link); outline-offset: -3px; }
.cv-calendar__day-number { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid transparent; background: transparent; line-height: 1; }
.cv-calendar__day.is-today .cv-calendar__day-number { border-color: var(--tea-link); border-radius: 50%; }
.cv-calendar__marks { position: absolute; bottom: 2px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 3px; height: 15px; }
.cv-calendar__marker { display: inline-block; width: 11px; height: 3px; flex: none; border-radius: 999px; }
.cv-calendar__marker--online { background: var(--tea-link); }
.cv-calendar__marker--classroom { background: var(--tea-accent); opacity: .85; }
.cv-calendar__legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; color: var(--tea-muted); font-size: 12px; }
.cv-calendar__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.cv-calendar__legend-today { display: inline-block; width: 15px; height: 15px; border: 1px solid var(--tea-link); }
.cv-calendar__legend-today { border-radius: 50%; }
.cv-calendar__sessions { display: grid; gap: 12px; margin-top: 16px; }
.cv-calendar__session { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-width: 0; padding: 14px; border: 1px solid var(--tea-border); background: var(--tea-surface); border-radius: 6px; color: inherit; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.cv-calendar__session:hover, .cv-calendar__session:focus-visible { border-color: var(--tea-link); }
.cv-calendar__session.is-selected { background: var(--tea-subtle); border-color: var(--tea-link); box-shadow: inset 0 0 0 1px var(--tea-link); }
.cv-calendar__session-date { font-size: 20px; line-height: 1.2; }
.cv-calendar__session-secondary, .cv-calendar__session-detail { color: var(--tea-muted); font-size: 13px; }
.cv-calendar__session-format { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; font-size: 14px; font-weight: 600; }
.cv-calendar__session-format img { flex: none; }
.cv-calendar__session-action { margin-top: 5px; color: var(--tea-link); font-size: 13px; font-weight: 600; }
.cv-calendar__clear-day { margin-top: 8px; }
@media (min-width:1200px) { .cv-calendar__sessions { max-height: clamp(480px, 55vh, 520px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--tea-border) transparent; } }
.cv-calendar__formats { display: flex; flex-wrap: wrap; gap: 24px; border: 0; padding: 0; margin: 24px 0 12px; }
.cv-calendar__formats input { accent-color: var(--tea-link); }
.cv .cv-calendar__note { font-size: 14px; }
@media(max-width:767.98px) { .cv-calendar__layout { grid-template-columns: minmax(0,1fr); } .cv-calendar__week span, .cv-calendar__day { min-height: 42px; font-size: 12px; } }

/* Team request form */
.cv-modal .cv-request__steps li[aria-current] span,
.cv-modal .cv-request__steps li.is-complete span { background:var(--tea-interactive-fill); color:var(--tea-surface); }
.cv-modal .cv-request__steps li.is-complete { color:var(--tea-link); }
.cv-modal .cv-field__help { color:var(--tea-muted); font-size:12px; line-height:1.4; font-weight:400; }
.cv-modal .cv-field--full { grid-column:1 / -1; }
.cv-modal .cv-team-venue { margin:0 0 16px; }
.cv-modal .cv-team-venue legend { font-size:14px; font-weight:600; margin-bottom:8px; }
.cv-modal .cv-team-venue__options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.cv-modal .cv-team-venue__options label { display:flex; align-items:flex-start; gap:8px; margin:0; padding:12px; border:1px solid var(--tea-border); border-radius:8px; cursor:pointer; }
.cv-modal .cv-team-venue__options label:has(input:checked) { border-color:var(--tea-link); background:var(--tea-subtle); }
.cv-modal .cv-team-venue__options label:focus-within { outline:var(--tea-focus-width) solid var(--tea-focus-color); outline-offset:2px; }
.cv-modal .cv-team-venue__options strong, .cv-modal .cv-team-venue__options small { display:block; overflow-wrap:anywhere; }
.cv-modal .cv-team-venue__options strong { color:var(--tea-text); font-size:14px; line-height:1.35; }
.cv-modal .cv-team-venue__options small { color:var(--tea-muted); font-size:12px; line-height:1.4; margin-top:4px; }
@media (max-width:575.98px) { .cv-modal .cv-team-venue__options { grid-template-columns:1fr; } .cv-modal .cv-team-venue__options label { padding:10px; } }
.cv-check-entry { display:flex; align-items:stretch; justify-content:space-between; gap:24px; padding:16px 18px; }
.cv-check-entry > div:first-child { flex:1 1 auto; min-width:0; }
.cv-check-entry h2 { margin:0 0 4px; font-size:30px; line-height:1.2; }
.cv-check-entry .cv-list { margin:0; padding-left:20px; color:var(--tea-muted,#5d6f80); }
.cv-check-entry .cv-list li { margin:0; padding:0; line-height:1.4; }
.cv-check-entry__action { flex:0 0 289px; border-left:1px solid var(--tea-border); padding-left:24px; display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:10px; }
.cv-check-entry__action .cv-button { min-height:44px; border:1px solid var(--tea-link,#16758c); border-radius:7px; background:#fff; color:var(--tea-link,#16758c); font-weight:700; }
.cv-check-entry__action .cv-button:hover { background:#e7f1f4; }
.cv-check-entry__action small { text-align:center; }
.cv-check-entry__action small,.cv-check-disclaimer { color:var(--tea-text-muted,#667b8d); }
#cv-self-check .modal-dialog { max-width:575px; }
.cv-self-check .modal-content { position:relative; padding:24px; }
.cv-check-close { position:absolute; right:20px; top:14px; border:0; background:none; color:var(--tea-link); font-size:25px; cursor:pointer; }
.cv-self-check h2 { padding-right:28px; font-size:24px; line-height:1.25; font-weight:700; margin:0 0 8px; }
.cv-self-check [data-check-summary] { margin:0 0 12px; font-size:14px; color:var(--tea-muted,#647b8e); }
.cv-check-intro { font-size:13px; color:var(--tea-muted,#647b8e); border-bottom:1px solid var(--tea-border); padding-bottom:16px; margin-bottom:16px; }
#cv-self-check .cv-check-question { display:block; border:1px solid var(--tea-border); background:#fff; border-radius:7px; padding:14px 16px; margin:10px 0; min-width:0; }
.cv-check-question .cv-check-question__legend { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.cv-check-question__content { display:flex; align-items:center; justify-content:space-between; gap:16px; min-width:0; }
.cv-check-question__text { min-width:0; font-size:15px; line-height:1.4; overflow-wrap:anywhere; }
.cv-check-options { display:flex; gap:12px; align-items:center; flex-shrink:0; }
.cv-check-options label { display:flex; gap:6px; align-items:center; margin:0; padding:6px; cursor:pointer; }
.cv-check-result { padding:14px; border-radius:6px; background:#edf7f3; margin:8px 0; display:flex; align-items:center; gap:16px; }
.cv-check-result.is-unmet { background:#e8f1f4; }
.cv-check-result__icon { flex:0 0 32px; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:#159d83; color:#fff; font-weight:700; }
.cv-check-result.is-unmet .cv-check-result__icon { background:#f5b451; }
.cv-check-result__body { display:flex; flex-direction:column; gap:4px; min-width:0; overflow-wrap:anywhere; }
.cv-check-result span,.cv-check-disclaimer { font-size:13px; }
.cv-check-advice { margin:16px 0; padding:14px; background:#fff5e8; border-radius:6px; }
.cv-check-advice p { margin:6px 0; }
.cv-check-actions { position:sticky; bottom:-24px; background:var(--tea-surface); display:flex; flex-wrap:wrap; gap:12px; padding:12px 0 0; }
.cv-check-actions [data-check-submit], .cv-check-actions [data-check-back] { width:100%; }
.cv-self-check .cv-check-actions [data-check-submit] { border:0; border-radius:6px; padding:11px 16px; background:#f7b653; color:#102c46; font-weight:700; cursor:pointer; }
.cv-self-check .cv-check-actions [data-check-retry] { border:1px solid #16758c; border-radius:6px; padding:10px 16px; background:#fff; color:#16758c; font-weight:600; }
.cv-self-check .cv-check-actions [data-check-back] { border:0; background:transparent; color:#16758c; cursor:pointer; padding:8px; }
.cv-self-check .cv-check-actions [data-check-submit]:disabled { background:#d9e3e9; color:#647b8e; cursor:not-allowed; }
.cv-self-check.is-result .cv-check-actions [data-check-retry], .cv-self-check.is-result .cv-check-actions [data-check-back] { flex:1 1 180px; width:auto; }
.cv-self-check.is-result .cv-check-actions [data-check-back] { background:#f7b653; color:#102c46; border-radius:6px; padding:10px 16px; font-weight:600; text-align:center; }
.cv-self-check .cv-check-options input { appearance:none; -webkit-appearance:none; flex:0 0 18px; width:18px; height:18px; margin:0; border:1px solid #16758c; border-radius:50%; background:#fff; cursor:pointer; }
.cv-self-check .cv-check-options input:checked { background:#16758c; }
.cv-self-check button:focus-visible, .cv-self-check input:focus-visible { outline:3px solid #16758c; outline-offset:2px; }
.cv-check-error { color:#9c403b; }
@media (max-width:575px) { .cv-check-entry { flex-direction:column; gap:16px; } .cv-check-entry h2 { font-size:24px; } .cv-check-entry__action { flex:auto; border-left:0; border-top:1px solid var(--tea-border); padding:16px 0 0; } .cv-self-check .modal-dialog { width:calc(100% - 24px); margin:12px auto; } .cv-self-check .modal-content { padding:20px; max-height:calc(100dvh - 24px); } .cv-check-question__content { flex-direction:column; align-items:flex-start; gap:6px; } .cv-check-actions { bottom:-20px; } }
