/* ==========================================================================
   BOOKING BANNER (16 Nov 2026). The closing block of the service pages and the SEO landers: one rounded frame on the
   page margin at the end of the white page, holding the studio's mark, "Let's talk about / your brand." (per page),
   one line, ONE button and the price line (the price, then the live sprint slots on brand and web). Markup:
   scripts/booking/banner.html, installed by scripts/booking/install_banner.py (never edited by hand). Behaviour:
   booking.js, which sets data-state:
     choose    the button and the price line (light frame). The markup ships in this state.
     step      in the button's place: one question as chips (a tap), the work email, Back and Continue (light frame)
     calendar  the Cal.com calendar, prefilled (the frame turns dark for Cal.com's dark embed)
   Without JavaScript (@media (scripting: none)) the frame is dark and holds only a link to Cal.com.
   The block between booking:critical markers is also inlined in each page's head by install_banner.py, so the frame is
   drawn right even before this file (loaded late, off the critical path) arrives; edit it here and run --install.

   THE PROXIMITY RULE. Three groups, each tighter inside than the space between them, the frame's padding larger again:
     sign    the burst, alone
     offer   the heading and the line under it
     action  the button and the price line under it (in step: the form)
   Spaces are measured on the ink (capitals to baseline, Inter Tight: ascent 0.97, descent 0.24, cap height 0.7275)
   and set from the heading's line height L (0.98 of its size from 769 px, 1.02 on phones):
     inside a group   g = 0.34 L, never under 14 px   heading baseline to the line's capitals (1.6 g there, it read
                                                      tight at g); button to the price line's capitals
     between groups   G = 2.5 g                       the burst to the heading's capitals; the line's baseline to the
                                                      button (or the form's first label)
     the frame        P = 2 G                         the frame's top to the burst; the last line's baseline to its foot
   At 1440 (64 px heading) g 21.3, G 53.3, P 107. At 1920 (72 px) 24, 60, 120. On an iPhone 13 (33 px) 14, 35, 70.
   The burst is 1.5 of the heading's cap height. The white page shows the section space above and below the frame.

   The form is the site's contact form (contact.html, pages.css): label 13 px 12 px over its field; the field 44 px
   everywhere, 8 px corners, 1 px 46% ink edge (3.2:1 on the warm ground; 72% on hover), white, 16 px type; chips in
   the field's language, the chosen one ink; focus one 2 px ring 3 px outside in the frame's ink; error red #B42318
   (6.4:1 on the warm ground). Inside the form the same rule in small: 40 px between its groups (email, the question,
   sending), 20 px or less inside a group.
   ========================================================================== */
