#login-form > .form-item:last-child {
    display: none !important;
}

.wx-embedded-login {
    --wx-green: #07c160;
    --wx-green-dark: #058d47;
    --wx-ink: #17221b;
    --wx-muted: #65736a;
    width: 100%;
    color: var(--wx-ink);
}

.wx-embedded-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.wx-embedded-heading img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.wx-embedded-heading h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.wx-embedded-heading p {
    margin: 3px 0 0;
    color: var(--wx-muted);
    font-size: 13px;
}

.wx-embedded-qr {
    position: relative;
    display: grid;
    place-items: center;
    width: 196px;
    height: 196px;
    margin: 0 auto 16px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #dce8df;
    border-radius: 16px;
    background: #fff;
}

.wx-embedded-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wx-embedded-loading {
    color: var(--wx-muted);
    font-size: 13px;
}

.wx-embedded-command {
    margin-bottom: 14px;
    color: #435048;
    font-size: 13px;
}

.wx-embedded-command > span {
    display: block;
    margin-bottom: 7px;
}

.wx-embedded-command > div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 9px 8px 12px;
    border: 1px dashed #98dab5;
    border-radius: 10px;
    background: #f1fcf5;
}

.wx-embedded-command code {
    flex: 1;
    min-width: 0;
    color: #12643a;
    font: 700 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wx-embedded-command button,
.wx-embedded-code button {
    height: 36px;
    padding: 0 15px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--wx-green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.wx-embedded-command button:hover,
.wx-embedded-code button:hover {
    background: var(--wx-green-dark);
}

.wx-embedded-code label {
    display: block;
    margin-bottom: 8px;
    color: #37453c;
    font-size: 13px;
    font-weight: 650;
}

.wx-embedded-code > div {
    display: flex;
    gap: 9px;
}

.wx-embedded-code input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #cbd9cf;
    border-radius: 10px;
    outline: none;
    background: #fff;
    font: 700 18px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .2em;
}

.wx-embedded-code input:focus {
    border-color: var(--wx-green);
    box-shadow: 0 0 0 4px rgba(7, 193, 96, .1);
}

.wx-embedded-code button:disabled {
    opacity: .5;
    cursor: wait;
}

.wx-embedded-message {
    min-height: 20px;
    margin: 12px 0 0;
    color: var(--wx-muted);
    font-size: 13px;
    line-height: 1.5;
}

.wx-embedded-message.error { color: #be123c; }
.wx-embedded-message.success { color: var(--wx-green-dark); }

.wx-embedded-back {
    display: block;
    margin-top: 10px;
    color: #557f67;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
}

.wx-embedded-back:hover { color: var(--wx-green-dark); }

@media (max-width: 540px) {
    .wx-embedded-qr {
        width: min(196px, 68vw);
        height: min(196px, 68vw);
    }
}
