.lq-trigger-btn {
    border-color: #c7dce3;
    background: #f3f8fa;
}

.lq-trigger-btn:hover {
    border-color: #8eb8c5;
    background: #eaf4f7;
    box-shadow: 0 2px 10px rgb(10 80 111 / 10%);
}

.lq-trigger-icon {
    background: #0a506f;
}

.lq-trigger-label {
    color: #17272b;
}

.lq-trigger-sub {
    color: #697b83;
}

.lq-trigger-arrow {
    color: #0a506f;
}

.lq-panel {
    --lq-ink: #17272b;
    --lq-muted: #697b83;
    --lq-line: #d7e2e6;
    --lq-blue: #0a506f;
    --lq-green: #315e51;
    margin-top: 24px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--lq-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgb(20 43 50 / 5%);
}

.lq-panel--flash {
    animation: lq-wizard-open .45s ease-out;
}

@keyframes lq-wizard-open {
    50% { box-shadow: 0 0 0 5px rgb(10 80 111 / 10%); }
}

.lq-panel--success {
    background: #f2f8f5;
    border-color: #c7dcd1;
}

.lq-panel .lq-success-icon {
    background: var(--lq-green);
}

.lq-panel .lq-success-title {
    color: var(--lq-ink);
}

.lq-panel .lq-success-text {
    color: var(--lq-muted);
}

.lq-panel .lq-success-close {
    color: var(--lq-blue);
    background: #fff;
    border-color: var(--lq-line);
}

.lq-wizard__progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    padding: 28px 38px 24px;
    border-bottom: 1px solid var(--lq-line);
}

.lq-wizard__step {
    position: relative;
    min-width: 0;
    padding: 0 0 21px;
    border: 0;
    background: transparent;
    color: var(--lq-muted);
    text-align: left;
    cursor: pointer;
}

.lq-wizard__step:disabled {
    cursor: default;
}

.lq-wizard__step::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 999px;
    background: #e5ecef;
    content: '';
}

.lq-wizard__step.is-current::after,
.lq-wizard__step.is-done::after {
    background: var(--lq-blue);
}

.lq-wizard__step-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lq-wizard__step-number {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid var(--lq-line);
    border-radius: 50%;
    background: #f2f6f7;
    color: var(--lq-muted);
    font-size: 16px;
    font-weight: 650;
}

.lq-wizard__step.is-current .lq-wizard__step-number {
    border-color: var(--lq-blue);
    background: var(--lq-blue);
    color: #fff;
}

.lq-wizard__step.is-done .lq-wizard__step-number {
    border-color: #b9d5c7;
    background: #eaf5ee;
    color: var(--lq-green);
}

.lq-wizard__step strong,
.lq-wizard__step small {
    display: block;
    line-height: 1.3;
}

.lq-wizard__step strong {
    color: inherit;
    font-size: 17px;
    font-weight: 600;
}

.lq-wizard__step.is-current strong,
.lq-wizard__step.is-done strong {
    color: var(--lq-ink);
}

.lq-wizard__step small {
    margin-top: 3px;
    font-size: 12px;
}

.lq-wizard__step.is-done small {
    color: var(--lq-green);
}

.lq-wizard__body {
    display: grid;
    grid-template-columns: minmax(205px, 27%) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    min-height: 440px;
    padding: 42px clamp(28px, 3.6vw, 58px) 36px;
}

