@charset "utf-8";
.apf-ctrl { --apf-T: 30s; --apf-r: 40px; }
.apf-ctrl__tray { height: 720px; }
.apf-ctrl__win {
    position: absolute;
    left: 3.4%;
    right: 3.4%;
    top: 56px;
    bottom: 0;
}
.apf-ctrl__live { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--apf-ok-bg); color: var(--apf-ok); font-size: 12px; font-weight: var(--fw-semibold); white-space: nowrap; }
.apf-ctrl__live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.apf-ctrl__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: 0; }
.apf-ctrl__live--s { height: 22px; padding: 0 8px; font-size: 12px; }
.apf-ctrl__win .apf-top .apf-ctrl__live { margin-left: auto; }
.apf-ctrl__win .apf-top .apf-who { margin-left: 0; }
.apf-ctrl__body {
    position: absolute;
    inset: 90px 0 0;
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
}
.apf-ctrl__nav { padding: 16px 10px; border-right: 1px solid var(--apf-line-2); background: #FBFBFC; }
.apf-ctrl__nav-t { margin: 2px 10px 10px !important; font-size: 12px; font-weight: var(--fw-bold); color: var(--apf-muted); }
.apf-ctrl__nav-i { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 9px; font-size: 13px; color: var(--apf-muted); white-space: nowrap; }
.apf-ctrl__nav-i + .apf-ctrl__nav-i { margin-top: 2px !important; }
.apf-ctrl__nav-i svg { flex: none; width: 16px; height: 16px; stroke-width: 1.9; }
.apf-ctrl__nav-i.is-on { background: var(--apf-tint); color: var(--sol-accent-em); font-weight: var(--fw-semibold); }
.apf-ctrl__main { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 0; }
.apf-ctrl__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.apf-ctrl__kpi {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--apf-line);
}
.apf-ctrl__kpi small { grid-column: 1 / -1; font-size: 12px; line-height: 17px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-ctrl__num { font-size: 24px; line-height: 30px; font-weight: var(--fw-bold); letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.apf-ctrl__unit { font-size: 16px; margin-left: 1px; }
.apf-ctrl__kpi em { justify-self: end; font-style: normal; font-size: 12px; line-height: 17px; color: var(--apf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.apf-ctrl__kpi--bad .apf-ctrl__num { color: var(--apf-bad); }
.apf-ctrl__roll { --h: 30px; display: inline-block; height: var(--h); overflow: hidden; vertical-align: top; }
.apf-ctrl__roll > span { display: block; height: var(--h); line-height: var(--h); }
.apf-ctrl__roll--calls > span { transform: translateY(-200%); }
.apf-ctrl__roll--deny > span { transform: translateY(-100%); }
.apf-ctrl__roll--min > span,
.apf-ctrl__roll--day > span { transform: translateY(-100%); }
.apf-ctrl__grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 14px;
    margin-top: 14px;
    padding-bottom: 16px;
}
.apf-ctrl__card { position: relative; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--apf-line); }
.apf-ctrl__ct { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: var(--fw-bold); white-space: nowrap; }
.apf-ctrl__cs { margin-left: auto; font-size: 12px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-ctrl__log { overflow: hidden; }
.apf-ctrl__log-h { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; }
.apf-ctrl__tabs { display: flex; gap: 4px; }
.apf-ctrl__tabs span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 12px; color: var(--apf-muted); white-space: nowrap; }
.apf-ctrl__tabs .is-on { background: var(--apf-sub); color: var(--ink); font-weight: var(--fw-semibold); }
.apf-ctrl__th,
.apf-ctrl__tr {
    display: grid;
    grid-template-columns: 62px 86px minmax(0, 1fr) 96px 150px;
    align-items: center;
    column-gap: 12px;
    padding: 0 16px;
    white-space: nowrap;
}
.apf-ctrl__th { height: 32px; background: var(--apf-sub); font-size: 12px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-ctrl__clip { position: relative; height: calc(var(--apf-r) * 9); overflow: hidden; }
.apf-ctrl__rows { transform: translateY(calc(var(--apf-r) * -6)); }
.apf-ctrl__tr { position: relative; z-index: 0; height: var(--apf-r); border-bottom: 1px solid var(--apf-line-2); font-size: 13px; }
.apf-ctrl__tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.apf-ctrl__tr > .apf-mono { font-size: 12px; color: var(--apf-muted); }
.apf-ctrl__tr i { font-style: normal; }
.apf-ctrl__tr--bad::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #FFF8F7; }
.apf-ctrl__tr--n::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--sol-accent) 7%, transparent); opacity: 0; }
.apf-ctrl__tr--pick::after { box-shadow: inset 0 0 0 1.5px var(--sol-accent); border-radius: 8px; opacity: 1; }
.apf-ctrl__rq { display: flex; align-items: center; gap: 7px; }
.apf-ctrl__rq .apf-mono { font-size: 12px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.apf-ctrl__rq > span:not(.apf-mono) { font-size: 13px; }
.apf-ctrl__tok { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 22px; padding: 0 6px; border-radius: 6px; background: #FFF4DE; color: #7A4B00; font-size: 12px; font-weight: var(--fw-bold); }
.apf-ctrl__rq .apf-method { flex: none; }
.apf-ctrl__res { display: flex; align-items: center; gap: 7px; }
.apf-ctrl__res small { font-size: 12px; color: var(--apf-bad); overflow: hidden; text-overflow: ellipsis; }
.apf-ctrl__tr > .apf-ctrl__ip-x,
.apf-ctrl__ip-x { color: var(--apf-bad); }
.apf-ctrl__det {
    position: absolute;
    right: 16px;
    top: calc(48px + 32px + var(--apf-r) + 8px);
    z-index: 3;
    width: 372px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--apf-line), 0 24px 48px -14px rgba(24, 20, 64, 0.34);
}
.apf-ctrl__det-k { display: flex; align-items: center; gap: 8px; }
.apf-ctrl__det-i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--apf-bad-bg); color: var(--apf-bad); }
.apf-ctrl__det-i svg { width: 15px; height: 15px; }
.apf-ctrl__det-x { margin-left: auto; font-size: 20px; line-height: 1; color: var(--apf-muted); }
.apf-ctrl__det-t { margin-top: 10px !important; font-size: 16px; line-height: 23px; font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.apf-ctrl__det-d { margin-top: 2px !important; font-size: 13px; line-height: 19px; color: var(--apf-muted); word-break: keep-all; }
.apf-ctrl__det-g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0 0; }
.apf-ctrl__det-g div { padding: 7px 10px; border-radius: 9px; background: var(--apf-sub); }
.apf-ctrl__det-g dt { font-size: 12px; line-height: 16px; color: var(--apf-muted); }
.apf-ctrl__det-g dd { margin: 2px 0 0; font-size: 13px; line-height: 18px; font-weight: var(--fw-semibold); white-space: nowrap; }
.apf-ctrl__det-g dd.apf-mono { font-size: 12px; }
.apf-ctrl__det-f { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; }
.apf-ctrl__det-c { margin-right: auto; font-size: 12px; color: var(--apf-muted); white-space: nowrap; }
.apf-ctrl__det-c .apf-mono { margin-left: 2px; }
.apf-ctrl__block.apf-press::after { border-radius: 12px; }
.apf-ctrl__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.apf-ctrl__lim,
.apf-ctrl__keys,
.apf-ctrl__ips { padding: 14px 16px; }
.apf-ctrl__gauge { margin-top: 10px; }
.apf-ctrl__gl { display: flex; align-items: center; justify-content: space-between; font-size: 12px; line-height: 18px; color: var(--apf-muted); }
.apf-ctrl__gl b { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.apf-ctrl__gl .apf-ctrl__roll { --h: 18px; }
.apf-ctrl__bar { height: 6px; margin-top: 6px !important; border-radius: 3px; background: var(--apf-sub); overflow: hidden; }
.apf-ctrl__bar i { display: block; height: 100%; border-radius: 3px; background: var(--sol-accent); transform-origin: left center; }
.apf-ctrl__bar-min { transform: scaleX(0.85); }
.apf-ctrl__bar-day { transform: scaleX(0.962); }
.apf-ctrl__klist { margin-top: 6px !important; }
.apf-ctrl__kr {
    position: relative;
    z-index: 0;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    height: 38px;
    font-size: 13px;
}
.apf-ctrl__kr + .apf-ctrl__kr { border-top: 1px solid var(--apf-line-2); }
.apf-ctrl__kr b { font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apf-ctrl__kr i { font-style: normal; }
.apf-ctrl__sc { position: relative; display: flex; gap: 4px; justify-self: start; }
.apf-ctrl__sc .apf-chip { height: 22px; padding: 0 7px; }
.apf-ctrl__ts { justify-self: end; }
.apf-ctrl__swap { display: grid; justify-items: end; }
.apf-ctrl__swap > i { grid-area: 1 / 1; }
.apf-ctrl__swap > i + i { opacity: 0; }
.apf-ctrl .apf-chip--warn { background: #FFF4DE; color: #7A4B00; }
.apf-ctrl__kr--crm::after { content: ""; position: absolute; inset: 3px -8px; z-index: -1; border-radius: 9px; background: color-mix(in srgb, var(--sol-accent) 7%, transparent); opacity: 0; }
.apf-ctrl__kr--acc .apf-ctrl__sc::after { content: ""; position: absolute; inset: -4px -5px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--sol-accent); opacity: 0; }
.apf-ctrl__tip {
    position: absolute;
    left: 82px;
    top: calc(100% + 4px);
    z-index: 4;
    padding: 7px 12px;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    line-height: 17px;
    font-weight: var(--fw-semibold);
    white-space: nowrap;
    box-shadow: 0 12px 24px -8px rgba(16, 10, 40, 0.4);
    opacity: 0;
}
.apf-ctrl__tip::before { content: ""; position: absolute; left: 16px; top: -4px; width: 8px; height: 8px; background: inherit; transform: rotate(45deg); }
.apf-ctrl__ipr { display: flex; align-items: center; gap: 6px; margin-top: 10px !important; }
.apf-ctrl__ipr + .apf-ctrl__ipr { margin-top: 8px !important; }
.apf-ctrl__ipr i { font-style: normal; }
.apf-ctrl__ipl { flex: none; width: 30px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--apf-muted); }
.apf-ctrl__ip-new { opacity: 0; }
.apf-ctrl__toast { right: 24px; bottom: 24px; z-index: 6; opacity: 0; }
.apf-ctrl__fh { margin: 56px 0 0; padding: 0 8px; font-size: 15px; line-height: 22px; font-weight: var(--fw-bold); color: var(--sol-accent-em); }
.apf-ctrl__fh + .apf-facts { margin-top: 20px; }
@keyframes apf-ctrl-rows {
    0%, 5%        { opacity: 1; transform: translateY(calc(var(--apf-r) * -8)); }
    6.5%, 11%     { opacity: 1; transform: translateY(calc(var(--apf-r) * -7)); }
    12.5%, 36%    { opacity: 1; transform: translateY(calc(var(--apf-r) * -6)); }
    37.5%, 44%    { opacity: 1; transform: translateY(calc(var(--apf-r) * -5)); }
    45.5%, 50%    { opacity: 1; transform: translateY(calc(var(--apf-r) * -4)); }
    51.5%, 56%    { opacity: 1; transform: translateY(calc(var(--apf-r) * -3)); }
    57.5%, 64%    { opacity: 1; transform: translateY(calc(var(--apf-r) * -2)); }
    65.5%, 80%    { opacity: 1; transform: translateY(calc(var(--apf-r) * -1)); }
    81.5%, 92%    { opacity: 1; transform: none; }
    94.5%, 95%    { opacity: 0; transform: none; }
    95.5%, 96%    { opacity: 0; transform: translateY(calc(var(--apf-r) * -8)); }
    99%, 100%     { opacity: 1; transform: translateY(calc(var(--apf-r) * -8)); }
}
@keyframes apf-ctrl-flash {
    0%         { opacity: 0; }
    1%         { opacity: 1; }
    10%, 100%  { opacity: 0; }
}
@keyframes apf-ctrl-pick {
    0%, 11%     { opacity: 0; }
    12%         { opacity: 1; }
    14.5%       { opacity: 0.25; }
    15.6%, 28.5% { opacity: 1; }
    30%, 100%   { opacity: 0; }
}
@keyframes apf-ctrl-det {
    0%, 16%     { opacity: 0; transform: translateY(6px) scale(0.98); }
    17.5%, 28%  { opacity: 1; transform: none; }
    29.5%, 100% { opacity: 0; transform: translateY(4px); }
}
@keyframes apf-ctrl-ipnew {
    0%, 29%     { opacity: 0; transform: scale(0.6); }
    30.5%, 93%  { opacity: 1; transform: none; }
    95%, 100%   { opacity: 0; transform: none; }
}
@keyframes apf-ctrl-toast {
    0%, 29.5%   { opacity: 0; transform: translateY(10px); }
    31%, 36%    { opacity: 1; transform: none; }
    38%, 100%   { opacity: 0; transform: translateY(-4px); }
}
@keyframes apf-ctrl-calls {
    0%, 5%      { opacity: 1; transform: none; }
    6%, 11%     { opacity: 1; transform: translateY(-100%); }
    12%, 36%    { opacity: 1; transform: translateY(-200%); }
    37%, 44%    { opacity: 1; transform: translateY(-300%); }
    45%, 50%    { opacity: 1; transform: translateY(-400%); }
    51%, 56%    { opacity: 1; transform: translateY(-500%); }
    57%, 64%    { opacity: 1; transform: translateY(-600%); }
    65%, 80%    { opacity: 1; transform: translateY(-700%); }
    81%, 92%    { opacity: 1; transform: translateY(-800%); }
    94.5%, 95%  { opacity: 0; transform: translateY(-800%); }
    95.5%, 96%  { opacity: 0; transform: none; }
    99%, 100%   { opacity: 1; transform: none; }
}
@keyframes apf-ctrl-deny {
    0%, 11%     { opacity: 1; transform: none; }
    12%, 44%    { opacity: 1; transform: translateY(-100%); }
    45%, 64%    { opacity: 1; transform: translateY(-200%); }
    65%, 92%    { opacity: 1; transform: translateY(-300%); }
    94.5%, 95%  { opacity: 0; transform: translateY(-300%); }
    95.5%, 96%  { opacity: 0; transform: none; }
    99%, 100%   { opacity: 1; transform: none; }
}
@keyframes apf-ctrl-left {
    0%, 5%      { opacity: 1; transform: none; }
    6%, 36%     { opacity: 1; transform: translateY(-100%); }
    37%, 80%    { opacity: 1; transform: translateY(-200%); }
    81%, 92%    { opacity: 1; transform: translateY(-300%); }
    94.5%, 95%  { opacity: 0; transform: translateY(-300%); }
    95.5%, 96%  { opacity: 0; transform: none; }
    99%, 100%   { opacity: 1; transform: none; }
}
@keyframes apf-ctrl-bar {
    0%, 5%      { transform: scaleX(0.867); }
    6%, 36%     { transform: scaleX(0.85); }
    37%, 80%    { transform: scaleX(0.833); }
    81%, 94%    { transform: scaleX(0.817); }
    97%, 100%   { transform: scaleX(0.867); }
}
@keyframes apf-ctrl-tok-a {
    0%, 44%     { opacity: 1; }
    44.8%, 95%  { opacity: 0; }
    96.5%, 100% { opacity: 1; }
}
@keyframes apf-ctrl-tok-b {
    0%, 44%     { opacity: 0; transform: scale(0.9); }
    45%, 50%    { opacity: 1; transform: none; }
    51%, 100%   { opacity: 0; transform: none; }
}
@keyframes apf-ctrl-tok-c {
    0%, 50.2%   { opacity: 0; transform: scale(0.9); }
    51.2%, 94%  { opacity: 1; transform: none; }
    95.5%, 100% { opacity: 0; transform: none; }
}
@keyframes apf-ctrl-crm {
    0%, 43.5%   { opacity: 0; }
    45%         { opacity: 1; }
    49%         { opacity: 0.3; }
    51%         { opacity: 1; }
    56%, 100%   { opacity: 0; }
}
@keyframes apf-ctrl-acc {
    0%, 64%     { opacity: 0; }
    65.5%, 78%  { opacity: 1; }
    80%, 100%   { opacity: 0; }
}
@keyframes apf-ctrl-tip {
    0%, 64.5%   { opacity: 0; transform: translateY(4px); }
    66%, 78%    { opacity: 1; transform: none; }
    80%, 100%   { opacity: 0; transform: none; }
}
@keyframes apf-ctrl-pulse {
    0%          { opacity: 0.55; transform: none; }
    70%, 100%   { opacity: 0; transform: scale(2.6); }
}
@keyframes apf-ctrl-press {
    0%, 100%  { transform: none; }
    0.5%      { transform: scale(0.94); }
    1.2%      { transform: none; }
}
@keyframes apf-ctrl-ring {
    0%, 100%  { opacity: 0; transform: none; }
    0.5%      { opacity: 1; transform: none; }
    3.5%      { opacity: 0; transform: scale(1.08, 1.3); }
}
@keyframes apf-ctrl-cur {
    0% { opacity: 1; transform: translate(50%, 34%); }
    11% { opacity: 1; transform: translate(50%, 34%); }
    14.5% { opacity: 1; transform: translate(59%, 49.4%); }
    16.5% { opacity: 1; transform: translate(59%, 49.4%); }
    21% { opacity: 1; transform: translate(55%, 68%); }
    23.5% { opacity: 1; transform: translate(56%, 72%); }
    25.8% { opacity: 1; transform: translate(61.9%, 85.6%); }
    28% { opacity: 1; transform: translate(61.9%, 85.6%); }
    31% { opacity: 1; transform: translate(86.4%, 92.6%); }
    35% { opacity: 1; transform: translate(86.4%, 92.6%); }
    40% { opacity: 1; transform: translate(89%, 75%); }
    43% { opacity: 1; transform: translate(91%, 68.8%); }
    53% { opacity: 1; transform: translate(91%, 68.8%); }
    58% { opacity: 1; transform: translate(66%, 52%); }
    62% { opacity: 1; transform: translate(72%, 64%); }
    66% { opacity: 1; transform: translate(80.2%, 74.2%); }
    77% { opacity: 1; transform: translate(80.2%, 74.2%); }
    86% { opacity: 1; transform: translate(62%, 42%); }
    100% { opacity: 1; transform: translate(50%, 34%); }
}
@keyframes apf-ctrl-cpress {
    0%, 100% { transform: none; }
    15.1% { transform: none; }
    15.5% { transform: scale(0.86); }
    16.3% { transform: none; }
    26.6% { transform: none; }
    27% { transform: scale(0.86); }
    27.8% { transform: none; }
}
@media screen and (prefers-reduced-motion: no-preference) {
    .apf-ctrl .is-live .apf-ctrl__rows { animation: apf-ctrl-rows var(--apf-T) var(--ease-inout) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__tr--n::after { animation: apf-ctrl-flash var(--apf-T) var(--ease-out) calc(var(--apf-T) * var(--at) / 100) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__tr--pick::after { animation: apf-ctrl-pick var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__det { animation: apf-ctrl-det var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__ip-new { animation: apf-ctrl-ipnew var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__toast { animation: apf-ctrl-toast var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__roll--calls > span { animation: apf-ctrl-calls var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__roll--deny > span { animation: apf-ctrl-deny var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__roll--min > span,
    .apf-ctrl .is-live .apf-ctrl__roll--day > span { animation: apf-ctrl-left var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__bar-min { animation: apf-ctrl-bar var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__swap > i:nth-child(1) { animation: apf-ctrl-tok-a var(--apf-T) linear infinite both; }
    .apf-ctrl .is-live .apf-ctrl__swap > i:nth-child(2) { animation: apf-ctrl-tok-b var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__swap > i:nth-child(3) { animation: apf-ctrl-tok-c var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__kr--crm::after { animation: apf-ctrl-crm var(--apf-T) linear infinite both; }
    .apf-ctrl .is-live .apf-ctrl__kr--acc .apf-ctrl__sc::after { animation: apf-ctrl-acc var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__tip { animation: apf-ctrl-tip var(--apf-T) var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__live i::after { animation: apf-ctrl-pulse 2s var(--ease-out) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__block { animation: apf-ctrl-press var(--apf-T) var(--ease-out) calc(var(--apf-T) * 0.27) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__block::after { animation: apf-ctrl-ring var(--apf-T) var(--ease-out) calc(var(--apf-T) * 0.27) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__cur { animation: apf-ctrl-cur var(--apf-T) var(--apf-glide) infinite both; }
    .apf-ctrl .is-live .apf-ctrl__cur svg { transform-origin: 3px 2px; animation: apf-ctrl-cpress var(--apf-T) var(--ease-out) infinite both; }
}
@media (max-width: 1439px) {
    .apf-ctrl__th,
    .apf-ctrl__tr { grid-template-columns: 62px 86px minmax(0, 1fr) 150px; }
    .apf-ctrl__th > span:nth-child(4),
    .apf-ctrl__tr > span:nth-child(4) { display: none; }
}
@media (max-width: 1279px) {
    .apf-ctrl__body { grid-template-columns: minmax(0, 1fr); }
    .apf-ctrl__nav { display: none; }
    .apf-ctrl__grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1023px) {
    .apf-ctrl__tray { height: auto; padding: 56px 24px 0; }
    .apf-ctrl__win { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
    .apf-ctrl__body { position: relative; inset: auto; }
    .apf-ctrl__main { padding: 16px 16px 0; }
    .apf-ctrl__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .apf-ctrl__grid { grid-template-columns: minmax(0, 1fr); }
    .apf-ctrl__toast { right: 16px; bottom: 16px; }
}
@media screen and (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
    .apf-ctrl .is-live .apf-ctrl__cur { animation-name: apf-ctrl-cur-n; }
}
@media (max-width: 767px) {
    .apf-ctrl__tray { padding: 48px 12px 0; }
    .apf-ctrl__win .apf-top .apf-who,
    .apf-ctrl__win .apf-top .apf-crumb { display: none; }
    .apf-ctrl__win .apf-top .apf-ctrl__live { margin-left: auto; }
    .apf-ctrl__main { padding: 12px 12px 0; }
    .apf-ctrl__kpi { padding: 10px 12px; }
    .apf-ctrl__kpi em { display: none; }
    .apf-ctrl__num { font-size: 20px; }
    .apf-ctrl__log-h { padding: 0 12px; }
    .apf-ctrl__tabs span:not(.is-on) { display: none; }
    .apf-ctrl__th,
    .apf-ctrl__tr { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 8px; padding: 0 12px; }
    .apf-ctrl__th > span:nth-child(1),
    .apf-ctrl__tr > span:nth-child(1),
    .apf-ctrl__th > span:nth-child(4),
    .apf-ctrl__tr > span:nth-child(4) { display: none; }
    .apf-ctrl__res small { display: none; }
    .apf-ctrl__rq .apf-method,
    .apf-ctrl__rq .apf-ctrl__tok { display: none; }
    .apf-ctrl__det { left: 10px; right: 10px; width: auto; padding: 14px; }
    .apf-ctrl__det-f { flex-wrap: wrap; }
    .apf-ctrl__det-c { flex-basis: 100%; }
    .apf-ctrl__toast { left: 12px; right: 12px; white-space: normal; }
    .apf-ctrl__fh { padding: 0; }
}
