@charset "utf-8";
.crf-apply__tray {
    display: grid;
    grid-template-columns: 336px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 56px 40px 0;
}
.crf-items { padding: 20px 20px 16px; }
.crf-items__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 12px; }
.crf-items__crumb { grid-column: 1 / -1; margin: 0 0 4px; font-size: 12px; line-height: 16px; color: var(--crf-muted); }
.crf-items__t { margin: 0; font-size: 17px; line-height: 24px; font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.crf-items__cnt { margin: 0; font-size: 13px; line-height: 20px; color: var(--crf-muted); }
.crf-items__cnt b { font-size: 15px; color: var(--sol-accent-em); }
.crf-items__list { margin: 0; padding: 0; list-style: none; }
.crf-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
}
.crf-item + .crf-item { margin-top: 2px; }
.crf-item:nth-child(odd) { background: #FAFAFB; }
.crf-item__n small { display: block; font-size: 12px; line-height: 16px; color: var(--crf-muted); }
.crf-item--pf { background: var(--crf-tint) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sol-accent) 28%, transparent); }
.crf-item--pf .crf-item__n { font-weight: var(--fw-bold); }
.crf-items__add {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(25, 23, 28, 0.2);
    font-size: 13px;
    color: var(--crf-muted);
}
.crf-items__add svg { width: 15px; height: 15px; }
.crf-ap { height: 600px; }
.crf-ap__in { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 18px 24px 0; }
.crf-ap__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crf-ap__t { margin: 0; font-size: 17px; line-height: 24px; font-weight: var(--fw-bold); letter-spacing: -0.02em; }
.crf-ap__t small { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--crf-muted); }
.crf-save {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--crf-tint);
    font-size: 12px;
    line-height: 20px;
    font-weight: var(--fw-semibold);
    color: var(--sol-accent-em);
    white-space: nowrap;
}
.crf-save svg { width: 14px; height: 14px; }
.crf-save::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--sol-accent) 50%, transparent);
    opacity: 0;
}
.k-saved .crf-save::after { animation: crf-ring 0.9s var(--ease-out) both; }
.crf-save .crf-v0 { opacity: 0; transform: translateY(-8px); }
.is-run:not(.k-saved) .crf-save .crf-v0 { opacity: 1; transform: none; }
.is-run:not(.k-saved) .crf-save .crf-v1 { opacity: 0; transform: translateY(8px); }
.crf-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.crf-steps__s { position: relative; padding-top: 10px; font-size: 12px; line-height: 16px; color: var(--crf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crf-steps__s::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--surface-sub); }
.crf-steps__f { position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--sol-accent); transform-origin: 0 50%; transition: transform 0.7s var(--crf-ease); }
.crf-steps__s--6 .crf-steps__f { transform: scaleX(0); }
.k-last .crf-steps__s--6 .crf-steps__f { transform: none; }
.crf-steps__s .crf-swap .crf-v1 { color: var(--sol-accent-em); font-weight: var(--fw-bold); }
.crf-steps__s--5 .crf-v0 { opacity: 0; }
.k-last .crf-steps__s--5 .crf-v0 { opacity: 1; }
.k-last .crf-steps__s--5 .crf-v1 { opacity: 0; }
.crf-steps__s--6 .crf-v1 { opacity: 0; }
.k-last .crf-steps__s--6 .crf-v1 { opacity: 1; }
.k-last .crf-steps__s--6 .crf-v0 { opacity: 0; }
.crf-ap__scenes { position: relative; display: grid; flex: 1; min-height: 0; margin-top: 18px; }
.crf-ap__s5, .crf-ap__s6 { grid-area: 1 / 1; min-width: 0; transition: opacity 0.4s var(--ease-out), transform 0.6s var(--crf-ease); }
.crf-ap__s6 { opacity: 0; transform: translateX(28px); }
.k-last .crf-ap__s5 { opacity: 0; transform: translateX(-28px); }
.k-last .crf-ap__s6 { opacity: 1; transform: none; }
.crf-ap__l { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: var(--fw-bold); }
.crf-ap__cnt { margin-left: auto; font-weight: 400; color: var(--crf-muted); }
.crf-ap__cnt b { color: var(--ink); }
.crf-ap__text {
    min-height: 70px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--crf-field);
    box-shadow: inset 0 0 0 1px var(--crf-line);
    font-size: 14px;
    line-height: 22px;
}
.crf-ap__pf { margin-top: 16px; transition: opacity 0.4s var(--ease-out), transform 0.6s var(--crf-ease); }
.is-run:not(.k-pf) .crf-ap__pf { opacity: 0; transform: translateY(14px); }
.crf-drop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px dashed color-mix(in srgb, var(--sol-accent) 45%, transparent);
    background: color-mix(in srgb, var(--sol-accent) 4%, #fff);
    font-size: 12px;
    line-height: 17px;
    color: var(--crf-muted);
}
.crf-drop.crf-hov::before { background: var(--crf-tint); }
.crf-drop svg { flex: none; width: 22px; height: 22px; color: var(--sol-accent-em); }
.crf-drop b { display: block; font-size: 13px; line-height: 19px; color: var(--ink); font-weight: var(--fw-semibold); }
.crf-files { display: grid; gap: 6px; margin-top: 8px; }
.crf-file {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 120px 22px;
    align-items: center;
    column-gap: 12px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px var(--crf-line);
    font-size: 13px;
    line-height: 18px;
    transition: opacity 0.36s var(--ease-out), transform 0.56s var(--crf-ease);
}
.crf-file__ic { display: grid; place-items: center; height: 26px; border-radius: 6px; background: var(--crf-tint); font-size: 12px; font-weight: var(--fw-bold); color: var(--sol-accent-em); letter-spacing: 0; }
.crf-file__n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fw-semibold); }
.crf-file__n small { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--crf-muted); }
.crf-file__bar { position: relative; height: 4px; border-radius: 2px; background: var(--surface-sub); overflow: hidden; }
.crf-file__bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--sol-accent); transform-origin: 0 50%; transition: transform 1s cubic-bezier(0.45, 0, 0.25, 1) 0.18s; }
.crf-file__ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sol-accent); transition: opacity 0.25s var(--ease-out) 1.1s, transform 0.4s var(--ease-out) 1.1s; }
.crf-file__ok svg { width: 13px; height: 13px; color: #fff; stroke-width: 3; }
.is-run:not(.k-f1) .crf-file--1,
.is-run:not(.k-f2) .crf-file--2 { opacity: 0; transform: translateY(-8px); }
.is-run:not(.k-f1) .crf-file--1 .crf-file__bar i,
.is-run:not(.k-f2) .crf-file--2 .crf-file__bar i { transform: scaleX(0); }
.is-run:not(.k-f1) .crf-file--1 .crf-file__ok,
.is-run:not(.k-f2) .crf-file--2 .crf-file__ok { opacity: 0; transform: scale(0.4); }
.crf-ap__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.crf-ap__foot > :first-child { margin-right: auto; }
.crf-ap__chk { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crf-ap__chk li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: #FAFAFB; font-size: 14px; line-height: 20px; }
.crf-ap__chk .crf-ok { width: 22px; height: 22px; transition: opacity 0.25s var(--ease-out), transform 0.45s var(--ease-out); transition-delay: calc(var(--i) * 0.14s + 0.35s); }
.crf-ap__chk .crf-ok svg { width: 13px; height: 13px; }
.is-run:not(.k-last) .crf-ap__chk .crf-ok { opacity: 0; transform: scale(0.3); transition-delay: 0s; }
.crf-ap__info { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; line-height: 19px; color: var(--crf-muted); }
.crf-ap__info svg { flex: none; width: 16px; height: 16px; color: var(--sol-accent-em); }
.crf-ap__done {
    position: absolute;
    inset: -8px -24px 0;
    z-index: 2;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.94);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    text-align: center;
}
.crf-ap__badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--sol-accent);
    transform: scale(0.5);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}
