/* runtime additions (see gts_runtime.js) */
/* The site's scripts revealed sections at load; pages saved before that (and pages whose
   saved contents.css already had it stripped) disagree, so pin the intended state here. */
div#contentsBody div.category { display: block; }
div.indicateinfo,
div#contentsBody a.hiddenCallout,
div#contentsBody dd.gtsExec span,
div#contentsBody div.s1 p.s1 img.invisible { display: none; }
/* ID-prefixed to beat contents.css "div#contentsBody div.graphic div.indicapt { color:#333 }" */
div#contentsBody div.graphic.gts-baked div.indicapt,
div#fbx_flow_alert_body div.graphic.gts-baked div.indicapt { color: transparent; }
div#contentsBody div.graphic.gts-baked div.indicapt::selection,
div#fbx_flow_alert_body div.graphic.gts-baked div.indicapt::selection { color: transparent; background: rgba(0, 120, 215, .35); }
div#contentsBody div.graphic { cursor: zoom-in; }
.gts-layer { position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; }
svg.gts-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 100; }
div.graphic div.indicapt { line-height: 1.15; overflow: visible; white-space: normal; }
div.graphic div.indicapt.filled { background: #fff; }
.gts-warn { margin: 4px 0 8px; padding: 6px 10px; border: 1px solid #e0a800; background: #fff8e1; color: #6d4c00;
  font: 13px Tahoma, "Segoe UI", sans-serif; width: 666px; }

html.gts-noscroll, html.gts-noscroll body { overflow: hidden; }
.gts-viewer { position: fixed; inset: 0; z-index: 10000; background: rgba(20, 20, 20, .82); display: flex; flex-direction: column; }
.gts-bar { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 8px; background: #222; color: #eee;
  font: 13px Arial, sans-serif; }
.gts-bar button { min-width: 34px; height: 28px; border: 1px solid #555; border-radius: 4px; background: #333; color: #fff;
  font: 15px Arial, sans-serif; cursor: pointer; }
.gts-bar button:hover { background: #444; }
.gts-bar button[data-act="close"] { margin-left: 16px; font-size: 18px; }
.gts-pct { min-width: 48px; text-align: center; }
.gts-stage { flex: 1; overflow: auto; display: flex; padding: 20px; box-sizing: border-box; }
.gts-stage > #fbx_flow_alert_body { margin: auto; position: relative; flex: none; background: #fff; }
.gts-holder { transform-origin: 0 0; position: absolute; left: 0; top: 0; }
.gts-holder div.graphic { margin: 0; cursor: default; }

/* offline edition (build_archive.py): nav bar, resolved / unresolved links, date chooser */
.gts-nav { display: flex; gap: 14px; align-items: center; padding: 6px 12px; background: #e6ecee; border-bottom: 1px solid #c5d0d4;
  font: 12px Tahoma, "Segoe UI", sans-serif; line-height: 18px; color: #555; }
.gts-nav a, .gts-nav span { font: inherit; line-height: inherit; }
.gts-nav a { color: #1b6384; text-decoration: none; font-weight: bold; }
.gts-nav a:hover { text-decoration: underline; }
div#contentsBody a.mlink[href] { cursor: pointer; color: #1b6384; }
div#contentsBody a.mlink[href]:hover { color: #b30000; }
div#contentsBody a.mlink-missing { color: #999; text-decoration: underline dotted; cursor: help; }
.gts-menu { position: absolute; z-index: 9000; min-width: 170px; padding: 4px 0; background: #fff; border: 1px solid #999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
.gts-menu a, .gts-menu span, .gts-menu div { display: block; padding: 4px 12px; font: 12px Verdana, sans-serif; line-height: 16px; }
.gts-menu a { color: #1b6384; text-decoration: none; }
.gts-menu a:hover { background: #eef3f5; }
.gts-menu span { color: #999; }
.gts-menu div.gts-menu-h { padding: 2px 12px 5px; color: #666; font-size: 11px; border-bottom: 1px solid #eee; }

/* collapsible steps (div.s1) */
div#contentsBody div.s1 > p.s1.gts-toggle,
div#contentsBody div.s1 > p.s1.gts-toggle img { cursor: pointer; }
div#contentsBody div.s1.gts-collapsed > :not(p.s1) { display: none; }
.gts-steps { display: flex; gap: 6px; margin-left: auto; }
.gts-steps button { padding: 1px 10px; border: 1px solid #b7c4c9; border-radius: 4px; background: #fff; color: #1b6384;
  font: 12px Tahoma, "Segoe UI", sans-serif; line-height: 18px; cursor: pointer; }
.gts-steps button:hover { background: #eef3f5; }

@media print {
  .gts-viewer, .gts-warn, .gts-nav, .gts-menu { display: none !important; }
  div#contentsBody div.graphic { cursor: default; }
}