/* booking:critical:start */
#book.book-inset {
  --inset-x: var(--gutter);   /* the side margin, as the frame's margin: its base is the page (system.css, --page-margin) */
  --inset-pad-x: 32px;        /* the frame to its content, 768 to 1023 px (the page's column from 1024, below) */
  --book-head: var(--type-display-2);
  --d-lh: 1.02;
  --d-L: calc(var(--d-lh) * var(--book-head));
  --d-g: max(14px, calc(0.34 * var(--d-L)));
  --d-G: calc(2.5 * var(--d-g));
  --d-P: calc(2 * var(--d-G));
  --d-cap: calc((var(--d-lh) / 2 - 0.3638) * var(--book-head));   /* the heading's line top to its capitals */
  --d-desc: calc((var(--d-lh) / 2 - 0.365) * var(--book-head));   /* its baseline to its line's foot */
  --d-sign: calc(1.5 * 0.7275 * var(--book-head));
  --book-column: 480px;
  --book-control-h: 44px;     /* the button (48 px from 1440) */
  --book-field-h: 44px;       /* the field and the chips: 44 px everywhere (gate: touch laptops have a fine primary pointer) */
  --bx-s: 0.8;                /* the opening's start (booking-expand.js) */
  /* the light frame */
  --book-ground: var(--colour-ground-hero);
  --book-fg: var(--colour-ink);
  --book-fg-2: var(--colour-muted);
  --book-ring: var(--colour-ink);
  --book-edge: rgba(9, 9, 11, 0.46);         /* 3.2:1 against the warm ground: a control's edge must read (gate, WCAG 1.4.11) */
  --book-edge-hover: rgba(9, 9, 11, 0.72);
  --book-error: #B42318;
  position: relative;
  isolation: isolate;
  margin: 0 var(--inset-x);
  padding: var(--d-P) var(--inset-pad-x) calc(var(--d-P) - 5.55px);   /* the last line (15 / 22 px): baseline 5.55 px above its foot */
  border-radius: var(--radius-page);
  /* painted as an image, never background-color: the header, theme-color and overscroll.js sample the background colour
     of full-width elements, and the frame would turn the header dark over a frame that sits on the white page */
  background: linear-gradient(var(--book-ground), var(--book-ground));
  color: var(--book-fg);
  overflow: hidden;
  overflow: clip;
  scroll-margin-top: var(--book-land, 68px);   /* a #book link lands the frame 16 px under the header's painted foot: booking.js
                                                measures it (--book-land); these are its values (52 px to 768, 58 to 1024, 63) */
}
#book.book-inset::before { content: none; }
#book.book-inset [hidden] { display: none !important; }
@media (min-width: 769px) {
  #book.book-inset { --d-lh: 0.98; scroll-margin-top: var(--book-land, 74px); }
}
@media (min-width: 1024px) {
  #book.book-inset { --inset-pad-x: calc(var(--container-pad) - var(--inset-x)); }   /* the content on the page's column */
}
@media (min-width: 1025px) {
  #book.book-inset { scroll-margin-top: var(--book-land, 79px); }
}
@media (min-width: 1440px) {
  #book.book-inset { --book-control-h: 48px; }
}
@media (max-width: 767.98px) {
  #book.book-inset { --inset-pad-x: 16px; --book-head: min(calc(9.2vw - 3.3px), 40px); }   /* two lines from 320 to 500 px */
}
/* (17 Nov) under the frame: the site's footer on the same white page, its own top padding the section space
   (.page-content.ends-book-inset, the white band before the dark section, is retired with that section) */
/* the text: sign, heading, line */
#book.book-inset .footer-cta-inner { gap: calc(var(--d-G) - 6.57px); }   /* the line's baseline sits 6.57 px above its foot */
#book.book-inset .footer-cta-text { gap: 0; padding-bottom: 0; }
#book.book-inset .book-sign {
  display: block;
  align-self: center;
  flex: none;
  width: var(--d-sign);
  height: var(--d-sign);
  margin-bottom: calc(var(--d-G) - var(--d-cap));
  color: var(--book-fg);
}
#book.book-inset .footer-cta-heading { font-size: var(--book-head); line-height: var(--d-lh); letter-spacing: -0.045em; color: var(--book-fg); }
@media (min-width: 769px) {
  #book.book-inset .footer-cta-heading { letter-spacing: -0.05em; }
}
#book.book-inset .footer-cta-microcopy {
  margin-top: calc(var(--d-g) * 1.6 - var(--d-desc) - 6.56px);   /* 17 / 25.5 px: capitals 6.56 px down its line */
  color: var(--book-fg-2);
  text-wrap: balance;
}
/* line breaks by sense: each phrase a box the line breaks between, never inside, unless the phrase alone is wider than
   the column (then it wraps within itself: no text is ever clipped, gate B1) */
#book.book-inset .book-nb { display: inline-block; max-width: 100%; }
/* the action: one button, centred, the price line g under it; on phones the button runs the column's width */
#book.book-inset .book-flow { align-self: center; width: min(100%, var(--book-column)); }
#book.book-inset .book-choices { display: flex; flex-direction: column; align-items: center; gap: calc(var(--d-g) - 5.54px); }   /* the line's capitals sit 5.54 px down it */
/* the price line: the price, then (brand, web) the live sprint slots as their own part, 20 px after it on one line; on
   phones under it, on a line of its own that is kept from the start. The availability component (nav.css, drawn by
   nav.js) takes the frame's ink for its count, its label muted. The line stays unseen until it is set (at most 3 s), so
   nothing moves when the slots arrive; none open, the price stands alone */
