/* Workflow file upload — premium progress overlay (UI only) */

.wf-up-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    pointer-events: none;
}

.wf-up-overlay[aria-hidden="true"],
.wf-up-overlay.hidden,
.wf-up-overlay:not(.is-open),
.wf-up-overlay:not(.is-open) .wf-up-ring,
.wf-up-overlay:not(.is-open) .wf-up-ring__glow,
.wf-up-overlay:not(.is-open) .wf-up-ring__svg,
.wf-up-overlay:not(.is-open) .wf-up-success__ring {
    display: none !important;
}

/* İç paneller (yükleme / hata / başarı): .hidden yalnız kök overlay için değil alt öğelerde de geçerli */
.wf-up-overlay .hidden {
    display: none !important;
}

.wf-up-overlay.is-open {
    display: flex;
    pointer-events: auto;
}

.wf-up-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    opacity: 0;
    transition: opacity 0.45s ease;
    will-change: opacity;
}

.wf-up-overlay.is-open .wf-up-overlay__backdrop {
    opacity: 1;
}

.wf-up-overlay__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 52rem);
    max-height: min(92vh, 44rem);
    overflow: auto;
    border-radius: 1.35rem;
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.88) 0%, rgba(15, 23, 42, 0.92) 48%, rgba(49, 46, 129, 0.85) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 28px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(124, 58, 237, 0.18);
    color: #f8fafc;
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.97);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.wf-up-overlay.is-open .wf-up-overlay__panel {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.wf-up-overlay__inner {
    padding: 1.35rem 1.35rem 1.15rem;
}

@media (min-width: 640px) {
    .wf-up-overlay__inner {
        padding: 1.65rem 1.75rem 1.35rem;
    }
}

.wf-up-header {
    margin-bottom: 1.25rem;
}

.wf-up-header__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.wf-up-header__titles {
    min-width: 0;
    flex: 1;
}

.wf-up-minimize-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(167, 139, 250, 0.35);
    background: rgba(124, 58, 237, 0.18);
    color: #e9d5ff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.wf-up-minimize-btn:hover {
    background: rgba(124, 58, 237, 0.32);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
}

.wf-up-minimize-btn:active {
    transform: scale(0.97);
}

.wf-up-minimize-btn__icon {
    width: 1rem;
    height: 1rem;
}

.wf-up-minimize-btn__label {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .wf-up-minimize-btn__label {
        display: none;
    }
    .wf-up-minimize-btn {
        padding: 0.45rem;
    }
}

.wf-up-header__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.wf-up-header__sub {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.72);
}

.wf-up-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .wf-up-main {
        grid-template-columns: minmax(9.5rem, 11rem) 1fr;
        gap: 1.5rem;
        align-items: start;
    }
}

/* Circular ring */
.wf-up-ring-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wf-up-ring {
    position: relative;
    width: 9.5rem;
    height: 9.5rem;
    filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.45));
}

.wf-up-ring__svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    animation: wf-up-ring-spin 8s linear infinite;
}

.wf-up-ring__track {
    fill: none;
    stroke: rgba(148, 163, 184, 0.18);
    stroke-width: 6;
}

.wf-up-ring__progress {
    fill: none;
    stroke: url(#wf-up-ring-gradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 0.35s ease;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.8));
}

.wf-up-ring__glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.2);
    animation: wf-up-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

.wf-up-ring__center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    text-align: center;
    padding: 0.5rem;
}

.wf-up-ring__icon {
    width: 1.35rem;
    height: 1.35rem;
    color: rgba(196, 181, 253, 0.95);
    margin-bottom: 0.15rem;
}

.wf-up-ring__pct {
    font-size: 1.65rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
}

.wf-up-ring__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(196, 181, 253, 0.85);
}

/* Meta cards */
.wf-up-meta {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.wf-up-meta__row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

.wf-up-meta__icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(124, 58, 237, 0.22);
    font-size: 0.9rem;
    line-height: 1;
}

.wf-up-meta__body {
    min-width: 0;
    flex: 1;
}

.wf-up-meta__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(148, 163, 184, 0.85);
    margin-bottom: 0.1rem;
}

.wf-up-meta__value {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #f1f5f9;
    word-break: break-word;
}

/* Linear bar */
.wf-up-bar-block {
    margin-top: 1.35rem;
}

.wf-up-bar {
    position: relative;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12) inset;
}

.wf-up-bar__fill {
    position: relative;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed 0%, #ec4899 45%, #8b5cf6 100%);
    background-size: 200% 100%;
    animation: wf-up-gradient-flow 2.8s ease infinite;
    transition: width 0.35s ease;
    will-change: width;
}

