.po-ui-stepper-layer {
    position: fixed;
    inset: 0;
    z-index: 100040;
    display: none;
    pointer-events: none;
    font-family: inherit;
}
.po-ui-stepper-layer.is-visible {
    display: block;
}
.po-ui-stepper-dim {
    position: fixed;
    background: rgba(15, 23, 42, 0.56);
    pointer-events: none;
}
.po-ui-stepper-spotlight {
    position: fixed;
    border: 3px solid rgba(91, 155, 213, 0.95);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
}
.po-ui-stepper-card {
    position: fixed;
    width: min(430px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    display: flex;
    flex-direction: column;
    background: var(--po-bg-primary, #ffffff);
    color: var(--po-text-primary, #0f172a);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.32), 0 8px 20px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    pointer-events: auto;
    transition: top 0.18s ease, left 0.18s ease;
}
.po-ui-stepper-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 19px 14px;
    background: linear-gradient(135deg, var(--po-accent, #5B9BD5), var(--po-accent-dark, #4178BE));
    color: #ffffff;
}
.po-ui-stepper-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 16px;
}
.po-ui-stepper-heading {
    min-width: 0;
    flex: 1;
}
.po-ui-stepper-kicker {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}
.po-ui-stepper-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
}
.po-ui-stepper-close {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}
.po-ui-stepper-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.po-ui-stepper-body {
    padding: 17px 20px 14px;
    overflow-y: auto;
    color: var(--po-text-secondary, #475569);
    font-size: 14px;
    line-height: 1.62;
}
.po-ui-stepper-body strong,
.po-ui-stepper-body b {
    color: var(--po-text-primary, #0f172a);
    font-weight: 700;
}
.po-ui-stepper-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-top: 1px solid var(--po-border, #e5e7eb);
    background: var(--po-bg-secondary, #f8fafc);
}
.po-ui-stepper-progress {
    min-width: 84px;
    color: var(--po-text-muted, #64748b);
    font-size: 12px;
    font-weight: 800;
}
.po-ui-stepper-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.po-ui-stepper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.po-ui-stepper-btn:hover {
    transform: translateY(-1px);
}
.po-ui-stepper-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.po-ui-stepper-btn-ghost {
    color: var(--po-text-secondary, #475569);
    background: transparent;
}
.po-ui-stepper-btn-secondary {
    color: var(--po-text-primary, #0f172a);
    background: var(--po-bg-primary, #ffffff);
    border-color: var(--po-border, #e5e7eb);
}
.po-ui-stepper-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--po-accent, #5B9BD5), var(--po-accent-dark, #4178BE));
    box-shadow: 0 8px 18px rgba(91, 155, 213, 0.25);
}
@media (max-width: 720px) {
    .po-ui-stepper-card {
        left: 16px !important;
        right: 16px;
        bottom: 16px;
        top: auto !important;
        width: auto;
        max-height: 58vh;
    }
    .po-ui-stepper-footer {
        align-items: stretch;
        flex-direction: column;
    }
    .po-ui-stepper-progress {
        min-width: 0;
    }
    .po-ui-stepper-actions {
        justify-content: flex-start;
    }
}