#book.book-inset .book-slots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 20px; max-width: 100%; margin: 0; font-size: var(--type-caption); font-weight: 400; line-height: 22px; color: var(--book-fg-2); text-align: center; --slots-fg: var(--book-fg); }
#book.book-inset .book-price-fig { color: var(--book-fg); font-weight: 500; }   /* the figure in ink, "fixed" muted: the price pairs with the slots */
#book.book-inset .book-avail { display: inline-flex; }
@media (max-width: 767.98px) {
  #book.book-inset .book-avail { flex-basis: 100%; justify-content: center; min-height: 22px; }
}
@media (scripting: enabled) {
  #book.book-inset .book-slots[data-avail]:not(.is-set) { visibility: hidden; animation: book-slots-show 0s linear 3s forwards; }
}
@keyframes book-slots-show { to { visibility: visible; } }
@media (max-width: 767.98px) {
  #book.book-inset .book-choice { align-self: stretch; }
}
/* buttons: the hero's (44 px, 48 from 1440; 14 px medium, 15 from 1440), ink with white type; Continue the contact
   form's Send (44 px); Back the same size as text in the muted tone, its word on the form's edge */
#book.book-inset :is(.book-choice, .book-continue, .book-back) {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--colour-ink);
  color: var(--colour-white);
  font-family: var(--type-family);
  font-size: var(--type-ui);
  font-weight: 500;
  line-height: 18px;
  letter-spacing: normal;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s, color var(--duration-state);
  -webkit-tap-highlight-color: transparent;
}
#book.book-inset .book-choice { min-width: 12em; min-height: var(--book-control-h); }
/* the honeypot is never seen, even before booking.css arrives */
#book.book-inset .book-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
#book.book-inset .book-back { padding: 0 12px; margin-left: -12px; background: none; color: var(--book-fg-2); }
@media (min-width: 1440px) {
  #book.book-inset .book-choice { font-size: 15px; }
}
/* booking:critical:end */
/* booking.js reveals step one only once this file is applied (the sentinel below), so the form is never seen unstyled */
#book.book-inset { --book-css: 1; }

/* ---- Not needed before this file arrives (they apply only after a press, or as the frame nears, or without
   JavaScript, when this file is loaded at once by the page's noscript link) ---- */
/* the dark frame: the calendar (also whenever the calendar shows without booking.js: lander.js's fallback) */
#book.book-inset[data-state="calendar"],
#book.book-inset:has(.footer-cta-calendar:not([hidden])) {
  --book-ground: var(--colour-ink);
  --book-fg: var(--colour-white);
  --book-fg-2: var(--colour-on-dark-body);
  --book-ring: var(--colour-white);
  padding-bottom: calc(var(--d-P) / 2);   /* Cal.com has its own foot */
}
/* no JavaScript: the dark frame, no steps, the link to Cal.com (in a noscript) and no calendar box that would never load */
@media (scripting: none) {
  #book.book-inset[data-state] { --book-ground: var(--colour-ink); --book-fg: var(--colour-white); --book-fg-2: var(--colour-on-dark-body); --book-ring: var(--colour-white); }
  #book.book-inset .book-flow { display: none !important; }
  #book.book-inset .footer-cta-calendar { display: block !important; }
  #book.book-inset #cal-inline { display: none; }
}
#book.book-inset .book-noscript { margin: 0; font-size: var(--type-caption); line-height: 22px; text-align: center; }
#book.book-inset .book-noscript a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* the frame opening out (booking-expand.js): from 1024 px, without reduced motion, in the choose state only, its ground
   is a layer of its own (::after) the script scales from 80% to 100% about its centre as the frame rises; the type never
   scales and nothing round the frame moves. Once the button is pressed (.bx-rest) the frame stays open. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  #book.book-inset.bx-on[data-state="choose"]:not(.bx-rest) { background-size: 0 0; }
  #book.book-inset.bx-on[data-state="choose"]:not(.bx-rest)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--radius-page);
    background-image: inherit;
    background-size: 100% 100%;
    pointer-events: none;
    transform: scale(var(--bx-sx, 1), var(--bx-sy, 1));
    will-change: transform;
  }
}

