/* CMP-EDITORIAL-001: source-driven sections shared by direction and program details. */
html body main .omedica-direction-intro {
 max-width:none;width:100%;box-sizing:border-box;
 padding:var(--wp--preset--spacing--space-lg);margin-block:var(--wp--custom--spacing--block);
 background:var(--wp--preset--color--surface);border-radius:var(--wp--custom--radius--md);
 border-inline-start:3px solid var(--wp--preset--color--action);overflow-wrap:anywhere;
}
.omedica-direction-intro h2 {font-size:var(--wp--preset--font-size--large);margin-block:0 var(--wp--preset--spacing--space-sm);}
.omedica-direction-intro p {max-width:72ch;font-size:var(--wp--preset--font-size--medium);line-height:1.65;margin:0;}
.omedica-editorial-reading {--omedica-editorial-measure:72ch;}
.omedica-editorial-reading .omedica-reading-body .omedica-editorial-section {
 margin-block:0;padding-block:var(--wp--preset--spacing--space-xl);border:0;
 border-block-start:1px solid var(--wp--preset--color--border);background:transparent;
}
.omedica-editorial-reading .omedica-editorial-section :is(p,ul,ol,h2,h3,h4,blockquote) {max-width:var(--omedica-editorial-measure);}
.omedica-editorial-reading .omedica-editorial-section > :first-child {margin-block-start:0;}
.omedica-editorial-reading .omedica-editorial-section > :last-child {margin-block-end:0;}
.omedica-editorial-reading .omedica-reading-body .omedica-editorial-long-heading {font-size:var(--wp--preset--font-size--medium);line-height:1.65;font-weight:500;}
.omedica-editorial-reading .omedica-editorial-copy {min-width:0;}
.omedica-editorial-reading .omedica-editorial-copy > :first-child {margin-block-start:0;}
.omedica-editorial-reading .omedica-editorial-source-list {list-style:none;padding-inline-start:0;}
.omedica-editorial-reading :is(ul,ol) li {break-inside:avoid;}
.omedica-editorial-reading .is-style-omedica-editorial-note,.is-style-omedica-editorial-note {
 padding:var(--wp--preset--spacing--space-lg);background:var(--wp--preset--color--surface);border-radius:var(--wp--custom--radius--md);
}
.omedica-editorial-reading .omedica-editorial-section--media {display:flow-root;}
.omedica-editorial-reading .omedica-editorial-section--media img {max-width:100%;height:auto;}
@media(min-width:1200px){
 .omedica-editorial-reading .omedica-editorial-section--split {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:var(--wp--preset--spacing--space-xl);align-items:start;}
 .omedica-editorial-reading .omedica-editorial-section--split > h2 {font-size:var(--wp--preset--font-size--large);line-height:1.3;}
 .omedica-editorial-reading .omedica-editorial-list--columns {column-count:2;column-gap:var(--wp--preset--spacing--space-xl);}
 .omedica-editorial-reading .omedica-editorial-section--media > figure {float:right;width:38%;margin-inline-start:var(--wp--preset--spacing--space-xl);}
}
@media(max-width:767px){
 .omedica-direction-intro {padding:var(--wp--preset--spacing--space-md);}
 .omedica-editorial-reading .omedica-reading-body .omedica-editorial-section {padding-block:var(--wp--preset--spacing--space-lg);}
}

.omedica-editorial-reading .omedica-reading-body .omedica-editorial-section--title {padding-block-end:var(--wp--preset--spacing--space-md);}
.omedica-editorial-reading .omedica-reading-body .omedica-editorial-section--title + .omedica-editorial-section {border-block-start:0;padding-block-start:0;}
.omedica-editorial-reading .omedica-reading-body .is-style-omedica-editorial-note {padding:var(--wp--preset--spacing--space-lg);background:var(--wp--preset--color--surface);}
.editor-styles-wrapper .omedica-content-navigation :is(p,ul,ol) {max-width:72ch;line-height:1.65;}
.editor-styles-wrapper .omedica-content-navigation .omedica-content-section {padding-block:var(--wp--preset--spacing--space-lg);border-block-start:1px solid var(--wp--preset--color--border);}

