main.sfqr#sfqrApp {
    --sfqr-blue: #2563eb;
    --sfqr-ink: #101a30;
    --sfqr-muted: #68778e;
    --sfqr-border: #e1e8f2;
    display: block !important;
    flex: none !important;
    align-items: initial !important;
    justify-content: initial !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 42px 20px 64px !important;
    /* background: #f7f9fd; */
    color: var(--sfqr-ink);
    box-sizing: border-box;
}

.sfqr, .sfqr * {
    box-sizing: border-box;
}

.sfqr .sfqr-shell {
    display: block !important;
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
}

.sfqr .sfqr-heading {
    display: block !important;
    position: static;
    background: none;
    color: var(--sfqr-ink);
    text-align: center;
    padding: 0;
    margin: 0 0 30px;
    border: 0;
    box-shadow: none;
}

.sfqr .sfqr-eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-radius: 100px;
    background: #eaf1ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.sfqr .sfqr-eyebrow svg {
    width: 15px;
    height: 15px;
}

.sfqr .sfqr-heading h1 {
    color: #101a30;
    margin: 15px 0 8px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.045em;
}

.sfqr .sfqr-heading p {
    margin: 0;
    color: #627189;
    font-size: 15px;
    line-height: 1.6;
}

.sfqr .sfqr-heading p strong {
    color: #253957;
    font-weight: 750;
}

.sfqr .sfqr-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    width: 100%;
    align-items: stretch;
}

.sfqr .sfqr-card {
    display: block !important;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--sfqr-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(32, 52, 88, .045);
}

.sfqr .sfqr-card-head {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 25px;
}

.sfqr .sfqr-head-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ebf2ff;
    color: #2563eb;
    border-radius: 12px;
}

.sfqr .sfqr-head-icon svg {
    width: 21px;
    height: 21px;
}

.sfqr .sfqr-card-head h2 {
    margin: 0 0 3px;
    color: #111c33;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 780;
}

.sfqr .sfqr-card-head p {
    margin: 0;
    color: #76839a;
    font-size: 12px;
    line-height: 1.5;
}

.sfqr .sfqr-field {
    min-width: 0;
    margin: 0 0 19px;
}

.sfqr .sfqr-field label {
    display: block;
    margin: 0 0 8px;
    color: #2b3950;
    font-size: 13px;
    font-weight: 700;
}

.sfqr .sfqr-field textarea, .sfqr .sfqr-field select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #d7e0ec;
    border-radius: 11px;
    background: #fff;
    color: #15243b;
    font: inherit;
    font-size: 14px;
    padding: 11px 12px;
    outline: none;
    box-shadow: none;
}

.sfqr .sfqr-field textarea {
    min-height: 104px;
    resize: vertical;
    line-height: 1.55;
}

.sfqr .sfqr-field select {
    height: 46px;
    cursor: pointer;
}

.sfqr .sfqr-field textarea:focus, .sfqr .sfqr-field select:focus {
    border-color: #8cb1ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.sfqr .sfqr-section-label {
    margin: 22px 0 15px;
    font-size: 11px;
    font-weight: 800;
    color: #8795a9;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.sfqr .sfqr-fields-two {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sfqr .sfqr-color {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
    height: 46px;
    padding: 6px 9px;
    background: #fff;
    border: 1px solid #d7e0ec;
    border-radius: 11px;
}

.sfqr .sfqr-color input {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.sfqr .sfqr-color output {
    display: block;
    min-width: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sfqr .sfqr-note {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 14px;
    margin: 2px 0 0;
    border-radius: 11px;
    background: #f1f6ff;
    color: #536a90;
    font-size: 12px;
    line-height: 1.55;
}

.sfqr .sfqr-note svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #2563eb;
}

.sfqr .sfqr-result {
    display: flex !important;
    flex-direction: column !important;
}

.sfqr .sfqr-result .sfqr-card-head {
    flex-shrink: 0;
}

.sfqr .sfqr-preview-frame {
    position: relative;
    display: flex !important;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 330px;
    padding: 24px;
    border: 1px solid #e6edf6;
    background: #f8faff;
    border-radius: 15px;
}

.sfqr .sfqr-preview-frame canvas {
    display: block;
    width: min(100%, 280px) !important;
    height: auto !important;
    max-width: 280px;
    aspect-ratio: 1;
    image-rendering: pixelated;
    background: white;
    border-radius: 6px;
}

.sfqr .sfqr-loading {
    position: absolute;
    bottom: 10px;
    font-size: 12px;
    color: #2563eb;
}

.sfqr .sfqr-status {
    text-align: center;
    margin: 15px 0 13px;
    font-size: 12px;
    font-weight: 700;
    color: #16834d;
}

.sfqr .sfqr-status.sfqr-error {
    color: #b91c1c;
}

.sfqr .sfqr-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.sfqr .sfqr-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 11px;
    border: 1px solid #cad8ed;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}

.sfqr .sfqr-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.sfqr .sfqr-btn-primary {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
}

.sfqr .sfqr-btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
}

.sfqr .sfqr-btn-secondary {
    color: #1d4ed8;
    background: #fff;
    border-color: #bfd4fa;
}

.sfqr .sfqr-btn-secondary:hover:not(:disabled) {
    background: #eff6ff;
}

.sfqr .sfqr-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.sfqr .sfqr-bottom {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 24px 0 0;
    color: #64748b;
}

.sfqr .sfqr-bottom span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 650;
}

.sfqr .sfqr-bottom svg {
    width: 17px;
    height: 17px;
    color: #2563eb;
}

@media (max-width: 800px) {
    main.sfqr#sfqrApp {
        padding: 28px 14px 45px !important;
    }

    .sfqr .sfqr-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .sfqr .sfqr-card {
        padding: 22px;
    }

    .sfqr .sfqr-preview-frame {
        min-height: 290px;
    }
}

@media (max-width: 490px) {
    .sfqr .sfqr-heading h1 {
        font-size: 30px;
    }

    .sfqr .sfqr-heading p {
        font-size: 14px;
    }

    .sfqr .sfqr-fields-two {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .sfqr .sfqr-preview-frame {
        padding: 14px;
    }

    .sfqr .sfqr-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .sfqr .sfqr-bottom {
        gap: 12px 18px;
    }
}