/* p-ifl-itagency.css: cluster "itagency" for the Industry 75 flow pages (spec homepage/tools/INDUSTRY-75-SPEC.md §2, §4.8).
   Loads after p-indflow.css. Prefix ita-. Holds: ocean accent tokens, hero "two-pane sync console" (.ita-sync), signature interactive 1
   "field mapper" (.ita-map), signature interactive 2 "report widget builder" (.ita-rep). Content always lives in the page HTML;
   no-JS shows every panel, every tool name and every report slot. Page-only tweaks go under .ifl--<slug>. */

body.pg {
  --ifl-accent: #00A3D9;
  --ifl-accent-ink: #1D3F8F;
  --ifl-accent-on: #fff;
  --ifl-tint: #EAF1FB;
  --ifl-band: linear-gradient(135deg, #0A1B45 0%, #133E8A 55%, #0A6FA8 100%);
  --ifl-band-ink: #8FDDF7;
  --ita-grad: linear-gradient(90deg, #1D3F8F, #00A3D9);
  --ita-wire: #F3F6FA;
  --ita-wire-line: #CBD5E1;
}

/* ---------- hero: two-pane sync console ---------- */
.ita-hero .ifl-hero__art { aspect-ratio: auto; max-width: 540px; }
.ita-sync { position: relative; box-sizing: border-box; width: 100%; border-radius: 20px; background: #fff; border: 1px solid var(--ifl-line); box-shadow: var(--ifl-shadow); overflow: hidden; font: 400 13px/1.4 var(--f-body); color: var(--ifl-body); }
.ita-sync::before { content: ""; display: block; height: 4px; background: var(--ita-grad); }
.ita-sync__top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--ifl-line); background: var(--ifl-paper); }
.ita-sync__top b { font: 700 13.5px/1.2 var(--f-display); color: var(--ifl-ink); }
.ita-sync__top .ifl-sample { margin-left: auto; }
.ita-sync__body { display: grid; gap: 8px; padding: 12px; background: linear-gradient(90deg, var(--ita-wire) 0 calc(50% - 26px), #fff calc(50% - 26px)); }
.ita-row { display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr); align-items: center; }
.ita-row--head { font: 700 11.5px/1.25 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ifl-muted); }
.ita-row--head > span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ita-row--head img { flex: none; }
.ita-row--head small { display: block; font-weight: 600; text-transform: none; letter-spacing: 0; }
.ita-f { display: grid; gap: 1px; min-width: 0; padding: 7px 9px; border-radius: 9px; }
.ita-f__k { font: 600 11px/1.25 var(--f-body); color: var(--ifl-muted); }
.ita-f__v { font: 600 12.5px/1.3 var(--f-body); color: var(--ifl-ink); overflow-wrap: anywhere; }
.ita-f--out { background: #fff; border: 1px dashed var(--ita-wire-line); }
.ita-f--out .ita-f__v { color: #334155; }
.ita-f--zoho { background: var(--ifl-tint); border-left: 3px solid var(--ifl-accent-ink); }
.ita-f--stay { background: transparent; border: 1px dashed var(--ita-wire-line); }
.ita-f--stay .ita-f__v { color: var(--ifl-muted); font-weight: 500; }
.ita-wf { display: grid; gap: 5px; padding: 6px 2px; }
.ita-wf i { display: block; height: 7px; width: var(--w, 70%); border-radius: 4px; background: #DDE3EB; }
.ita-lane { position: relative; display: grid; place-items: center; height: 100%; min-height: 30px; }
.ita-lane::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 2px dotted #B6C3D4; }
.ita-pill { position: relative; z-index: 1; display: inline-block; padding: 3px 6px; border-radius: 999px; background: var(--ifl-accent-ink); color: #fff; font: 700 10px/1.2 var(--f-body); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 10px -4px rgba(29, 63, 143, .6); }
.ita-pill--flow { background: #0A6E8F; }
.ita-pill--api { background: #1D3F8F; }
.ita-pill--native { background: #1F6A37; }
.ita-pill--stay { background: #fff; color: var(--ifl-muted); border: 1px solid var(--ita-wire-line); box-shadow: none; }
.ita-sync__foot { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 10px 14px 12px; border-top: 1px solid var(--ifl-line); font: 500 12px/1.4 var(--f-body); color: var(--ifl-muted); }
.ita-sync__foot span { display: inline-flex; align-items: center; gap: 6px; }
.ita-sync__foot .ita-pill { box-shadow: none; }
/* one pass on load: each pill crosses its lane, then the Zoho value lands */
@media (prefers-reduced-motion: no-preference) {
  .ita-sync .ita-row:not(.ita-row--head) .ita-pill { animation: ita-cross .9s cubic-bezier(.3, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * .55s + .5s); }
  .ita-sync .ita-row:not(.ita-row--head) .ita-f--zoho .ita-f__v { animation: ita-land .45s ease both; animation-delay: calc(var(--i, 0) * .55s + 1.2s); }
}
@keyframes ita-cross { 0% { transform: translateX(-26px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes ita-land { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {
  .ita-row { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); }
  .ita-sync__body { padding: 10px 8px; background: linear-gradient(90deg, var(--ita-wire) 0 calc(50% - 22px), #fff calc(50% - 22px)); }
  .ita-f { padding: 6px 7px; }
  .ita-pill { padding: 3px 4px; font-size: 9.5px; }
}

/* ---------- signature 1: field mapper ---------- */
.ita-map { box-sizing: border-box; margin-top: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--ifl-line); box-shadow: var(--ifl-shadow); overflow: hidden; }
.ita-map__head { display: grid; gap: 14px; padding: 18px 20px; background: var(--ifl-paper); border-bottom: 1px solid var(--ifl-line); }
.ita-map__lbl { margin: 0 0 6px; font: 700 12px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ifl-muted); }
.ita-map__tools, .ita-map__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ita-map__tools button, .ita-map__tabs [role="tab"] { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ita-wire-line); background: #fff; color: var(--ifl-ink); font: 600 14px/1.2 var(--f-body); cursor: pointer; }
.ita-map__tools button[aria-pressed="true"], .ita-map__tabs [role="tab"][aria-selected="true"] { background: var(--ifl-accent-ink); border-color: var(--ifl-accent-ink); color: #fff; }
.ita-map__tools button:hover, .ita-map__tabs [role="tab"]:hover { border-color: var(--ifl-accent); }
.ita-map button:focus-visible, .ita-map [role="tab"]:focus-visible, .ita-map__p:focus-visible { outline: 3px solid var(--ifl-accent-ink); outline-offset: 2px; }
html:not(.ifl-js) .ita-map__tools { display: none; }
.ita-map__p { padding: 18px 20px 20px; }
.ita-map__p + .ita-map__p { border-top: 1px solid var(--ifl-line); }
.ita-map.is-js .ita-map__p + .ita-map__p { border-top: 0; }
.ita-map__p h3 { margin: 0 0 4px; font: 700 18px/1.3 var(--f-display); color: var(--ifl-ink); }
.ita-map__p > p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; max-width: 70ch; }
.ita-map__cols { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) minmax(120px, auto); gap: 8px; padding: 0 10px 6px; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ifl-muted); }
.ita-map__rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ita-pair { display: grid; grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) minmax(120px, auto); gap: 8px; align-items: center; padding: 9px 10px; border-radius: 12px; background: var(--ita-wire); font-size: 14px; line-height: 1.4; }
.ita-pair[hidden] { display: none; }
.ita-pair__o { color: #334155; font-weight: 600; min-width: 0; }
.ita-pair__z { color: var(--ifl-ink); font-weight: 600; min-width: 0; }
.ita-pair__z small, .ita-pair__o small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ifl-muted); }
.ita-dir { display: grid; place-items: center; height: 26px; border-radius: 999px; background: #fff; border: 1px solid var(--ita-wire-line); color: var(--ifl-accent-ink); font: 700 13px/1 var(--f-body); }
.ita-dir svg { width: 26px; height: 12px; }
.ita-dir svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ita-how { justify-self: start; display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ita-pair--fn { background: #FFF8E6; }
.ita-pair--fn .ita-dir { border-color: #E5B94A; }
.ita-map__stay { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--ita-wire-line); font: 500 14px/1.55 var(--f-body); color: var(--ifl-muted); }
.ita-map__stay b { color: var(--ifl-ink); }
.ita-map__sum { margin: 0; padding: 0 20px 18px; font: 600 14px/1.45 var(--f-body); color: var(--ifl-accent-ink); }
html:not(.ifl-js) .ita-map__sum { display: none; }
/* tool-specific names: with JS only the picked tool shows; without JS all show, separated */
.ifl-js .ita-map.is-js [data-ita-t][hidden] { display: none; }
html:not(.ifl-js) [data-ita-t] + [data-ita-t]::before { content: " / "; color: var(--ifl-muted); font-weight: 400; }
@media (max-width: 760px) {
  .ita-map__cols { display: none; }
  .ita-pair { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
  .ita-how { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ita-map__head, .ita-map__p { padding-left: 14px; padding-right: 14px; }
  .ita-pair { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ita-dir { justify-self: start; width: 46px; transform: rotate(90deg); margin: 2px 0; }
}

/* ---------- signature 2: report widget builder ---------- */
.ita-rep { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(18px, 3vw, 36px); margin-top: 28px; align-items: start; }
.ita-rep__pick h3, .ita-rep__out h3 { margin: 0 0 10px; font: 700 12px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ifl-muted); }
.ita-rep__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ita-rep__tile { display: grid; gap: 4px; width: 100%; min-height: 88px; box-sizing: border-box; padding: 12px; border-radius: 14px; border: 1px solid var(--ifl-line); background: #fff; text-align: left; font: 400 13px/1.35 var(--f-body); color: var(--ifl-body); cursor: pointer; }
.ita-rep__tile b { font: 700 14.5px/1.25 var(--f-display); color: var(--ifl-ink); }
.ita-rep__tile small { color: var(--ifl-muted); font-size: 12.5px; }
.ita-rep__tile[aria-pressed="true"] { border-color: var(--ifl-accent-ink); box-shadow: inset 0 0 0 1px var(--ifl-accent-ink); background: var(--ifl-tint); }
.ita-rep__tile[aria-pressed="true"]::after { content: "Added"; justify-self: start; padding: 2px 8px; border-radius: 999px; background: var(--ifl-accent-ink); color: #fff; font: 700 11px/1.3 var(--f-body); }
.ita-rep button:focus-visible { outline: 3px solid var(--ifl-accent-ink); outline-offset: 2px; }
html:not(.ifl-js) .ita-rep__pick { display: none; }
html:not(.ifl-js) .ita-rep { grid-template-columns: minmax(0, 1fr); }
.ita-rep__frame { position: relative; box-sizing: border-box; border-radius: 18px; background: #fff; border: 1px solid var(--ifl-line); box-shadow: var(--ifl-shadow); overflow: hidden; transition: border-radius .3s ease, box-shadow .3s ease; }
.ita-rep__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ifl-paper); border-bottom: 1px solid var(--ifl-line); }
.ita-rep__bar b { font: 700 13.5px/1.2 var(--f-display); color: var(--ifl-ink); }
.ita-rep__bar .ifl-sample { margin-left: auto; }
.ita-rep__brand { display: none; padding: 14px 18px 0; font: 700 15px/1.3 var(--f-display); color: var(--ifl-ink); }
.ita-rep__brand small { display: block; font: 500 12px/1.4 var(--f-body); color: var(--ifl-muted); }
.ita-rep__slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px; list-style: none; min-height: 120px; }
.ita-rep__slot { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: var(--ifl-tint); }
.ita-rep__slot[hidden] { display: none; }
.ita-rep__slot span { font: 600 12px/1.3 var(--f-body); color: var(--ifl-muted); }
.ita-rep__slot b { font: 800 22px/1.15 var(--f-display); color: var(--ifl-ink); }
.ita-rep__slot small { font: 500 11.5px/1.4 var(--f-body); color: #475569; }
.ita-rep__slot--wide { grid-column: 1 / -1; }
.ita-rep__empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed var(--ita-wire-line); border-radius: 12px; text-align: center; font: 500 14px/1.5 var(--f-body); color: var(--ifl-muted); }
html:not(.ifl-js) .ita-rep__empty { display: none; }
.ita-rep__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 14px 14px; }
.ita-rep__foot button { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ifl-accent-ink); background: #fff; color: var(--ifl-accent-ink); font: 600 14px/1.2 var(--f-body); cursor: pointer; }
.ita-rep__foot button[aria-pressed="true"] { background: var(--ifl-accent-ink); color: #fff; }
.ita-rep__foot p { margin: 0; font: 500 13px/1.4 var(--f-body); color: var(--ifl-muted); }
html:not(.ifl-js) .ita-rep__foot button { display: none; }
/* one-page PDF mock */
.ita-rep__frame.is-pdf { border-radius: 4px; box-shadow: 0 24px 50px -30px rgba(8, 34, 56, .55), 0 0 0 8px var(--ifl-paper); }
.ita-rep__frame.is-pdf .ita-rep__bar { display: none; }
.ita-rep__frame.is-pdf .ita-rep__brand { display: block; }
.ita-rep__frame.is-pdf .ita-rep__slot { background: #fff; border: 1px solid var(--ifl-line); }
@media (max-width: 899px) { .ita-rep { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .ita-rep__tiles, .ita-rep__slots { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page: /industries/it-services/psa-rmm-integration/ ---------- */
.ifl--psa-rmm .mk-heat__job small { display: block; font-weight: 400; font-size: .86em; color: var(--ifl-muted); }

/* ---------- cluster card fit (QA 2026-11-15): keep sample cards near the 340px laptop limit ---------- */
.ifl-scr .ifl-ledger td { padding-block: 6px; }
.ifl-scr .ifl-dash__tiles { padding: 0; }
.ifl-scr .ifl-tile--wide { grid-column: 1 / -1; }
.ifl-scr .ifl-thread { gap: 6px; }
.ita-form__end { align-items: end; }
.ita-form__end .ifl-form__btn { justify-self: start; padding-block: 11px; }
.ifl-scr .ifl-doc__lines { margin: 6px 0 10px; }
@media (max-width: 420px) { .ita-form__end { grid-template-columns: minmax(0, 1fr); } }

/* QA 2026-11-15: FAQ side link gets a 44px tap target */
.pg-faq__links .pg-link{display:inline-flex;align-items:center;min-height:44px}
