@charset "utf-8";
.apf-flow { --apf-T: 16s; --apf-row: 44px; }
.apf-flow__site,
.apf-flow__erp {
    position: absolute;
    top: 72px;
    bottom: 0;
    width: 35%;
    z-index: 2;
}
.apf-flow__site { left: 3.4%; }
.apf-flow__erp { right: 3.4%; }
.apf-flow__body { padding: 18px 20px 0; }
.apf-flow__h { display: flex; align-items: center; gap: 10px; }
.apf-flow__h b { font-size: 18px; line-height: 26px; font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.apf-flow__filters { display: flex; gap: 6px; margin-top: 14px !important; }
.apf-flow__filters span {
    padding: 0 10px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    font-size: 13px;
    color: var(--apf-muted);
    box-shadow: inset 0 0 0 1px var(--apf-line);
}
.apf-flow__filters .is-on { background: var(--ink); color: #fff; box-shadow: none; }
.apf-flow__thead,
.apf-flow__row {
    display: grid;
    grid-template-columns: 1.55fr 0.8fr 1fr 0.7fr;
    align-items: center;
    column-gap: 10px;
}
.apf-flow__thead--erp,
.apf-flow__rows--erp .apf-flow__row { grid-template-columns: 1.55fr 1fr 1fr; }
.apf-flow__thead {
    margin-top: 16px !important;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--apf-sub);
    font-size: 12px;
    font-weight: var(--fw-semibold);
    color: var(--apf-muted);
}
.apf-flow__clip { position: relative; overflow: hidden; height: 400px; }
.apf-flow__row {
    position: relative;
    height: var(--apf-row);
    padding: 0 12px;
    border-bottom: 1px solid var(--apf-line-2);
    font-size: 13px;
    white-space: nowrap;
}
.apf-flow__row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.apf-flow__row .apf-mono { font-size: 12.5px; }
.apf-flow__row i { font-style: normal; }
.apf-flow__row--new::before {
    content: "";
    position: absolute;
    inset: 3px 0;
    z-index: -1;
    border-radius: 8px;
    background: var(--apf-tint);
}
.apf-flow__row--new { z-index: 0; }
.apf-flow__row--hit { z-index: 0; }
.apf-flow__row--hit::before {
    content: "";
    position: absolute;
    inset: 3px 0;
    z-index: -1;
    border-radius: 8px;
    background: var(--apf-tint);
}
.apf-flow__row--new > span:first-child { color: var(--sol-accent-em); font-weight: var(--fw-semibold); }
.apf-flow__erp-mark {
    display: grid;
    place-items: center;
    height: 26px;
    padding: 0 8px;
    border-radius: 7px;
    background: #2B2833;
    color: #fff;
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
}
.apf-flow__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.apf-flow__kpi {
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--apf-line);
}
.apf-flow__kpi small { display: block; font-size: 12px; line-height: 17px; color: var(--apf-muted); }
.apf-flow__kpi b { display: flex; align-items: baseline; margin-top: 4px; font-size: 26px; line-height: 32px; font-weight: var(--fw-bold); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.apf-flow__kpi em { margin-left: 3px; font-style: normal; font-size: 14px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-flow__roll { display: inline-block; height: 32px; overflow: hidden; vertical-align: top; }
.apf-flow__roll > span { display: block; height: 32px; transform: translateY(-32px); }
.apf-flow__toast { left: 20px; right: 20px; bottom: 28px; }
.apf-flow__inv { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-style: normal; }
.apf-flow__inv.apf-press::after { border-radius: 10px; }
.apf-flow__row > .apf-flow__flip { overflow: visible; }
.apf-flow__scrim {
    position: absolute;
    inset: 38px 0 0;
    z-index: 3;
    background: rgba(25, 23, 28, 0.18);
    opacity: 0;
}
.apf-flow__dlg {
    position: absolute;
    left: 50%;
    top: 128px;
    z-index: 4;
    width: min(300px, 78%);
    margin-left: calc(min(300px, 78%) / -2);
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--apf-line), 0 24px 48px -12px rgba(24, 20, 64, 0.35);
    opacity: 0;
}
.apf-flow__dlg-h b { display: block; font-size: 16px; line-height: 22px; font-weight: var(--fw-bold); }
.apf-flow__dlg-h small { display: block; margin-top: 2px; font-size: 12px; line-height: 17px; color: var(--apf-muted); }
.apf-flow__lab { margin-top: 12px !important; font-size: 12px; line-height: 16px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-flow__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    margin-top: 6px !important;
    padding: 0 12px;
    border-radius: 9px;
    box-shadow: inset 0 0 0 1px var(--apf-line);
    font-size: 13px;
}
.apf-flow__in svg { width: 14px; height: 14px; color: var(--apf-muted); }
.apf-flow__in--on { box-shadow: inset 0 0 0 1.5px var(--sol-accent); }
.apf-flow__ty { position: relative; display: inline-block; font-size: 13px; }
.apf-flow__ty::after {
    content: "";
    position: absolute;
    inset: -2px -3px;
    background: var(--surface);
    transform-origin: right center;
    transform: scaleX(0);
}
.apf-flow__acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px !important; }
.apf-flow__acts .apf-btn { height: 32px; }
.apf-flow__send { min-width: 72px; }
.apf-flow__send.apf-press::after { border-radius: 12px; }
.apf-flow__toast--site { z-index: 5; }
.apf-flow__gate {
    position: absolute;
    left: 38.4%;
    width: 23.2%;
    top: 72px;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}