/* ---- Focus: one 2 px ring 3 px outside, in the frame's own ink (white on the dark calendar frame and without
   JavaScript), the Privacy policy link included (gate S1) ---- */
#book.book-inset :is(a, button, input, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--book-ring); outline-offset: 3px; }
#book.book-inset .footer-cta-calendar:focus { outline: none; }   /* focus stands here when the calendar opens: a place, not a control */
#book.book-inset .footer-cta-calendar { scroll-margin-top: var(--book-land, 68px); }   /* the calendar opens clear of the header */
@media (hover: hover) {
  #book.book-inset :is(.book-choice, .book-continue):hover { opacity: 0.85; }
  #book.book-inset .book-back:hover { color: var(--book-fg); }
}
/* while the lead is saving (aria-busy, never disabled: the keyboard keeps its place); wins over the hover */
#book.book-inset .book-continue[aria-busy="true"],
#book.book-inset .book-continue[aria-busy="true"]:hover { opacity: 0.6; cursor: progress; }

/* ---- Step one: the contact form, one column ranged left, in the order it is asked (16 Nov): the one question (a tap),
   40 px, the work email, 40 px, Back and Continue, then the privacy line. An error line sits under what it is about
   (booking.js sets data-err on the form; the line stays last in the markup, tied to the field by aria-describedby) ---- */
#book.book-inset .book-step { display: flex; flex-direction: column; align-items: stretch; margin: 0; text-align: left; }
#book.book-inset .book-step > .book-chips { order: 1; }
#book.book-inset .book-step[data-err="need"] > .book-error { order: 2; }
#book.book-inset .book-step > .book-label { order: 3; margin-top: 40px; }
#book.book-inset .book-step > .book-input { order: 4; }
#book.book-inset .book-step[data-err="email"] > .book-error { order: 5; }
#book.book-inset .book-step > .book-actions { order: 6; }
#book.book-inset .book-step > .book-error { order: 7; }
#book.book-inset .book-step > .book-privacy { order: 8; }
#book.book-inset .book-label { display: block; margin: 0 0 12px; padding: 0; font-size: var(--type-small); font-weight: 400; line-height: 16px; color: var(--book-fg-2); }
#book.book-inset .book-input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: var(--book-field-h);
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--book-edge);
  border-radius: var(--radius-control);
  background: var(--colour-white);
  box-shadow: none;
  color: var(--colour-ink);
  font-family: var(--type-family);
  font-size: 16px;   /* so iOS never zooms */
  font-weight: 400;
  line-height: 24px;
  transition: border-color var(--duration-state);
}
#book.book-inset .book-input::placeholder { color: var(--colour-muted); opacity: 1; }
@media (hover: hover) {
  #book.book-inset .book-input:hover { border-color: var(--book-edge-hover); }
}
#book.book-inset .book-input[aria-invalid="true"] { border-color: var(--book-error); }
#book.book-inset .book-input:is(:-webkit-autofill, :autofill) { -webkit-text-fill-color: var(--colour-ink); transition: background-color 600000s 0s, color 600000s 0s; }
/* the question: chips 8 px apart in rows that never leave one chip alone (installer and booking.js set data-count): up
   to four in one row, each as wide as its words; five or six as three a row, in columns (the web sizes: three, then
   two). On phones two a row at equal widths, and an odd last chip runs the full width. The radio is kept for the
   keyboard and screen readers, hidden in place, its ring drawn on its chip */
