/* page.service-fees.css · Service Fees only: placement and size of the page's own w-service-fees- classes (briefs 017, 021). */

/* ---- hero: the h1 is two questions, each on its own line (038 #2): a block each, so balance works inside one question ---- */
.w-service-fees-q { display: block; }
/* From 1200 the h1 takes 1–12: on 1–9 (882) neither question fits one line at 96 ("Was a service provided?" 1011,
   "What should the charge be?" 1166, measured); on 1184 each does. Below 1200 a question takes two lines of its own. */
@media (min-width: 1200px) { .w-service-fees-hero .w-hero-h { grid-column: 1 / -1; } }

/* ---- S2: the Benefits Test of S-1223…1982 with ¶7.6 opened in full, on 1–12; the continuation on 7–12 under it ---- */
.w-service-fees-doc .w-k { --k: 1.1; }
@media (max-width: 1199px) { .w-service-fees-doc .w-k { --k: 1; } }
/* from 1200: the provider column (6) and the ¶7.6 sentences beside it (6), a hairline between, as the app sets its drawer,
   the sentences in the drawer's own scroll with the plate's 72 px fade at its foot. Below 1200 the opened clause grows.
   R17 (025 SF #1): the plate is as tall as the provider column; the drawer takes no height of its own (contain: size), so
   the row is the column's and the sentences fade at the column's foot. R19 (033 #1): the drawer is .w-comp-full.is-beside
   (v1.7), so from 1200 it has no top rule and no top margin; the -14 that cancelled that margin is gone. */
.w-service-fees-bt-b:focus-visible { outline-offset: -3px; }
@media (min-width: 1200px) {
  .w-service-fees-bt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .w-service-fees-bt-b { contain: size; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 0 72px 24px; margin: 0 0 -32px -24px;
    border-left: 1px solid #E3E6E8;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent); }
}
/* R18 (029 SF #1): below 1200 the opened clause is the drawer again, 560 high, scrolling inside, its content fading in
   its last 72 (a mask on the drawer's content; the plate's paper stays). */
@media (max-width: 1199px) {
  .w-service-fees-bt-b { height: 560px; overflow-y: auto; overscroll-behavior-y: contain; padding-bottom: 72px;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent); }
}
.w-service-fees-after { margin-top: var(--gap-ev); }

/* ---- S1: the fee list on 7–12 in the app's own scroll (420); the plate ends 32 under it and fades its last 72 (029 #2) ---- */
.w-service-fees-list { padding: 28px 32px 32px; }
.w-service-fees-list [tabindex]:focus-visible { outline-offset: -3px; }
@media (max-width: 599px) { .w-service-fees-list { padding: 20px 20px 32px; } }
.w-service-fees-fees .w-k { --k: 1.1; }
@media (max-width: 1199px) { .w-service-fees-fees .w-k { --k: 1; } }

/* ---- the tool-name line at the foot: system 7 (v1.6, toolnames()); nothing of mine ---- */

/* R39 (4): with its film, the hero is at least 640 tall from 1200 (the film fills it); nothing below 1200 */
@media (min-width: 1200px) { .w-service-fees-hero:has(> .w-film.is-full) { min-height: 640px; } }
/* R39: from 1200 the film hero ends 96 below its last line; the chapter opens 64 down: the standard 160 */
@media (min-width: 1200px) { .w-service-fees-hero:has(> .w-film.is-full) + .w-ch { padding-top: 64px; } }
