/* Shared components used on the home page and the inner pages: the stack diagram, the grader card,
   icon tiles. Loaded before sections.css and pages2.css. */
.grader { position: absolute; z-index: 3; left: 26px; bottom: 30px; width: 296px; padding: 14px 14px 8px; border-radius: 14px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 30px 60px -18px rgba(20, 45, 110, .38), 0 0 0 1px rgba(10, 37, 64, .06); font-size: 13px; }
.gr-h { display: flex; align-items: center; gap: 8px; margin: 0 2px 8px; color: var(--ink); font-weight: 600; } .gr-h small { margin-left: auto; font-weight: 400; color: var(--muted); font-size: 12px; }
.gr-list { list-style: none; margin: 0; padding: 0; display: grid; }
.gr-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--line); animation: grIn .5s cubic-bezier(.2, .8, .2, 1); }
.gr-list li span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gr-list li small { grid-column: 1; font: 400 11.5px var(--mono); color: var(--muted); } .gr-list li em { grid-row: 1 / 3; grid-column: 2; }
@keyframes grIn { from { opacity: 0; transform: translateY(-10px); } }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(10, 37, 64, .12); border-radius: 9px; color: var(--accent); background: #fff; box-shadow: 0 1px 2px rgba(10, 37, 64, .05); }
.ico svg { width: 22px; height: 22px; }
.t-mark { display: inline-block; width: 18px; height: 18px; background: url(/favicon.svg) center / contain no-repeat; border-radius: 4px; }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); } .btn-line:hover { background: rgba(255, 255, 255, .08); }
.flowmap { position: relative; width: min(1080px, calc(100% - 128px)); aspect-ratio: 1000 / 400; margin: 72px auto 0;
  background: radial-gradient(rgba(138, 163, 207, .16) 1px, transparent 1.4px) 0 0 / 18px 18px; }
.fm-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fm-lines path { fill: none; stroke: rgba(138, 163, 207, .55); stroke-width: 1.2; stroke-dasharray: 3 5; animation: fmDash 1.2s linear infinite; }
.fm-lines circle { fill: #7cc4ff; filter: drop-shadow(0 0 6px #22b8ff); }
@keyframes fmDash { to { stroke-dashoffset: -16; } }
.fm-n { position: absolute; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 12px; text-align: center; font-size: 14.5px; color: #dbe6ff;
  background: rgba(16, 36, 92, .92); box-shadow: inset 0 0 0 1px rgba(138, 163, 207, .22); transform: translateY(-50%); }
.fm-n small { flex-basis: 100%; font-size: 12.5px; color: #8aa3cf; } .fm-n b { font-weight: 500; flex-basis: 100%; }
.fm-n span { padding: 5px 10px; border-radius: 6px; background: rgba(47, 107, 255, .32); color: #fff; font-weight: 500; } .fm-n span.on { background: #2f6bff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.fm-n em { flex-basis: 100%; font-style: normal; font-size: 12px; color: #8aa3cf; }
.fm-desk { left: 0; width: 25%; top: 50%; } .fm-sap { left: 75%; width: 25%; top: 50%; } .fm-sap span { font-family: var(--mono); font-size: 12.5px; }
.fm-board { left: 37%; width: 26%; top: 11%; } .fm-eng { left: 7%; width: 26%; top: 82.5%; } .fm-audit { left: 67%; width: 26%; top: 82.5%; }
.fm-core { left: 42%; width: 16%; top: 50%; height: 26%; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 3px; background: linear-gradient(160deg, #3d78ff, #2452e0); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 60px -10px rgba(47, 107, 255, .8); }
.fm-core b { flex-basis: auto; font-size: 19px; font-weight: 600; color: #fff; } .fm-core small { flex-basis: auto; color: #cfe0ff; } .fm-core .t-mark { width: 22px; height: 22px; background-image: url(/assets/mark-white.svg); }
.fm-note { margin: 44px auto 0; max-width: 620px; text-align: center; font-size: 14.5px; color: #8aa3cf; }
.grader { width: 286px; padding-bottom: 4px; }
.mosaic canvas { display: block; }
@media (max-width: 960px) {
  .flowmap { width: auto; aspect-ratio: auto; margin: 44px 24px 0; display: grid; gap: 14px; background: none; } .fm-lines { display: none; }
  .fm-n { position: relative; left: auto; top: auto; width: auto; height: auto; transform: none; } .fm-core { order: 2; padding: 18px; } .fm-desk { order: 1; } .fm-board { order: 3; } .fm-sap { order: 4; } .fm-eng { order: 5; } .fm-audit { order: 6; }
}
@media (prefers-reduced-motion: reduce) { .fm-lines path, .gr-list li { animation: none; } .fm-lines circle { display: none; } }
