.entry-wizard {
    width: min(46rem, calc(100vw - 2rem));
    max-height: min(44rem, calc(100dvh - 2rem));
    padding: 0;
    border: 0;
    border-radius: 1rem;
    color: #202124;
    background: #fff;
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 22%);
}

.entry-wizard::backdrop { background: rgb(15 23 42 / 56%); }
.entry-wizard [hidden] { display: none !important; }
.entry-wizard form { display: flex; flex-direction: column; max-height: inherit; }
.entry-wizard-header, .entry-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.25rem;
}
.entry-wizard-header { border-bottom: 1px solid #e9ecef; }
.entry-wizard-header h2 { font-size: 1.25rem; margin: 0; }
.entry-wizard-footer { border-top: 1px solid #e9ecef; }
.entry-wizard-footer button { min-height: 2.75rem; }
.entry-wizard-body { overflow-y: auto; padding: 1rem clamp(1rem, 6vw, 3rem) 1.5rem; }
.entry-wizard-body label { font-weight: 600; margin-bottom: .4rem; }

.entry-wizard-progress {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: clamp(2.25rem, 8vw, 5rem);
    padding: .5rem 0 0;
    margin: 0 0 1.5rem;
}
.entry-wizard-progress li {
    display: grid;
    justify-items: center;
    gap: .35rem;
    position: relative;
    color: #5f6368;
    font-size: .875rem;
    font-weight: 500;
}
.entry-wizard-progress li + li::before {
    content: "";
    position: absolute;
    right: calc(100% + .35rem);
    top: 1.2rem;
    width: calc(clamp(2.25rem, 8vw, 5rem) - .7rem);
    height: 2px;
    background: #e0e0e0;
}
.entry-wizard-progress span {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-weight: 600;
    background: #e9ecef;
}
.entry-wizard-progress [aria-current="step"] { color: #434f9a; font-weight: 700; }
.entry-wizard-progress [aria-current="step"] span { color: #fff; background: #5d63d5; }
.entry-wizard-progress .completed span { color: #fff; background: #20854d; }

.entry-wizard-category {
    display: grid;
    gap: .75rem;
    justify-items: center;
    text-align: center;
    background: #f3f4ff;
    border: 1px solid #b7baf4;
    border-radius: .75rem;
    padding: 1.3rem 1rem;
}
.entry-wizard-category i { font-size: 2rem; color: #5d63d5; }
.entry-wizard-summary {
    background: linear-gradient(135deg, #0891b2, #059669);
    border-radius: .75rem;
    padding: .65rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.15rem;
}
.entry-wizard-summary > div {
    flex: 1 1 auto;
    display: flex;
    gap: .6rem;
    align-items: center;
    border-radius: .5rem;
    padding: .55rem .75rem;
    background: #fff;
    font-size: .875rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.entry-wizard-summary i { color: #087760; flex-shrink: 0; }
.entry-wizard-brands { max-height: 12rem; overflow-y: auto; }

@media (max-width: 575px) {
    .entry-wizard {
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - 1rem);
        margin: auto 0 0;
        border-radius: 1rem 1rem 0 0;
    }
    .entry-wizard-footer { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
}
