/* Facility Management page (14 Oct 2026): the workflow map, the four tracks, the joins and the week.
   Brand green only (#0b6e4f); red is never used here. Works on the shared site.css variables. */

.fm-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fm-cta .btn { white-space: nowrap; }

/* ---- the map ---------------------------------------------------------- */
.fm-mapwrap { margin-top: 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fm-map { display: block; width: 100%; min-width: 900px; height: auto; color: #0b6e4f; }
.fm-map .fm-map-h { font: 700 15px/1.2 Inter, system-ui, sans-serif; fill: #0b6e4f; letter-spacing: .02em; }
.fm-map .fm-node rect { fill: #fff; stroke: #d8e3dd; stroke-width: 1.5; }
.fm-map .fm-node.is-main rect { fill: #f3faf7; stroke: #0b6e4f; }
.fm-map .fm-node.is-end rect { fill: #f7f9f8; }
.fm-map text { font: 500 15px/1.3 Inter, system-ui, sans-serif; fill: #14241d; }
.fm-map .fm-big { font: 700 22px/1.2 Fraunces, Georgia, serif; fill: #0b6e4f; }
.fm-map .fm-sub { font: 400 13px/1.3 Inter, system-ui, sans-serif; fill: #5d6b65; }
.fm-map .fm-arrow path { fill: none; stroke: #0b6e4f; stroke-width: 1.6; opacity: .75; }
.fm-mapwrap::after { content: "Scroll sideways to follow the whole map →"; display: block; margin-top: 8px;
  font: 500 13px/1.4 Inter, system-ui, sans-serif; color: #5d6b65; }
@media (min-width: 1100px) { .fm-mapwrap::after { display: none; } }

/* ---- stage figures inside the lifecycle panels ------------------------- */
.fm-shot { margin: 14px 0 0; }
.fm-shot img { display: block; width: 100%; height: auto; border: 1px solid #e2eae6; border-radius: 6px; background: #fff; }
.fm-shot figcaption { margin-top: 7px; font: 400 13px/1.45 Inter, system-ui, sans-serif; color: #5d6b65; }

/* ---- four tracks ------------------------------------------------------- */
.fm-tracks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.fm-track { display: block; padding: 18px; border: 1px solid #e2eae6; border-left: 4px solid #0b6e4f; border-radius: 6px;
  background: #fff; text-decoration: none; color: inherit; }
.fm-track:hover { background: #f3faf7; }
.fm-track-h { display: block; font: 700 12px/1.2 Inter, system-ui, sans-serif; letter-spacing: .06em;
  text-transform: uppercase; color: #0b6e4f; }
.fm-track b { display: block; margin: 6px 0 8px; font: 700 19px/1.25 Fraunces, Georgia, serif; }
.fm-track p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.fm-track-f { display: block; font: 400 13px/1.5 Inter, system-ui, sans-serif; color: #5d6b65; }

/* ---- what links to what ------------------------------------------------ */
.fm-joins { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 24px; }
.fm-joins > div { display: grid; grid-template-columns: auto 20px; gap: 2px 10px; align-items: baseline;
  padding: 16px 18px; border: 1px solid #e2eae6; border-radius: 6px; background: #fff; }
.fm-joins b { font: 700 16px/1.3 Inter, system-ui, sans-serif; color: #0b6e4f; }
.fm-joins span { color: #0b6e4f; font-size: 18px; text-align: right; }
.fm-joins p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; line-height: 1.55; }

/* ---- two and three up -------------------------------------------------- */
.fm-two { display: grid; gap: 26px; grid-template-columns: 1fr; margin-top: 24px; align-items: start; }
.fm-three { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 860px) {
  .fm-two { grid-template-columns: 1.15fr .85fr; }
  .fm-three { grid-template-columns: repeat(3, 1fr); }
}
.fm-two h3 { margin: 0 0 8px; font: 700 19px/1.3 Fraunces, Georgia, serif; }
.fm-two h3 + ul + h3 { margin-top: 20px; }
.fm-list { margin: 0; padding-left: 20px; }
.fm-list li { margin: 5px 0; font-size: 15px; line-height: 1.55; }

/* ---- the first week ---------------------------------------------------- */
.fm-week { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 24px 0 0; padding: 0; list-style: none; counter-reset: fmweek; }
.fm-week li { position: relative; padding: 18px 18px 18px 54px; border: 1px solid #e2eae6; border-radius: 6px; background: #fff; }
.fm-week li::before { counter-increment: fmweek; content: counter(fmweek); position: absolute; left: 18px; top: 17px;
  width: 24px; height: 24px; border-radius: 50%; background: #0b6e4f; color: #fff;
  font: 700 13px/24px Inter, system-ui, sans-serif; text-align: center; }
.fm-week b { display: block; font: 700 16px/1.3 Inter, system-ui, sans-serif; }
.fm-week p { margin: 5px 0 0; font-size: 15px; line-height: 1.55; }

@media print {
  .fm-mapwrap { overflow: visible; }
  .fm-map { min-width: 0; }
  .fm-mapwrap::after { display: none; }
}

/* ---- walkthrough video --------------------------------------------------- */
.fm-video { margin-top: 24px; }
.fm-video video { display: block; width: 100%; height: auto; border: 1px solid #e2eae6; border-radius: 8px; background: #000; }
.fm-video-note { margin-top: 10px; font: 400 14px/1.5 Inter, system-ui, sans-serif; color: #5d6b65; }