/* Editorial composition is authored in blocks, never inferred from text length. */
html body .omedica-editorial-reading .omedica-reading-body .omedica-editorial-section--media {display:block;}
html body .omedica-editorial-reading .omedica-editorial-section--media > figure {
 float:none;width:min(100%,48rem);margin:var(--space-lg) 0;
}
.omedica-editorial-reading :is(h2,h3),.omedica-package-item h3 {text-wrap:pretty;overflow-wrap:normal;word-break:normal;hyphens:none;}
html body .omedica-editorial-reading .omedica-editorial-section h2 {font-size:var(--wp--preset--font-size--large);line-height:1.35;}
html body .omedica-editorial-reading .omedica-editorial-section h3 {font-size:var(--wp--preset--font-size--medium);line-height:1.4;}
html body .omedica-editorial-reading .omedica-reading-body :is(ul,ol) {
 list-style-position:outside;padding-inline-start:1.4em;column-count:1;
}
html body .omedica-editorial-reading .omedica-reading-body ul {list-style-type:disc;}
html body .omedica-editorial-reading .omedica-reading-body ol {list-style-type:decimal;}
html body .omedica-editorial-reading .omedica-reading-body li {padding-inline-start:.2em;}
html body .omedica-editorial-reading .omedica-reading-body li::before {content:none;}
html body .omedica-editorial-reading .omedica-reading-body li::marker {color:var(--wp--preset--color--text-muted);}
html body .omedica-editorial-reading .omedica-reading-body .is-style-omedica-accent-list li::marker {color:var(--wp--preset--color--action);}
.omedica-qa-item {padding:var(--space-lg) 0;border-block-start:1px solid var(--wp--preset--color--border);}
html body .omedica-editorial-reading .omedica-qa-label,.editor-styles-wrapper .omedica-qa-label {
 margin-block:var(--space-md) var(--space-xs);font-size:var(--wp--preset--font-size--small);
 font-weight:600;color:var(--wp--preset--color--action);letter-spacing:.04em;
}
.omedica-qa-item > .omedica-qa-label:first-child {margin-block-start:0;}
.omedica-editorial-media-pair {align-items:flex-start;gap:var(--space-xl);}
.omedica-editorial-media-pair .wp-block-column {min-width:0;}
.omedica-editorial-media-pair figure {margin:0;}
.omedica-editorial-reading .wp-block-image img {border-radius:var(--wp--custom--radius--md);display:block;width:100%;height:auto;}
.omedica-editorial-reading .wp-block-image figcaption {font-size:var(--wp--preset--font-size--small);color:var(--wp--preset--color--text-muted);}
.omedica-editorial-reading .omedica-articles-grid {max-width:none;}
.omedica-editorial-reading .omedica-articles-grid :is(h2,h3) {font-size:var(--wp--preset--font-size--medium);}
html body .omedica-doctor-about .omedica-accreditation-legacy > .omedica-about-record {
 padding:var(--space-sm) 0;border-block-end:1px solid var(--wp--preset--color--border);
}
.omedica-doctor-about .omedica-accreditation-meta p {margin:0;}
@media(max-width:900px){.omedica-editorial-media-pair {flex-direction:column;}.omedica-editorial-media-pair .wp-block-column {width:100%;flex-basis:auto!important;}}
.omedica-qa-item > p:nth-child(2) {font-weight:500;}
.omedica-editorial-reading .wp-block-details {max-width:72ch;padding-block:var(--space-md);border-block-end:1px solid var(--wp--preset--color--border);}
.omedica-editorial-reading .wp-block-details summary {font-weight:500;cursor:pointer;min-height:44px;padding-block:var(--space-xs);}
.omedica-editorial-reading .wp-block-details summary:focus-visible {outline:2px solid var(--wp--preset--color--action);outline-offset:4px;}
html body .omedica-doctor-about h3 {font-size:var(--wp--preset--font-size--medium);line-height:1.4;}
html body .omedica-doctor-about .omedica-about-records--timeline {list-style:none;}
html body .omedica-editorial-reading .omedica-reading-body .omedica-editorial-section--continuation {
 padding-block:var(--space-sm);border-block-start:0;
}
/* Native Group flow margins must not expand compact biography records. */
html body .omedica-about-record > * {margin-block-start:0;}
html body .omedica-about-records--additional > .omedica-about-record {row-gap:var(--space-xs);}
html body .omedica-about-record > .omedica-additional-body {margin-block:0;}
html body .omedica-about-record .omedica-about-description {margin-block-start:var(--space-xs);}
html body .omedica-about-records > .omedica-about-record {margin-block:0;}