.crf-ap__badge svg { width: 30px; height: 30px; color: #fff; stroke-width: 2.6; }
.crf-ap__badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--sol-accent);
    opacity: 0;
}
.k-done .crf-ap__badge::after { animation: crf-halo 1.4s var(--ease-out) 0.3s both; }
@keyframes crf-halo {
    0%   { opacity: 0.35; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.2); }
}
.crf-ap__dt { margin: 0; font-size: 20px; line-height: 28px; font-weight: var(--fw-bold); letter-spacing: -0.02em; transform: translateY(8px); transition: transform 0.5s var(--ease-out) 0.15s; }
.crf-ap__dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--crf-muted); transform: translateY(8px); transition: transform 0.5s var(--ease-out) 0.22s; }
.k-done .crf-ap__done { opacity: 1; }
.k-done .crf-ap__badge,
.k-done .crf-ap__dt,
.k-done .crf-ap__dd { transform: none; }
@media (max-width: 1279px) {
    .crf-apply__tray { grid-template-columns: 296px minmax(0, 1fr); gap: 20px; padding-inline: 24px; }
    .crf-steps__s > span { display: none; }
    .crf-steps__s--5 > span, .crf-steps__s--6 > span { display: inline-grid; }
    .crf-file { grid-template-columns: 34px minmax(0, 1fr) 80px 22px; }
}
@media (max-width: 1023px) {
    .crf-apply__tray { display: block; }
    .crf-items { margin-bottom: 16px; }
    .crf-item--m { display: none; }
    .crf-ap { height: 600px; }
}
@media (max-width: 767px) {
    .crf-items { padding: 16px 14px 12px; }
    .crf-items__add { display: none; }
    .crf-ap { height: 640px; }
    .crf-ap__in { padding: 14px 14px 0; }
    .crf-ap__top { flex-wrap: wrap; }
    .crf-ap__t small { display: block; margin-left: 0; }
    .crf-steps { gap: 4px; }
    .crf-steps__s--5 > span { display: none; }
    .crf-steps__s--6 > span { display: none; }
    .crf-file { grid-template-columns: 34px minmax(0, 1fr) 22px; }
    .crf-file__bar { display: none; }
    .crf-drop span { min-width: 0; }
}