.lq-wizard__aside h3 {
    max-width: 310px;
    margin: 0 0 14px;
    color: var(--lq-ink);
    font-size: clamp(24px, 2.35vw, 36px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.lq-wizard__aside > p {
    max-width: 290px;
    margin: 0;
    color: var(--lq-muted);
    font-size: 16px;
    line-height: 1.6;
}

.lq-wizard__summary {
    margin-top: 38px;
}

.lq-wizard__summary h4 {
    margin: 0 0 12px;
    color: var(--lq-muted);
    font-size: 13px;
    font-weight: 650;
}

.lq-wizard__summary-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 62px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 9px;
    background: #edf5f0;
    color: var(--lq-ink);
    font-size: 13px;
}

.lq-wizard__summary-icon {
    flex: 0 0 auto;
    color: var(--lq-green);
    font-size: 23px;
    line-height: 1;
}

.lq-wizard__summary-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.lq-wizard__summary-label {
    color: var(--lq-muted);
    font-size: 11px;
    font-weight: 650;
}

.lq-wizard__summary-file {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lq-wizard__summary-card button {
    flex: 0 0 auto;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--lq-blue);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.lq-wizard__summary-card button:hover {
    text-decoration: underline;
}

.lq-wizard__main {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.lq-wizard__dropzone {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    border: 2px dashed #9bbbc5;
    border-radius: 11px;
    background: #f7faf9;
    color: var(--lq-ink);
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}

.lq-wizard__dropzone:hover,
.lq-wizard__dropzone.is-dragging,
.lq-wizard__dropzone:focus-visible {
    border-color: var(--lq-blue);
    background: #eff7f8;
    outline: none;
}

.lq-wizard__dropzone.has-file {
    border-style: solid;
    border-color: #b8d4c5;
    background: #f3f9f5;
}

.lq-wizard__upload-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 13px;
    background: #e8f3f3;
    color: var(--lq-blue);
}

.lq-wizard__dropzone strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 17px;
    font-weight: 550;
}

.lq-wizard__dropzone strong span {
    color: var(--lq-blue);
    font-weight: 700;
}

.lq-wizard__dropzone small,
.lq-wizard__hint {
    color: var(--lq-muted);
    font-size: 13px;
    line-height: 1.5;
}

.lq-wizard__hint {
    margin: 14px 0 0;
}

.lq-wizard__hint--ready {
    color: var(--lq-green);
}

.lq-wizard__quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 26px;
    border-bottom: 1px solid var(--lq-line);
}

.lq-wizard__main h4 {
    margin: 0 0 5px;
    color: var(--lq-ink);
    font-size: 18px;
    font-weight: 650;
}

.lq-wizard__quantity-row p {
    margin: 0;
    color: var(--lq-muted);
    font-size: 14px;
}

.lq-wizard__quantity-control {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--lq-line);
    border-radius: 9px;
    overflow: hidden;
}

.lq-wizard__quantity-control button {
    width: 42px;
    height: 44px;
    border: 0;
    background: #fff;
    color: var(--lq-blue);
    font-size: 23px;
    cursor: pointer;
}

.lq-wizard__quantity-control button:hover {
    background: #eef6f8;
}

.lq-wizard__quantity-control input {
    width: 60px;
    height: 44px;
    border: 0;
    outline: 0;
    background: #fff;
    color: var(--lq-ink);
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
}

.lq-wizard__quantity-control input::-webkit-inner-spin-button,
.lq-wizard__quantity-control input::-webkit-outer-spin-button {
    appearance: none;
}

.lq-wizard__color-section {
    padding-top: 26px;
}

.lq-wizard__color-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.lq-wizard__color-card {
    position: relative;
    display: flex;
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    border: 1.5px solid var(--lq-line);
    border-radius: 10px;
    background: #fff;
    color: var(--lq-ink);
    text-align: left;
    cursor: pointer;
}

.lq-wizard__color-card:hover {
    border-color: #8faeb8;
}

.lq-wizard__color-card.is-selected {
    border-color: var(--lq-blue);
    background: #edf7f9;
    box-shadow: inset 0 0 0 1px var(--lq-blue);
}

.lq-wizard__color-card strong {
    font-size: 16px;
    font-weight: 600;
}

.lq-wizard__color-dots {
    display: flex;
    gap: 5px;
}

.lq-wizard__color-dot {
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 50%;
}

.lq-wizard__color-dot--mono { background: #31576b; }
.lq-wizard__color-dot--blue { background: #0a7091; }
.lq-wizard__color-dot--green { background: #5b9c7e; }
.lq-wizard__color-dot--rose { background: #ad6682; }

.lq-wizard__radio {
    position: absolute;
    top: 21px;
    right: 20px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #9bb3be;
    border-radius: 50%;
    background: #fff;
}

.lq-wizard__color-card.is-selected .lq-wizard__radio {
    border: 5px solid var(--lq-blue);
}

.lq-wizard__required-note {
    margin: 0 0 20px;
    color: var(--lq-muted);
    font-size: 13px;
}

.lq-wizard__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.lq-wizard__fields label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--lq-ink);
    font-size: 14px;
    font-weight: 600;
}

.lq-wizard__fields .lq-wizard__field-label {
    color: var(--lq-ink);
    font-size: 14px;
    font-weight: 600;
}

.lq-wizard__field-label b,
.lq-wizard__field-label em {
    color: var(--lq-muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
}

.lq-wizard__fields input,
.lq-wizard__fields textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--lq-line);
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--lq-ink);
    font: inherit;
    font-weight: 400;
}