@media(max-width:767px){html body .omedica-editorial-reading .omedica-editorial-section h2 {font-size:var(--wp--preset--font-size--medium);}}
/* Explicit closed state prevents native Safari from reserving the contents rail body. */
.omedica-editorial-reading .omedica-contents:not([open]) > nav {display:none;}
@media(max-width:1023px){.omedica-editorial-reading .omedica-article-rail {position:static;}.omedica-editorial-reading .omedica-contents nav {max-height:min(40dvh,20rem);}}
/* Rem-based minimum adapts the package composition to user font scaling. */
html body .omedica-direction-editorial .omedica-package-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));}

/* Shared FAQ / service Details uses the catalog chevron and existing semantic tokens. */
.omedica-disclosure__toggle {display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);width:100%;min-height:44px;border:0;padding:var(--space-sm) 0;background:transparent;color:var(--wp--preset--color--action);font:inherit;text-align:start;cursor:pointer;}
.omedica-disclosure__toggle > span:first-child {min-width:0;}
.omedica-disclosure__icon {flex:0 0 .55rem;width:.55rem;height:.55rem;border-inline-end:2px solid currentColor;border-block-end:2px solid currentColor;transform:rotate(45deg);margin-inline:var(--space-xs);transition:transform .18s;}
.is-open > .omedica-disclosure__toggle .omedica-disclosure__icon {transform:rotate(225deg);}
.omedica-disclosure__toggle:focus-visible {outline:2px solid var(--wp--preset--color--action);outline-offset:4px;border-radius:var(--wp--custom--radius--sm);}
.omedica-disclosure__panel[hidden] {display:none!important;}
.omedica-disclosure__content {display:flow-root;padding-block:var(--space-sm);}
.omedica-service-description .omedica-disclosure__content {max-width:72ch;color:var(--wp--preset--color--text);}
.omedica-service-description :is(img,figure) {max-width:100%;height:auto;}
.omedica-service-faq .omedica-qa-item {margin:0;padding:0;max-width:72ch;border-block-start:0;border-block-end:1px solid var(--wp--preset--color--border);}
.omedica-service-faq .omedica-disclosure__toggle {color:var(--wp--preset--color--text);font-weight:500;padding-block:var(--space-md);}
.omedica-service-faq .omedica-disclosure__content {max-width:72ch;line-height:1.65;}
.omedica-direction-articles {margin-block:var(--wp--custom--spacing--section);}
.omedica-direction-articles > h2 {max-width:40ch;}
.omedica-package-item {display:flex;flex-direction:column;gap:var(--space-sm);}
.omedica-package-item > * {margin-block:0;}
.omedica-package-item .omedica-package-price {margin-block-start:auto;}
.omedica-package-item .omedica-service-card__actions {margin-block-start:var(--space-sm);}
.omedica-package-duration {color:var(--wp--preset--color--text-muted);}
@media(min-width:1200px){html body .omedica-direction-editorial .omedica-package-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(prefers-reduced-motion:reduce){.omedica-disclosure__icon {transition:none;}}
/* Match the direction navigation's compact chips in the catalog-first shell. */
/* Catalog-first laboratory variant; other direction introductions keep their presentation. */
[data-analysis-catalog] .omedica-analysis-intro {display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap;}
[data-analysis-catalog] .omedica-analysis-intro h1 {flex:1 1 20rem;min-width:0;overflow-wrap:anywhere;}
[data-analysis-catalog] .omedica-analysis-about-link {flex:0 0 auto;color:var(--wp--preset--color--action);padding-block:var(--space-xs);min-height:44px;box-sizing:border-box;}
html body main .omedica-direction-intro--analysis {max-width:none;padding:0;margin-block:var(--space-lg);background:transparent;border:0;border-radius:0;scroll-margin-block-start:var(--space-xl);}
.omedica-direction-intro--analysis h2 {font-size:var(--wp--preset--font-size--large);}
html body main .omedica-direction-intro--analysis p {font-size:var(--wp--preset--font-size--small);}
/* Long Russian words must reflow when the user doubles the text size. */
html body .omedica-single-direction :is(h2,h3),html body .omedica-package-item h3 {overflow-wrap:anywhere;}
html body main .omedica-direction-intro p {overflow-wrap:anywhere;word-break:normal;}

/* Native information composition: one editable section, light reusable Columns. */
html body .omedica-direction-information {font-size:var(--wp--preset--font-size--small);line-height:1.65;}
html body .omedica-direction-information .omedica-reading-grid {display:block;}
html body .omedica-direction-information .omedica-reading-body {font-size:inherit;}
html body .omedica-direction-information :is(.omedica-information-lead,.omedica-information-section) {padding:0;margin-block:var(--space-xl);border:0;background:transparent;box-shadow:none;border-radius:0;}
html body .omedica-direction-information :is(p,ul,ol) {max-width:72ch;}
html body .omedica-direction-information h2 {font-size:var(--wp--preset--font-size--large);line-height:1.35;}
html body .omedica-direction-information h3 {font-size:var(--wp--preset--font-size--medium);line-height:1.4;}
.omedica-information-columns {gap:var(--space-lg);align-items:stretch;}
.omedica-information-columns > .wp-block-column {padding-inline-start:var(--space-md);border-inline-start:1px solid var(--wp--preset--color--border);min-width:0;}
html body .omedica-direction-information .omedica-editorial-media-pair img {width:100%;height:auto;object-fit:contain;}
html body .omedica-direction-information .omedica-service-faq {max-width:none;width:100%;margin-block:var(--space-xl);}
html body .omedica-direction-information .omedica-service-faq .omedica-qa-item {width:100%;max-width:none;border-radius:0;}
html body .omedica-direction-information .omedica-service-faq .omedica-disclosure__content {max-width:none;padding-block:var(--space-sm) var(--space-lg);}
.omedica-qa-question,.omedica-qa-answer {position:relative;padding-inline-start:calc(var(--space-md) + 1.5rem);}
.omedica-qa-question {font-weight:500;margin-block-end:var(--space-md);}
.omedica-qa-answer {font-weight:400;}
.omedica-qa-question::before,.omedica-qa-answer::before {position:absolute;inset-inline-start:0;top:.2em;width:1.4rem;height:1.4rem;color:var(--wp--preset--color--action);border:1px solid currentColor;border-radius:var(--wp--custom--radius--sm);display:grid;place-items:center;line-height:1;font-size:1rem;}
.omedica-qa-question::before {content:'?';}
.omedica-qa-answer::before {content:'↳';}
html body .omedica-direction-information .omedica-qa-question p {font-weight:500;}
html body .omedica-direction-information .omedica-qa-answer > :first-child {margin-block-start:0;}
html body .omedica-direction-information .omedica-qa-answer > :last-child {margin-block-end:0;}
html body .omedica-package-item .omedica-package-footer {display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);flex-wrap:wrap;margin-block-start:auto;padding-block-start:var(--space-sm);}
html body .omedica-package-footer :is(.omedica-package-price,.omedica-service-card__actions) {margin:0;}
html body .omedica-package-footer .omedica-service-card__actions {flex:0 0 auto;}
html body .omedica-package-footer .wp-element-button {padding-inline:var(--space-md);}
/* Laboratory reading keeps its rail; simplify only its decorative surface edges. */
html body .omedica-analysis-page .omedica-editorial-section {border-radius:0;box-shadow:none;}
html body .omedica-analysis-page .omedica-article-rail :is(nav,ul,li) {border-radius:0;box-shadow:none;background:transparent;}
html body .omedica-analysis-page .omedica-direction-intro--analysis p + p {margin-block-start:var(--space-md);}
/* Program requests reuse CF7 inside the established booking shell. */
html body .omedica-direction-program-request {line-height:1.5;}
.omedica-booking-dialog .omedica-direction-program-request > h2 {display:none;}
html body .omedica-direction-program-request :is(p,.wpcf7-form-control-wrap) {margin-block:var(--space-sm);}