.wf-up-bar__fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.35) 45%,
        transparent 70%
    );
    background-size: 200% 100%;
    animation: wf-up-shine 1.8s ease-in-out infinite;
    border-radius: inherit;
}

.wf-up-bar__bytes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.45rem;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: rgba(226, 232, 240, 0.78);
}

.wf-up-bar__eta {
    color: rgba(196, 181, 253, 0.9);
    font-weight: 600;
    white-space: nowrap;
}

/* Stat cards */
.wf-up-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .wf-up-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .wf-up-stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.wf-up-stat {
    padding: 0.55rem 0.6rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.035);
    min-height: 3.35rem;
}

.wf-up-stat__head {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.25rem;
}

.wf-up-stat__value {
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #f8fafc;
    line-height: 1.2;
}

.wf-up-stat__sub {
    margin-top: 0.15rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.75);
}

.wf-up-stat__sub.is-good {
    color: #4ade80;
}

.wf-up-stat__spark {
    display: block;
    height: 0.35rem;
    margin-top: 0.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.55), rgba(124, 58, 237, 0.2));
    background-size: 200% 100%;
    animation: wf-up-gradient-flow 1.6s ease infinite;
}

/* Tip ticker */
.wf-up-tip {
    margin-top: 1rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(124, 58, 237, 0.22);
    background: rgba(124, 58, 237, 0.1);
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(226, 232, 240, 0.88);
    min-height: 2.25rem;
    display: flex;
    align-items: center;
}

.wf-up-tip__text {
    opacity: 1;
    transition: opacity 0.45s ease;
}

.wf-up-tip__text.is-fading {
    opacity: 0;
}

.wf-up-footer-note {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.6875rem;
    color: rgba(148, 163, 184, 0.65);
}

/* Success */
.wf-up-success {
    position: relative;
    text-align: center;
    padding: 2rem 1.25rem 1.75rem;
}

.wf-up-success__close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.92);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.wf-up-success__close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.wf-up-success__ok {
    margin-top: 1.25rem;
}

.wf-up-success__ring {
    position: relative;
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto 1.25rem;
}

.wf-up-success__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.wf-up-success__ring circle {
    fill: none;
    stroke-width: 5;
}

.wf-up-success__ring .track {
    stroke: rgba(74, 222, 128, 0.2);
}

.wf-up-success__ring .fill {
    stroke: #4ade80;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.6));
}

.wf-up-success__check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wf-up-scale-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.wf-up-success__check svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #4ade80;
    transform: none;
}

.wf-up-success__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.wf-up-success__sub {
    margin: 0.4rem 0 0;
    font-size: 0.8125rem;
    color: rgba(226, 232, 240, 0.72);
}

.wf-up-overlay.is-success .wf-up-ring__progress,
.wf-up-overlay.is-success .wf-up-bar__fill {
    stroke: #4ade80;
    background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e);
}

/* Error */
.wf-up-error {
    padding: 1.75rem 1.25rem 1.35rem;
    text-align: center;
}

.wf-up-error__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
    animation: wf-up-pulse 1.8s ease-in-out infinite;
}

.wf-up-error__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fecaca;
    text-align: center;
}

.wf-up-error__facts {
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    text-align: left;
}

.wf-up-error__fact {
    margin: 0;
}

.wf-up-error__fact dt {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(254, 202, 202, 0.75);
    margin-bottom: 0.12rem;
}

.wf-up-error__fact dd {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(254, 226, 226, 0.95);
    word-break: break-word;
}