.apf-flow__calls { display: grid; justify-items: center; gap: 12px; margin-top: 30px; }
.apf-flow__call { display: grid; justify-items: center; gap: 6px; }
.apf-flow__call-l { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-flow__call-l svg { width: 14px; height: 14px; color: var(--sol-accent-em); stroke-width: 2.2; }
.apf-flow__call-c {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 7px;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--apf-line), 0 8px 20px -8px rgba(24, 20, 64, 0.25);
    font-size: 13px;
}
.apf-flow__call-st {
    display: inline-grid;
    place-items: center;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--apf-ok-bg);
    color: var(--apf-ok);
    font-size: 12px;
    font-style: normal;
    font-weight: var(--fw-bold);
}
.apf-flow__call-hl {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow: 0 0 0 2px var(--sol-accent);
    opacity: 0;
}
.apf-flow__door {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 2px;
    margin-top: 30px;
    width: 156px;
    padding: 18px 0 16px;
    border-radius: 22px;
    background: var(--sol-accent);
    color: var(--sol-accent-ink);
    box-shadow: 0 18px 44px -12px color-mix(in srgb, var(--sol-accent) 70%, transparent);
}
.apf-flow__door b { font-size: 15px; line-height: 21px; font-weight: var(--fw-bold); }
.apf-flow__door small { font-size: 12px; line-height: 16px; opacity: 0.85; }
.apf-flow__lock {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}
.apf-flow__lock svg { width: 22px; height: 22px; stroke-width: 2.2; }
.apf-flow__ring {
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--sol-accent) 30%, transparent);
    opacity: 0.6;
}
.apf-flow__ring--hit { opacity: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sol-accent) 55%, transparent); }
.apf-flow__pass { margin-top: 16px !important; }
.apf-flow__limit {
    margin-top: 22px;
    width: 236px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 0 1px var(--apf-line), 0 10px 26px -12px rgba(24, 20, 64, 0.22);
}
.apf-flow__limit-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px !important; font-size: 13px; font-weight: var(--fw-bold); }
.apf-flow__limit-t small { font-size: 12px; font-weight: var(--fw-regular, 400); color: var(--apf-muted); }
.apf-flow__limit-r { display: flex; align-items: center; justify-content: space-between; height: 26px; font-size: 12px; color: var(--apf-muted); }
.apf-flow__limit-r b { display: inline-flex; font-size: 14px; font-weight: var(--fw-bold); color: var(--ink); }
.apf-flow__tick { display: inline-block; height: 20px; line-height: 20px; overflow: hidden; vertical-align: top; }
.apf-flow__tick > span { display: block; height: 20px; transform: translateY(-40px); }
.apf-flow__swap,
.apf-flow__flip { display: grid; justify-items: start; align-items: center; }
.apf-flow__swap > i,
.apf-flow__flip > i { grid-area: 1 / 1; }
.apf-flow__swap > i + i { opacity: 0; }
.apf-flow__flip > i:first-child { opacity: 0; }
.apf-flow__track {
    position: absolute;
    left: 38.4%;
    width: 23.2%;
    top: 302px;
    height: 2px;
    z-index: 1;
    overflow: hidden;
}
.apf-flow__track i {
    position: absolute;
    left: -24px;
    right: 0;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--sol-accent) 55%, transparent) 0 12px, transparent 12px 24px);
}
.apf-flow__track--in { top: 342px; }
.apf-flow__ask,
.apf-flow__run,
.apf-flow__back {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}
.apf-flow__run { z-index: 2; }
.apf-flow__back { z-index: 1; }
.apf-flow__ask { opacity: 0; }
.apf-flow__ask i {
    position: absolute;
    left: calc(61.6% - 6px);
    top: 297px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sol-accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--sol-accent) 18%, transparent);
}
.apf-flow__run,
.apf-flow__back { opacity: 0; }
.apf-flow__pk {
    position: absolute;
    left: calc(38.4% - 128px);
    top: 274px;
    width: 256px;
    padding: 10px 12px 12px;
    border-radius: 14px;
    background: var(--apf-code);
    color: var(--apf-c-ink);
    box-shadow: 0 22px 44px -14px rgba(16, 10, 40, 0.55);
}
.apf-flow__pk-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px !important; font-size: 12px; color: var(--apf-c-dim); }
.apf-flow__pk-h .apf-method { min-width: 38px; background: rgba(126, 226, 168, 0.16); color: var(--apf-c-ok); }
.apf-flow__pk--in { left: calc(61.6% - 140px); width: 280px; }
.apf-flow__pk-h .apf-method--w { background: rgba(201, 184, 255, 0.16); color: var(--apf-c-key); }
.apf-flow__pk-b { font-size: 12px; line-height: 19px; white-space: pre; }
@keyframes apf-flow-site {
    0%, 2%     { transform: translateY(calc(var(--apf-row) * -1)); }
    9%, 94%    { transform: none; }
    99%, 100%  { transform: translateY(calc(var(--apf-row) * -1)); }
}
@keyframes apf-flow-new-site {
    0%, 3%     { opacity: 0; }
    10%, 94%   { opacity: 1; }
    98%, 100%  { opacity: 0; }
}
@keyframes apf-flow-ask {
    0%, 8.5%   { opacity: 0; transform: none; }
    10%        { opacity: 1; transform: none; }
    16.5%      { opacity: 1; transform: translateX(-23.2%); }
    18%, 100%  { opacity: 0; transform: translateX(-23.2%); }
}
@keyframes apf-flow-call-out {
    0%, 9.5%   { opacity: 0; }
    12%, 30%   { opacity: 1; }
    35%, 100%  { opacity: 0; }
}
@keyframes apf-flow-run {
    0%, 17.5%  { opacity: 0; transform: translateX(-1%); }
    20.5%      { opacity: 1; transform: none; }
    33%        { opacity: 1; transform: translateX(23.2%); }
    36%, 100%  { opacity: 0; transform: translateX(24.4%); }
}
@keyframes apf-flow-st-out {
    0%, 33%    { opacity: 0; transform: scale(0.8); }
    35%, 94%   { opacity: 1; transform: none; }
    98%, 100%  { opacity: 0; transform: none; }
}
@keyframes apf-flow-erp {
    0%, 33%    { transform: translateY(calc(var(--apf-row) * -1)); }
    38.5%, 94% { transform: none; }
    99%, 100%  { transform: translateY(calc(var(--apf-row) * -1)); }
}
@keyframes apf-flow-new-erp {
    0%, 34%    { opacity: 0; }
    39.5%, 94% { opacity: 1; }
    98%, 100%  { opacity: 0; }
}
@keyframes apf-flow-roll {
    0%, 34%    { transform: none; }
    38.5%, 94% { transform: translateY(-32px); }
    99%, 100%  { transform: none; }
}
@keyframes apf-flow-toast {
    0%, 38%    { opacity: 0; transform: translateY(12px); }
    41%, 52%   { opacity: 1; transform: none; }
    55%, 100%  { opacity: 0; transform: translateY(6px); }
}
@keyframes apf-flow-swap-a {
    0%, 50%    { opacity: 1; }
    53%, 95%   { opacity: 0; }
    98%, 100%  { opacity: 1; }
}
@keyframes apf-flow-swap-b {
    0%, 50%    { opacity: 0; transform: translateY(4px); }
    53%, 94%   { opacity: 1; transform: none; }
    97%, 100%  { opacity: 0; transform: none; }
}
@keyframes apf-flow-scrim {
    0%, 54%    { opacity: 0; }
    56.5%, 67% { opacity: 1; }
    69.5%, 100% { opacity: 0; }
}
@keyframes apf-flow-dlg {
    0%, 54.3%  { opacity: 0; transform: translateY(10px) scale(0.97); }
    56.8%, 67% { opacity: 1; transform: none; }
    69.5%, 100% { opacity: 0; transform: translateY(4px) scale(0.98); }
}
@keyframes apf-flow-type {
    0%, 57.5%  { transform: scaleX(1); animation-timing-function: steps(14, end); }
    63.5%, 70% { transform: scaleX(0); }
    70.5%, 100% { transform: scaleX(1); }
}
@keyframes apf-flow-call-in {
    0%, 66%    { opacity: 0; }
    68.5%, 80% { opacity: 1; }
    85%, 100%  { opacity: 0; }
}
@keyframes apf-flow-back {
    0%, 68%    { opacity: 0; transform: translateX(1%); }
    71%        { opacity: 1; transform: none; }
    82%        { opacity: 1; transform: translateX(-23.2%); }
    85%, 100%  { opacity: 0; transform: translateX(-24.4%); }
}
@keyframes apf-flow-flip-a {
    0%, 83%    { opacity: 1; transform: none; }
    85%, 95%   { opacity: 0; transform: scale(0.9); }
    98%, 100%  { opacity: 1; transform: none; }
}
@keyframes apf-flow-flip-b {
    0%, 83.5%  { opacity: 0; transform: scale(0.9); }
    86%, 94%   { opacity: 1; transform: none; }
    97%, 100%  { opacity: 0; transform: none; }
}
@keyframes apf-flow-hitrow {
    0%, 83%    { opacity: 0; }
    86%, 94%   { opacity: 1; }
    98%, 100%  { opacity: 0; }
}
@keyframes apf-flow-st-in {
    0%, 84.5%  { opacity: 0; transform: scale(0.8); }
    86.5%, 94% { opacity: 1; transform: none; }
    98%, 100%  { opacity: 0; transform: none; }
}
@keyframes apf-flow-toast-site {
    0%, 86%    { opacity: 0; transform: translateY(12px); }
    89%, 95%   { opacity: 1; transform: none; }
    98%, 100%  { opacity: 0; transform: translateY(6px); }
}
@keyframes apf-flow-pass {
    0%, 24%    { opacity: 0; transform: translateY(6px) scale(0.96); }
    27.5%, 94% { opacity: 1; transform: none; }
    98%, 100%  { opacity: 0; transform: none; }
}
@keyframes apf-flow-hit {
    0%, 23.5%  { opacity: 0; transform: none; }
    25.5%      { opacity: 1; transform: none; }
    33%        { opacity: 0; transform: scale(1.18); }
    74%        { opacity: 0; transform: none; }
    76%        { opacity: 1; transform: none; }
    83.5%, 100% { opacity: 0; transform: scale(1.18); }
}
@keyframes apf-flow-breathe {
    0%, 100%   { opacity: 0.25; transform: none; }
    50%        { opacity: 0.7; transform: scale(1.05); }
}
@keyframes apf-flow-tick {
    0%, 25%    { transform: none; }
    28%, 75.5% { transform: translateY(-20px); }
    78.5%, 94% { transform: translateY(-40px); }
    99%, 100%  { transform: none; }
}
@keyframes apf-flow-dash {
    to { transform: translateX(24px); }
}
@keyframes apf-flow-dash-in {
    from { transform: translateX(24px); }
    to   { transform: none; }
}
@keyframes apf-flow-press {
    0%, 100%  { transform: none; }
    0.6%      { transform: scale(0.94); }
    1.4%      { transform: none; }
}
@keyframes apf-flow-ring {
    0%, 100%  { opacity: 0; transform: none; }
    0.6%      { opacity: 1; transform: none; }
    4%        { opacity: 0; transform: scale(1.08, 1.3); }
}
@keyframes apf-flow-cur {
    0%, 46%    { opacity: 0; transform: translate(80%, 88%); }
    48%        { opacity: 1; transform: translate(80%, 88%); }
    53%        { opacity: 1; transform: translate(88.9%, 58.8%); }
    55%        { opacity: 1; transform: translate(88.9%, 58.8%); }
    59%        { opacity: 1; transform: translate(83%, 59%); }
    64.5%      { opacity: 1; transform: translate(86.4%, 67%); }
    68%        { opacity: 1; transform: translate(86.4%, 67%); }
    71%, 100%  { opacity: 0; transform: translate(82%, 78%); }
}
@keyframes apf-flow-cpress {
    0%, 100%  { transform: none; }
    53.3%     { transform: none; }
    53.8%     { transform: scale(0.86); }
    54.7%     { transform: none; }
    66.3%     { transform: none; }
    66.8%     { transform: scale(0.86); }
    67.7%     { transform: none; }
}
@media screen and (prefers-reduced-motion: no-preference) {
    .apf-flow .is-live .apf-flow__rows--site { animation: apf-flow-site var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__rows--site .apf-flow__row--new { animation: apf-flow-new-site var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__ask { animation: apf-flow-ask var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__call--out .apf-flow__call-hl { animation: apf-flow-call-out var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__run { animation: apf-flow-run var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__call--out .apf-flow__call-st { animation: apf-flow-st-out var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__rows--erp { animation: apf-flow-erp var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__rows--erp .apf-flow__row--new { animation: apf-flow-new-erp var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__roll > span { animation: apf-flow-roll var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__erp > .apf-flow__toast { animation: apf-flow-toast var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__swap > i:first-child { animation: apf-flow-swap-a var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__swap > i + i { animation: apf-flow-swap-b var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__scrim { animation: apf-flow-scrim var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__dlg { animation: apf-flow-dlg var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__ty::after { animation: apf-flow-type var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__call--in .apf-flow__call-hl { animation: apf-flow-call-in var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__back { animation: apf-flow-back var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__flip > i:first-child { animation: apf-flow-flip-a var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__flip > i + i { animation: apf-flow-flip-b var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__row--hit::before { animation: apf-flow-hitrow var(--apf-T) linear infinite both; }
    .apf-flow .is-live .apf-flow__call--in .apf-flow__call-st { animation: apf-flow-st-in var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__toast--site { animation: apf-flow-toast-site var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__pass { animation: apf-flow-pass var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__ring--hit { animation: apf-flow-hit var(--apf-T) var(--ease-out) infinite both; }
    .apf-flow .is-live .apf-flow__ring:not(.apf-flow__ring--hit) { animation: apf-flow-breathe 3.2s ease-in-out infinite both; }
    .apf-flow .is-live .apf-flow__track--out i { animation: apf-flow-dash 1.1s linear infinite; }
    .apf-flow .is-live .apf-flow__track--in i { animation: apf-flow-dash-in 1.1s linear infinite; }
    .apf-flow .is-live .apf-flow__tick > span { animation: apf-flow-tick var(--apf-T) var(--ease-inout) infinite both; }
    .apf-flow .is-live .apf-flow__inv { --p: 53.8; }
    .apf-flow .is-live .apf-flow__send { --p: 66.8; }
    .apf-flow .is-live .apf-press { animation: apf-flow-press var(--apf-T) var(--ease-out) calc(var(--apf-T) * var(--p, 0) / 100) infinite both; }
    .apf-flow .is-live .apf-press::after { animation: apf-flow-ring var(--apf-T) var(--ease-out) calc(var(--apf-T) * var(--p, 0) / 100) infinite both; }
    .apf-flow .is-live .apf-flow__cur { animation: apf-flow-cur var(--apf-T) var(--apf-glide) infinite both; }
    .apf-flow .is-live .apf-flow__cur svg { transform-origin: 3px 2px; animation: apf-flow-cpress var(--apf-T) var(--ease-out) infinite both; }
}
@media (max-width: 1279px) {
    .apf-flow__row { font-size: 12px; column-gap: 8px; padding: 0 8px; }
    .apf-flow__row .apf-mono { font-size: 12px; }
    .apf-flow__filters span:nth-child(n + 5) { display: none; }
    .apf-flow__pk { width: 236px; left: calc(38.4% - 118px); }
    .apf-flow__pk--in { width: 256px; left: calc(61.6% - 128px); }
    .apf-flow__pk-b { font-size: 11px; }
    .apf-flow__call-c { gap: 6px; font-size: 12px; }
    .apf-flow__call-st { display: none; }
    .apf-flow__limit { width: 210px; }
}
@media (max-width: 1023px) {
    .apf-flow__tray { display: flex; flex-direction: column; gap: 0; padding: 64px 24px 0; }
    .apf-flow__site,
    .apf-flow__erp,
    .apf-flow__gate { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; }
    .apf-flow__site { height: 400px; border-radius: 14px; }
    .apf-flow__site .apf-flow__clip { height: 250px; }
    .apf-flow__erp { height: 420px; }
    .apf-flow__erp .apf-flow__clip { height: 200px; }
    .apf-flow__gate { flex-direction: row; justify-content: center; align-items: center; gap: 12px 16px; padding: 20px 0; flex-wrap: wrap; }
    .apf-flow__calls { flex-basis: 100%; margin: 0; gap: 8px; }
    .apf-flow__call { grid-auto-flow: column; align-items: center; gap: 10px; }
    .apf-flow__call-st { display: inline-grid; }
    .apf-flow__door { margin: 0; width: auto; grid-auto-flow: column; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 14px; }
    .apf-flow__lock { width: 30px; height: 30px; margin: 0; }
    .apf-flow__lock svg { width: 16px; height: 16px; }
    .apf-flow__door small { display: none; }
    .apf-flow__ring { display: none; }
    .apf-flow__limit { display: none; }
    .apf-flow__pass { margin: 0 !important; }
    .apf-flow__track,
    .apf-flow__ask,
    .apf-flow__run,
    .apf-flow__back { display: none; }
    .apf-flow__site .apf-flow__toast--site { bottom: 20px; }
}
@media screen and (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
    .apf-flow .is-live .apf-flow__cur { animation-name: apf-flow-cur-n; }
}
@media (max-width: 767px) {
    .apf-flow__tray { padding: 56px 12px 0; }
    .apf-flow__body { padding: 14px 14px 0; }
    .apf-flow__site .apf-who,
    .apf-flow__erp .apf-who { display: none; }
    .apf-flow__filters span:nth-child(n + 4) { display: none; }
    .apf-flow__thead,
    .apf-flow__row { grid-template-columns: 1.6fr 1fr 0.8fr; }
    .apf-flow__thead > span:nth-child(2),
    .apf-flow__rows--site .apf-flow__row > span:nth-child(2) { display: none; }
    .apf-flow__thead--erp,
    .apf-flow__rows--erp .apf-flow__row { grid-template-columns: 1.6fr 1fr 1fr; }
    .apf-flow__thead--erp > span:nth-child(2),
    .apf-flow__rows--erp .apf-flow__row > span:nth-child(2) { display: inline; }
    .apf-flow__kpi b { font-size: 22px; }
    .apf-flow__toast { left: 12px; right: 12px; bottom: 16px; white-space: normal; }
    .apf-flow__call { grid-auto-flow: row; justify-items: center; gap: 4px; }
    .apf-flow__inv { padding: 0 8px; }
}