html body .omedica-direction-program-request .wpcf7-form-control-wrap {display:block;margin:0;}
html body .omedica-direction-program-request .wpcf7-acceptance .wpcf7-list-item {margin:0;}
html body .omedica-direction-program-request .wpcf7-not-valid-tip {margin-block-start:var(--space-xs);}
html body .omedica-direction-program-request .wpcf7-response-output {margin:var(--space-sm) 0;padding:var(--space-sm);}
@media (min-width:768px) and (max-width:1023px) {
 html body .omedica-information-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
 html body .omedica-information-columns > :last-child {grid-column:1 / -1;}
}
@media (max-width:767px) {
 html body .omedica-direction-information h2 {font-size:var(--wp--preset--font-size--medium);}
 .omedica-information-columns {flex-direction:column;}
 html body .omedica-information-columns > .wp-block-column {flex-basis:auto!important;width:100%;box-sizing:border-box;}
}

html body .omedica-direction-program-request .wpcf7-form {gap:var(--space-md);}
html body .omedica-direction-program-request .wpcf7-form > p {margin:0;}
html body .omedica-direction-program-request .wpcf7-form label:not(.wpcf7-acceptance label) {gap:var(--space-xs);}

html body .omedica-direction-program-request .omedica-field-error {min-height:0;}
html body .omedica-direction-program-request .omedica-field-error:not(.is-visible),
html body .omedica-direction-program-request .wpcf7-response-output:empty {display:none;}
html body .omedica-direction-program-request [data-cf7-security] {display:contents;}
html body .omedica-direction-information .omedica-qa-question {margin-block-start:0;}
html body .omedica-direction-information .omedica-qa-question > p {margin:0;}