.wf-up-error__validation-list {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.wf-up-error__validation-list li {
    margin: 0.15rem 0;
}

.wf-up-error__fact--technical dt,
.wf-up-error__fact--technical dd {
    color: rgba(148, 163, 184, 0.88);
    font-size: 0.6875rem;
}

.wf-up-error__detail {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(254, 202, 202, 0.85);
}

.wf-up-error__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.wf-up-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.wf-up-btn:active {
    transform: scale(0.97);
}

.wf-up-btn--primary {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.wf-up-btn--primary:hover {
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.45);
}

.wf-up-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

@keyframes wf-up-ring-spin {
    from { transform: rotate(-90deg); }
    to { transform: rotate(270deg); }
}

@keyframes wf-up-gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes wf-up-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes wf-up-pulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes wf-up-scale-in {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes wf-up-dock-in {
    from { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes wf-up-dock-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Sağ alt mini yükleme merkezi */
.wf-up-dock {
    position: fixed;
    z-index: 100001;
    pointer-events: none;
    display: none;
    right: 1rem;
    bottom: 1rem;
    left: auto;
    width: min(100%, 22rem);
    max-width: calc(100vw - 2rem);
}

.wf-up-dock.is-visible {
    display: block;
    pointer-events: auto;
}

.wf-up-dock__stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.wf-up-dock__card {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(167, 139, 250, 0.38);
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.94) 0%, rgba(15, 23, 42, 0.96) 55%, rgba(49, 46, 129, 0.92) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 16px 48px rgba(0, 0, 0, 0.42),
        0 0 32px rgba(124, 58, 237, 0.22);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    color: #f8fafc;
    padding: 0.85rem 0.95rem;
    animation: wf-up-dock-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    overflow: hidden;
}

.wf-up-dock__card--uploading {
    cursor: pointer;
}

.wf-up-dock__expand-hit {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.wf-up-dock__head,
.wf-up-dock__meta,
.wf-up-dock__progress-row,
.wf-up-dock__foot,
.wf-up-dock__actions,
.wf-up-dock__err-detail {
    position: relative;
    z-index: 1;
}

.wf-up-dock__head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.wf-up-dock__badge {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    background: rgba(124, 58, 237, 0.35);
    color: #e9d5ff;
    box-shadow: 0 0 14px rgba(124, 58, 237, 0.35);
}

.wf-up-dock__badge--ok {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.35);
}

.wf-up-dock__badge--err {
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    box-shadow: 0 0 14px rgba(248, 113, 113, 0.3);
}

.wf-up-dock__head-text {
    min-width: 0;
    flex: 1;
}

.wf-up-dock__title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.wf-up-dock__file {
    margin: 0.15rem 0 0;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: rgba(226, 232, 240, 0.75);
    word-break: break-word;
}

.wf-up-dock__sub {
    margin: 0.1rem 0 0;
    font-size: 0.6875rem;
    color: rgba(254, 202, 202, 0.85);
}

.wf-up-dock__detail-btn {
    flex-shrink: 0;
    border: 1px solid rgba(167, 139, 250, 0.4);
    background: rgba(124, 58, 237, 0.2);
    color: #e9d5ff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 0.45rem;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.wf-up-dock__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.65rem;
    margin: 0.65rem 0 0;
    font-size: 0.6875rem;
}

.wf-up-dock__meta--compact {
    grid-template-columns: 1fr;
}

.wf-up-dock__meta dt {
    color: rgba(148, 163, 184, 0.85);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.5625rem;
}

.wf-up-dock__meta dd {
    margin: 0.05rem 0 0;
    color: #f1f5f9;
    font-weight: 600;
    word-break: break-word;
}

.wf-up-dock__progress-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.wf-up-dock__pct {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #c4b5fd;
    min-width: 2.5rem;
}

.wf-up-dock__bar {
    flex: 1;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    overflow: hidden;
}

.wf-up-dock__bar-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #ec4899, #8b5cf6);
    background-size: 200% 100%;
    animation: wf-up-dock-shine 2.2s ease infinite;
    transition: width 0.35s ease;
    will-change: width;
}

.wf-up-dock__foot {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.45rem;
    font-size: 0.625rem;
    font-variant-numeric: tabular-nums;
    color: rgba(226, 232, 240, 0.72);
}

.wf-up-dock__stay-note {
    margin: 0.55rem 0 0;
    font-size: 0.625rem;
    line-height: 1.4;
    color: rgba(196, 181, 253, 0.85);
    text-align: center;
}

.wf-up-dock__err-detail {
    margin: 0.55rem 0 0;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: rgba(254, 202, 202, 0.9);
}

.wf-up-dock__err-tech {
    margin: 0.35rem 0 0;
    font-size: 0.625rem;
    line-height: 1.35;
    color: rgba(148, 163, 184, 0.85);
    font-variant-numeric: tabular-nums;
}

.wf-up-dock__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.wf-up-dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.wf-up-dock-btn:active {
    transform: scale(0.97);
}

.wf-up-dock-btn--primary {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
}

.wf-up-dock-btn--ghost {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(226, 232, 240, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

@media (max-width: 640px) {
    .wf-up-dock {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        max-width: none;
        bottom: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wf-up-ring__svg,
    .wf-up-bar__fill,
    .wf-up-bar__fill::after,
    .wf-up-stat__spark,
    .wf-up-ring__glow,
    .wf-up-error__icon {
        animation: none;
    }

    .wf-up-overlay__panel,
    .wf-up-overlay__backdrop,
    .wf-up-bar__fill,
    .wf-up-ring__progress {
        transition: none;
    }

    .wf-up-dock__card,
    .wf-up-dock__bar-fill {
        animation: none;
    }
}
