/* FCMS interop page — builds on tokens.css + journey.css (design tokens only, no raw colours) */
.ix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ix-scroll table.t { min-width: 760px; }
table.t.ix-compact td, table.t.ix-compact th { padding: 8px 10px; font-size: 14px; }
table.t tr.ix-click { cursor: pointer; }
table.t tr.ix-click:hover td { background: var(--sapphire-muted); }
.ix-mono, pre.ix-pre, textarea.ix-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
pre.ix-pre { background: var(--cream-deep); border: 1px solid var(--border-soft); border-radius: 6px; padding: 12px; margin: 0;
             white-space: pre-wrap; word-break: break-all; max-height: 360px; overflow: auto; color: var(--ink-body); }
textarea.ix-mono { width: 100%; min-height: 220px; border: 1.5px solid var(--border-strong); border-radius: 6px; padding: 10px;
                   background: var(--white); color: var(--ink-body); resize: vertical; }
textarea.ix-mono:focus { outline: none; border-color: var(--sapphire); box-shadow: 0 0 0 3px var(--sapphire-muted); }
.ix-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.ix-filters label.f { min-width: 140px; }
.ix-filters label.f.wide { flex: 1; min-width: 200px; }
.ix-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; background: var(--warning-muted);
          border: 1.5px dashed var(--color-warning-dark); border-radius: 6px; padding: 12px; word-break: break-all; color: var(--ink); }
.ix-warn { background: var(--warning-muted); border-left: 4px solid var(--color-warning); padding: 10px 14px; border-radius: 6px;
           color: var(--ink); font-size: 14px; }
.ix-err { background: var(--ruby-muted); border-left: 4px solid var(--ruby); padding: 10px 14px; border-radius: 6px; color: var(--ruby-dark);
          font-size: 14px; font-weight: 600; }
.ix-ok { background: var(--emerald-muted); border-left: 4px solid var(--emerald); padding: 10px 14px; border-radius: 6px;
         color: var(--emerald-dark); font-size: 14px; font-weight: 600; }
.ix-conn { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.ix-conn + .ix-conn { margin-top: 6px; }
.ix-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--gray-400); flex: 0 0 auto; }
.ix-dot.on { background: var(--emerald); }
.ix-dot.off { background: var(--color-warning); }
.ix-crit { color: var(--ruby-dark); font-weight: 700; animation: pulse 1.5s infinite; }
.ix-seg { font-weight: 700; color: var(--dept-deep); }
.ix-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 1100px) { .ix-split { grid-template-columns: 1fr; } }
.ix-scopes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
@media (max-width: 760px) { .ix-scopes { grid-template-columns: 1fr; } }
.ix-scopes label { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; }
.ix-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.ix-tags .tag { font-size: 10.5px; padding: 3px 8px; letter-spacing: .04em; text-transform: none; }
.ix-more { display: flex; justify-content: center; margin-top: 12px; }
.ix-small { font-size: 12.5px; }
.ix-sub { font-weight: 700; color: var(--ink); margin: 16px 0 6px; font-size: 15px; }
.ix-sub:first-child { margin-top: 0; }
.ix-list { margin: 4px 0 0; padding-left: 20px; font-size: 14px; }
.ix-scroll .tag, .ix-scroll .btn, .ix-scroll .pill { white-space: nowrap; }
.ix-split > .card + .card { margin-top: 0; }

/* the patient banner (journey-shared PatientBanner) inside a dialog stays at the dialog top edge while it scrolls */
.modal .ptb { top: 0; }
