/*! fmapewm-schedule.css  v1.4.5  2026-11-19
   1.4.5: a short section at the end for the confirmation page (library classes; spacing
   and hidden states only, scoped to the page's IDs).
   v1.4.0  2026-11-16
   1.4.0: a short section at the end for the schedule module's own markup (library
   classes throughout): hidden rows, the empty-state button and the payment frame height.
   The fm-course-schedule rules above stay until no page carries its mount; then remove
   them (Overview, Course dates, lists those pages).
   v1.2.7  2026-11-04
   [FM APE Website Management] dates rows: fm-course-schedule's mount, dressed in the
   library's dates rows (fm-pattern-library v1.0.11, .dates .head and .dates .row,
   desktop table and phone cards) until the schedule module (day 18) prints the library
   markup itself. Carlie, 4 November 2026: the course and city pages are approved only
   once they can be seen as the frozen mock-ups (course-bppfm v2.16, sydney3a v2.20).

   HAND-WRITTEN, the one exception to "generated from the library": fm-course-schedule
   writes its own class names (.fm-row, .fm-cell-date and the rest, in the browser,
   fm_js_row_html() in v13.49), which are not library classes, so build-css.js cannot
   produce these rules. Every value below is a library value through the --fmapewm-*
   tokens; nothing new is designed here. Remove this file when the day 18 module lands.

   Scope: only a mount inside a library dates section on a switched page
   (.fmapewm .fmapewm-dates). The schedule page, checkout and every page on the theme
   are untouched, and fm-course-schedule itself is never changed. Selectors start at
   0-4-0, above fm-course-schedule's own (0-3-0, 0-4-0 at most, including its
   container queries); !important only where fm-course-schedule uses it.

   Mapping (fm-course-schedule, library):
     .fm-head                      .head (Online Price shown as Price)
     .fm-row                       .row
     .fm-cell-date .fm-date        .d       .fm-days as its small line; chip and the
                                            date cell's format hidden (no status chips,
                                            2 October 2026)
     .fm-cell-course .fm-course    .c       .fm-desc as its small line on city and
                                            homepage mounts; hidden on a course page
                                            mount (data-course): course name only
     .fm-cell-course .fm-meta      .l       city, then region and format as its small
                                            line ("EMEA · In-person"). .fm-cell-loc is
                                            hidden: it carries no format
     .fm-cell-price                .p       "plus taxes" as its small line
     .fm-cta / .fm-cta.sec         .btn / .btn.btn-ghost (Register / Enquire)
     .fm-foot                      .fine
   Not changeable from CSS: the date text (fm-course-schedule writes "17 – 18 Nov 2026"
   with an en dash; the library writes a spaced hyphen) and the format ("In-person").
*/

/* ----- the mount: library type, no fm-course-schedule tokens ----- */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule]{margin:0;color:var(--fmapewm-ink);font-family:var(--fmapewm-font);font-size:var(--fmapewm-fs-body);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-reg);container-type:normal}

