/* Shared edge treatment: each section overlaps the previous opaque surface.
   Only the upper corners are rounded; wrappers never paint a second surface. */
body:is(.au-page,.bilka-page) main:is(.au-template,.bilka-case-layout) > .case-surface.case-surface {
 position:relative;
 z-index:var(--case-surface-order);
 width:100%;
 max-width:none;
 box-sizing:border-box;
 margin-left:0;
 margin-right:0;
 border-radius:48px 48px 0 0;
}
body:is(.au-page,.bilka-page) main:is(.au-template,.bilka-case-layout) > .case-surface + .case-surface {
 margin-top:-48px;
}
body.au-page main.au-template > .case-surface.au-service-copy,
body.bilka-page main.bilka-case-layout > .case-surface.uk-project-ending {
 background:none;
 isolation:auto;
}
body.au-page main.au-template > .case-surface.au-service-copy::before { content:none; }
body.au-page main.au-template > .case-surface.au-service-copy > #au-service-copy,
body.bilka-page main.bilka-case-layout > .case-surface.uk-project-ending .uk-chapters-copy {
 margin-top:0;
 border-radius:48px 48px 0 0;
}
body.au-page main.au-template > .case-surface.au-application-section { background:var(--au-context,var(--paper)); }
@media(max-width:800px) {
 body:is(.au-page,.bilka-page) main:is(.au-template,.bilka-case-layout) > .case-surface.case-surface {
  border-radius:32px 32px 0 0;
 }
 body:is(.au-page,.bilka-page) main:is(.au-template,.bilka-case-layout) > .case-surface + .case-surface { margin-top:-32px; }
 body.au-page main.au-template > .case-surface.au-service-copy > #au-service-copy,
 body.bilka-page main.bilka-case-layout > .case-surface.uk-project-ending .uk-chapters-copy { border-radius:32px 32px 0 0; }
}
@media print {
 body:is(.au-page,.bilka-page) main:is(.au-template,.bilka-case-layout) > .case-surface + .case-surface { margin-top:0; }
}