/* Requested refinement: the root marker exists only on child psychology (term 463). */
.omedica-psychology-refinement .omedica-psychology-hero-copy {max-width:72ch;margin-block:var(--space-md);font-size:var(--wp--preset--font-size--small);line-height:1.65;}
html body .omedica-psychology-refinement .omedica-psychology-hero-copy p {font-size:inherit;line-height:inherit;margin-block:0 var(--space-md);}
html body .omedica-psychology-refinement .omedica-psychology-hero-copy > :last-child {margin-block-end:0;}
html body .omedica-psychology-refinement .omedica-editorial-media-pair {display:grid;grid-template-columns:minmax(0,9fr) minmax(0,11fr);align-items:start;gap:var(--space-xl);}
html body .omedica-psychology-refinement .omedica-editorial-media-pair > .wp-block-column {width:auto;min-width:0;}
html body .omedica-psychology-refinement .omedica-editorial-media-pair h2 {margin-block-start:0;}
html body .omedica-psychology-refinement .omedica-editorial-media-pair figure {margin:0;width:100%;max-width:none;}
/* Equal outline SVG masks inherit the semantic action color, including overrides. */
html body .omedica-psychology-refinement :is(.omedica-qa-question,.omedica-qa-answer)::before {content:'';width:1.375rem;height:1.375rem;border:0;border-radius:0;background:var(--wp--preset--color--action);mask-size:contain;mask-repeat:no-repeat;mask-position:center;}
html body .omedica-psychology-refinement .omedica-qa-question::before {mask-image:url('../icons/psychology-question.svg');}
html body .omedica-psychology-refinement .omedica-qa-answer::before {mask-image:url('../icons/psychology-answer.svg');}
html body .omedica-psychology-refinement .omedica-service-faq .omedica-disclosure__content :is(p,ul,ol) {max-width:88ch;}
html body .omedica-psychology-refinement .omedica-qa-question p {font-weight:500;}
html body .omedica-psychology-refinement .omedica-qa-answer {font-weight:400;}
/* This page shares one copy/photo grid and one responsive navigation-to-content gap. */
html body main.omedica-psychology-refinement {
 --omedica-psychology-media-columns:minmax(0,9fr) minmax(0,11fr);
 --omedica-psychology-media-gap:var(--space-xl);
 --omedica-rhythm-nav-content:var(--space-xl);
}
html body main.omedica-psychology-refinement .omedica-service-hero.has-direction-media,
html body main.omedica-psychology-refinement .omedica-editorial-media-pair {
 grid-template-columns:var(--omedica-psychology-media-columns);gap:var(--omedica-psychology-media-gap);
}
html body main.omedica-psychology-refinement .omedica-direction-media {width:100%;max-width:none;}
html body main.omedica-psychology-refinement :is(.omedica-service-hero img,.omedica-editorial-media-pair img) {
 width:100%;height:auto;border-radius:var(--wp--custom--radius--md);object-fit:contain;
}
html body main.omedica-psychology-refinement :is(.omedica-qa-question,.omedica-qa-answer) {padding-inline-start:calc(1.375rem + var(--space-xs));}
html body main.omedica-psychology-refinement :is(.omedica-qa-question,.omedica-qa-answer)::before {top:.15em;}
@media(max-width:1199px){html body main.omedica-psychology-refinement {--omedica-rhythm-nav-content:calc(var(--space-md) + var(--space-md));}}
@media(max-width:767px){html body main.omedica-psychology-refinement {--omedica-rhythm-nav-content:calc(var(--space-md) + var(--space-sm));}}
@media(max-width:900px){
 html body main.omedica-psychology-refinement .omedica-editorial-media-pair,
 html body main.omedica-psychology-refinement .omedica-service-hero.has-direction-media {grid-template-columns:minmax(0,1fr);}
}