/* ----- desktop table (901px and up), set in full so no fm-course-schedule container
   query (1040px, 880px, 640px, 340px of the mount's width) can show through ----- */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-head,
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-row{display:grid;grid-template-columns:180px minmax(0,1fr) 140px 110px 130px;grid-template-rows:auto auto;column-gap:24px;row-gap:0;margin:0;background:none;border-radius:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-head{padding:0 0 10px;border:0;border-bottom:2px solid var(--fmapewm-ink);font-size:var(--fmapewm-fs-small);font-weight:var(--fmapewm-fw-bold);letter-spacing:0;text-transform:none;color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-head span{grid-row:1}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-head span:nth-child(4){font-size:0;text-align:right}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-head span:nth-child(4)::after{content:"Price";font-size:var(--fmapewm-fs-small)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-rows{margin:0;padding:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-row{align-items:center;padding:16px 0;border:0;border-bottom:var(--fmapewm-rule-w) solid var(--fmapewm-rule)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-row:hover{background:none}

/* date */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date{grid-column:1;grid-row:1 / span 2;display:block;margin:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-date{display:block;font-size:var(--fmapewm-fs-body);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-bold);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-sub{display:block;margin:0;gap:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-sub-fmt,
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-chip{display:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-days{display:block;margin:0;font-size:var(--fmapewm-fs-small);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-reg);color:var(--fmapewm-ink);text-wrap:pretty}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-days::before{content:none}

/* course: the cell's own box steps aside so its parts sit in the row's columns */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-course{display:contents}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-course{grid-column:2;grid-row:1;align-self:start;display:block;-webkit-line-clamp:none;overflow:visible;font-size:var(--fmapewm-fs-body);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-bold);color:var(--fmapewm-ink);text-decoration:none;border:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] a.fm-course:hover{color:var(--fmapewm-blue);text-decoration:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-desc{grid-column:2;grid-row:2;align-self:start;display:block;-webkit-line-clamp:none;overflow:visible;margin:0;font-size:var(--fmapewm-fs-small);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-reg);color:var(--fmapewm-ink);text-wrap:pretty}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule][data-course] .fm-desc{display:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-fmt-tag,
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-loc{display:none}

/* location: city, then region and format */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta{grid-column:3;grid-row:1 / span 2;display:block;margin:0;font-size:var(--fmapewm-fs-small);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-reg);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-city{display:block;font-size:var(--fmapewm-fs-body);font-weight:var(--fmapewm-fw-bold);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-region,
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-fmt{display:inline;margin:0;font-size:var(--fmapewm-fs-small);letter-spacing:0;text-transform:none;color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-fmt .fm-meta-sep{display:inline;margin:0 .25em;color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-days{display:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-city-link{color:var(--fmapewm-ink);font-weight:var(--fmapewm-fw-bold);text-decoration:none;border:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-city-link:hover{color:var(--fmapewm-blue);text-decoration:none}

/* price and button */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-right{display:contents}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price{grid-column:4;grid-row:1 / span 2;display:block;min-width:0;margin:0;text-align:right;white-space:normal;justify-self:stretch}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price{font-size:var(--fmapewm-fs-body);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-bold);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price-ex,
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price-enq{display:block;margin:0;font-size:var(--fmapewm-fs-small);line-height:var(--fmapewm-lh-body);font-weight:var(--fmapewm-fw-reg);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-cta{grid-column:5;grid-row:1 / span 2;display:block;margin:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-cta .fm-cta,
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cta{display:inline-block;width:100%;margin:0 !important;padding:12px 0;box-sizing:border-box;background:var(--fmapewm-btn-bg);color:var(--fmapewm-white);border:1px solid var(--fmapewm-btn-bg);border-radius:var(--fmapewm-radius);font-family:inherit;font-size:.9rem;font-weight:var(--fmapewm-fw-btn);line-height:1.2;text-align:center;text-decoration:none;transition:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cta:hover{background:var(--fmapewm-btn-bg-hover);border-color:var(--fmapewm-btn-bg-hover);color:var(--fmapewm-white)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cta.sec{background:transparent;color:var(--fmapewm-ink);border-color:var(--fmapewm-btn-line)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cta.sec:hover{background:transparent;color:var(--fmapewm-btn-line-hover);border-color:var(--fmapewm-btn-line-hover)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cta:focus-visible{outline:3px solid var(--fmapewm-indigo);outline-offset:3px}

/* after the rows: the More link, the tax note and the group band, if a mount shows them
   (the course and city pages switch the note and band off and carry the library lede and
   fine print instead), and the empty state */
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-more{display:inline-block;margin:1rem 0 0;font-size:var(--fmapewm-fs-body);font-weight:var(--fmapewm-fw-bold);color:var(--fmapewm-link-ui) !important;text-decoration:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-more:hover{color:var(--fmapewm-link-ui-hover) !important;text-decoration:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-foot{margin:1.4rem 0 0;font-size:var(--fmapewm-fs-small);line-height:var(--fmapewm-lh-body);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:1.4rem 0 0 !important;padding:16px 0 0;background:none;border:0;border-top:var(--fmapewm-rule-w) solid var(--fmapewm-rule);border-radius:0}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band-text{margin:0;font-size:var(--fmapewm-fs-body);color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band-text b{color:var(--fmapewm-ink)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band-long{display:inline}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band-short{display:none}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band .fm-band-cta{width:auto;padding:var(--fmapewm-btn-pad);font-size:var(--fmapewm-btn-fs);background:transparent;color:var(--fmapewm-ink);border-color:var(--fmapewm-btn-line);white-space:nowrap}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band .fm-band-cta:hover{color:var(--fmapewm-btn-line-hover);border-color:var(--fmapewm-btn-line-hover)}
.fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-empty{padding:24px 0;font-size:var(--fmapewm-fs-body);color:var(--fmapewm-ink);border-bottom:var(--fmapewm-rule-w) solid var(--fmapewm-rule)}

/* ----- phone (900px and below): library dates cards ----- */
@media (max-width:900px){
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-head{display:none}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-row{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:18px;margin:0 0 16px;background:var(--fmapewm-white);border:var(--fmapewm-rule-w) solid var(--fmapewm-rule)}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-course,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-desc,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-cta{align-self:stretch}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-course{order:1;padding:0;margin:0}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-desc{order:2;margin:4px 0 0}
  /* the rule under the course block: under the description on city pages, under the
     name on a course page (no description shown) */
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule]:not([data-course]) .fm-desc,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule][data-course] .fm-course{padding-bottom:12px;margin-bottom:12px;border-bottom:var(--fmapewm-rule-w) solid var(--fmapewm-rule)}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date{order:3}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta{order:4}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price{order:5;text-align:left}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-cta{order:6;margin:16px 0 0}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price{position:relative;padding-left:32px;margin-top:8px;line-height:1.45}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date{margin-top:0}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-date,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-sub,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-city,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price{display:inline;line-height:1.45}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-days{display:inline;margin-left:8px;line-height:1.45}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta .fm-meta-region{margin-left:8px}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price-ex,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price-enq{display:inline;margin:0 0 0 6px;line-height:1.45}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-price-enq:first-child{margin-left:0}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date::before,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta::before,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;background:var(--fmapewm-indigo);-webkit-mask:var(--fmapewm-ic) center / contain no-repeat;mask:var(--fmapewm-ic) center / contain no-repeat}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-date{--fmapewm-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16v14H4z%22/%3E%3Cpath%20d%3D%22M4%2010h16M8%203v4M16%203v4%22/%3E%3C/svg%3E")}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-meta{--fmapewm-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021s-6-5.5-6-11a6%206%200%200%201%2012%200c0%205.5-6%2011-6%2011z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.2%22/%3E%3C/svg%3E")}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price::before{left:2px}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-price{--fmapewm-ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012V4h8l10%2010-8%208z%22/%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%228.5%22%20r%3D%221.4%22/%3E%3C/svg%3E")}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cell-cta .fm-cta,
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-cta{display:block;width:100%;padding:12px 0}
  .fmapewm .fmapewm-dates .fm-mount[data-fm-schedule] .fm-band{flex-direction:column;align-items:flex-start;gap:12px}
}

/* ===== 1.4.0: the schedule module's own markup ===== */
/* Filtered-out rows: the hidden attribute must win over the library's display:grid and flex. */
.fmapewm .fmapewm-dates .fmapewm-row[hidden]{display:none}
/* Clear filters inside the empty-state sentence (mock-up schedule v1.17: height auto). */
.fmapewm .fmapewm-none-match .fmapewm-linkbtn{height:auto}
/* Payment frame height. The two tokens are PROVISIONAL in fm-tokens v1.1 (760px, 1180px),
   by agreement to be replaced with the live checkout's heights. Live (fm-course-schedule
   13.49): 2500px above 880px with HubSpot's two-column layout, 2400px from 481px to 880px
   and 2500px at 480px and below, both stacked. In the library's 560px column HubSpot
   stacks, so desktop takes the stacked 2400px and phone the tallest, 2500px. Scoped to the
   payment column, so :root keeps the frozen values until tokens v1.2 after testing. */
.fmapewm .fmapewm-pay{--fmapewm-pay-h:2400px;--fmapewm-pay-h-mob:2500px}
/* HubSpot's embed script styles its own container; nothing between the column and the
   frame may set a height or scroll (fm-course-schedule found a second scrollbar there). */
.fmapewm .fmapewm-pay .payments-iframe-container{width:100%;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;margin:0;padding:0}

/* ===== 1.4.5: the confirmation page (/training-courses/registration-complete/) =====
   Library classes throughout (.pg-head, .page-form with the library's HubSpot form styles,
   .callout, label.f and select.f for the course picker, .btn-ghost, .reslist). Only spacing
   and the hidden states are set here, scoped to the page's own IDs. */
.fmapewm #fmapewm-complete{padding-bottom:80px}
.fmapewm #fmapewm-complete .fmapewm-pg-head p strong{color:var(--fmapewm-ink)}
.fmapewm #fmapewm-part-box .fmapewm-callout{margin:0 0 1.4rem}
.fmapewm #fmapewm-part-box .fmapewm-callout[hidden],
.fmapewm #fmapewm-add[hidden]{display:none}
.fmapewm #fmapewm-part{margin:0 0 1.4rem}
/* HubSpot's hidden fields sit in ordinary field wrappers; a wrapper holding only a hidden
   input takes no space (fm-course-schedule 13.30 found a band of white space without this). */
.fmapewm #fmapewm-part .hs-form-field.hs-fieldtype-hidden,
.fmapewm #fmapewm-part .hs-form-field:has(> .input > input[type="hidden"]:only-child),
.fmapewm #fmapewm-part .hs-form-field:has(> input[type="hidden"]:only-child){display:none;margin:0}
.fmapewm #fmapewm-add{margin:0 0 18px}
.fmapewm #fmapewm-part h2{font-size:var(--fmapewm-fs-h3);margin:0 0 .6rem}
.fmapewm #fmapewm-part .fmapewm-reslist{margin-top:1.2rem}