#book.book-inset .book-chips { --chip-cols: 4; display: grid; grid-template-columns: repeat(var(--chip-cols), max-content); justify-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; position: relative; }
#book.book-inset .book-chips[data-count="2"] { --chip-cols: 2; }
#book.book-inset .book-chips:is([data-count="3"], [data-count="5"], [data-count="6"]) { --chip-cols: 3; }
#book.book-inset .book-chips > legend { float: left; grid-column: 1 / -1; width: 100%; margin: 0 0 4px; }   /* a row of its own, not drawn into the border */
@media (max-width: 767.98px) {
  #book.book-inset .book-chips { grid-template-columns: 1fr 1fr; }
  #book.book-inset .book-chips > label:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
}
#book.book-inset .book-chips > input { -webkit-appearance: none; appearance: none; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
#book.book-inset .book-chips > label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--book-field-h);
  padding: 0 12px;
  border: 1px solid var(--book-edge);
  border-radius: var(--radius-control);
  background: var(--colour-white);
  font-size: var(--type-caption);
  line-height: 20px;
  color: var(--colour-ink);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--duration-state), border-color var(--duration-state), color var(--duration-state);
}
@media (max-width: 767.98px) {
  #book.book-inset .book-chips > label { padding: 4px 10px; white-space: nowrap; text-align: center; }
}
/* the narrowest phones (to 359 px): one step smaller, so the longest answer ("In 2 to 3 months") keeps one line in its
   column (120 px at 320) */
@media (max-width: 359.98px) {
  #book.book-inset .book-chips > label { padding: 4px 6px; font-size: var(--type-ui); }
}
@media (hover: hover) {
  #book.book-inset .book-chips > input:not(:checked) + label:hover { border-color: var(--book-edge-hover); }
}
#book.book-inset .book-chips > input:checked + label { background: var(--colour-ink); border-color: var(--colour-ink); color: var(--colour-white); }
#book.book-inset .book-chips > input:focus-visible + label { outline: 2px solid var(--book-ring); outline-offset: 3px; }
#book.book-inset .book-chips[aria-invalid="true"] > legend { color: var(--book-error); }
#book.book-inset .book-chips:focus { outline: none; }   /* focus rests here after a press: a place, not a control */
/* sending: Back and Continue, 40 px under the email field (the form's space between groups), then the privacy line 12 px
   under them */
#book.book-inset .book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
/* on phones Continue fills the row beside Back (16 Nov, button QA on phones): the banner's own button is the full
   width there, and the step's main button is as easy to reach, under the thumb; Back keeps its place and its order */
@media (max-width: 767.98px) {
  #book.book-inset .book-actions { flex-wrap: nowrap; }
  #book.book-inset .book-actions .book-continue { flex: 1 1 auto; }
}
/* text zoom (gate S2: iOS at 200% lays a 390 px phone out at 195 CSS px) and anything under 300 px: the answers one to a
   row, Continue the column's width with Back under it, the banner's button no wider than the column; words may wrap
   inside a control rather than be cut */
@media (max-width: 299.98px) {
  #book.book-inset .book-chips { grid-template-columns: minmax(0, 1fr); }
  #book.book-inset .book-chips > label { white-space: normal; }
  #book.book-inset .book-actions { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  #book.book-inset .book-actions .book-continue { order: -1; }
  #book.book-inset .book-actions .book-back { align-self: flex-start; }
  #book.book-inset :is(.book-choice, .book-continue, .book-back) { min-width: 0; max-width: 100%; white-space: normal; }
}
/* pressed (gate N1): quiet and at once, on touch as with a mouse */
#book.book-inset :is(.book-choice, .book-continue):active { opacity: 0.72; transition-duration: 0s; }
#book.book-inset :is(.book-back, .book-edit):active { color: var(--book-fg); transition-duration: 0s; }
#book.book-inset .book-chips > input:not(:checked) + label:active { border-color: var(--book-edge-hover); background: var(--colour-pill); transition-duration: 0s; }
#book.book-inset :is(.book-error, .book-privacy) { margin: 12px 0 0; font-size: var(--type-small); font-weight: 400; line-height: 18px; text-align: left; }
#book.book-inset .book-error { color: var(--book-error); }
#book.book-inset .book-privacy { color: var(--book-fg-2); }
#book.book-inset .book-privacy a { color: var(--book-fg-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--duration-state); }
@media (hover: hover) {
  #book.book-inset .book-privacy a:hover { color: var(--book-fg); }
}
@media (any-pointer: coarse) {
  /* the small link: a 44 px hit area without changing how it looks */
  #book.book-inset .book-privacy a { position: relative; }
  #book.book-inset .book-privacy a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
}
#book.book-inset .book-flow :is(button, input, label) { scroll-margin-block: 96px; }   /* clear of the header when brought into view */