.lq-wizard__fields textarea {
    min-height: 104px;
    resize: vertical;
}

.lq-wizard__fields input:focus,
.lq-wizard__fields textarea:focus {
    border-color: var(--lq-blue);
    box-shadow: 0 0 0 3px rgb(10 80 111 / 9%);
}

.lq-wizard__fields input::placeholder,
.lq-wizard__fields textarea::placeholder {
    color: #8a9ba2;
}

.lq-wizard__field--wide {
    grid-column: 1 / -1;
}

.lq-wizard__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 32px;
}

.lq-wizard__step-count {
    color: var(--lq-muted);
    font-size: 13px;
}

.lq-wizard__back {
    padding: 11px 0;
    border: 0;
    background: transparent;
    color: var(--lq-blue);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.lq-wizard__back span {
    margin-right: 6px;
}

.lq-wizard__next {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 11px 19px;
    border: 1px solid var(--lq-blue);
    border-radius: 8px;
    background: var(--lq-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.lq-wizard__next:not(:disabled):hover {
    background: #073e56;
    transform: translateY(-1px);
}

.lq-wizard__next:disabled {
    border-color: #dce5e8;
    background: #e7eef0;
    color: #72858e;
    cursor: not-allowed;
}

.lq-wizard__next span[aria-hidden] {
    font-size: 18px;
    line-height: 1;
}

.lq-wizard__submit-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

@media (max-width: 900px) {
    .lq-trigger-btn {
        max-width: 100%;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .lq-trigger-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .lq-trigger-label { font-size: 13px; }

    .lq-wizard__progress {
        gap: 12px;
        padding: 20px 22px 17px;
    }

    .lq-wizard__step-top {
        gap: 8px;
    }

    .lq-wizard__step strong { font-size: 13px; }
    .lq-wizard__step small { font-size: 10px; }

    .lq-wizard__step-number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 13px;
    }

    .lq-wizard__body {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 24px 26px;
    }

    .lq-wizard__aside h3 { max-width: none; }
    .lq-wizard__aside > p { max-width: none; }
    .lq-wizard__summary { margin-top: 24px; }
}

@media (max-width: 540px) {
    .lq-panel { border-radius: 12px; }

    .lq-wizard__progress {
        gap: 6px;
        padding: 16px 12px 12px;
    }

    .lq-wizard__step { padding-bottom: 14px; }
    .lq-wizard__step-top { align-items: flex-start; gap: 5px; }

    .lq-wizard__step-number {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        font-size: 11px;
    }

    .lq-wizard__step strong { font-size: 11px; line-height: 1.15; }
    .lq-wizard__step small { font-size: 9px; }

    .lq-wizard__body {
        min-height: 0;
        gap: 24px;
        padding: 24px 18px;
    }

    .lq-wizard__aside h3 { font-size: 26px; }
    .lq-wizard__aside > p { font-size: 14px; }
    .lq-wizard__dropzone { min-height: 205px; padding: 18px; }
    .lq-wizard__dropzone strong { font-size: 15px; }
    .lq-wizard__quantity-row { align-items: flex-start; }
    .lq-wizard__quantity-control button { width: 32px; }
    .lq-wizard__quantity-control input { width: 38px; }
    .lq-wizard__color-options { gap: 9px; }
    .lq-wizard__color-card { min-height: 110px; padding: 13px; }
    .lq-wizard__color-card strong { font-size: 13px; }
    .lq-wizard__fields { grid-template-columns: 1fr; }
    .lq-wizard__field--wide { grid-column: auto; }
    .lq-wizard__footer { padding-top: 26px; }
    .lq-wizard__next { font-size: 12px; padding: 9px 13px; }
}
