/* Custom Applications page: where the notes in the opening point.
   Everything else comes from the service page template (business-websites-page.css), which also explains the terms:
   fx, fy: the place a note is about, as a share of its picture's width and height. run: how far to the side of that place the note
   stands (positive: to its left). gap: how far outside the picture. at: how far along the note's edge the line leaves it.
   n: the order the notes arrive in. The places come from what custom_applications_pictures.py prints when it captures the three pages.
   Where a note is about a word, its dot stands at the start of the word or on the icon beside it, so the word stays readable. */

/* Le Mas de Fanfan room booking, behind and top right: its language choice, the icon of the Book now button, and the calendar of the
   check-out date. The last note stands in the open space on the right, clear of the page in front. */
#Form #bw_top [data-qs-node="bw_call_tongues"] { --bw-fx: .746; --bw-fy: .072; --bw-run: 20cqw; --bw-at: .5; --bw-n: 2; }
#Form #bw_top [data-qs-node="bw_call_book"] { --bw-fx: .871; --bw-fy: .071; --bw-run: 12cqw; --bw-gap: 15cqw; --bw-at: .5; --bw-n: 3; }
#Form #bw_top [data-qs-node="bw_call_dates"] { --bw-fx: .925; --bw-fy: .342; --bw-run: 9cqw; --bw-gap: 14cqw; --bw-at: .3; --bw-n: 7; }
/* BeautyNavigator, in front. Two notes reach into the open space top left on long lines: to Directory and to Reverse Auctions in its menu.
   The third points at the AI Suite in its list of tools. */
#Form #bw_top [data-qs-node="bw_call_directory"] { --bw-fx: .255; --bw-fy: .111; --bw-run: 16cqw; --bw-gap: 6cqw; --bw-at: .82; --bw-n: 0; }
#Form #bw_top [data-qs-node="bw_call_auctions"] { --bw-fx: .4555; --bw-fy: .111; --bw-run: 34cqw; --bw-gap: 20cqw; --bw-at: .82; --bw-n: 1; }
#Form #bw_top [data-qs-node="bw_call_ai"] { --bw-fx: .849; --bw-fy: .564; --bw-run: -4cqw; --bw-at: .22; --bw-n: 6; }
/* Scaife Protection, behind and bottom left: the gears beside "Build your Guard", and the list of pre-built guards. */
#Form #bw_top [data-qs-node="bw_call_quote"] { --bw-fx: .358; --bw-fy: .647; --bw-run: 8cqw; --bw-at: .5; --bw-n: 4; }
#Form #bw_top [data-qs-node="bw_call_prebuilt"] { --bw-fx: .681; --bw-fy: .892; --bw-run: -34cqw; --bw-at: .18; --bw-n: 5; }
/* These stand below their picture, and their lines run up. */
#Form #bw_top :is([data-qs-node="bw_call_ai"], [data-qs-node="bw_call_quote"], [data-qs-node="bw_call_prebuilt"], [data-qs-node="bw_call_dates"]) {
  top: calc(100% + var(--bw-gap)); bottom: auto;
  --bw-rise: calc(-1 * (var(--bw-gap) + (1 - var(--bw-fy)) * var(--bw-pic)));
}
#Form #bw_top :is([data-qs-node="bw_call_ai"], [data-qs-node="bw_call_quote"], [data-qs-node="bw_call_prebuilt"], [data-qs-node="bw_call_dates"])::after { top: 0; }
/* Where the windows are small, fewer notes are shown so that none touch. */
@container bw-opening (max-width: 560px) {
  #Form #bw_top :is([data-qs-node="bw_call_directory"], [data-qs-node="bw_call_tongues"]) { display: none; }
}
@container bw-opening (max-width: 450px) {
  #Form #bw_top [data-qs-role="bw-call"] { font-size: 11px; padding: 6px 8px; }
  #Form #bw_top [data-qs-node="bw_call_dates"] { display: none; }
  /* On a phone the labels are kept inside the screen and apart from each other. */
  #Form #bw_top [data-qs-node="bw_call_quote"] { --bw-run: 7cqw; --bw-at: .45; }
  #Form #bw_top [data-qs-node="bw_call_prebuilt"] { --bw-run: -30cqw; --bw-at: .12; }
}
