.demand_detail_left .demand-promotion-panel {
    box-sizing: border-box;
    padding: 20px 60px;
}

.demand-promotion-actions {
    display: flex;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    gap: 14px;
}

.demand-promotion-action {
    display: inline-flex;
    min-width: 0;
    height: 44px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: #2448b8;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(36, 72, 184, .18);
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.demand-promotion-action:hover,
.demand-promotion-action:focus-visible {
    background: #1e3e9f;
    outline: none;
    transform: translateY(-1px);
}

.demand-promotion-action--urgent {
    background: #f4510a;
    box-shadow: 0 8px 18px rgba(244, 81, 10, .18);
}

.demand-promotion-action--urgent:hover,
.demand-promotion-action--urgent:focus-visible {
    background: #d94708;
}

.demand-promotion-action:focus-visible {
    box-shadow: 0 0 0 3px rgba(36, 72, 184, .2), 0 8px 18px rgba(36, 72, 184, .18);
}

.demand-promotion-action--urgent:focus-visible {
    box-shadow: 0 0 0 3px rgba(244, 81, 10, .2), 0 8px 18px rgba(244, 81, 10, .18);
}

.demand-promotion-action:only-child {
    max-width: 393px;
    flex-basis: 393px;
}

.demand-promotion-action:disabled {
    background: #c8cfde;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.demand-promotion-templates {
    display: none;
}

.layui-layer.demand-promotion-layer {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(19, 34, 56, .16);
}

.demand-promotion-layer .layui-layer-content {
    overflow: visible;
}

.demand-promotion-dialog {
    box-sizing: border-box;
    width: 100%;
    padding: 16px 14px 14px;
    background: #fff;
    color: #132238;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.demand-promotion-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.demand-promotion-dialog__header h2 {
    margin: 0;
    color: #132238;
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
}

.demand-promotion-dialog__close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f1f4f8;
    color: #6f8099;
    font-size: 24px;
    line-height: 32px;
    cursor: pointer;
}

.demand-promotion-dialog__close:hover,
.demand-promotion-dialog__close:focus-visible {
    background: #e8edf4;
    color: #132238;
    outline: 2px solid rgba(36, 72, 184, .18);
}

.demand-promotion-summary {
    box-sizing: border-box;
    min-height: 86px;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-left: 4px solid #2448b8;
    border-radius: 12px;
    background: #eef4ff;
}

.demand-promotion-summary__label {
    display: block;
    color: #6f8099;
    font-size: 14px;
    line-height: 22px;
}

.demand-promotion-summary__amount {
    display: block;
    margin-top: 3px;
    color: #2448b8;
    font-size: 22px;
    line-height: 30px;
}

.demand-promotion-field label,
.demand-promotion-payment__label {
    display: block;
    margin-bottom: 8px;
    color: #243650;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.demand-promotion-input {
    display: flex;
    height: 48px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    background: #fff;
}

.demand-promotion-input:focus-within {
    border-color: #2448b8;
    box-shadow: 0 0 0 3px rgba(36, 72, 184, .08);
}

.demand-promotion-input > span {
    display: flex;
    width: 42px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #dce3ee;
    color: #6f8099;
    font-size: 16px;
}

.demand-promotion-input input {
    min-width: 0;
    flex: 1;
    padding: 0 16px;
    border: 0;
    border-radius: 0 10px 10px 0;
    color: #132238;
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.demand-promotion-input input::placeholder {
    color: #a5afbf;
}

.demand-promotion-error {
    min-height: 18px;
    margin: 4px 0 0;
    color: #e5484d;
    font-size: 12px;
    line-height: 18px;
}

.demand-promotion-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.demand-promotion-presets button {
    min-width: 70px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #dce3ee;
    border-radius: 8px;
    background: #fff;
    color: #3b4c63;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.demand-promotion-presets button:hover,
.demand-promotion-presets button:focus-visible,
.demand-promotion-presets button.is-active {
    border-color: #2448b8;
    background: #eef4ff;
    color: #2448b8;
    outline: none;
}

.demand-promotion-payment {
    margin-top: 4px;
}

.demand-promotion-payment__option {
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid #2448b8;
    border-radius: 10px;
    background: #f5f8ff;
    color: #32465f;
    font-size: 14px;
}

.demand-promotion-payment__wechat {
    box-sizing: border-box;
    width: 18px;
    height: 14px;
    margin-right: 9px;
    border: 2px solid #00c97a;
    border-radius: 3px;
}

.demand-promotion-submit {
    width: 100%;
    height: 50px;
    margin-top: 24px;
    border: 0;
    border-radius: 10px;
    background: #2448b8;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(36, 72, 184, .2);
}

.demand-promotion-submit:hover,
.demand-promotion-submit:focus-visible {
    background: #1e3e9f;
    outline: 3px solid rgba(36, 72, 184, .16);
}

.demand-promotion-submit:disabled {
    background: #8fa2d4;
    cursor: wait;
    box-shadow: none;
}

.demand-promotion-urgent-note {
    margin: 0 0 26px;
    padding: 15px 17px;
    border-radius: 10px;
    background: #fafbfc;
    color: #6f8099;
    font-size: 14px;
    line-height: 24px;
}

.demand-promotion-urgent-info {
    margin: 0 0 20px;
}

.demand-promotion-urgent-info > div {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f5;
}

.demand-promotion-urgent-info dt {
    color: #6f8099;
    font-size: 14px;
}

.demand-promotion-urgent-info dd {
    margin: 0;
    color: #243650;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.demand-promotion-urgent-info .demand-promotion-urgent-info__fee {
    color: #f05a19;
    font-size: 22px;
}

.demand-promotion-qr {
    min-height: 340px;
    padding: 18px 0 26px;
    text-align: center;
}

.demand-promotion-qr__code {
    display: flex;
    width: 210px;
    height: 210px;
    margin: 0 auto 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf0f5;
    border-radius: 10px;
    background: #fff;
}

.demand-promotion-qr__code img,
.demand-promotion-qr__code canvas {
    width: 190px !important;
    height: 190px !important;
}

.demand-promotion-qr strong {
    display: block;
    color: #f05a19;
    font-size: 22px;
    line-height: 32px;
}

.demand-promotion-qr p {
    margin: 6px 0 2px;
    color: #243650;
    font-size: 15px;
}

.demand-promotion-qr span {
    color: #6f8099;
    font-size: 13px;
}

@media (max-width: 560px) {
    .demand_detail_left .demand-promotion-panel {
        padding: 14px;
    }

    .demand-promotion-actions {
        flex-direction: column;
        gap: 10px;
    }

    .demand-promotion-action {
        width: 100%;
        max-width: none;
        flex-basis: 44px;
    }

    .demand-promotion-dialog {
        padding: 14px 14px 12px;
    }

    .demand-promotion-presets button {
        flex: 1 1 calc(50% - 8px);
    }
}