/* CMP-INFO-002: explicitly authored native information compositions, 2026-10-10. */
html body .omedica-info-redesign {min-width:0;overflow-wrap:anywhere;}
html body .omedica-info-redesign > .omedica-info-section {
 padding:var(--space-xl) 0;margin:0;border:0;border-bottom:1px solid var(--wp--preset--color--border);background:transparent;box-shadow:none;border-radius:0;
}
html body .omedica-info-redesign > .omedica-info-section:first-child {padding-top:0;}
html body .omedica-info-redesign .omedica-info-section :is(p,ul,ol) {max-width:72ch;line-height:1.65;}
html body .omedica-info-redesign .omedica-info-section :is(h2,h3,h4) {max-width:38ch;text-wrap:pretty;}
html body .omedica-info-redesign .omedica-info-section :is(.omedica-domain-surface,.omedica-content-section,.omedica-info-topic) {
 padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;
}
html body .omedica-info-redesign :is(.omedica-info-columns,.omedica-info-media) {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-xl);align-items:start;
}
html body .omedica-info-redesign .omedica-info-media {grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);}
html body .omedica-info-redesign :is(.omedica-info-copy,.omedica-info-visual,.omedica-info-columns > *) {min-width:0;}
html body .omedica-info-redesign .omedica-info-visual figure {margin:0;width:100%;}
html body .omedica-info-redesign .omedica-info-section img {max-width:100%;height:auto;object-fit:contain;}
html body .omedica-info-redesign .omedica-info-topics {display:grid;gap:var(--space-xl);}
html body .omedica-info-redesign .omedica-info-topic > :first-child {margin-top:0;}
html body .omedica-info-redesign .omedica-info-topic > :last-child {margin-bottom:0;}
@media(min-width:1200px){html body .omedica-info-redesign .omedica-info-list-columns ul {columns:2;column-gap:var(--space-xl);max-width:none;}}
@media(max-width:1000px){html body .omedica-info-redesign :is(.omedica-info-columns,.omedica-info-media){grid-template-columns:minmax(0,1fr);} }
@media(max-width:767px){html body .omedica-info-redesign > .omedica-info-section{padding-block:var(--space-lg);} }

html body .omedica-info-redesign .omedica-info-verbatim-list {list-style:none;padding-inline-start:0;}
/* Long Russian terms must reflow even when the base heading style resets wrapping. */
html body .omedica-info-redesign .omedica-info-section :is(h2,h3,h4,p,li) {overflow-wrap:anywhere;word-break:normal;}
html body .omedica-info-redesign .omedica-info-columns > * > :first-child {margin-block-start:0;}
/* Preserve program composition markup; only allow unbroken words to fit at 200% text. */
html body .omedica-info-redesign :is(h2,h3,h4,p,li) {overflow-wrap:anywhere;word-break:normal;}