/* ---- The calendar (dark). Below 1024 px it steps out of the frame's padding to the frame's width, the width the box
   heights in lander.css were measured at ---- */
@media (max-width: 1023.98px) {
  #book.book-inset .footer-cta-calendar { width: calc(100% + 2 * var(--inset-pad-x)); max-width: none; margin-inline: calc(-1 * var(--inset-pad-x)); }
}
#book.book-inset .book-cal-link { margin: 0; font-size: var(--type-caption); line-height: 22px; text-align: center; }
#book.book-inset .book-cal-link a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* round the calendar (16 Nov, the owner: the two links "feel like an afterthought in the placement and the design"):
   above it ONE centred line, in the banner's own centred voice, says who the booking is for with the way back beside
   it ("Booking as name@company.com  Change"); under it one quiet centred line offers the same booking on Cal.com's
   own page. Nothing sits in the frame's corners. Below 1024 px both keep the frame's padding. */
#book.book-inset .book-cal-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 10px; margin: 0 0 20px; font-size: var(--type-caption); line-height: 22px; color: var(--book-fg-2); text-align: center; }
#book.book-inset .book-cal-who { min-width: 0; overflow-wrap: anywhere; }
#book.book-inset .book-edit-more { display: none; }
/* phones: a two-line lockup, never a word alone: "Booking as" on its own line, then the address and "Change details"
   together where they fit, else the address on its line and "Change details" under it */
@media (max-width: 767.98px) {
  #book.book-inset .book-cal-who { display: contents; }
  #book.book-inset .book-cal-as { flex-basis: 100%; }
  #book.book-inset .book-cal-email { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  #book.book-inset .book-edit { white-space: nowrap; }
  #book.book-inset .book-edit-more { display: inline; }
}
#book.book-inset .book-edit { -webkit-appearance: none; appearance: none; margin: 0; padding: 11px 0; border: 0; background: none; font: inherit; color: var(--book-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
#book.book-inset .book-cal-alt { margin: 16px 0 0; font-size: var(--type-small); line-height: 18px; color: var(--book-fg-2); text-align: center; }
#book.book-inset a.book-cal-direct { display: inline-flex; align-items: center; min-height: 44px; color: var(--book-fg-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--duration-state); }
@media (hover: hover) {
  #book.book-inset a.book-cal-direct:hover { color: var(--book-fg); }
}
/* the embed failed: its box goes, one line says so with the link */
#book.book-inset .book-cal-failed { margin: 16px 0 24px; font-size: var(--type-caption); line-height: 22px; color: var(--book-fg); text-align: center; }
#book.book-inset .book-cal-failed a.book-cal-direct { color: var(--book-fg); }
#book.book-inset #cal-inline.cal-failed { display: none; }
@media (max-width: 1023.98px) {
  #book.book-inset :is(.book-cal-bar, .book-cal-failed, .book-cal-alt) { padding-inline: var(--inset-pad-x); }
}
@media (scripting: none) {
  #book.book-inset :is(.book-cal-bar, .book-cal-failed, .book-cal-alt) { display: none !important; }
}
