.ccwPublic {
    --ccw-accent: var(--ccw-brand-accent, #483A7E);
    --ccw-border: #d9dde3;
    --ccw-muted: #5d6673;
    --ccw-surface: #f7f8fa;
    --ccw-danger: #9b2c2c;
    --ccw-success: #2f6b4f;
    color: inherit;
}
.ccwContainer { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.ccwSection { padding: 2.25rem 0 3.5rem; }
.ccwHero { border-bottom: 1px solid var(--ccw-border); background: linear-gradient(180deg, color-mix(in srgb, var(--ccw-accent) 7%, white), white); padding: 3rem 0 2.5rem; }
.ccwHero h1 { max-width: 920px; margin: .35rem 0 1rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; }
.ccwHero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
.ccwHero__aside, .ccwPanel, .ccwCallCard, .ccwEmpty, .ccwWizardPanel { border: 1px solid var(--ccw-border); border-radius: 10px; background: white; padding: 1.25rem; }
.ccwEyebrow { color: var(--ccw-muted); font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ccwEyebrow a { color: inherit; }
.ccwLead { max-width: 780px; font-size: 1.18rem; line-height: 1.6; }
.ccwSummary { max-width: 800px; font-size: 1.05rem; line-height: 1.65; }
.ccwCallGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.ccwCallCard { display: flex; flex-direction: column; gap: .8rem; }
.ccwCallCard h2 { margin: 0; font-size: 1.35rem; line-height: 1.3; }
.ccwCallCard h2 a { color: inherit; text-decoration: none; }
.ccwCallCard h2 a:hover { text-decoration: underline; }
.ccwCallCard__meta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.ccwCode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; color: var(--ccw-muted); }
.ccwStatus { display: inline-flex; align-items: center; border-radius: 999px; padding: .22rem .62rem; font-size: .78rem; font-weight: 700; background: var(--ccw-surface); border: 1px solid var(--ccw-border); }
.ccwStatus--OPEN { background: color-mix(in srgb, var(--ccw-success) 12%, white); border-color: color-mix(in srgb, var(--ccw-success) 35%, white); }
.ccwSubtitle { color: var(--ccw-muted); margin: 0; }
.ccwFacts { margin: 1rem 0 0; display: grid; gap: .75rem; }
.ccwFacts > div { display: grid; grid-template-columns: minmax(95px, .8fr) 1.4fr; gap: .75rem; }
.ccwFacts dt { font-weight: 700; color: var(--ccw-muted); }
.ccwFacts dd { margin: 0; overflow-wrap: anywhere; }
.ccwFacts--compact { font-size: .9rem; }
.ccwActions { margin-top: auto; display: flex; gap: .65rem; flex-wrap: wrap; padding-top: .5rem; }
.ccwButton { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; border: 1px solid var(--ccw-accent); background: var(--ccw-accent); color:var(--ccw-brand-on-accent, #fff) !important; border-radius: 6px; padding: .65rem 1rem; text-decoration: none !important; font-weight: 700; cursor: pointer; }
.ccwButton:hover { filter: brightness(.94); }
.ccwButton:disabled { opacity: .55; cursor: not-allowed; }
.ccwButton--secondary { background: white; color: var(--ccw-brand-ink, #483A7E) !important; }
.ccwButton--wide { width: 100%; box-sizing: border-box; margin-top: 1rem; }
.ccwDetailLayout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.ccwContentSection + .ccwContentSection { border-top: 1px solid var(--ccw-border); margin-top: 2rem; padding-top: 2rem; }
.ccwRichText { line-height: 1.75; }
.ccwDetailAside { display: grid; gap: 1rem; }
.ccwPanel h2 { margin-top: 0; font-size: 1.05rem; }
.ccwOrganizationList, .ccwDeclarationList { padding-left: 1.15rem; }
.ccwOrganizationList li + li, .ccwDeclarationList li + li { margin-top: .6rem; }
.ccwOrganizationList small { display: block; color: var(--ccw-muted); }
.ccwRequired { margin-left: .4rem; color: var(--ccw-danger); font-size: .8rem; font-weight: 700; }
.ccwTagList { display: flex; list-style: none; gap: .5rem; flex-wrap: wrap; padding: 0; }
.ccwTagList li { border: 1px solid var(--ccw-border); border-radius: 999px; padding: .3rem .7rem; }
.ccwFaq details { border-top: 1px solid var(--ccw-border); padding: .9rem 0; }
.ccwFaq summary { cursor: pointer; font-weight: 700; }
.ccwPolicyValue { white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--ccw-border); background: var(--ccw-surface); padding: 1rem; border-radius: 6px; }
.ccwWizard { display: grid; gap: 1rem; }
.ccwWizard__header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.ccwWizard__header h1 { margin: .2rem 0; font-size: 2rem; }
.ccwWizardNav { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--ccw-border); padding-bottom: .8rem; }
.ccwWizardNav button { border: 0; border-radius: 5px; padding: .55rem .75rem; background: var(--ccw-surface); cursor: pointer; }
.ccwWizardNav button[aria-current="step"] { background: var(--ccw-accent); color:var(--ccw-brand-on-accent, #fff); }
.ccwField { display: grid; gap: .35rem; margin-bottom: 1rem; }
.ccwField label { font-weight: 700; }
.ccwField input, .ccwField textarea, .ccwField select { width: 100%; box-sizing: border-box; border: 1px solid var(--ccw-border); border-radius: 5px; padding: .65rem .7rem; font: inherit; background: white; color: inherit; }
.ccwField textarea { min-height: 9rem; resize: vertical; }
.ccwTaxNote { display: block; margin-top: .3rem; line-height: 1.5; }
.ccwDeclaration { border-top: 1px solid var(--ccw-border); padding: 1rem 0; }
.ccwDeclaration:first-child { border-top: 0; }
.ccwNotice { border-left: 4px solid var(--ccw-accent); background: var(--ccw-surface); padding: .9rem 1rem; }
.ccwNotice--error { border-left-color: var(--ccw-danger); }
.ccwNotice--success { border-left-color: var(--ccw-success); }
.ccwErrorList { color: var(--ccw-danger); }
.ccwDraftList { display: grid; gap: .7rem; }
.ccwDraftRow { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--ccw-border); padding-top: .8rem; }
.ccwDraftRow:first-child { border-top: 0; padding-top: 0; }
.ccwWizardActions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.ccwSpinner { opacity: .65; }
@media (max-width: 760px) {
    .ccwHero__grid, .ccwDetailLayout { grid-template-columns: 1fr; }
    .ccwHero { padding-top: 2rem; }
    .ccwDraftRow, .ccwWizard__header { align-items: stretch; flex-direction: column; }
}
.ccwCallConfirmation { display: grid; gap: .9rem; margin-bottom: 1.4rem; }
.ccwCheckRow { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.ccwCheckRow input { margin-top: .25rem; }

.ccwLanguageLinks { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.ccwLanguageLinks a[aria-current="page"] { font-weight: 700; text-decoration: underline; }

/* Public directory with press-specific branding. Only namespaced plugin surfaces are styled. */
.ccwPublic { --ccw-accent: var(--ccw-brand-accent, #483A7E); --ccw-border: var(--ccw-brand-border, #E2DEEA); --ccw-muted: #595465; --ccw-surface: var(--ccw-brand-soft, #F8F7FB); color: #292335; font-family: inherit; }
.ccwPublic *, .ccwPublic *::before, .ccwPublic *::after { box-sizing: border-box; }
.ccwPublic .ccwHero { background: radial-gradient(ellipse at 100% 0%, var(--ccw-brand-tint, #E9E4F5) 0%, transparent 55%), linear-gradient(135deg,var(--ccw-brand-soft, #F8F7FB),#fff); border-radius: 1rem; border-bottom: 0; margin-top: 1rem; }
.ccwPublic .ccwHero h1 { font-size: clamp(1.9rem,4vw,3rem); line-height: 1.16; letter-spacing: -.035em; overflow-wrap: anywhere; }
.ccwPublic .ccwHero--index .ccwEyebrow { color:var(--ccw-brand-ink, #483A7E); letter-spacing: .12em; }
.ccwPublic .ccwButton { background: var(--ccw-brand-accent, #483A7E); border-color: var(--ccw-brand-accent, #483A7E); color:var(--ccw-brand-on-accent, #fff) !important; min-height: 44px; line-height: 1.3; text-align: center; }
.ccwPublic .ccwButton--secondary { background: #fff; color:var(--ccw-brand-ink, #483A7E) !important; }
.ccwPublic a:focus-visible, .ccwPublic button:focus-visible, .ccwPublic input:focus-visible, .ccwPublic select:focus-visible, .ccwPublic summary:focus-visible { outline: 3px solid var(--ccw-brand-ink, #483A7E); outline-offset: 3px; }
.ccwPublic .ccwCallGrid { grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: 1.5rem; }
.ccwPublic .ccwCallCard { padding: 1.5rem; border-radius: .85rem; border-top: 4px solid var(--ccw-brand-accent, #483A7E); box-shadow: 0 .2rem .9rem #30274009; transition: box-shadow .16s ease; overflow-wrap: anywhere; }
.ccwPublic .ccwCallCard:hover { box-shadow: 0 .5rem 1.6rem #30274016; }
.ccwPublic .ccwCallCard h2 { font-size: 1.4rem; line-height: 1.35; }
.ccwPublic .ccwCardImprint { font-size: .83rem; font-weight: 700; color:var(--ccw-brand-ink, #483A7E); margin: 0; }
.ccwPublic .ccwCardType { color: var(--ccw-muted); font-size: .84rem; margin: 0; }
.ccwPublic .ccwCardSummary { color: #514a60; font-size: 1rem; line-height: 1.6; margin: .25rem 0; }
.ccwPublic .ccwFilters { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: .85rem; align-items: end; padding: 1.2rem; border-radius: .8rem; background: var(--ccw-surface); }
.ccwPublic .ccwFilters label { display: grid; gap: .35rem; font-weight: 600; font-size: .87rem; }
.ccwPublic .ccwFilters input, .ccwPublic .ccwFilters select { width: 100%; min-height: 44px; min-width: 0; padding: .5rem; border: 1px solid #797182; border-radius: .3rem; background: #fff; color: #292335; font: inherit; }
.ccwPublic .ccwResultCount { margin: 1.25rem 0; color: var(--ccw-muted); }
.ccwPublic .ccwPagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.ccwPublic .ccwLanguageLinks a { min-height: 38px; padding: .5rem .8rem; border: 1px solid #bdb6cd; border-radius: 2rem; color:var(--ccw-brand-ink, #483A7E); text-decoration: none; }
.ccwPublic .ccwLanguageLinks a[aria-current=page] { background: var(--ccw-brand-accent, #483A7E); color:var(--ccw-brand-on-accent, #fff); }
.ccwPublic .ccwDetailLayout { grid-template-columns: minmax(0,1fr) minmax(15rem,.48fr); }
.ccwPublic .ccwHero__grid { grid-template-columns: minmax(0,1fr) minmax(15rem,.48fr); }
.ccwPublic .ccwDetailMain { min-width: 0; overflow-wrap: anywhere; }
.ccwPublic .ccwRichText { white-space: pre-line; }
.ccwPublic .ccwResourceDescription { margin-top: .5rem; font-size: .92rem; line-height: 1.55; }
.ccwPublic .ccwPdfList { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.ccwPublic .ccwPdfList a { display: inline-block; font-weight: 700; color:var(--ccw-brand-ink, #483A7E); }
.ccwPublic .ccwPdfList small { display: block; color: var(--ccw-muted); margin-top: .2rem; }
.ccwPublic .ccwBottomCta { padding: 1.7rem; margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-radius: 1rem; background: var(--ccw-brand-tint, #E9E4F5); }
.ccwPublic .ccwBottomCta h2 { font-size: 1.45rem; margin: 0; }
.ccwHome { margin: 2rem 0; padding: 1.7rem; border-radius: 1rem; background: var(--ccw-brand-soft, #F8F7FB); border: 1px solid var(--ccw-brand-border, #E2DEEA); }
.ccwHome .ccwHomeIntro { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.ccwHome .ccwHomeIntro > div { max-width: 42rem; }
.ccwHome h2 { font-size: clamp(1.5rem,3vw,2rem); margin: .3rem 0 .75rem; line-height: 1.2; }
.ccwHome .ccwHomeGrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: 1rem; margin-top: 1.5rem; }
.ccwHome .ccwHomeCount-1 { grid-template-columns: minmax(0,1fr); }
@media (min-width: 64rem) {
 .ccwHome .ccwHomeCount-2, .ccwHome .ccwHomeCount-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .ccwHome .ccwHomeCount-3, .ccwHome .ccwHomeCount-5, .ccwHome .ccwHomeCount-6 { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .ccwHome .ccwHomeCount-5 > :last-child { grid-column: 2 / 4; }
}
.ccwHome .ccwHomeCard { background: #fff; border: 1px solid var(--ccw-brand-border, #E2DEEA); border-radius: .7rem; padding: 1.2rem; display: flex; flex-direction: column; }
.ccwHome .ccwHomeCard h3 { font-size: 1.1rem; margin: .3rem 0 .8rem; }
.ccwHome .ccwHomeCard h3 a { text-decoration: none; color: #292335; }
.ccwHome .ccwTextLink { margin-top: auto; color:var(--ccw-brand-ink, #483A7E); font-weight: 700; }
@media (max-width: 900px) {
 .ccwPublic .ccwFilters { grid-template-columns: 1fr 1fr; }
 .ccwPublic .ccwHero__grid, .ccwPublic .ccwDetailLayout { grid-template-columns: 1fr; }
 .ccwHome .ccwHomeIntro { align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
 .ccwPublic .ccwFilters { grid-template-columns: 1fr; }
 .ccwPublic .ccwActions { flex-direction: column; }
 .ccwPublic .ccwFacts > div { grid-template-columns: 1fr; gap: .2rem; }
 .ccwPublic .ccwContainer { width: calc(100% - 1rem); }
 .ccwHome { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .ccwPublic .ccwCallCard { transition: none; } }

/* Matching directory navigation and reciprocal opportunities. */
.ccwPublic .ccwDirectoryActions { margin-top: 1.2rem; }
.ccwPublic .ccwCrossDirectory { margin-top: 2.5rem; margin-bottom: 0; }
.ccwPublic .ccwCrossDirectory > div { flex: 1 1 18rem; }
.ccwPublic .ccwCrossDirectory p { margin: .65rem 0 0; max-width: 42rem; line-height: 1.6; }
.ccwPublic .ccwCrossDirectory .ccwButton, .ccwHome .ccwHomeBrowse { flex-shrink: 0; max-width: 100%; }
.ccwHome .ccwHomeIntro > div { min-width: 0; }
.ccwHome .ccwHomeEmpty { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ccw-border); color: var(--ccw-muted); line-height: 1.6; }
.ccwHome .ccwHomeCard { overflow-wrap: anywhere; }
@media (max-width: 900px) { .ccwPublic .ccwCrossDirectory { align-items: flex-start; flex-direction: column; } .ccwPublic .ccwCrossDirectory > div { flex-basis: auto; } }

/* Comfortable reading in narrow OMP content columns as well as full-width themes. */
.ccwLead > p:first-child { margin-top:0; }
.ccwLead > p:last-child { margin-bottom:0; }
.ccwPanel .ccwFacts dd strong { display:block; font-size:1.12em; white-space:normal; }
.ccwPanel .ccwTaxNote { display:block; line-height:1.5; margin-top:.3rem; }
.ccwCardSummary { line-height:1.65; overflow-wrap:anywhere; }
.ccwRichContent, .ccwSummary { overflow-wrap:anywhere; }

.ccwPublic .ccwPriceList > div { display:block; padding:.85rem 0; border-bottom:1px solid var(--ccw-border); }
.ccwPublic .ccwPriceList > div:last-child { border-bottom:0; }
.ccwPublic .ccwPriceList dd { margin-top:.35rem; }
.ccwPublic .ccwRichText :is(h2,h3,h4) { line-height:1.35; margin-top:1.6em; margin-bottom:.6em; }

/* Compact discovery lists remain readable in narrow theme columns. */
.ccwOpenNavigation,.ccwDiscovery {max-width:1120px;margin:2rem auto;padding:1.5rem;border:1px solid var(--ccw-brand-border, #E2DEEA);border-radius:12px;background:var(--ccw-brand-soft, #F8F7FB);color:#292333;}
.ccwOpenNavigation {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:2rem;}
.ccwOpenNavigation h2,.ccwDiscovery h2 {font-size:1.2rem;margin:0 0 1rem;color:var(--ccw-brand-ink, #483A7E);}
.ccwOpenNavigation ul {list-style:none;padding:0;margin:0;}
.ccwOpenNavigation li {padding:.8rem 0;border-bottom:1px solid var(--ccw-brand-border, #E2DEEA);}
.ccwOpenNavigation li:last-child {border:0;}
.ccwOpenNavigation a {font-weight:600;overflow-wrap:anywhere;}
.ccwOpenNavigation span {display:block;font-size:.85em;margin-top:.35rem;}
.ccwWizard .ccwWizardNav {display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0;}
.ccwWizard .ccwWizardNav button {padding:.65rem .85rem;border:1px solid #d7d0e5;border-radius:6px;white-space:normal;}
.ccwWizard .ccwWizardNav [aria-current="step"] {background:var(--ccw-brand-accent, #483A7E);color:var(--ccw-brand-on-accent, #fff);}
.ccwWizard .ccw-finance label {display:block;margin:.8rem 0;}
.ccwWizard .ccw-finance input:not([type=checkbox]),.ccwWizard .ccw-finance select,.ccwCountryPicker input {box-sizing:border-box;width:100%;max-width:100%;padding:.65rem;border:1px solid #bdb4cc;border-radius:5px;}
.ccwWizard .ccw-finance fieldset {border:0;padding:0;margin:1rem 0;}
.ccwWizard .ccw-finance button {padding:.65rem 1rem;margin:.5rem 0;}
.ccwWizard .ccwWizardPanel {scroll-margin-top:2rem;}

.ccw-fee-preview{padding:1rem;margin:1rem 0;border:1px solid #ddd;border-left:4px solid currentColor;border-radius:4px}.ccw-pix-payment img{display:block;max-width:100%;height:auto}.ccw-pix-payment textarea{width:100%;overflow-wrap:anywhere}

.ccwHomeSummary {list-style:none;margin:1.5rem 0 0;padding:0;border-top:1px solid #dedbe8}.ccwHomeSummary li {display:flex;gap:1rem;justify-content:space-between;padding:.9rem 0;border-bottom:1px solid #e9e6ef}.ccwHomeSummary span {font-size:.85em;flex-shrink:0}.ccwHomeSummary a {font-weight:600}@media(max-width:600px){.ccwHomeSummary li{flex-direction:column;gap:.3rem}}
.ccwRecruitmentForm {display:grid;gap:1rem;max-width:760px}.ccwRecruitmentForm label{display:block}.ccwRecruitmentForm textarea,.ccwRecruitmentForm input[type=url]{display:block;box-sizing:border-box;width:100%;padding:.75rem;border:1px solid #aaa;border-radius:4px;font:inherit}.ccwRecruitmentForm fieldset label{margin:.4rem 0}.ccwRecruitmentForm button{padding:.6rem 1rem;cursor:pointer}

.ccwRateBand{padding:1rem 0;border-top:1px solid #dedce8}.ccwRateBand h4{margin:0 0 .7rem}.ccwRateBand .ccwFacts{margin:0}.ccwRateBands .ccwApcFootnote{font-size:.85rem}

/* Plugin pages carry their own language switch. When the theme sidebar holds nothing else,
   give its column to the content; any other sidebar block keeps the theme layout untouched. */
.pkp_structure_content:has(.ccwPublic .ccwLanguageLinks):not(:has(.pkp_structure_sidebar .pkp_block:not(.block_language))) .pkp_structure_sidebar { display: none; }
.pkp_structure_content:has(.ccwPublic .ccwLanguageLinks):not(:has(.pkp_structure_sidebar .pkp_block:not(.block_language))) .pkp_structure_main { float: none; width: auto; }
.pkp_structure_content:has(.ccwPublic .ccwLanguageLinks):not(:has(.pkp_structure_sidebar .pkp_block:not(.block_language))) .pkp_structure_main::after { left: auto; right: 0; }

/* Directory cards: readable titles, bounded summaries, actions on one baseline. */
.ccwPublic .ccwCallGrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.ccwPublic .ccwCallCard h2 { font-size: 1.2rem; line-height: 1.35; }
.ccwPublic .ccwCardSummary { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ccwPublic .ccwCallCard .ccwFacts--compact { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--ccw-border); }
.ccwPublic .ccwCallCard .ccwActions { margin-top: 0; }
.ccwPublic .ccwEmpty { text-align: center; padding: 2.5rem 1.5rem; }

/* Editorial texts keep their own structure: headings, lists, quotes and tables. */
.ccwPublic .ccwRichText--html { white-space: normal; }
.ccwPublic .ccwRichText--html > :first-child { margin-top: 0; }
.ccwPublic .ccwRichText :is(h2, h3, h4) { margin: 2rem 0 .6rem; line-height: 1.3; color: var(--ccw-brand-ink, #483A7E); }
.ccwPublic .ccwRichText h2 { font-size: 1.3rem; }
.ccwPublic .ccwRichText h3 { font-size: 1.15rem; }
.ccwPublic .ccwRichText h4 { font-size: 1rem; }
.ccwPublic .ccwRichText p { margin: 0 0 1rem; }
.ccwPublic .ccwRichText :is(ul, ol) { margin: 0 0 1rem; padding-left: 1.4rem; }
.ccwPublic .ccwRichText li + li { margin-top: .35rem; }
.ccwPublic .ccwRichText blockquote { margin: 1.25rem 0; padding: .75rem 1.1rem; border-left: 4px solid var(--ccw-brand-tint, #E9E4F5); background: var(--ccw-surface); }
.ccwPublic .ccwRichText table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; }
.ccwPublic .ccwRichText :is(th, td) { padding: .6rem .75rem; border: 1px solid var(--ccw-border); text-align: left; vertical-align: top; }
.ccwPublic .ccwRichText th { background: var(--ccw-surface); }
.ccwPublic .ccwContentSection > h2 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 1rem; }
.ccwPublic .ccwDetailLayout { grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem); gap: 2.5rem; }
.ccwPublic .ccwDetailMain { max-width: 46rem; }
.ccwPublic .ccwPanel { padding: 1.25rem; border-radius: .75rem; }
.ccwPublic .ccwPanel h2 { font-size: 1rem; margin: 0 0 .75rem; color: var(--ccw-brand-ink, #483A7E); }
@media (max-width: 760px) { .ccwPublic .ccwDetailLayout { grid-template-columns: 1fr; } .ccwPublic .ccwDetailMain { max-width: none; } }

/* Submission wizard start: separate prices, keep the primary action clear of the list above it. */
.ccwPublic .ccwPrice + .ccwPrice::before { content: "· "; color: var(--ccw-muted); }
.ccwPublic .ccwWizardPanel > .ccwWizardActions { margin-top: 1.5rem; }
.ccwPublic .ccwDraftList { margin: .75rem 0 0; padding: 1rem; border: 1px solid var(--ccw-border); border-radius: .6rem; background: var(--ccw-surface); }
.ccwPublic .ccwDraftRow p { margin: .25rem 0; }

/* 1.19.0: submission summary, pending items and the start of each step */
.ccwWizard { scroll-margin-top: 1rem; }
.ccwWizard .ccwWizardPanel + .ccwWizardPanel { margin-top: 1.25rem; }
.ccwSummary { display: grid; gap: 0; margin: 1rem 0 0; border: 1px solid var(--ccw-border); border-radius: 8px; overflow: hidden; }
.ccwSummary > div { display: grid; grid-template-columns: minmax(8.5rem, 13rem) minmax(0, 1fr); gap: 1rem; padding: .7rem .9rem; }
.ccwSummary > div + div { border-top: 1px solid var(--ccw-border); }
.ccwSummary dt { font-weight: 700; color: var(--ccw-muted); }
.ccwSummary dd { margin: 0; overflow-wrap: anywhere; }
.ccwSummary dd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.ccwSummary dd small { display: block; margin-top: .45rem; color: var(--ccw-muted); line-height: 1.45; }
.ccwSummary__tag { display: inline-block; margin-left: .5rem; border: 1px solid var(--ccw-border); border-radius: 999px; padding: .05rem .55rem; font-size: .78rem; background: var(--ccw-surface); color: var(--ccw-muted); white-space: nowrap; }
.ccwSummary__tag--warn { border-color: color-mix(in srgb, var(--ccw-danger) 45%, white); background: color-mix(in srgb, var(--ccw-danger) 7%, white); color: var(--ccw-danger); font-weight: 700; }
.ccwRecorded { margin: 1.25rem 0; }
.ccwRecorded h3 { margin: 0; font-size: 1rem; }
.ccwPending { margin: 1rem 0; }
.ccwPending ul { margin: .5rem 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.ccwPending p { margin: 0; }
.ccwWizardActions--secondary { margin-top: 1rem; }
@media (max-width: 640px) {
    .ccwSummary > div { grid-template-columns: 1fr; gap: .2rem; }
    .ccwSummary__tag { margin-left: 0; margin-top: .2rem; }
}

/* 1.19.0: index of the call page */
.ccwPublic .ccwToc { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--ccw-border); border-radius: 10px; background: var(--ccw-surface); }
.ccwPublic .ccwToc__title { margin: 0 0 .6rem; font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ccw-muted); }
.ccwPublic .ccwToc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.ccwPublic .ccwToc ol ol { margin: .35rem 0 .2rem; padding-left: 1rem; border-left: 2px solid var(--ccw-border); font-size: .94rem; }
.ccwPublic .ccwToc a { text-decoration: none; display: inline-block; padding: .1rem 0; }
.ccwPublic .ccwToc a:hover, .ccwPublic .ccwToc a:focus-visible { text-decoration: underline; }
.ccwPublic .ccwContentSection > h2, .ccwPublic .ccwRichText h3 { scroll-margin-top: 1.5rem; }