/* CMP-INFO-002 second pass: predictable prose rhythm, scoped to the audited blocks. */
html body .omedica-info-refined > .omedica-info-section {padding-block:var(--space-lg);}
html body .omedica-info-refined .omedica-info-section :is(p,ul,ol) {max-width:72ch;margin-block:0 var(--space-md);}
html body .omedica-info-refined .omedica-info-section :is(h2,h3,h4) {margin-block:var(--space-lg) var(--space-sm);}
html body .omedica-info-refined .omedica-info-section > :first-child,
html body .omedica-info-refined .omedica-info-copy > :first-child {margin-block-start:0;}
html body .omedica-info-refined .omedica-info-section > :last-child,
html body .omedica-info-refined .omedica-info-copy > :last-child {margin-block-end:0;}
html body .omedica-info-refined .omedica-info-section :is(ul,ol) {padding-inline-start:1.4em;list-style-position:outside;columns:1;}
html body .omedica-info-refined .omedica-info-section ul {list-style-type:disc;}
html body .omedica-info-refined .omedica-info-section ol {list-style-type:decimal;}
html body .omedica-info-refined .omedica-info-section li {margin-block:0 var(--space-xs);padding-inline-start:.15em;break-inside:avoid;}
html body .omedica-info-refined .omedica-info-section li::before {content:none;}
html body .omedica-info-refined .omedica-info-section li > :is(ul,ol) {margin-block:var(--space-xs);}
html body .omedica-info-refined .omedica-info-columns {gap:var(--space-lg);}
html body .omedica-info-refined .omedica-info-columns > * > :is(p,ul,ol) {max-width:none;}
html body .omedica-info-refined .omedica-info-columns--three {grid-template-columns:repeat(3,minmax(0,1fr));}
html body .omedica-info-refined .omedica-info-topics {gap:var(--space-lg);}
html body .omedica-info-refined .omedica-info-media {gap:var(--space-lg);grid-template-columns:minmax(0,3fr) minmax(0,2fr);}
html body .omedica-info-refined .omedica-info-visual {width:100%;max-width:28rem;}
html body .omedica-info-refined .omedica-info-visual figure {padding:0;}
html body .omedica-info-refined .omedica-info-visual img {display:block;width:100%;height:auto;border-radius:var(--wp--custom--radius--md);}
html body .omedica-info-refined .wp-block-details {width:100%;max-width:72ch;margin:0;border:0;border-bottom:1px solid var(--wp--preset--color--border);padding-block:var(--space-md);}
html body .omedica-info-refined .wp-block-details summary {min-height:44px;font-weight:500;line-height:1.5;cursor:pointer;}
html body .omedica-info-refined .wp-block-details summary:hover {color:var(--wp--preset--color--action);}
html body .omedica-info-refined .wp-block-details summary:focus-visible {outline:2px solid var(--wp--preset--color--action);outline-offset:4px;}
html body .omedica-info-refined .wp-block-details > :last-child {margin-block-end:0;}
html body .omedica-service-hero .omedica-info-hero-copy {font-size:var(--wp--preset--font-size--small);line-height:1.65;max-width:64ch;overflow-wrap:anywhere;}
@media(max-width:1199px){html body .omedica-info-refined .omedica-info-columns--three {grid-template-columns:minmax(0,1fr);}}
@media(max-width:1000px){html body .omedica-info-refined .omedica-info-media {grid-template-columns:minmax(0,1fr);}}
@media(max-width:767px){html body .omedica-info-refined > .omedica-info-section {padding-block:var(--space-lg);}}
/* Keep reviewed long enumerations compact without forcing columns under text enlargement. */
@media(min-width:1200px){html body .omedica-info-refined .omedica-info-list-columns > ul {max-width:none;column-count:2;column-width:24rem;column-gap:var(--space-lg);}}
/* A full portrait equipment photo stays intact and never forces a tall empty text column. */
html body .omedica-info-refined .omedica-info-visual--portrait img {max-height:24rem;width:auto;max-width:100%;object-fit:contain;}

