/* Only explicit user choices override composition defaults. No page IDs or site identity. */
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-group.is-style-surface-main{background:var(--brand-bg);color:var(--brand-white)}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-group.is-style-surface-soft{background:var(--wp--preset--color--ui-alternate);color:var(--brand-white)}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-group.is-style-surface-contrast{background:var(--wp--preset--color--ui-contrast);color:var(--brand-on-deep)}
:is(.sitekit-site,.editor-styles-wrapper) .wp-block-group.is-style-frame{padding:clamp(20px,3vw,36px);border:1px solid var(--brand-line);border-radius:14px}
:is(.sitekit-site,.editor-styles-wrapper) .has-text-color :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,summary):not(.has-text-color):not(:where(.has-text-color .has-text-color *)){color:inherit!important}
:is(.sitekit-site,.editor-styles-wrapper) .has-text-color :is(strong,em){color:inherit}
:is(.sitekit-site,.editor-styles-wrapper) [style*="background-color:"].has-background{background-image:none!important}
:is(.sitekit-site,.editor-styles-wrapper) .is-style-surface-contrast :is(h1,h2,h3,h4,p,li):not(.has-text-color){color:inherit}
:is(.sitekit-site,.editor-styles-wrapper) .has-text-color a:not(.wp-element-button){color:inherit}
/* The editor shares the responsive portrait structure, not just its background. */
.editor-styles-wrapper .ui-about-container{width:100%;max-width:var(--site-width,1280px);margin-inline:auto}
.editor-styles-wrapper .ui-about-profile{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(28px,5vw,72px)}
.editor-styles-wrapper .ui-about-visual{display:flex;align-items:flex-end;max-height:580px;overflow:hidden}
.editor-styles-wrapper .ui-about-portrait{display:flex;align-items:flex-end;margin:0;width:100%}
.editor-styles-wrapper .ui-about-portrait img{display:block;width:100%;height:auto;max-height:580px;object-fit:contain}
.editor-styles-wrapper .ui-about-copy{min-width:0}
.editor-styles-wrapper .ui-about-copy p{line-height:1.75}
@media(max-width:700px){.editor-styles-wrapper .ui-about-profile{grid-template-columns:1fr}.editor-styles-wrapper .ui-about-portrait img{max-height:420px}}