/* Program composition: native metadata lists, native stage Groups and Tables. */
html body .omedica-program-composition {min-width:0;max-width:100%;overflow-wrap:anywhere;}
html body .omedica-program-composition--list,
html body .omedica-program-composition--stage {max-width:72ch;padding:0;margin-block:var(--space-lg);border:0;background:transparent;border-radius:0;box-shadow:none;}
html body .omedica-program-composition :is(h2,h3) {margin-block:0 var(--space-md);line-height:1.35;}
html body .omedica-program-composition :is(ul,ol) {max-width:72ch;padding-inline-start:1.4em;margin:0;columns:1;}
html body .omedica-program-composition li {margin-block:0 var(--space-xs);line-height:1.55;}
html body .omedica-program-composition--variants {max-width:72ch;}
html body .omedica-program-composition--stage + .omedica-program-composition--stage {border-block-start:1px solid var(--wp--preset--color--border);padding-block-start:var(--space-lg);}
html body .omedica-program-composition--table {margin-block:var(--space-lg);}
html body .omedica-program-composition--table .omedica-article-table {max-width:100%;overflow-x:auto;}
html body .omedica-program-composition--table table {width:100%;table-layout:fixed;border-collapse:collapse;min-width:0;}
html body .omedica-program-composition--table :is(th,td) {height:auto;min-height:0;padding:var(--space-sm) var(--space-md);vertical-align:top;line-height:1.55;word-break:normal;overflow-wrap:anywhere;border:0;border-bottom:1px solid var(--wp--preset--color--border);}
html body .omedica-program-composition--table :is(th,td):first-child {width:72%;}
html body .omedica-program-composition--table :is(th,td):last-child {width:28%;}
html body .omedica-program-composition--table th {text-align:left;background:var(--wp--preset--color--surface);font-weight:600;}
html body .omedica-program-composition--table td {background:transparent;}
/* The first prose section begins below the page navigation, without an orphan rule. */
html body .omedica-program-composition-page .omedica-reading-body > .omedica-content-navigation > .omedica-info-section:first-child {border-block-start:0;}
html body .omedica-laboratory-page .omedica-laboratory-intro {max-width:72ch;margin-block:var(--space-lg);padding:0;border:0;background:transparent;}
html body .omedica-laboratory-page :is(.omedica-laboratory-intro,.omedica-laboratory-info) :is(p,ul,ol) {font-size:var(--wp--preset--font-size--small);line-height:1.65;max-width:72ch;margin-block:0 var(--space-md);}
html body .omedica-laboratory-page .omedica-laboratory-intro h2 {font-size:var(--wp--preset--font-size--large);margin-block:0 var(--space-md);}
html body .omedica-laboratory-page .omedica-laboratory-info h3 {font-size:var(--wp--preset--font-size--medium);line-height:1.4;}
html body .omedica-laboratory-page .omedica-laboratory-info .omedica-info-columns {gap:var(--space-lg);}
html body .omedica-laboratory-page .omedica-laboratory-info .omedica-info-section:first-child {border-block-start:0;}
@media(max-width:767px){
 html body .omedica-program-composition--table :is(th,td) {padding:var(--space-sm);}
 html body .omedica-program-composition--table :is(th,td):first-child {width:66%;}
 html body .omedica-program-composition--table :is(th,td):last-child {width:34%;}
}
html body .omedica-program-composition--stage {max-width:96ch;font-size:var(--wp--preset--font-size--small);}
html body .omedica-program-composition :is(ul,ol,table) {font-size:var(--wp--preset--font-size--small);}
html body .omedica-program-composition--variants {max-width:96ch;}
/* Long clinical terms must wrap even when prose defaults reset inheritance. */
html body .omedica-program-composition :is(h2,h3,p,li,th,td),
html body .omedica-laboratory-page .omedica-laboratory-intro :is(h2,p) {overflow-wrap:anywhere;word-break:normal;}
@media(min-width:1200px){html body .omedica-program-composition-page .omedica-program-composition--long > ul {max-width:none;column-count:2;column-width:22rem;column-gap:var(--space-lg);}}

html body .omedica-program-composition--variants .omedica-program-composition--stage > :first-child {margin-block-start:0;}
/* Retain table semantics and headers; group each study with its labelled condition. */
@media(max-width:480px){
 html body .omedica-program-composition--table thead {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;}
 html body .omedica-program-composition--table :is(table,tbody,tr) {display:block;width:100%;}
 html body .omedica-program-composition--table tbody tr {padding-block:var(--space-md);border-bottom:1px solid var(--wp--preset--color--border);}
 html body .omedica-program-composition--table :is(th,td):is(:first-child,:last-child) {display:block;width:auto;padding:0;border:0;}
 html body .omedica-program-composition--table td::before {content:attr(data-label);display:block;font-weight:600;font-size:inherit;color:var(--wp--preset--color--text-muted);margin-block-end:var(--space-xs);}
 html body .omedica-program-composition--table td + td {margin-block-start:var(--space-sm);}
}

/* The existing information media composition is also usable from the inserter/editor. */
.editor-styles-wrapper .omedica-info-media {
 display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:var(--space-lg);align-items:start;
}
.editor-styles-wrapper :is(.omedica-info-copy,.omedica-info-visual) {min-width:0;}
.editor-styles-wrapper .omedica-info-visual img {display:block;width:100%;height:auto;object-fit:contain;border-radius:var(--wp--custom--radius--md);}
@media(max-width:1000px){.editor-styles-wrapper .omedica-info-media {grid-template-columns:minmax(0,1fr);}}
