/* 이용자 설정 페이지 공통 디자인
 * 상점관리·매치관리 화면에서만 루트 클래스 기준으로 적용합니다.
 */
/* ── 제휴사 기본설정 ── */
/* ============================================================
   Hub Basic Config — Modern accordion polish
   Scoped under .hbc-modern within .dbi-config-screen
   ============================================================ */
.hbc-modern { font-size: 14px; }

/* ── Info banner ── */
.hbc-modern .hbc-banner {
    background: linear-gradient(135deg, #eaf3f2 0%, #f0f8f7 100%);
    border: 1px solid #c9e0dd;
    border-radius: 8px;
    padding: 12px 16px; margin-top: 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #1a4a43;
    line-height: 1.6;
}
.hbc-modern .hbc-banner-icon {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #48877c;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    flex-shrink: 0; margin-top: 1px;
}

/* ── Form row inside accordion body ── */
.hbc-modern .hbc-form-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 16px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.hbc-modern .hbc-form-row:last-of-type { border-bottom: none; }
.hbc-modern .hbc-form-label {
    padding-top: 4px;
}
.hbc-modern .hbc-form-label .hbc-label-title {
    font-size: 13px; font-weight: 600; color: #0F172A; margin-bottom: 2px;
}
.hbc-modern .hbc-form-label .hbc-label-sub {
    font-size: 11px; color: #9AA0B0; line-height: 1.4;
}

/* ── Select ── */
.hbc-modern .hbc-select {
    width: 100%; max-width: 220px;
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 32px 0 12px;
    font-size: 13px;
    font-family: inherit;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239AA0B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none; appearance: none;
    color: #1A1D23;
    cursor: pointer;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.hbc-modern .hbc-select:focus {
    border-color: #48877c;
    box-shadow: 0 0 0 3px rgba(72,135,124,.1);
}

/* ── Form hint ── */
.hbc-modern .hbc-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #64748B;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.hbc-modern .hbc-hint::before {
    content: '';
    display: block; width: 3px; height: 3px;
    border-radius: 50%; background: #8bb8b3;
    margin-top: 7px; flex-shrink: 0;
}

/* ── Status display ── */
.hbc-modern .hbc-status-row {
    display: flex; align-items: center; gap: 10px; padding: 4px 0;
}
.hbc-modern .hbc-status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 20px;
}
.hbc-modern .hbc-status-badge.on  { background: #E1F5EE; color: #0F6E56; }
.hbc-modern .hbc-status-badge.off { background: #FAECE7; color: #993C1D; }
.hbc-modern .hbc-status-badge .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.hbc-modern .hbc-status-badge.on  .dot { background: #1D9E75; }
.hbc-modern .hbc-status-badge.off .dot { background: #D85A30; }
.hbc-modern .hbc-status-label { font-size: 14px; font-weight: 700; color: #1A1D23; }
.hbc-modern .hbc-status-sub   { font-size: 12px; color: #888; }

/* ── Save button ── */
.hbc-modern .hbc-save-wrap {
    display: flex; justify-content: flex-end; margin-top: 18px;
}
.hbc-modern .hbc-save-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 22px;
    background: #48877c; color: #fff;
    border: none; border-radius: 8px;
    font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: background .15s;
}
.hbc-modern .hbc-save-btn:hover { background: #3d7068; }
.hbc-modern .hbc-save-btn:disabled { opacity: .5; cursor: not-allowed; }
.hbc-modern .hbc-save-btn .spinner {
    display: none; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
    border-radius: 50%; animation: hbc-spin .6s linear infinite;
}
.hbc-modern .hbc-save-btn.loading .spinner { display: block; }
.hbc-modern .hbc-save-btn.loading .btn-text { display: none; }
@keyframes hbc-spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
    .hbc-modern .hbc-form-row { grid-template-columns: 1fr; gap: 6px; }
    .hbc-modern .hbc-select { max-width: 100%; }
}
</style>

.member-hub-basic-config-screen .hbc-icon-blue { background: #e6f1fb; color: #185fa5; }
.member-hub-basic-config-screen .hbc-icon-green { background: #e1f5ee; color: #0f6e56; }
.member-hub-basic-config-screen .hbc-icon-purple { background: #f3e8ff; color: #7e22ce; }
.member-hub-basic-config-screen .hbc-status-body { padding-top: 14px; }
.member-hub-basic-config-screen .hbc-status-form-row { border-bottom: 0; }
.member-hub-basic-config-screen .hbc-readonly-body { padding-top: 14px; }
.member-hub-basic-config-screen .hbc-field-guide {
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 1.2rem;
}
.member-hub-basic-config-screen .hbc-field-guide .dot_list {
    margin: 0;
}
.member-hub-basic-config-screen .hbc-save-btn { background: #297b6e; }
.member-hub-basic-config-screen .hbc-save-btn:hover { background: #1e5d4f; }
.member-hub-basic-config-screen .hbc-readonly-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}
.member-hub-basic-config-screen .hbc-readonly-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #e2ecea;
    border-radius: 6px;
    background: #f8fbfa;
    color: #64748b;
    font-size: 1.3rem;
}
.member-hub-basic-config-screen .hbc-readonly-row strong {
    color: #1e5d4f;
    font-weight: 700;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .member-hub-basic-config-screen .hbc-readonly-grid { grid-template-columns: 1fr; }
}


/* 상점관리 */
        /* configMatch.php의 dbi-config-screen 토큰을 상점 목록/팝업 구조에 맞춰 적용 */
.member-merchant-screen .member-merchant-guide-btn {
            margin: 0;
            border-color: #c5ddd8;
            border-radius: 50px;
            color: #1e5d4f;
            background: #f3f8f7;
        }
.member-merchant-screen .member-merchant-guide-btn:hover {
            border-color: #61ada1;
            background: #eaf3f2;
        }
.member-merchant-screen .member-merchant-card {
            overflow: hidden;
            border-color: #c5ddd8;
            box-shadow: 0 6px 18px rgba(30, 93, 79, .06);
        }
.member-merchant-screen .member-merchant-grid {
            overflow-x: auto;
        }
.member-merchant-screen .member-merchant-grid .dx-datagrid {
            min-width: 980px;
        }
.member-merchant-screen .member-merchant-grid .dx-datagrid-headers,
.member-merchant-screen .member-merchant-grid .dx-datagrid-headers .dx-datagrid-table,
.member-merchant-screen .member-merchant-grid .dx-header-row > td {
            background-color: #f3f8f7 !important;
            color: #1e5d4f !important;
            font-weight: 600;
        }
.member-merchant-screen .member-merchant-grid .dx-header-row > td,
.member-merchant-screen .member-merchant-grid .dx-data-row > td {
            border-color: #e2ecea;
        }
.member-merchant-screen .member-merchant-grid .dx-data-row.dx-state-hover > td {
            background: #f7fbfa;
        }
.member-merchant-popups .merchant-log-label-col { width: 15%; }
.member-merchant-popups .merchant-log-value-col { width: 35%; }
.member-merchant-popups .merchant-form-help {
            margin-top: 5px;
            color: #64748b;
            font-size: 1.2rem;
            line-height: 1.5;
        }
.member-merchant-popups .merchant-modal-actions {
            margin-bottom: 20px;
        }
.member-merchant-popups .th_colored_table th {
            background: #f3f8f7;
            color: #1e5d4f;
        }
.member-merchant-popups .th_colored_table th,
.member-merchant-popups .th_colored_table td {
            border-color: #e2ecea;
        }
.member-merchant-popups .info_box {
            border-color: #c5ddd8;
            background: #eaf3f2;
        }

        .member-manage-screen .member-guide-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding-bottom: 10px;
        }
.member-manage-screen .member-tag-pill,
.member-manage-screen #faqList .member-tag-pill { /* #faqList > button(1.4rem)·.faq_list_btn(32px) 레거시 규칙을 이기도록 id 포함 선택자 추가 */
            height: auto;
            min-height: 28px;
            padding: 3px 10px;
            border: 1px solid #cbd5e1;
            border-radius: 50px;
            background: #fff;
            color: #475569;
            font-size: 1.3rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }
.member-manage-screen .member-tag-pill:hover {
            border-color: #8bbdb5;
            background: #f3f8f7;
            color: #1e5d4f;
        }
.member-manage-screen .member-manage-card {
            overflow: hidden;
            border: 1px solid var(--member-card-border, #c5ddd8); /* 본문 카드(.ds-cell)와 동일 색·두께 */
            border-radius: var(--dbi-radius-sm);
            background: #fff;
        }
.member-manage-screen .member-manage-card-body {
            padding: 16px 18px 18px;
        }
.member-manage-screen .grid_cont_area.member-manage-card-body {
    padding: 10px;
    margin-top: 16px;
}
/* grid_area(mgt10) 래퍼로 감싼 화면(부이용자 관리 등)도 FAQ 태그와 카드 사이 간격을 16px로 통일 */
.member-manage-screen .grid_area.member-manage-card {
    margin-top: 16px;
}
.member-manage-screen .grid_area.member-manage-card > .grid_cont_area.member-manage-card-body {
    margin-top: 0;
}
@media (max-width: 768px) {
    .member-manage-screen .grid_cont_area.member-manage-card-body {
        padding: 0;
    }
}
.member-manage-screen .member-manage-toolbar {
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            border-bottom: 0.5px solid #eee;
        }
.member-manage-screen .member-manage-toolbar .grid_stat {
            align-items: center;
        }
.member-manage-screen .member-manage-toolbar .grid_numb {
            color: #1e5d4f;
            font-size: 1.5rem;
        }
.member-manage-screen .member-manage-toolbar .box_btns {
            align-items: center;
            gap: 8px;
}
.member-hub-account-screen .member-account-guide-btn,
.member-hub-account-screen .member-account-faq-toggle {
    margin: 0;
}
.member-hub-account-screen .member-account-faq-toggle {
    border-color: #c5ddd8;
    color: #1e5d4f;
    background: #f3f8f7;
}
.member-hub-account-screen .member-account-faq-toggle:hover {
    border-color: #61ada1;
    background: #eaf3f2;
}
.member-hub-account-screen .member-account-faq-list {
    padding-bottom: 14px;
}
.member-hub-account-screen .member-manage-card {
    border-color: #c5ddd8;
    box-shadow: 0 6px 18px rgba(30, 93, 79, .06);
}
.member-hub-account-screen .member-manage-toolbar {
    border-color: #c5ddd8;
    background: #eaf3f2;
}
.member-hub-account-screen .member-guide-callout {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.member-hub-account-screen .member-account-guide-btn {
    margin: 0;
    border-color: #c5ddd8;
    border-radius: 50px;
    color: #1e5d4f;
    background: #f3f8f7;
}
.member-hub-account-screen .member-account-guide-btn:hover {
    border-color: #61ada1;
    background: #eaf3f2;
}
.member-hub-account-screen .member-hub-account-card {
    margin-top: 16px;
}
.member-hub-account-screen .member-hub-account-grid {
    overflow-x: auto;
}
.member-hub-account-screen .member-hub-account-grid .dx-datagrid {
    min-width: 980px;
}
.member-hub-account-screen .member-hub-account-grid .dx-datagrid-headers,
.member-hub-account-screen .member-hub-account-grid .dx-datagrid-headers .dx-datagrid-table,
.member-hub-account-screen .member-hub-account-grid .dx-header-row > td {
    background-color: #f3f8f7 !important;
    color: #1e5d4f !important;
    font-weight: 600;
}
.member-hub-account-screen .member-hub-account-grid .dx-header-row > td,
.member-hub-account-screen .member-hub-account-grid .dx-data-row > td {
    border-color: #e2ecea;
}
.member-hub-account-screen .member-hub-account-grid .dx-data-row.dx-state-hover > td {
    background: #f7fbfa;
}

/* ── 제휴사 청구/결제 리뉴얼 ── */
.member-hub-billing-screen .cont_area_tit {
    display: flex;
    align-items: center;
    gap: 10px;
}
.member-hub-billing-screen .hub-billing-faq {
    margin: 0;
}
.member-hub-billing-screen .hub-billing-expired-notice {
    margin-bottom: 16px;
    padding: 14px 18px;
    color: #7a5b00;
    background: #fff8df;
    border: 1px solid #ead58a;
    border-radius: 8px;
    line-height: 1.65;
}
.member-hub-billing-screen .member-hub-billing-filter .sch_area {
    padding: 18px 20px;
}
.member-hub-billing-screen .member-hub-billing-filter .sch_base {
    display: flex;
    align-items: center;
    gap: 10px;
}
.member-hub-billing-screen .member-hub-billing-filter #billingYear {
    width: 200px;
}
.member-hub-billing-screen .member-hub-billing-grid-area .inner_table_wrap {
    overflow-x: auto;
    border: 1px solid #c5ddd8;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fff;
}
.member-hub-billing-screen .ds-card-section__body--flush {
    overflow-x: auto;
}
.member-hub-billing-screen #billingListGrid {
    min-width: 980px;
}
.member-hub-billing-screen #billingListGrid .dx-datagrid-headers {
    border-bottom: 1px solid #c5ddd8;
    background: #f3f8f7;
}
.member-hub-billing-screen #billingListGrid .dx-header-row > td {
    height: 46px;
    padding: 10px 12px;
    border-color: #c5ddd8;
    color: #1e5d4f;
    font-weight: 600;
}
.member-hub-billing-screen #billingListGrid .dx-data-row > td {
    height: 54px;
    padding: 10px 12px;
    border-color: #edf3f2;
    color: #475569;
}
.member-hub-billing-screen #billingListGrid .dx-data-row.dx-state-hover > td {
    background: #f7fbfa;
}
.member-hub-billing-popups .pop_wrap {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(30, 93, 79, .14);
}
.member-hub-billing-popups .pop_head {
    padding: 20px 28px 16px;
    border-bottom: 1px solid #c5ddd8;
}
.member-hub-billing-popups .pop_tit {
    color: #1e5d4f;
    font-weight: 700;
}
.member-hub-billing-popups .hub-billing-modal-content {
    padding: 22px 28px 26px;
}
.member-hub-billing-popups .th_colored_table {
    border-color: #c5ddd8;
}
.member-hub-billing-popups .th_colored_table th {
    border-color: #c5ddd8;
    background: #f3f8f7;
    color: #1e5d4f;
    font-weight: 600;
}
.member-hub-billing-popups .th_colored_table td {
    border-color: #e2ecea;
}
.member-hub-billing-popups .hub-billing-detail-title {
    margin: 0 0 12px;
    color: #1e5d4f;
    font-size: 1.6rem;
    font-weight: 700;
}
.member-hub-billing-popups .hub-billing-detail-table td:nth-child(2) {
    color: #334155;
    font-weight: 500;
}
.member-hub-billing-popups .hub-billing-detail-table td:last-child {
    color: #7a8a99;
    font-size: 1.2rem;
}
.member-hub-billing-popups .hub-billing-account-table {
    min-width: 880px;
}
.member-hub-billing-popups .hub-billing-payment-table td strong {
    color: #1e5d4f;
    font-size: 1.6rem;
}
.member-hub-billing-popups .hub-billing-receipt-option + .hub-billing-receipt-option {
    margin-top: 8px;
}
.member-hub-billing-popups .center_btn_wrap.multi_btns {
    gap: 8px;
}
.member-hub-billing-popups .receipt_inquiry .pop_wrap {
    max-height: 92vh;
}
.member-hub-billing-popups .receipt-inquiry-body {
    margin: 0 20px 20px;
}
.member-hub-billing-popups .receipt-inquiry-content {
    min-height: 0;
    padding: 20px;
    overflow: auto;
}
.member-hub-billing-popups .receipt-inquiry-frame {
    display: block;
    width: 100%;
    height: min(800px, calc(92vh - 150px));
    min-height: 420px;
    border: 0;
}

@media (max-width: 768px) {
    .member-hub-billing-screen .cont_area_tit {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .member-hub-billing-screen .hub-billing-faq {
        align-self: flex-start;
    }
    .member-hub-billing-screen .member-hub-billing-filter .sch_base,
    .member-hub-billing-screen .member-hub-billing-filter .bkd_select,
    .member-hub-billing-screen .member-hub-billing-filter .bkd_btn {
        width: 100%;
    }
    .member-hub-billing-screen .member-hub-billing-filter .sch_base {
        align-items: stretch;
        flex-direction: column;
    }
    .member-hub-billing-screen #billingListGrid {
        min-width: 860px;
    }
    .member-hub-billing-popups .hub-billing-modal-content {
        padding: 18px 16px 22px;
    }
    .member-hub-billing-popups .pop_head {
        padding: 18px 20px 14px;
    }
    .member-hub-billing-popups .receipt_inquiry .pop_wrap {
        width: calc(100vw - 28px);
    }
    .member-hub-billing-popups .receipt-inquiry-body {
        margin: 0 8px 12px;
    }
    .member-hub-billing-popups .receipt-inquiry-content {
        padding: 12px;
    }
    .member-hub-billing-popups .receipt-inquiry-frame {
        height: calc(90vh - 120px);
        min-height: 360px;
    }
}
.member-manage-screen .member-manage-toolbar .bkd_btn,
.member-manage-screen .member-manage-toolbar .bkd_round_btn {
            border-radius: 8px;
        }
.member-manage-screen .member-warning-callout,
.member-manage-screen .member-guide-callout {
            border: 1px solid #c5ddd8;
            border-radius: 8px;
            background: #eaf3f2;
            color: #1e5d4f;
        }
.member-manage-screen .member-warning-callout {
            padding: 12px 14px;
        }
.member-manage-screen .member-guide-callout {
            padding: 12px 16px;
            font-size: 1.3rem;
            line-height: 1.6;
}

/* 독립형 채널 상점 연동 */
.member-indep-shop-screen .member-config-table {
    margin: 0;
    border: 0;
}
.member-indep-shop-screen .member-config-table th,
.member-indep-shop-screen .member-config-table td {
    padding: 14px 18px;
    border-color: #e6eeec;
    vertical-align: middle;
}
/* 배경·글자색은 DS(ds-table--th-accent)가 담당한다 — 여기서는 크기만 조정 */
.member-indep-shop-screen .member-config-table tbody th {
    font-size: 1.3rem;
    font-weight: 600;
}
.member-indep-shop-screen .member-config-table .main_list {
    margin: 0;
    padding-left: 18px;
    color: #64748b;
    line-height: 1.6;
    text-align: left;
}
.member-indep-shop-screen .member-config-table .bkd_input {
    border-color: #c5ddd8;
    border-radius: 6px;
}
.member-indep-shop-screen .member-config-table .bkd_btn {
    border-radius: 8px;
}
.member-indep-shop-screen .member-config-table > tbody > tr:last-child td {
    padding-top: 18px;
    border-bottom: 0;
}
.member-indep-shop-guide-popup .pop_wrap {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 94vh;
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(30, 93, 79, 0.22);
}
.member-indep-shop-guide-popup .pop_head {
    flex: 0 0 auto;
    padding: 16px 22px 0;
    border-bottom: 1px solid #c5ddd8;
    background: #f3f8f7;
}
.member-indep-shop-guide-popup .pop_tit {
    padding-right: 0;
}
.member-indep-shop-guide-popup .tab_menu {
    display: flex;
    gap: 0;
    margin: 0;
    overflow-x: auto;
}
.member-indep-shop-guide-popup .tab_menu li {
    flex: 0 0 auto;
}
.member-indep-shop-guide-popup .tab_menu a {
    display: block;
    min-width: 132px;
    padding: 11px 16px 12px;
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}
.member-indep-shop-guide-popup .tab_menu a.active {
    border-bottom-color: #61ada1;
    background: #eaf3f2;
    color: #1e5d4f;
}
.member-indep-shop-guide-popup .tab_menu a.active::after {
    display: none;
}
.member-indep-shop-guide-popup .pop_wrap.pop_scroll .pop_cont {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 18px 22px 24px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table {
    border: 0;
    background: transparent;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td {
    padding: 0 8px;
    border: 0;
    vertical-align: top;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td:first-child,
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td:last-child {
    overflow: hidden;
    border: 1px solid #e1ece9;
    border-radius: 10px;
    background: #fff;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td:first-child {
    padding: 0;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td:last-child {
    padding: 0;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td > .th_colored_table {
    border: 0;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td > .th_colored_table + .th_colored_table {
    margin-top: 16px !important;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td > .th_colored_table td[colspan="2"] {
    padding: 11px 14px !important;
    border-bottom: 1px solid #e6eeec;
    background: linear-gradient(#48877c, #48877c) no-repeat left center / 3px 1.2em;
    color: #1a4a43;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td > .th_colored_table th {
    padding: 9px 12px;
    background: #f7fcfb;
    color: #1a4a43;
    font-size: 1.1rem;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td > .th_colored_table td {
    padding: 10px 12px;
    color: #374151;
    font-size: 1.2rem;
    line-height: 1.6;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td:last-child > .th_colored_table td {
    padding: 0;
    border-bottom: 0;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab pre.php-code {
    position: relative;
    height: auto;
    min-height: 260px;
    margin: 0;
    padding: 40px 16px 16px;
    border: 0;
    border-radius: 0;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.65;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab pre.php-code::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 10px 14px;
    background: #1e293b;
    color: #94a3b8;
    content: "API 예제";
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab .main_description {
    color: #48877c;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab .inner-mark {
    color: #c2410c;
}
.member-indep-shop-guide-popup .member-indep-shop-guide-tab .error_description {
    color: #b42318;
}
.member-indep-shop-guide-popup .th_colored_table {
    border-top-color: #c5ddd8;
}
.member-indep-shop-guide-popup .th_colored_table th {
    background: #f3f8f7;
    color: #1e5d4f;
    font-weight: 600;
}
.member-indep-shop-guide-popup .th_colored_table th,
.member-indep-shop-guide-popup .th_colored_table td {
    border-color: #e6eeec;
}
.member-indep-shop-guide-popup .th_colored_table p {
    line-height: 1.6;
}
.member-indep-shop-guide-popup pre.php-code {
    border: 1px solid #d5e4e1;
    border-radius: 8px;
}
.member-indep-shop-guide-popup .pop_close_btn {
    right: 18px;
    top: 18px;
    border-radius: 6px;
}
.member-indep-shop-guide-popup .pop_close_btn:hover {
    background-color: #eaf3f2;
}
        .member-manage-screen #grid_cont .dx-datagrid {
            border-color: #c5ddd8;
            overflow: hidden;
        }
        .member-manage-screen #grid_cont .dx-datagrid-headers,
        .member-manage-screen #grid_cont .dx-datagrid-headers .dx-datagrid-table,
        .member-manage-screen #grid_cont .dx-datagrid-headers .dx-header-row > td {
            background-color: #f3f8f7 !important;
            color: #1e5d4f !important;
            font-weight: 600;
        }
        .member-manage-screen #grid_cont .dx-datagrid-headers .dx-header-row > td * {
            color: inherit;
        }
        .member-manage-screen #grid_cont .dx-header-row > td,
        .member-manage-screen #grid_cont .dx-data-row > td {
            border-color: #f1f5f9;
        }
        .member-manage-screen #grid_cont .dx-data-row.dx-state-hover > td {
            background: #f3f8f7;
        }
        .member-manage-screen .toggle-switch,
        .member-manage-popups .toggle-switch {
            position: relative;
            display: inline-block;
            width: 38px;
            height: 20px;
        }
        .member-manage-screen .toggle-switch input[type="checkbox"],
        .member-manage-popups .toggle-switch input[type="checkbox"] {
            position: absolute;
            width: 0;
            height: 0;
            opacity: 0;
        }
        .member-manage-screen .toggle-slider,
        .member-manage-popups .toggle-slider {
            position: absolute;
            inset: 0;
            cursor: pointer;
            border-radius: 20px;
            background: #ccc;
            transition: background 0.25s;
        }
        .member-manage-screen .toggle-slider::before,
        .member-manage-popups .toggle-slider::before {
            position: absolute;
            bottom: 3px;
            left: 3px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #fff;
            content: "";
            transition: transform 0.25s;
        }
        .member-manage-screen .toggle-switch input[type="checkbox"]:checked + .toggle-slider,
        .member-manage-popups .toggle-switch input[type="checkbox"]:checked + .toggle-slider {
            background: #1D9E75;
        }
        .member-manage-screen .toggle-switch input[type="checkbox"]:checked + .toggle-slider::before,
        .member-manage-popups .toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
            transform: translateX(18px);
        }
        .member-manage-screen .toggle-switch input[type="checkbox"]:disabled + .toggle-slider,
        .member-manage-popups .toggle-switch input[type="checkbox"]:disabled + .toggle-slider {
            border: 1px solid #ccc;
            background: #ccc;
            cursor: not-allowed;
            opacity: 0.4;
        }
        .member-manage-screen .toggle-wrapper,
        .member-manage-popups .toggle-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .member-manage-popups .pop_wrap {
            border-radius: var(--dbi-radius-sm);
            box-shadow: 0 12px 30px rgba(30, 93, 79, 0.14);
        }
        .member-manage-popups .pop_head {
            padding: 20px 30px;
            border-bottom: 1px solid #c5ddd8;
        }
        .member-manage-popups .member-history-popup .pop_head,
        .member-manage-popups .member-history-detail .pop_head {
            padding-top: 30px;
        }
.member-manage-popups .pop_tit,
.member-manage-popups .t_label {
    color: #1e5d4f;
}
.member-manage-popups .member-bank-title-tooltip {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: url(../images/ico_alert.png) center no-repeat;
    background-size: 16px;
    vertical-align: middle;
    cursor: help;
}
.member-manage-popups .member-bank-title-tooltip:hover,
.member-manage-popups .member-bank-title-tooltip:focus-visible {
    opacity: 0.75;
    outline: none;
}
.member-manage-popups .info_box {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
}
/* 계좌 상세정보 */
.member-manage-popups .acc_detail .pop_wrap {
    border: 1px solid #c5ddd8;
}
.member-manage-popups .acc_detail .pop_cont {
    padding: 18px 30px 30px;
}
.member-manage-popups .acc_detail .grid_top_btns {
    min-height: auto;
    margin: 0 0 10px;
    padding: 0;
    background: transparent;
}
.member-manage-popups .acc_detail #faqList2 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 0 !important;
}
.member-manage-popups .acc_detail #faqList2 .faq_list_btn {
    min-height: 28px;
    padding: 3px 10px;
    border-color: #cbd5e1;
    border-radius: 50px;
    background: #fff;
    color: #475569;
    font-size: 1.3rem;
    font-weight: 500;
}
.member-manage-popups .acc_detail_wrap {
    gap: 28px;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff;
}
.member-manage-popups .acc_detail_wrap .left_wrap,
.member-manage-popups .acc_detail_wrap .right_wrap {
    min-width: 0;
}
.member-manage-popups .acc_detail_wrap .t_label {
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-weight: 600;
}
.member-manage-popups .acc_detail_wrap .bkd_input,
.member-manage-popups .acc_detail_wrap .bkd_select {
    height: 40px;
    border-color: #c5ddd8;
    border-radius: 7px;
    background: #fff;
}
.member-manage-popups .acc_detail_wrap .password_inp {
    width: 100%;
    margin: 0;
}
.member-manage-popups .acc_detail_wrap .info_img_txt {
    color: #64748b;
    line-height: 1.55;
}
.member-manage-popups .acc_detail .center_btn_wrap {
    margin-top: 20px;
}
.member-manage-popups .member-permission-popup .match_info_highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    color: #1e5d4f;
    line-height: 1.6;
}
.member-manage-popups .member-permission-popup .match_info_highlight .match_info_icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #297b6e;
}
.member-manage-popups .member-permission-popup .match_info_highlight .dot_list {
    flex: 1;
    margin: 0;
}
.member-manage-popups .member-permission-popup .match_info_highlight .dot_list > li {
    padding-left: 0;
}
.member-manage-popups .member-permission-popup .match_info_highlight .dot_list > li::before {
    display: none;
}
.member-manage-popups .member-history-popup .pop_cont2,
        .member-manage-popups .member-history-detail .pop_cont {
            box-sizing: border-box;
            margin-top: 0;
            padding: 18px 30px 30px;
        }
        .member-manage-popups .member-history-popup .pop_table_wrap {
            margin-top: 0;
            overflow-x: auto;
            overflow-y: hidden;
            border: 1px solid #c5ddd8;
            border-radius: 8px;
        }
        .member-manage-popups .member-history-popup .pop_table {
            border-top: 0;
        }
        .member-manage-popups .member-history-popup .pop_table thead th {
            height: 46px;
            border-bottom-color: #c5ddd8;
            background: #ededed;
            color: #797979;
            font-weight: 500;
        }
        .member-manage-popups .member-history-popup .pop_table tbody td {
            height: 52px;
            border-bottom-color: #e6eeec;
            color: #475569;
        }
        .member-manage-popups .member-history-popup .pop_table tbody tr:last-child td {
            border-bottom: 0;
        }
        .member-manage-popups .member-history-popup .pop_table tbody tr:hover td {
            background: #f8fbfa;
        }
        .member-manage-popups .member-history-popup .memo_det {
            min-width: 48px;
            border-color: #8bbdb5;
            border-radius: 6px;
            color: #1e5d4f;
        }
        .member-manage-popups .member-history-popup .memo_det:hover {
            background: #eaf3f2;
        }
.member-manage-popups .member-history-detail .member-history-detail-table-wrap {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.member-guide-modal {
    display: flex;
    flex-direction: column;
    width: min(870px, calc(100vw - 32px));
    height: min(800px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(30, 93, 79, 0.22);
}
.member-guide-modal-overlay {
    position: fixed;
    z-index: 2100;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 56, 49, 0.42);
    box-sizing: border-box;
}
.member-guide-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 16px 0 22px;
    border-bottom: 1px solid #c5ddd8;
    background: #f3f8f7;
    color: #1e5d4f;
    font-size: 1.7rem;
    font-weight: 600;
}
.member-guide-modal-head p {
    margin: 0;
}
.member-guide-modal-head button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1e5d4f;
    font-size: 2.8rem;
    line-height: 1;
    cursor: pointer;
}
.member-guide-modal-head button:hover {
    background: #eaf3f2;
}
.member-guide-modal iframe {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    border: 0;
    background: #fff;
}
        .member-manage-popups .member-history-detail .th_colored_table th,
        .member-manage-popups .member-history-detail .th_colored_table td {
            border-color: #e6eeec;
        }
        .member-manage-popups .member-history-detail .th_colored_table th {
            background: #ededed;
            color: #797979;
            font-weight: 500;
        }
        .member-manage-popups .member-history-detail .th_colored_table td {
            color: #475569;
        }
.member-manage-popups .member-detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
    gap: 20px;
    align-items: start;
}
.member-manage-popups .member-detail-column,
.member-manage-popups .member-detail-column .cs-accordion-wrap {
    min-width: 0;
    margin-top: 0;
}
.member-manage-popups .member-detail-column .cs-acc {
    margin-bottom: 0;
}
.member-manage-popups .member-detail-form {
    padding-top: 16px;
}
.member-manage-popups .member-permission-table-wrap {
    overflow-x: auto;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.member-manage-popups .member-permission-table-wrap .th_colored_table {
    width: 100%;
    min-width: 480px;
    /* 샘플 ds-table--kv 와 동일한 둥근 외곽 프레임 (overflow:hidden 이 border 를 클립하므로 inset box-shadow 로 표시) */
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--ds-color-table-kv-border, #e6eeec);
}
.member-manage-popups .member-permission-table-wrap .th_colored_table th {
    background: var(--ds-color-table-kv-th-bg, #f3f8f7);
    color: var(--ds-color-neutral-600, #64748B);
    font-weight: 500;
}
.member-manage-popups .member-permission-table-wrap .th_colored_table th,
.member-manage-popups .member-permission-table-wrap .th_colored_table td {
    border-color: #e6eeec;
}
.member-manage-popups .member-permission-table-wrap .th_colored_table tr:last-child td {
    border-bottom: 0;
}
/* 계좌별/항목별 권한 설정 팝업 표도 샘플 ds-table--kv 와 동일한 둥근 외곽 프레임 */
.member-manage-popups .member-permission-popup .th_colored_table {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--ds-color-table-kv-border, #e6eeec);
}
.member-manage-popups .member-permission-popup .th_colored_table th {
    border-color: #e6eeec;
    background: var(--ds-color-table-kv-th-bg, #f3f8f7);
    color: var(--ds-color-neutral-600, #64748B);
    font-weight: 500;
}
.member-manage-popups .member-permission-popup .th_colored_table td {
    border-color: #e6eeec;
}
/* 제휴사 부담당자 관리도 일반 부이용자 관리와 동일한 카드·팝업 토큰을 사용합니다. */
.hub-submanager-screen .member-manage-card-body {
    padding-bottom: 18px;
}
.hub-submanager-screen .member-manage-toolbar .grid_numb {
    color: #1e5d4f;
    font-size: 1.5rem;
}
.hub-submanager-screen .member-guide-callout {
    margin: 15px 0 0;
}
.hub-submanager-popups .submanager_detail_wrap {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
    gap: 20px;
    align-items: start;
}
.hub-submanager-popups .submanager_detail_wrap .left_wrap,
.hub-submanager-popups .submanager_detail_wrap .right_wrap {
    min-width: 0;
    margin-top: 0;
}
.hub-submanager-popups .member-detail-permissions .cs-accordion-wrap {
    margin-top: 0;
}
.hub-submanager-popups .member-permission-table-wrap {
    overflow-x: auto;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.hub-submanager-popups .member-permission-table-wrap .th_colored_table {
    min-width: 760px;
    border: 0;
}
.hub-submanager-popups .member-permission-table-wrap .th_colored_table th {
    border-color: #e6eeec !important;
    background: #ededed !important;
    color: #797979 !important;
    font-weight: 500;
}
.hub-submanager-popups .member-permission-table-wrap .th_colored_table td {
    border-color: #e6eeec !important;
    color: #475569;
}
.hub-submanager-popups .member-permission-table-wrap .th_colored_table tr:last-child td {
    border-bottom: 0;
}
.hub-submanager-popups .hub_sub_manager_delete .info_box {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .member-manage-screen .member-manage-card-body { padding: 14px; }
    .member-manage-screen .member-manage-toolbar { align-items: flex-start; }
    .member-manage-screen .member-manage-toolbar .box_btns { flex-wrap: wrap; }
    .member-indep-shop-screen .member-manage-card-body .acc_area { overflow-x: auto; }
    .member-indep-shop-screen .member-config-table { min-width: 820px; }
    .member-indep-shop-guide-popup .pop_head { padding: 12px 14px 0; }
    .member-indep-shop-guide-popup .pop_wrap.pop_scroll .pop_cont { padding: 14px; }
    .member-indep-shop-guide-popup .tab_menu a { min-width: 112px; padding: 10px 12px; }
    .member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table { min-width: 900px; }
    .member-indep-shop-guide-popup .member-indep-shop-guide-tab > .th_colored_table > tbody > tr > td { padding: 0 6px; }
    .member-manage-popups .member-history-popup .pop_cont2,
    .member-manage-popups .member-history-detail .pop_cont { padding: 18px 16px 20px; }
    .member-manage-popups .member-history-popup .pop_table { min-width: 720px; }
    .member-manage-popups .member-history-detail .th_colored_table { min-width: 500px; }
    .member-manage-popups .member-history-detail .member-history-detail-table-wrap { overflow-x: auto; }
    .member-manage-popups .acc_detail .pop_cont { padding: 16px; }
    .member-manage-popups .acc_detail_wrap { padding: 16px; }
    .member-guide-modal-overlay { padding: 12px; }
    .member-guide-modal { width: 100%; height: calc(100vh - 24px); }
    .member-guide-modal-head { min-height: 54px; padding-left: 16px; }
    .member-manage-popups .member-detail-layout { grid-template-columns: 1fr; }
    .hub-submanager-popups .submanager_detail_wrap { grid-template-columns: 1fr; }
}

/* 매치관리 */
/* ============================================
   MATCH CONFIG — custom styles
   Accordion (.cs-acc-*) → design-system.css (.dbi-config-screen)
   Toggle   (.cs-tog)    → design-system.css
   ============================================ */

/* ── Accordion body padding ── */
.match-config-screen .cs-acc-body { padding-top: 16px; }

/* 모든 이용자 화면에서 공통 토글의 폭·높이가 안정적으로 적용되도록 박스 요소로 렌더링합니다. */
.dbi-config-screen .cs-tog { display: inline-block; }

/* 이용자 아코디언 아이콘 제거 */
.dbi-config-screen .cs-acc-icon { display: none; }

/* ── Accordion badge ── */
.match-config-screen .cs-acc-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 24px; height: 13px; padding: 0 7px;
    background: #297b6e; color: #fff;
    font-size: 1.2rem; font-weight: 600; border-radius: 11px;
}

/* ── Two-Column Layout ── */
.match-config-screen .cs-two-col {
    display: flex;
    flex-direction: row;
    gap: 20px; /* 좌우 컴포넌트 간 경계 가독성을 위해 간격을 조금 넓힘 */
    align-items: flex-start;
}
/* [변경] 좌측 영역: 설정 폼은 과도하게 늘어나지 않도록 최대/최소폭 설정 */
.match-config-screen .cs-two-col-left {
    flex: 1; /* 우측에 비해 상대적으로 기본 비율 배분 */
    /* min-width: 500px; */
    /* max-width: 750px; */
    overflow: hidden;
    /* width: 50%; */
}
/* [변경] 우측 영역: 고정값 420px 해제 후 유연하게 늘어나도록 설정 */
.match-config-screen .cs-two-col-right {
    position: sticky;
    top: 0;
    flex: 1; /* 남는 가로폭을 유동적으로 채움 */
    /* min-width: 420px; /* 기존 최소 보장 폭 유지 */
    /* max-width: 650px; 화면이 아주 넓을 때 키워드 영역이 지나치게 커지는 것 방지 */ */
}

@media (max-width: 1024px) {
    .match-config-screen .cs-two-col        { flex-direction: column; }
    .match-config-screen .cs-two-col-left   { width: 100%; }
    .match-config-screen .cs-two-col-right  { width: 100%; }
}

/* ── Period Row ── */
.match-config-screen .match_period_row    { display: flex; align-items: center; gap: 8px; }
.match-config-screen .match_period_label  { font-size: 1.4rem; font-weight: 500; color: #1e5d4f; flex: 0 0 auto; }
.match-config-screen .match_period_suffix { font-size: 1.4rem; color: #64748b; flex: 0 0 auto; }
/* ds-select 는 기본 width:100% 라 인라인 행에서 늘어남 → match 폼 셀렉트는 내용 폭으로 */
.match-config-screen .match_period_row .ds-select,
.match-config-screen .match_textlimit_row .ds-select { width: auto; min-width: 90px; flex: 0 0 auto; }

/* 이용자(member) 화면의 teal 테마는 _header.php 의 <body class="ds-theme-member"> 로 페이지 전역(본문·팝업)에 적용된다.
   (design-system.css 의 .ds-theme-member 토큰 세트 사용. admin 은 _adminHeader.php 의 .ds-theme-admin) */

/* ── Info Highlight ── */
.dbi-config-screen .match_info_highlight,
.match-config-popups .match_info_highlight,
.dbi-temp-payment .match_info_highlight,
.member-qna-popups .match_info_highlight,
.member-payment-list-popups .match_info_highlight {
    display: flex; gap: 10px; margin-top: 14px; padding: 12px 16px;
    background: #eaf3f2; border: 1px solid #c5ddd8; border-radius: 8px;
    font-size: 1.3rem; color: #1e5d4f; line-height: 1.6;
}
.dbi-config-screen .match_info_highlight .dot_list > li,
.match-config-popups .match_info_highlight .dot_list > li,
.dbi-temp-payment .match_info_highlight .dot_list > li,
.member-qna-popups .match_info_highlight .dot_list > li,
.member-payment-list-popups .match_info_highlight .dot_list > li {
    padding-left: 0;
}
.dbi-config-screen .match_info_highlight .dot_list > li::before,
.match-config-popups .match_info_highlight .dot_list > li::before,
.dbi-temp-payment .match_info_highlight .dot_list > li::before,
.member-qna-popups .match_info_highlight .dot_list > li::before,
.member-payment-list-popups .match_info_highlight .dot_list > li::before {
    display: none;
}
.dbi-config-screen .match_info_icon,
.match-config-popups .match_info_icon,
.dbi-temp-payment .match_info_icon,
.member-qna-popups .match_info_icon,
.member-payment-list-popups .match_info_icon { flex-shrink: 0; margin-top: 2px; color: #297b6e; }

/* ── 과거 입출금내역 가져오기 ── */
.payment-screen .grid_cont_area {
    margin-top: 16px;
}
.payment-grid-scroll {
    overflow-x: auto;
}
/* 결제 전 안내 모달 그리드 — 샘플(ds-table--header-shaded) 기준 정렬:
   헤더 회색 음영 + 글자색, 합계 행 음영, 컨테이너 라운드 테두리 */
#sel_inout_grid .dx-datagrid,
#sel_inout_grid .dx-datagrid-borders {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}
#sel_inout_grid .dx-datagrid-headers .dx-header-row > td {
    background-color: #EFEFEF !important;
    color: #64748B !important;
}
#sel_inout_grid .dx-datagrid-total-footer .dx-row > td {
    background-color: #EFEFEF !important;
}
/* 합계 행 값 셀(결제금액 VAT제외/포함, 마지막 2개 컬럼)은 배경 없음 — 샘플 ds-table__total 기준 */
#sel_inout_grid .dx-datagrid-total-footer .dx-row > td:last-child,
#sel_inout_grid .dx-datagrid-total-footer .dx-row > td:nth-last-child(2) {
    background-color: #fff !important;
}
.payment-grid-scroll input.date_inp {
    background-color: #fff;
}
.payment-screen .between_btn_wrap {
    align-items: center;
    gap: 16px;
}
.payment-screen .right_btns {
    display: flex;
    align-items: center;
    gap: 10px;
}
.payment-minimum-charge {
    color: #1e5d4f;
    font-size: 1.3rem;
    font-weight: 600;
}
.payment-pay-button {
    margin-left: 0;
}
.common-popups .info_tit {
    color: #1e5d4f;
}
.common-popups .estimate #modal-screen .info_box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
    color: #1e5d4f;
    font-size: 1.3rem;
    line-height: 1.6;
}
.common-popups .estimate #modal-screen .info_box::before {
    display: inline-flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    content: "i";
}
.common-popups .estimate #modal-screen .info_box .dot_list {
    flex: 1;
    margin: 0;
}
.common-popups .estimate #modal-screen .info_box .dot_list > li {
    padding-left: 0;
}
.common-popups .estimate #modal-screen .info_box .dot_list > li::before {
    display: none;
}

/* ── 결제 공통 패널·팝업 ── */
.common-panel {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff;
}
.common-panel .head_sep_box {
    margin: 0 !important;
    padding: 14px 18px;
    border-bottom: 1px solid #d9ebe8;
    background: #f8fcfb;
}
.common-status-table,
.common-panel .pop_table {
    margin: 0;
}
.common-summary-table {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.common-status-table > tbody > tr > td:first-child {
    color: #64748b;
    font-weight: 600;
}
.common-condition-table {
    margin: 10px 0 0;
}
.common-panel > .common-status-table > tbody > tr > td,
.common-panel > .common-status-table > tbody > tr > th {
    border-color: #d9ebe8;
}
.common-summary-table td.red_col_imp {
    color: #1e5d4f;
    font-weight: 700;
}
.common-popups .pop_wrap {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.common-popups .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
}
.common-popups .pop_tit {
    color: #1e5d4f;
}
.common-popups .match_info_highlight {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
    color: #1e5d4f;
    line-height: 1.6;
}
.common-popups .match_info_highlight > div {
    flex: 1;
    min-width: 0;
}
.common-popups .match_info_highlight .match_info_icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #297b6e;
}
.common-popups .match_info_highlight .dot_list > li {
    padding-left: 0;
}
.common-popups .match_info_highlight .dot_list > li::before {
    display: none;
}
.common-popups .pop_table_wrap {
    overflow-x: auto;
}
.common-popups .chk_box {
    border-color: #c5ddd8;
    border-radius: 6px;
    background: #eaf3f2;
}
.common-popups .th_colored_table th,
.common-popups .th_colored_table td {
    border-color: #d9ebe8;
}
.common-popups .center_btn_wrap {
    gap: 10px;
}
.common-history-popup .pop_wrap {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff;
}
.common-history-popup .pop_head {
    padding: 16px 22px;
    border-bottom: 1px solid #c5ddd8;
}
.common-history-popup .pop_tit {
    color: #1e5d4f;
    font-size: 1.5rem;
    font-weight: 700;
}
.common-history-popup .pop_cont {
    padding: 20px 22px 22px;
}
.common-history-scroll {
    max-height: min(50vh, 420px);
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.common-history-popup .common-history-table {
    margin: 0;
    border: 1px solid #c5ddd8;
}
.common-history-popup .common-history-table th {
    background: #ededed;
    color: #797979;
    font-weight: 500;
}
.common-history-popup .common-history-table th,
.common-history-popup .common-history-table td {
    border-color: #d9ebe8;
}
.common-history-popup .center_btn_wrap {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #edf5f3;
}
.common-history-popup .center_btn_wrap .bkd_btn {
    min-width: 84px;
    margin-left: 0;
}

/* ── 매치 가능 건수 충전 ── */
.payment-screen .grid_top {
    align-items: center;
    min-height: 44px;
}
.payment-screen .grid_numb {
    color: #1e5d4f;
}
.common-empty-state {
    padding: 28px 10px;
    text-align: center !important;
    vertical-align: middle;
}
.common-history-table {
    width: 100%;
    table-layout: fixed;
}
.common-history-table .common-empty-state {
    width: 100%;
    text-align: center !important;
    text-indent: 0;
}
.common-empty-row {
    display: table-row;
}
.common-empty-row .common-empty-state {
    display: table-cell;
    width: auto;
    text-align: center !important;
}

/* ── 보안 관리 ── */
.member-security-screen .member-security-faq-toggle {
    margin-bottom: 10px;
    margin-left: 10px;
}
.member-security-screen .member-security-faq-list {
    padding-bottom: 10px;
}
.member-security-screen .member-security-card {
    overflow: hidden;
}
.member-security-screen .member-security-card-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 26px;
    background: linear-gradient(120deg, #f3f8f7 0%, #fff 72%);
}
.member-security-screen .member-security-card-copy {
    min-width: 0;
}
.member-security-screen .member-security-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #297b6e;
    font-size: 1.2rem;
    font-weight: 700;
}
.member-security-screen .member-security-card-copy h3 {
    margin: 0;
    color: #1e5d4f;
    font-size: 1.8rem;
    font-weight: 700;
}
.member-security-screen .member-security-card-copy p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1.6;
}
.member-security-screen .member-security-history-button {
    position: absolute;
    top: 24px;
    right: 26px;
    border-radius: 8px;
    white-space: nowrap;
}
.member-security-screen .member-security-card-status {
    display: flex;
    justify-content: flex-end;
    padding: 0 26px 20px;
    background: linear-gradient(120deg, #f3f8f7 0%, #fff 72%);
}
.member-security-screen .member-security-card-action {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 16px;
    border: 1px solid #c5ddd8;
    border-radius: 10px;
    background: #fff;
}
.member-security-screen .member-security-status-label {
    color: #64748b;
    font-size: 1.2rem;
}
.member-security-screen .member-security-status {
    min-width: 54px;
    color: #64748b;
    font-size: 1.3rem;
    text-align: center;
}
.member-security-screen .member-security-status.is-active {
    color: #1e5d4f;
}
.member-security-screen .member-security-status.is-inactive {
    color: #94a3b8;
}
.member-security-screen .member-security-switch {
    display: flex;
    align-items: center;
}
.member-security-screen .member-security-toggle-switch {
    flex: 0 0 48px;
}
.member-security-screen .member-security-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 26px;
    border-top: 1px solid #d9ebe8;
    color: #64748b;
    font-size: 1.3rem;
}
.member-security-screen .member-security-guide {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
    color: #1e5d4f;
    line-height: 1.6;
}
.member-security-screen .member-security-guide > div {
    min-width: 0;
}
.member-security-screen .member-security-guide p {
    margin: 2px 0 0;
    color: #297b6e;
}
.member-security-screen .member-security-guide .match_info_icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #297b6e;
}
.member-security-popups .pop_cont {
    padding: 20px 22px 22px;
}
.member-security-popups .pop_table_wrap {
    overflow-x: auto;
}
.member-security-popups .member-security-history-table {
    min-width: 560px;
}
.member-security-popups .member-security-detail-popup .th_colored_table {
    margin: 0;
}
.member-security-popups .member-security-otp-enable-popup .pop_head {
    padding-bottom: 14px;
}
.member-security-popups .member-security-modal-desc {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1.5;
}
.member-security-popups .member-security-otp-steps {
    display: grid;
    gap: 10px;
}
.member-security-popups .member-security-otp-step {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d9ebe8;
    border-radius: 8px;
    background: #f8fcfb;
}
.member-security-popups .member-security-otp-step-number {
    display: flex;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #297b6e;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}
.member-security-popups .member-security-otp-step-content {
    flex: 1;
    min-width: 0;
}
.member-security-popups .member-security-otp-step-content strong {
    color: #1e5d4f;
    font-size: 1.4rem;
}
.member-security-popups .member-security-otp-step-content p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1.55;
}
.member-security-popups .member-security-qr-area {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin-top: 10px;
}
.member-security-popups .member-security-qr-area #QRImage:empty {
    display: none;
}
.member-security-popups .member-security-qr-area #QRImage img {
    display: block;
    max-width: 150px;
    height: auto;
    padding: 6px;
    border: 1px solid #c5ddd8;
    border-radius: 6px;
    background: #fff;
}
.member-security-popups .member-security-otp-input {
    width: 100%;
    margin-top: 10px;
}
.member-security-popups .member-security-disable-warning {
    display: flex;
    gap: 10px;
    padding: 14px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    line-height: 1.55;
}
.member-security-popups .member-security-warning-icon {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
}
.member-security-popups .member-security-disable-warning strong {
    font-size: 1.4rem;
}
.member-security-popups .member-security-disable-warning p {
    margin: 4px 0 0;
    font-size: 1.3rem;
}
.member-security-popups .member-security-disable-details {
    margin: 8px 0 0;
    color: #9a3412;
    font-size: 1.3rem;
    line-height: 1.65;
}
.member-security-popups .member-security-disable-details > li {
    padding-left: 0;
}
.member-security-popups .member-security-disable-details > li::before {
    display: none;
}
.member-security-popups .member-security-disable-confirm {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf5f3;
}
.member-security-popups .member-security-disable-confirm > label {
    display: block;
    color: #475569;
    font-size: 1.3rem;
}
.member-security-popups .member-security-disable-confirm > label strong {
    color: #9a3412;
}
.member-security-popups .member-security-disable-confirm-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.member-security-popups .member-security-disable-confirm-row .bkd_input {
    flex: 1;
    min-width: 0;
    margin: 0;
}
.member-security-popups .member-security-disable-button {
    flex: 0 0 auto;
    margin: 0;
}

/* ── 자동결제 이용현황·별명 변경 모달 ── */
.member-payment-auto-pay-status {
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff !important;
}
.member-payment-auto-pay-status .sc-auto-pay-title {
    margin: 0 !important;
    padding: 14px 18px;
    border-bottom: 1px solid #c5ddd8;
    background: #eaf3f2;
    color: #1e5d4f !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}
.member-payment-auto-pay-status > table {
    margin: 0;
    border: 0;
}
.member-payment-auto-pay-status > table th {
    background: #ededed;
    color: #797979;
    font-weight: 500;
}
.member-payment-auto-pay-status .sc-auto-actions {
    margin: 0;
    padding: 14px 18px;
    border-top: 1px solid #d9ebe8;
    background: #f8fcfb;
}
.member-payment-auto-pay-status .sc-auto-actions .bkd_btn {
    margin: 0;
}
.member-payment-auto-pay-alias-popup .member-payment-auto-pay-alias-wrap {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.member-payment-auto-pay-alias-popup .pop_head {
    padding: 18px 24px;
    border-bottom: 1px solid #c5ddd8;
}
.member-payment-auto-pay-alias-popup .pop_tit {
    color: #1e5d4f;
    font-weight: 700;
}
.member-payment-auto-pay-alias-popup .pop_cont {
    padding: 20px 24px 24px;
}
.member-payment-auto-pay-alias-popup .t_label {
    color: #334155;
    font-weight: 600;
}
.member-payment-auto-pay-alias-popup .member-payment-auto-pay-alias-input {
    height: 40px;
    border-color: #c5ddd8;
    border-radius: 6px;
    background: #fff;
}
.member-payment-auto-pay-alias-popup .member-payment-auto-pay-alias-input:focus {
    border-color: #61ada1;
    box-shadow: 0 0 0 3px rgba(97, 173, 161, 0.14);
    outline: 0;
}
.member-payment-auto-pay-alias-popup .center_btn_wrap {
    gap: 10px;
}
.member-payment-auto-pay-alias-popup .center_btn_wrap .mgl10 {
    margin-left: 0;
}
.member-payment-auto-pay-guidance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 0;
    padding: 14px 16px !important;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2 !important;
    color: #1e5d4f !important;
    line-height: 1.6 !important;
}
.member-payment-auto-pay-guidance-icon {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #297b6e;
}
.member-payment-auto-pay-guidance > div {
    flex: 1;
    min-width: 0;
}
.member-payment-auto-pay-guidance p {
    margin: 0;
}
.member-payment-auto-pay-guidance strong {
    color: #1e5d4f !important;
}
.member-payment-auto-pay-guidance-list {
    margin: 8px 0 0 !important;
    color: #1e5d4f;
    font-size: 1.3rem;
}
.member-payment-auto-pay-guidance-list > li {
    line-height: 1.6;
}

/* ── 결제 방식 선택 팝업 ── */
.sc-pm-body { font-family: 'Noto Sans KR', sans-serif; color: #1a1a18; }
.sc-pm-body .sc-current-info { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; padding: 2rem 2.25rem; border: 0.5px solid rgba(0,0,0,0.08); border-radius: 12px; background: #f5f5f3; }
.sc-pm-body .sc-ci-item { display: flex; flex-direction: column; gap: 6px; }
.sc-pm-body .sc-ci-label { color: #888; font-size: 12px; }
.sc-pm-body .sc-ci-value { color: #1a1a18; font-size: 14px; font-weight: 500; }
.sc-pm-body .sc-ci-value.sc-highlight { color: #185fa5; }
.sc-pm-body .sc-section-title { margin-bottom: 1rem; color: #666; font-size: 13px; word-break: keep-all; }
.sc-pm-body .sc-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sc-pm-body .sc-pm-card { display: flex; position: relative; flex-direction: column; gap: 12px; padding: 1.25rem; border: 0.5px solid rgba(0,0,0,0.12); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.sc-pm-body .sc-pm-card:hover:not(.sc-disabled) { border-color: rgba(0,0,0,0.25); box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); }
.sc-pm-body .sc-pm-card.sc-recommended { border: 2px solid #378add; box-shadow: 0 1px 4px rgba(55,138,221,0.12); }
.sc-pm-body .sc-pm-card.sc-disabled { opacity: 0.45; }
.sc-pm-body .sc-card-header { display: flex; align-items: flex-start; gap: 10px; }
.sc-pm-body .sc-card-icon { display: flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-size: 18px; }
.sc-pm-body .sc-card-icon.sc-blue { background: #e6f1fb; color: #185fa5; }
.sc-pm-body .sc-card-icon.sc-green { background: #eaf3de; color: #3b6d11; }
.sc-pm-body .sc-card-icon.sc-amber { background: #faeeda; color: #854f0b; }
.sc-pm-body .sc-card-icon.sc-gray { background: #f1efe8; color: #5f5e5a; }
.sc-pm-body .sc-card-title-wrap { flex: 1; }
.sc-pm-body .sc-card-name { margin-bottom: 3px; color: #1a1a18; font-size: 14px; font-weight: 500; word-break: keep-all; }
.sc-pm-body .sc-card-desc { color: #666; font-size: 12px; line-height: 1.5; word-break: keep-all; }
.sc-pm-body .sc-badge { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 500; }
.sc-pm-body .sc-badge.sc-rec-badge { padding: 6px 12px; border-radius: 6px; background: #e6f1fb; color: #185fa5; letter-spacing: 0.2px; }
.sc-pm-body .sc-badge.sc-disabled-badge { padding: 6px 12px; background: #fcebeb; color: #a32d2d; }
.sc-pm-body .sc-divider { height: 1px; background: rgba(0,0,0,0.07); }
.sc-pm-body .sc-features { display: flex; flex-direction: column; gap: 5px; }
.sc-pm-body .sc-feat-row { display: flex; align-items: center; gap: 8px; color: #666; font-size: 12px; }
.sc-pm-body .sc-feat-row svg { flex-shrink: 0; }
.sc-pm-body .sc-feat-ok { color: #3b6d11; }
.sc-pm-body .sc-feat-no { color: #bbb; }
.sc-pm-body .sc-date-change { padding: 8px 10px; border-radius: 8px; background: #f5f5f3; font-size: 12px; }
.sc-pm-body .sc-date-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #666; }
.sc-pm-body .sc-date-arrow { color: #bbb; }
.sc-pm-body .sc-date-new { color: #3b6d11; font-weight: 500; }
.sc-pm-body .sc-date-same { color: #666; }
.sc-pm-body .sc-date-ext { margin-top: 2px; color: #185fa5; font-size: 11px; }
.sc-pm-body .sc-date-ext.sc-warn { color: #854f0b; }
.sc-pm-body .sc-pm-btn { width: 100%; margin-top: auto; padding: 9px 12px; border: 0.5px solid rgba(0,0,0,0.2); border-radius: 8px; background: transparent; color: #1a1a18; font-family: 'Noto Sans KR', sans-serif; font-weight: 500; text-align: center; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.sc-pm-body .sc-pm-btn:hover:not(:disabled) { border-color: rgba(0,0,0,0.3); background: #f5f5f3; }
.sc-pm-body .sc-pm-btn.sc-primary { border: 1px solid #378add; background: #e6f1fb; color: #185fa5; }
.sc-pm-body .sc-pm-btn.sc-primary:hover:not(:disabled) { background: #d4e6f7; }
.sc-pm-body .sc-pm-btn:disabled { border-color: rgba(0,0,0,0.08); background: #fafafa; color: #bbb; cursor: not-allowed; }
.sc-pm-body .sc-disabled-reason { color: #a32d2d; font-size: 11px; line-height: 1.5; text-align: center; word-break: keep-all; }
.sc-pm-body .sc-auto-info { color: #666; font-size: 11px; line-height: 1.5; word-break: keep-all; }
.sc-pm-body .sc-rec-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sc-pm-body .sc-rec-notice .sc-rec-badge-sm { display: inline-block; padding: 2px 8px; border-radius: 8px; background: #fcebeb; color: #a32d2d; font-size: 11px; font-weight: 500; }
.sc-pm-body .sc-rec-notice .sc-rec-text { color: #a32d2d; font-size: 12px; line-height: 1.4; }
.sc-pm-body .sc-auto-pay-section { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: 12px; background: #f5f5f3; }
.sc-pm-body .sc-auto-pay-section .sc-auto-pay-title { margin-bottom: 10px; color: #1a1a18; font-size: 13px; font-weight: 500; }
.sc-pm-body .sc-auto-pay-section table { width: 100%; }
.sc-pm-body .sc-auto-pay-section .sc-auto-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-pm-body .sc-info-msg { padding: 0.5rem 0; color: #666; font-size: 13px; line-height: 1.6; }
.sc-pm-body .sc-info-msg strong { color: #1a1a18; }
.sc-coupon-body { color: #1a1a18; font-family: 'Noto Sans KR', sans-serif; }
.sc-coupon-body .sc-coupon-tabs { margin-top: 4px; }
.sc-coupon-body .sc-coupon-tabs .sch_area_tab { display: flex; gap: 8px; margin: 0 0 16px; }
.sc-coupon-body .sc-coupon-tabs .sch_area_tab li { flex: 1; border: 0; }
.sc-coupon-body .sc-coupon-tabs .tab_btn { width: 100%; padding: 10px 8px; border: 0.5px solid rgba(0,0,0,0.12); border-radius: 8px; background: #f5f5f3; color: #888; font-family: 'Noto Sans KR', sans-serif; font-size: 13px; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.sc-coupon-body .sc-coupon-tabs .tab_btn:hover { border-color: rgba(0,0,0,0.25); color: #1a1a18; }
.sc-coupon-body .sc-coupon-tabs .tab_btn.tab_on { border-color: #297b6e; background: #eaf3f2; color: #1e5d4f; font-weight: 500; }
.sc-coupon-body .sc-coupon-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 16px 18px; border: 0.5px solid rgba(0,0,0,0.08); border-radius: 12px; background: #f5f5f3; }
.sc-coupon-body .sc-coupon-summary-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: #eaf3f2; color: #1e5d4f; font-size: 17px; font-weight: 500; }
.sc-coupon-body .sc-coupon-summary-label { margin: 0 0 3px; color: #888; font-size: 12px; }
.sc-coupon-body .sc-coupon-summary-value { margin: 0; color: #1a1a18; font-size: 16px; font-weight: 500; }
.sc-coupon-body .sc-coupon-summary-count { margin: 3px 0 0; color: #1e5d4f; font-size: 12px; }
.sc-coupon-body .sc-coupon-list-card { overflow: hidden; border: 0.5px solid rgba(0,0,0,0.12); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.sc-coupon-body .sc-coupon-list-title { margin: 0; padding: 14px 16px 10px; color: #1a1a18; font-size: 13px; font-weight: 500; }
.sc-coupon-body .sc-coupon-table { width: 100%; margin: 0; border: 0; table-layout: fixed; }
.sc-coupon-body .sc-coupon-table th { padding: 9px 8px; border: 0; border-top: 1px solid rgba(0,0,0,0.07); background: #f5f5f3; color: #888; font-size: 11px; font-weight: 500; line-height: 1.45; }
.sc-coupon-body .sc-coupon-table td { padding: 11px 8px; border: 0; border-top: 1px solid rgba(0,0,0,0.06); color: #666; font-size: 12px; line-height: 1.45; }
.sc-coupon-body .sc-coupon-table tbody tr:first-child td { border-top: 0; }
.sc-coupon-body .sc-coupon-table tbody tr:hover td { background: #fafafa; }
.sc-coupon-body .sc-coupon-empty { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 150px; border: 0.5px solid rgba(0,0,0,0.12); border-radius: 12px; background: #fff; color: #888; font-size: 13px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.sc-coupon-body .sc-coupon-empty p { margin: 8px 0 0; }
.sc-coupon-body .sc-coupon-empty-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #f1efe8; color: #888; font-size: 16px; }
.sc-modal-footer { padding: 1rem 0 2rem; text-align: center; }
.sc-btn-close-bottom { padding: 11px 36px; border: none; border-radius: 8px; background: #222; color: #fff; font-family: 'Noto Sans KR', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 0.15s; }
.sc-btn-close-bottom:hover { background: #000; }
@media (hover: none) { .sc-pm-body .sc-pm-card:hover:not(.sc-disabled) { transform: none; } }
@media (max-width: 1100px) { .sc-pm-body .sc-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .sc-pm-body .sc-cards-grid { grid-template-columns: 1fr; gap: 10px; }
    .sc-pm-body .sc-current-info { gap: 0.75rem; }
    .sc-pm-body .sc-pm-card { padding: 1rem; }
    .sc-pm-body .sc-pm-btn { padding: 10px 12px; }
    .sc-pm-body .sc-card-name { font-size: 13px; }
    .sc-coupon-body .sc-coupon-table th,
    .sc-coupon-body .sc-coupon-table td { padding-right: 5px; padding-left: 5px; font-size: 11px; }
    .sc-coupon-body .sc-coupon-summary { padding: 14px; }
}
@media (max-width: 375px) {
    .sc-pm-body .sc-pm-card { gap: 10px; padding: 0.875rem; }
    .sc-pm-body .sc-date-change { padding: 6px 8px; }
}

/* ── 카페24 결제방식 B: 기간연장·요금제·옵션 변경 ── */
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box {
    overflow: hidden;
    padding: 0;
    border: 1px solid #c5ddd8;
    border-radius: 12px;
    background: #fff;
}
/* 샘플 레이아웃 톤 정렬 — 메인 비교표: 헤더/라벨 th 멤버 테마 틴트 + 셀 보더 연한 teal (그리드 유지) */
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .th_colored_table th {
    background: #f3f8f7;
    color: #64748B;
    font-weight: 600;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .th_colored_table,
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .th_colored_table thead th,
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .th_colored_table tbody th,
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .th_colored_table tbody td {
    border-color: #e6eeec;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .t_label {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid #c5ddd8;
    background: #eaf3f2;
    color: #1e5d4f;
    font-size: 1.5rem;
    font-weight: 700;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .member-payment-plan-flow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    padding: 5px 10px;
    border: 1px solid #c5ddd8;
    border-radius: 999px;
    background: #eaf3f2;
    color: #1e5d4f;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box .bkd_select {
    min-width: 120px;
    border-color: #c5ddd8;
    background-color: #fff;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box .red_col_imp {
    color: #1e5d4f;
    font-weight: 700;
}
/* 추천 말풍선: 셀 위에 절대배치하면 헤더 행과 겹치므로, '360요금제' 글자 바로 오른쪽에 인라인 배지로 둔다 */
/* 추천 말풍선: 비고란의 '360요금제' 글자 바로 위, 가운데 정렬. 위 헤더 행과 겹치지 않게 말풍선 높이만큼 위 여백을 둔다 */
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box .rad_box:has(> .rec_txt) {
    position: relative;
    display: inline-block;
    width: max-content;
    max-width: 100%;
    margin-top: 32px;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box .rec_txt {
    top: auto;
    bottom: calc(100% + 4px);
    left: 50% !important;
    z-index: 2;
    min-width: 0;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid #c5ddd8;
    border-radius: 999px;
    background: #eaf3f2;
    box-shadow: 0 4px 10px rgba(30, 93, 79, 0.12);
    color: #1e5d4f;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    transform: translateX(-50%);
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box .rec_txt::after {
    left: 50%;
    margin-left: -5px;
    border-color: #c5ddd8 transparent transparent transparent;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box .rec_txt::before {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    margin-left: -4px;
    border-width: 4px;
    border-style: solid;
    border-color: #eaf3f2 transparent transparent transparent;
    content: "";
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .between_btn_wrap {
    align-items: center;
    gap: 16px;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .right_btns {
    display: flex;
    align-items: center;
    gap: 10px;
}
:is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .pop_outer_wrap,
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .pop_wrap {
    --member-payment-plan-border: #c5ddd8;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .pop_wrap {
    overflow: hidden;
    border: 1px solid var(--member-payment-plan-border);
    border-radius: 8px;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid var(--member-payment-plan-border);
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .pop_tit {
    color: #1e5d4f;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .info_box {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
    color: #1e5d4f;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .estimate #modal-screen .info_box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
    color: #1e5d4f;
    font-size: 1.3rem;
    line-height: 1.6;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .estimate #modal-screen .info_box::before {
    display: inline-flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    content: "i";
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .estimate #modal-screen .info_box .dot_list {
    flex: 1;
    margin: 0;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .estimate #modal-screen .info_box .dot_list > li {
    padding-left: 0;
}
:is(.member-payment-plan-cafe24-b-popups, .member-payment-plan-modern-popups) .estimate #modal-screen .info_box .dot_list > li::before {
    display: none;
}

/* ── 자동 결제 등록 ── */
.member-payment-auto-pay-screen .cont_border_box {
    overflow: hidden;
    padding: 0;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff;
}
.member-payment-auto-pay-screen .cont_border_box > .t_label {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid #c5ddd8;
    background: #eaf3f2;
    color: #1e5d4f;
    font-size: 1.5rem;
    font-weight: 700;
}
.member-payment-auto-pay-screen .cont_border_box .match_info_highlight {
    margin: 14px 18px 16px;
}
.member-payment-auto-pay-screen .cont_border_box .match_info_highlight > div {
    flex: 1;
    min-width: 0;
}
.member-payment-auto-pay-screen .cont_border_box .match_info_highlight p {
    margin: 0;
}
.member-payment-auto-pay-screen .cont_border_box .bkd_col {
    color: #1e5d4f;
    font-weight: 700;
}
.member-payment-auto-pay-screen .cont_border_box .red_col_imp,
.member-payment-auto-pay-screen .cont_border_box .red_col {
    color: #1e5d4f;
}
.member-payment-auto-pay-screen .cont_border_box .chk_box {
    margin: 18px;
    padding: 12px 14px;
    border: 1px solid #d9ebe8;
    border-radius: 6px;
    background: #f3f8f7;
}
.member-payment-auto-pay-screen .cont_border_box .center_btn_wrap {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 18px 18px;
}
.member-payment-auto-pay-screen .cont_border_box .center_btn_wrap .mgl10 {
    margin-left: 0;
}

/* ── Tags ── */
.match-config-screen .match_tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 1.3rem; font-weight: 600; }
.match-config-screen .match_tag--deposit { background: #fef3c7; color: #92400e; }
.match-config-screen .match_tag--order   { background: #dcfce7; color: #166534; }

/* ── Target Item Table ── */
.match-config-screen .match_target_list  { display: flex; flex-direction: column; }

/* Header */
.match-config-screen .match_target_header {
    display: flex; align-items: center; gap: 12px;
    padding: 0 0 10px 0; border-bottom: 2px solid #e2e8f0; margin-bottom: 4px;
}
.match-config-screen .match_target_header_cell {
    font-size: 1.2rem; font-weight: 600; color: #64748b; text-transform: none;
}
.match-config-screen .match_target_header--deposit { width: 110px; flex-shrink: 0; }
.match-config-screen .match_target_header--order   { width: 130px; flex-shrink: 0; }
.match-config-screen .match_target_header--toggle  { width: 90px; flex-shrink: 0; text-align: center; }
.match-config-screen .match_target_header--cond    { flex: 1; min-width: 0; }

/* Row */
.match-config-screen .match_target_row {
    display: flex; align-items: center; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.match-config-screen .match_target_row:last-child { border-bottom: none; }

/* Cells */
.match-config-screen .match_target_cell { display: flex; align-items: center; }
.match-config-screen .match_target_cell--deposit { width: 110px; flex-shrink: 0; }
.match-config-screen .match_target_cell--order   { width: 130px; flex-shrink: 0; gap: 6px; }
.match-config-screen .match_target_cell--toggle  { width: 90px; flex-shrink: 0; justify-content: center; gap: 6px; }
.match-config-screen .match_target_cell--cond    { flex: 1; min-width: 0; font-size: 1.3rem; color: #297b6e; }
.match-config-screen .match_target_arrow { color: #94a3b8; flex-shrink: 0; }

/* ── Amount Rows ── */
.match-config-screen .match_amount_row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid #f1f5f9; gap: 12px; flex-wrap: wrap;
}
.match-config-screen .match_amount_row:last-child { border-bottom: none; }
.match-config-screen .match_amount_row_left  { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.match-config-screen .match_amount_row_right { display: flex; align-items: center; flex-shrink: 0; }
.match-config-screen .match_amount_label { font-size: 1.4rem; font-weight: 600; color: #1e5d4f; width: 64px; flex-shrink: 0; }
.match-config-screen .match_amount_wrap  { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.match-config-screen .match_amount_input { width: 150px; text-align: right; }
.match-config-screen .match_amount_unit  { font-size: 1.4rem; color: #64748b; font-weight: 500; white-space: nowrap; }
.match-config-screen .match_amount_hint  { font-size: 1.3rem; color: #64748b; }
.match-config-screen .match_condition_note { color: #94a3b8; font-size: 1.2rem; }
/* ── Text Limit Row ── */
.match-config-screen .match_textlimit_row  { display: flex; align-items: center; gap: 12px; }
.match-config-screen .match_textlimit_label { font-size: 1.5rem; font-weight: 600; color: #1e5d4f; white-space: nowrap; }

/* ── Info Box + Example ── */
.match-config-screen .match_info_box {
    padding: 14px 16px; background: #eaf3f2; border: 1px solid #c5ddd8;
    border-radius: 8px; font-size: 1.3rem; color: #297b6e; line-height: 1.7;
    margin-top: 12px;
}
.match-config-screen .match_example {
    margin-top: 10px; padding: 10px 14px; background: #fff;
    border: 1px dashed #cbd5e1; border-radius: 6px; font-size: 1.3rem;
}
.match-config-screen .match_example em { font-style: normal; font-weight: 600; color: #1e5d4f; }
.match-config-screen .match_yes { color: #16a34a; font-weight: 700; }
.match-config-screen .match_no  { color: #dc2626; font-weight: 700; }

/* ── Keyword Section ── */
.match-config-screen .match_keyword_desc { font-size: 1.3rem; color: #64748b; margin-bottom: 12px; }
.match-config-screen .match_keyword_recommend {
    display: none; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px; background: #fefce8; border: 1px solid #fde68a;
    border-radius: 8px; font-size: 1.3rem; color: #854d0e; margin-bottom: 14px; flex-wrap: wrap;
}
.match-config-screen .match_keyword_recommend p { margin: 0; flex: 1; min-width: 200px; }
.match-config-screen .match_keyword_recommend button { margin: 0 0 0 auto; }
.match-config-screen .match_keyword_input_row { display: flex; gap: 8px; margin-bottom: 14px; }
.match-config-screen .match_keyword_input { flex: 1; min-width: 0; }
.match-config-screen .match_keyword_guide {
    padding: 14px; background: #eaf3f2; border: 1px solid #c5ddd8;
    border-radius: 8px; margin-bottom: 14px;
}
.match-config-screen .match_keyword_guide h4 { font-size: 1.3rem; font-weight: 700; color: #1e5d4f; margin: 0 0 8px 0; }
.match-config-screen .match_keyword_guide ul { margin: 0; padding-left: 18px; font-size: 1.3rem; color: #64748b; line-height: 1.7; }
.match-config-screen .match_keyword_guide ul li { margin-bottom: 4px; }
.match-config-screen .match_keyword_guide ul li strong { color: #1e5d4f; }

/* ── Keyword List ── */
.match-config-screen .match_keyword_list_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    padding: 16px;
    background-color: #eaf3f2;
}
.match-config-screen .match_keyword_list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.match-config-screen .match_keyword_list li {
    display: inline-block;
}
.match-config-screen .match_keyword_list .word_item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #ffffff;
    color: #424242;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.match-config-screen .match_keyword_list .word_item:hover {
    border-color: #94a3b8;
    background-color: #eaf3f2;
}
.match-config-screen .match_keyword_list .del_item {
    background: url(../images/ico_close_sm.png) center no-repeat;
    background-size: contain;
    flex-shrink: 0;
    font-size: 0;
    height: 12px;
    width: 12px;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.match-config-screen .match_keyword_list .del_item:hover {
    opacity: 1;
}
.match-config-screen .match_keyword_empty {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 1.4rem;
    width: 100%;
}

/* ── Keyword color coding ── */
.match-config-screen .word_item.word-item-red {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}
.match-config-screen .word_item.word-item-red:hover {
    background-color: #fecaca;
    border-color: #f87171;
}
.match-config-screen .word_item.word-item-purple {
    background-color: #f3e8ff;
    color: #6b21a8;
    border-color: #d8b4fe;
}
.match-config-screen .word_item.word-item-purple:hover {
    background-color: #e9d5ff;
    border-color: #c084fc;
}
.match-config-screen .word_item.word-item-orange {
    background-color: #ffedd5;
    color: #9a3412;
    border-color: #fed7aa;
}
.match-config-screen .word_item.word-item-orange:hover {
    background-color: #ffe3e0;
    border-color: #fdba74;
}

/* ── Save row ── */
.match-config-screen .cs-save-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* ── Recommended Keyword Popup ── */
.match-config-popups .add_keyword .pop_head {
    padding: 0 0 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #c5ddd8;
}
.match-config-popups .add_keyword .pop_tit {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e5d4f;
}
.match-config-popups .match_keyword_modal_title {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e5d4f;
}
.match-config-popups .match_keyword_select_all {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e5d4f;
}
.match-config-popups .match_keyword_select_all input { accent-color: #297b6e; }
.match-config-popups .match_keyword_select_all label { cursor: pointer; }
.match-config-popups .match_keyword_pick_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 260px;
    margin: 0;
    padding: 14px;
    overflow-y: auto;
    list-style: none;
    background: #eaf3f2;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.match-config-popups .match_keyword_pick_label { cursor: pointer; }
.match-config-popups .match_keyword_pick_label input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.match-config-popups .match_keyword_pick_text {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 12px;
    color: #475569;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.match-config-popups .match_keyword_pick_label:hover .match_keyword_pick_text {
    background: #f3f8f7;
    border-color: #8bbdb5;
}
.match-config-popups .match_keyword_pick_label input:checked + .match_keyword_pick_text {
    color: #fff;
    background: #297b6e;
    border-color: #297b6e;
}
.match-config-popups .match_keyword_pick_label input:focus-visible + .match_keyword_pick_text {
    outline: 2px solid #1e5d4f;
    outline-offset: 2px;
}
.match-config-popups .match_keyword_modal_guide {
    margin-top: 14px;
    padding: 14px;
    background: #eaf3f2;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.match-config-popups .match_keyword_modal_guide h4 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e5d4f;
}
.match-config-popups .match_keyword_modal_guide ul {
    margin: 0;
    padding-left: 18px;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1.7;
}
.match-config-popups .match_keyword_modal_actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.match-config-popups .match-preview-popup .pop_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(30, 93, 79, .14);
}
.match-config-popups .match-preview-popup .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
    background: #fff;
}
.match-config-popups .match-preview-popup .pop_tit {
    color: #1e5d4f;
    font-weight: 700;
}
.match-config-popups .match-preview-popup .pop_cont { padding: 22px 24px 26px; }
.match-config-popups .match-preview-description {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1.6;
}
.match-config-popups .match-preview-table-wrap { overflow-x: auto; }
.match-config-popups .match-preview-table {
    min-width: 720px;
    table-layout: fixed;
}
.match-config-popups .match-preview-table tbody tr.is-match { background: #f0fdf4; }
.match-config-popups .match-preview-table tbody tr.is-excluded { background: #fef2f2; }
.match-config-popups .match-preview-table td {
    padding: 8px;
    font-size: 1.2rem;
    line-height: 1.5;
    vertical-align: middle;
    background: inherit !important;
}
.match-config-popups .match-preview-table td:not(.match-preview-type):not(.match-preview-reason) { text-align: left; }
.match-config-popups .match-preview-type { font-weight: 600; text-align: center; }
.match-config-popups .match-preview-reason { color: #475569; }
.match-config-popups .match-preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 1.4rem;
    font-weight: 700;
}
.match-config-popups .is-excluded .match-preview-badge {
    border-color: #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}
.match-config-popups .match-preview-highlight {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}
.match-config-popups .match-preview-guide {
    margin-top: 14px;
}
.match-config-popups .match-preview-guide .dot_list { margin: 0; }
.match-config-popups .match-preview-reason strong { font-weight: 700; }
.match-config-popups .match-keyword-example .pop_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, .24);
}
.match-config-popups .match-keyword-example .pop_head {
    padding: 25px 30px 14px;
    border-bottom: 1px solid #c5ddd8;
    background: #fff;
}
.match-config-popups .match-keyword-example .pop_tit {
    color: #1e5d4f;
    font-size: 1.7rem;
    font-weight: 700;
}
.match-config-popups .match-keyword-example .pop_cont {
    background: #fff;
}
.match-config-popups .match-keyword-example .pop_cont { padding: 20px 24px 25px; }
.match-config-popups .keyword-example-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #c5ddd8;
    border-radius: 10px;
    background: #eaf3f2;
    color: #1e5d4f;
}
.match-config-popups .keyword-example-intro-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #297b6e;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}
.match-config-popups .keyword-example-intro strong {
    display: block;
    margin-bottom: 3px;
    font-size: 1.4rem;
}
.match-config-popups .keyword-example-intro p {
    margin: 0;
    color: #477d75;
    font-size: 1.2rem;
    line-height: 1.6;
}
.match-config-popups .keyword-example-list {
    display: grid;
    gap: 12px;
}
.match-config-popups .keyword-example-card {
    overflow: hidden;
    border: 1px solid #d9ebe8;
    border-radius: 10px;
    background: #fff;
}
.match-config-popups .keyword-example-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #f7fcfb;
}
.match-config-popups .keyword-example-step {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #297b6e;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.match-config-popups .keyword-example-card h3 {
    margin: 0 0 3px;
    color: #1e5d4f;
    font-size: 1.4rem;
}
.match-config-popups .keyword-example-card-head p {
    margin: 0;
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.5;
}
.match-config-popups .keyword-example-pattern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #e6eeec;
    border-bottom: 1px solid #e6eeec;
}
.match-config-popups .keyword-example-pattern span {
    color: #678078;
    font-size: 1.1rem;
    font-weight: 600;
}
.match-config-popups .keyword-example-pattern code,
.match-config-popups .keyword-example-result code {
    padding: 4px 8px;
    border: 1px solid #c5ddd8;
    border-radius: 5px;
    background: #f3f8f7;
    color: #1e5d4f;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 1.2rem;
    font-weight: 600;
}
.match-config-popups .keyword-example-results {
    padding: 10px 16px 12px;
}
.match-config-popups .keyword-example-result-head,
.match-config-popups .keyword-example-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    align-items: center;
    gap: 10px;
}
.match-config-popups .keyword-example-result-head {
    padding-bottom: 6px;
    color: #94a3b8;
    font-size: 1.1rem;
}
.match-config-popups .keyword-example-result-head span:last-child,
.match-config-popups .keyword-example-result .keyword-example-status {
    text-align: center;
}
.match-config-popups .keyword-example-result {
    min-height: 38px;
    border-top: 1px solid #f1f5f9;
}
.match-config-popups .keyword-example-result code {
    justify-self: start;
    border: 0;
    background: transparent;
    color: #475569;
    font-weight: 500;
}
.match-config-popups .keyword-example-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
}
.match-config-popups .keyword-example-status.is-excluded {
    background: #dff3ec;
    color: #1e7a62;
}
.match-config-popups .keyword-example-status.is-matched {
    background: #f1f5f9;
    color: #64748b;
}
.match-config-popups .keyword-example-legend {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 14px;
    color: #64748b;
    font-size: 1.1rem;
}
.match-config-popups .keyword-example-legend .keyword-example-status {
    margin-right: 4px;
    vertical-align: middle;
}

/* #khkim#2828 기준 키워드 등록 예제 표 */
.match-config-popups .keyword-example-description {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 1.3rem;
    line-height: 1.6;
}
.match-config-popups .keyword-example-table-wrap { overflow-x: auto; }
.match-config-popups .keyword-example-table {
    min-width: 620px;
    table-layout: fixed;
}
.match-config-popups .keyword-example-table > tbody > tr { display: table-row !important; }
.match-config-popups .keyword-example-table > tbody > tr > td { display: table-cell !important; }
.match-config-popups .keyword-example-table th {
    padding: 10px 8px;
}
.match-config-popups .keyword-example-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e2e8f0;
    color: #2f2f2f;
    font-size: 1.3rem;
    text-align: center;
    vertical-align: middle;
    background: inherit !important;
}
.match-config-popups .keyword-example-table tr.is-excluded { background: #f0fdf4; }
.match-config-popups .keyword-example-table tr.is-target { background: #fef2f2; }
.match-config-popups .keyword-example-table .keyword-example-rule {
    font-weight: 600;
    vertical-align: middle !important;
    border-top: 0 !important;
    border-bottom-color: #cbd5e1;
}
.match-config-popups .keyword-example-table .keyword-example-pattern {
    color: #297b6e;
    font-weight: 600;
    vertical-align: middle !important;
    border-top: 0 !important;
    border-bottom-color: #cbd5e1;
}
.match-config-popups .keyword-example-table .keyword-example-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #bbf7d0;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 1.4rem;
    font-weight: 700;
}
.match-config-popups .keyword-example-table .keyword-example-status.is-target {
    border-color: #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .match-config-screen .match_keyword_input_row  { flex-direction: column; }
    .match-config-screen .match_keyword_recommend  { flex-direction: column; align-items: flex-start; }
    .match-config-screen .match_target_header      { display: none; }
    .match-config-screen .match_target_row         { flex-wrap: wrap; gap: 6px; }
    .match-config-screen .match_target_cell--deposit,
    .match-config-screen .match_target_cell--order,
    .match-config-screen .match_target_cell--toggle { width: auto; flex: 0 0 auto; }
    .match-config-screen .match_target_cell--cond  { width: 100%; flex: 1 1 100%; padding-top: 2px; }
}
@media (max-width: 480px) {
    .match-config-screen .match_amount_input { width: 80px; }
    .match-config-screen .match_tag { font-size: 1.1rem; padding: 2px 6px; }
}

/* 이용자 설정형 페이지 공통 컴포넌트 */
.member-hub-service-out-screen .member-hub-service-out-card {
    padding: 18px;
    border-color: #c5ddd8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(30, 93, 79, .06);
}
.member-hub-service-out-screen .member-hub-service-out-intro {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
}
.member-hub-service-out-screen .member-hub-service-out-intro p {
    margin: 0;
    color: #1e5d4f;
    line-height: 1.6;
}
.member-hub-service-out-screen .member-hub-service-out-table {
    width: 100%;
    margin: 0;
    table-layout: fixed;
}
.member-hub-service-out-screen .member-hub-service-out-table th,
.member-hub-service-out-screen .member-hub-service-out-table td {
    vertical-align: middle;
    font-size: 13px; /* ds-compare-table 기본 14px → 다른 표(ds-table 13px)와 글자 크기 통일 */
}
.member-hub-service-out-screen .member-service-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 10px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}
.member-hub-service-out-screen .member-service-status--complete {
    border-color: #a7e8c1;
    background: #e9fbef;
    color: #16834d;
}
.member-hub-service-out-screen .member-service-status--pending {
    border-color: #f4b8b8;
    background: #fff0f0;
    color: #c53030;
}
.member-hub-service-out-screen .member-service-date,
.member-hub-service-out-screen .member-service-note {
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.6;
}
/* 해지 접수 전 데이터 삭제 비고: 순서를 유도하기 위해 안내 박스만 회색으로 비활성 표시 */
.member-hub-service-out-screen .member-hub-service-out-table td.member-service-note--disabled .ds-notice {
    opacity: .45;
    filter: grayscale(1);
}
.member-hub-service-out-screen .member-hub-service-out-table .info_box {
    margin: 0;
    padding: 10px 12px;
}
.member-hub-service-out-popups .pop_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 10px;
    overflow: hidden;
}
.member-hub-service-out-popups .pop_head {
    border-bottom-color: #dcebe8;
    background: #f8fbfa;
}
.member-hub-service-out-popups .pop_tit {
    color: #1e5d4f;
}
.member-hub-service-out-popups .th_colored_table th {
    background: #f3f8f7;
    color: #1e5d4f;
}
.member-hub-service-out-popups .th_colored_table th,
.member-hub-service-out-popups .th_colored_table td {
    border-color: #e2ecea;
}
.member-hub-service-out-popups .info_box {
    border-color: #c5ddd8;
    background: #eaf3f2;
}
.member-hub-service-out-popups .member-unpaid-alert .pop_wrap {
    max-width: 420px;
}
.member-hub-service-out-popups .member-unpaid-alert-content {
    padding: 24px 22px 22px;
}
.member-hub-service-out-popups .member-unpaid-alert-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 13px 14px;
}
.member-hub-service-out-popups .member-unpaid-alert-notice p {
    margin: 0;
    color: #1e5d4f;
    font-weight: 600;
    line-height: 1.6;
}
.member-hub-service-out-popups .member-unpaid-alert-detail {
    margin-top: 4px !important;
    color: #477d75 !important;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 400 !important;
    text-align: left;
}
.member-hub-service-out-popups .member-unpaid-alert-actions {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .member-hub-service-out-screen .member-hub-service-out-card {
        padding: 12px;
    }
    .member-hub-service-out-screen .member-hub-service-out-table {
        min-width: 680px;
    }
    .member-hub-service-out-screen .member-hub-service-out-card {
        overflow-x: auto;
    }
}

.member-screen .member-config-notice {
    margin-top: 14px;
    padding: 13px 16px;
    border: 1px solid #d9ebe8;
    border-radius: 6px;
    background: #edf7f5;
    color: #477d75;
    font-size: 13px;
    line-height: 1.6;
}
.member-screen .member-config-table {
    margin: 0;
    border-top: 1px solid #dfe5eb;
}
.service-out .member-config-table.mgt15 {
    margin-top: 15px;
}
.member-screen .member-config-table th,
.member-screen .member-config-table td {
    padding: 14px 18px;
    vertical-align: middle;
}
.member-screen .member-config-table thead th {
    background: #ededed;
    color: #797979;
    font-size: 12px;
    font-weight: 500;
}
.member-screen .member-config-table tbody th {
    background: #ededed;
    color: #797979;
    font-size: 13px;
    font-weight: 500;
}
.member-screen .member-config-amount {
    color: #297b6e;
    font-size: 16px;
    font-weight: 700;
}
.member-screen .member-config-amount--right {
    text-align: right;
}
.member-screen .member-config-icon--teal {
    background: #eaf3f2;
    color: #297b6e;
}
.member-screen .member-config-icon--yellow {
    background: #fff7df;
    color: #a97819;
}
.member-screen .member-config-icon--red {
    background: #fdf0f0;
    color: #bc5252;
}
.member-screen .member-config-icon--slate {
    background: #f1f3f7;
    color: #526579;
}
.member-screen .member-config-action-row {
    display: flex;
    justify-content: flex-end;
    padding: 16px 0 4px;
}
.member-screen .member-config-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 16px;
    padding-top: 16px;
}
.member-screen .member-config-filter-help {
    display: block;
    margin-top: 8px;
    color: #7a8a99;
    font-size: 12px;
}
.member-screen .member-config-grid {
    overflow-x: auto;
}
.member-screen .member-config-grid-area {
    margin-top: 16px;
}
/* 리스트 툴바 — 결과 내 검색 유무와 무관하게 높이 동일 (입력 높이 + 상하 패딩) */
.member-config-grid-area .ds-toolbar {
    min-height: 64px;
}
/* 상점관리·매치관리·알림관리 팝업 — ds-modal-close(✕)를 pop_wrap 우상단 절대배치 (그리드 클립 방지 위해 overflow 미적용) */
.member-manage-popups .pop_wrap,
.match-config-popups .pop_wrap,
.push-config-popups .pop_wrap { position: relative; }
.member-manage-popups .pop_wrap > .ds-modal-close,
.match-config-popups .pop_wrap > .ds-modal-close,
.push-config-popups .pop_wrap > .ds-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;
}
.member-screen .grid_area,
.member-screen .grid_cont_area {
    margin: 0;
    border: 0;
}
/* 부가서비스(과거 입출금내역/매치 건수 충전): 타이틀과 본문 간격을 요금제 화면(mgt10 = 10px)과 동일하게 — 위 margin:0 리셋보다 뒤에 둔다 */
.member-screen.payment-screen .grid_cont_area.mgt10 {
    margin-top: 10px;
}

.member-screen .grid_top {
    margin-bottom: 12px;
}
/* 회원 화면 카드류 테두리 색: 테마 기본(#e6eeec)이 흰 배경과 대비가 낮아 입력필드와 같은 #c5ddd8 로 통일.
   카드(.ds-cell)·아코디언·관리 카드·계좌 선택기·대시보드 상단 바가 모두 이 변수를 쓴다. */
body.ds-theme-member { --member-card-border: #c5ddd8; }
body.ds-theme-member .ds-cell { border-color: var(--member-card-border); } /* 하위 표에는 영향 없도록 색만 지정 */
body.ds-theme-member .ds-accordion-bar { border-color: var(--member-card-border); } /* 해지/환불 등 카드 내 섹션 아코디언 */
body.ds-theme-member .ds-accordion-bar__body { border-top-color: var(--member-card-border); }
/* 아코디언(.cs-acc / 이용현황·결제 .tp-acc) 테두리를 본문 카드(.ds-cell)와 동일 색·두께로 통일 — 회원 화면 전체 */
.dbi-config-screen .cs-acc,
.dbi-temp-payment .tp-acc {
    border: 1px solid var(--member-card-border, #c5ddd8);
}
.dbi-config-screen .cs-acc-body,
.dbi-temp-payment .tp-acc-body {
    border-top-color: var(--member-card-border, #c5ddd8);
}
.member-screen .cs-acc-header {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
}
.member-screen .cs-acc-header:focus-visible {
    outline: 2px solid #297b6e;
    outline-offset: -2px;
}
.member-screen .member-config-accordion-copy,
.member-screen .cs-acc-header .cs-acc-title,
.member-screen .cs-acc-header .cs-acc-desc {
    display: block;
}
.member-notice-screen .member-notice-screen__faq,
.member-board-screen .member-board-screen__guide,
.member-alarm-screen .member-alarm-screen__faq {
    margin-left: 10px;
}
.member-board-screen .member-board-screen__new-indicator {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    margin-bottom: 3px;
    border-radius: 50%;
    background-color: #ff0000;
    vertical-align: middle;
}
.member-screen .member-config-filter-row input.date_inp {
    background-color: transparent;
}
.member-screen .cont_border_box > .member_inp_wrap {
    margin-top: 0;
    padding: 6px 24px 24px;
}
.member-screen .member_inp_wrap .lb_inp_wrap {
    padding: 18px 0;
    border-bottom: 1px solid #e6eeec;
}
.member-screen .member_inp_wrap .lb_inp_wrap + .lb_inp_wrap {
    margin-top: 0;
}
.member-screen .member_inp_wrap .member_label {
    margin-bottom: 6px;
    color: #475569;
    font-size: 1.4rem;
    font-weight: 600;
}
.member-screen .member_inp_wrap .member_txt {
    color: #1f2937;
}
.member-screen .member_inp_wrap input[type=text],
.member-screen .member_inp_wrap input[type=password] {
    border-color: #c5ddd8;
    border-radius: 6px;
    background: #fff;
}
.member-screen .member_inp_wrap .cert_btn {
    border-color: #8bbdb5;
    border-radius: 6px;
    color: #1e5d4f;
}
.member-screen .member_inp_wrap .cert_btn:disabled {
    border-color: #d9e4e2;
    background: #f3f8f7;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: .65;
}
.member-screen .member_inp_wrap .cert_btn.col_g {
    border-color: #61ada1;
    background: #eaf3f2;
    color: #1e5d4f;
}
.member-screen .member_inp_wrap .cert_box_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #f3f8f7;
}
.member-screen .member_inp_wrap .conf_btn,
.member-screen .member_inp_wrap .member_btn_wrap .round_btn {
    border-color: #1e5d4f;
    background: #1e5d4f;
    color: #fff;
}
.member-screen .member_inp_wrap #submit {
    pointer-events: none;
    opacity: .5;
}
/* 이용자 화면 공통 메모 팝업 */
.pop_outer_wrap .pop_item.memo_popup .pop_wrap,
.pop_outer_wrap .pop_item.new_memo_popup .pop_wrap,
.pop_outer_wrap .pop_item.batch_memo_popup .pop_wrap,
.pop_outer_wrap .pop_item.status_change_memo_popup .pop_wrap,
.pop_outer_wrap .pop_item.memo_config .pop_wrap,
.pop_outer_wrap .pop_item.memo_detail .pop_wrap {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(30, 93, 79, .14);
}
/* 거래내역 삭제 안내 */
.pop_outer_wrap .pop_item.history_delete .pop_wrap {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(127, 29, 29, .16);
}
.pop_outer_wrap .pop_item.history_delete .pop_head {
    border-bottom-color: #f0cccc;
}
.pop_outer_wrap .pop_item.history_delete .pop_tit {
    color: #a33b3b;
}
.pop_outer_wrap .pop_item.history_delete .info_box {
    margin-top: 0;
    padding: 14px 16px;
    border: 1px solid #f0cccc;
    border-radius: 8px;
    background: #fff7f7;
}
.pop_outer_wrap .pop_item.history_delete .info_tit {
    margin-bottom: 6px;
    color: #b33a3a;
    font-size: 1.4rem;
    font-weight: 700;
}
.pop_outer_wrap .pop_item.history_delete .dot_list > li {
    color: #5f4a4a;
    line-height: 1.65;
}
.pop_outer_wrap .pop_item.history_delete .bkd_input {
    height: 42px;
    border-color: #e4baba;
    border-radius: 7px;
    background: #fff;
}
.pop_outer_wrap .pop_item.history_delete .center_btn_wrap {
    gap: 8px;
}
.pop_outer_wrap .pop_item.history_delete .center_btn_wrap .bkd_btn:not(.col_w) {
    border-color: #c54646;
    background: #c54646;
    color: #fff;
}
.pop_outer_wrap .pop_item.history_delete .center_btn_wrap .bkd_btn:not(.col_w):hover {
    border-color: #a73333;
    background: #a73333;
}
@media (max-width: 768px) {
    .pop_outer_wrap .pop_item.history_delete .center_btn_wrap .bkd_btn {
        flex: 1;
    }
}
.pop_outer_wrap .pop_item.checkShopAccount .pop_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(30, 93, 79, .14);
}
.pop_outer_wrap .pop_item.checkShopAccount .pop_head {
    padding: 20px 30px 14px;
    border-bottom: 1px solid #c5ddd8;
}
.pop_outer_wrap .pop_item.checkShopAccount .pop_tit {
    color: #1e5d4f;
}
.pop_outer_wrap .pop_item.checkShopAccount .pop_cont {
    padding: 20px 30px 28px;
}
.pop_outer_wrap .pop_item.checkShopAccount .info_box {
    margin: 0;
    padding: 16px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #f3f8f7;
}
.pop_outer_wrap .pop_item.checkShopAccount .pop_table {
    margin: 0;
    border: 0;
}
.pop_outer_wrap .pop_item.checkShopAccount .pop_table td {
    padding: 0;
    border-bottom: 0;
    color: #475569;
}
.pop_outer_wrap .pop_item.checkShopAccount .accountCount .lstr_txt,
.pop_outer_wrap .pop_item.checkShopAccount .shopCount .lstr_txt {
    display: inline-block;
    margin-bottom: 6px;
    color: #b33a3a;
    font-size: 1.5rem;
    font-weight: 700;
}
.pop_outer_wrap .pop_item.checkShopAccount .accountCount a,
.pop_outer_wrap .pop_item.checkShopAccount .shopCount a {
    display: flex;
    width: fit-content;
    margin: 4px auto 0;
    padding: 8px 12px;
    border: 1px solid #8bbdb5;
    border-radius: 6px;
    background: #fff;
    color: #1e5d4f;
    font-size: 1.3rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    .pop_outer_wrap .pop_item.checkShopAccount .pop_head {
        padding: 18px 16px 12px;
    }
    .pop_outer_wrap .pop_item.checkShopAccount .pop_cont {
        padding: 16px;
    }
}
/* 계좌통합 일괄 삭제 */
.member-account-popups .member-batch-delete-popup .pop_wrap {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(127, 29, 29, .16);
}
.member-account-popups .member-batch-delete-popup .pop_head {
    border-bottom-color: #f0cccc;
}
.member-account-popups .member-batch-delete-popup .pop_tit {
    color: #a33b3b;
}
.member-account-popups .member-batch-delete-popup .info_box {
    margin-top: 0;
    padding: 14px 16px;
    border: 1px solid #f0cccc;
    border-radius: 8px;
    background: #fff7f7;
}
.member-account-popups .member-batch-delete-popup .dot_list > li {
    color: #5f4a4a;
    line-height: 1.65;
}
.member-account-popups .member-batch-delete-popup #batchDeleteCount,
.member-account-popups .member-batch-delete-popup #batchDeleteCount2 {
    color: #b33a3a;
    font-weight: 700;
}
.member-account-popups .member-batch-delete-popup .bkd_input {
    height: 42px;
    border-color: #e4baba;
    border-radius: 7px;
    background: #fff;
}
.member-account-popups .member-batch-delete-popup .center_btn_wrap {
    gap: 8px;
}
.member-account-popups .member-batch-delete-popup #batchDeleteConfirmBtn:not(:disabled) {
    border-color: #c54646;
    background: #c54646;
    color: #fff;
}
.member-account-popups .member-batch-delete-popup #batchDeleteConfirmBtn:not(:disabled):hover {
    border-color: #a73333;
    background: #a73333;
}
@media (max-width: 768px) {
    .member-account-popups .member-batch-delete-popup .center_btn_wrap .bkd_btn {
        flex: 1;
    }
}
/* 변경 이력 목록·상세 */
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_wrap {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(30, 93, 79, .14);
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_head {
    border-bottom-color: #c5ddd8;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_tit {
    color: #1e5d4f;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_cont2 {
    padding: 18px 24px 24px;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail, .past_history_popup) .pop_table_wrap {
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail, .past_history_popup) .pop_table {
    margin: 0;
    border-top: 0;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_table thead th {
    border-bottom-color: #c5ddd8;
    background: #ededed;
    color: #797979;
    font-weight: 500;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_table tbody td {
    border-bottom-color: #e6eeec;
    color: #475569;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_table tbody td[colspan] {
    padding: 28px 16px;
    color: #64748b;
    text-align: center;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .th_colored_table {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .th_colored_table th {
    border-color: #c5ddd8;
    background: #ededed;
    color: #797979;
    font-weight: 500;
}
.pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .th_colored_table td {
    border-color: #e6eeec;
    color: #475569;
}
@media (max-width: 768px) {
    .pop_outer_wrap .pop_item:is(.historyPopup, .accountHistoryPopup, .shopHistoryPopup, .securityHistoryPopup, .merchantHistory, .tblBankHistoryPopup, .log_detail, .memo_detail) .pop_cont2 {
        padding: 14px;
    }
}
.pop_outer_wrap .pop_item.memo_popup .pop_head,
.pop_outer_wrap .pop_item.new_memo_popup .pop_head,
.pop_outer_wrap .pop_item.batch_memo_popup .pop_head,
.pop_outer_wrap .pop_item.status_change_memo_popup .pop_head,
.pop_outer_wrap .pop_item.memo_config .pop_head,
.pop_outer_wrap .pop_item.memo_detail .pop_head {
    border-bottom-color: #c5ddd8;
}
.pop_outer_wrap .pop_item.memo_popup .pop_tit,
.pop_outer_wrap .pop_item.new_memo_popup .pop_tit,
.pop_outer_wrap .pop_item.batch_memo_popup .pop_tit,
.pop_outer_wrap .pop_item.status_change_memo_popup .pop_tit,
.pop_outer_wrap .pop_item.memo_config .pop_tit,
.pop_outer_wrap .pop_item.memo_detail .pop_tit,
.pop_outer_wrap .pop_item.memo_popup .t_label,
.pop_outer_wrap .pop_item.new_memo_popup .t_label,
.pop_outer_wrap .pop_item.batch_memo_popup .t_label,
.pop_outer_wrap .pop_item.status_change_memo_popup .t_label,
.pop_outer_wrap .pop_item.memo_config .t_label,
.pop_outer_wrap .pop_item.memo_detail .t_label {
    color: #1e5d4f;
}
.pop_outer_wrap .pop_item.memo_popup .pop_comm_txt,
.pop_outer_wrap .pop_item.new_memo_popup .pop_comm_txt,
.pop_outer_wrap .pop_item.batch_memo_popup .pop_comm_txt,
.pop_outer_wrap .pop_item.status_change_memo_popup .pop_comm_txt {
    padding: 10px 12px;
    border-left: 3px solid #8bbdb5;
    background: #f3f8f7;
    color: #475569;
    line-height: 1.6;
}
.pop_outer_wrap .pop_item.new_memo_popup .pop_comm_txt2 {
    padding: 14px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #f3f8f7;
    color: #475569;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}
.pop_outer_wrap .pop_item.memo_config .pop_comm_txt {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #eaf3f2;
    color: #1e5d4f;
    font-weight: 600;
    line-height: 1.6;
}
.pop_outer_wrap .pop_item.memo_config #frequentlyMemoContents {
    min-height: 96px;
    border-color: #c5ddd8;
    border-radius: 8px;
    background: #fff;
    resize: vertical;
}
.pop_outer_wrap .pop_item.memo_config #memo_grid_cont {
    overflow: hidden;
    border-radius: 8px;
}
.pop_outer_wrap .pop_item.memo_popup .bkd_textarea,
.pop_outer_wrap .pop_item.new_memo_popup .bkd_textarea,
.pop_outer_wrap .pop_item.batch_memo_popup .bkd_textarea,
.pop_outer_wrap .pop_item.status_change_memo_popup .bkd_textarea {
    min-height: 100px;
    border-color: #c5ddd8;
    border-radius: 8px;
    resize: vertical;
}
.pop_outer_wrap .pop_item.memo_popup .memo_input_row,
.pop_outer_wrap .pop_item.new_memo_popup .memo_input_row,
.pop_outer_wrap .pop_item.batch_memo_popup .memo_input_row,
.pop_outer_wrap .pop_item.status_change_memo_popup .memo_input_row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pop_outer_wrap .pop_item.memo_popup .memo_input_row .bkd_textarea,
.pop_outer_wrap .pop_item.new_memo_popup .memo_input_row .bkd_textarea,
.pop_outer_wrap .pop_item.batch_memo_popup .memo_input_row .bkd_textarea,
.pop_outer_wrap .pop_item.status_change_memo_popup .memo_input_row .bkd_textarea {
    flex: 1;
}
.pop_outer_wrap .pop_item.memo_popup .memo_copy_btn,
.pop_outer_wrap .pop_item.new_memo_popup .memo_copy_btn,
.pop_outer_wrap .pop_item.batch_memo_popup .memo_copy_btn,
.pop_outer_wrap .pop_item.status_change_memo_popup .memo_copy_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #c5ddd8;
    border-radius: 6px;
    background: #fff;
    color: #1e5d4f;
    cursor: pointer;
}
.pop_outer_wrap .pop_item.memo_popup .memo_copy_btn i,
.pop_outer_wrap .pop_item.new_memo_popup .memo_copy_btn i,
.pop_outer_wrap .pop_item.batch_memo_popup .memo_copy_btn i,
.pop_outer_wrap .pop_item.status_change_memo_popup .memo_copy_btn i {
    font-size: 16px;
}
.pop_outer_wrap .pop_item.memo_popup .pop_table_wrap,
.pop_outer_wrap .pop_item.new_memo_popup .pop_table_wrap,
.pop_outer_wrap .pop_item.batch_memo_popup .pop_table_wrap,
.pop_outer_wrap .pop_item.status_change_memo_popup .pop_table_wrap,
.pop_outer_wrap .pop_item.memo_config .pop_table_wrap,
.pop_outer_wrap .pop_item.memo_detail .pop_table_wrap {
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .pop_outer_wrap .pop_item.memo_popup .memo_input_row,
    .pop_outer_wrap .pop_item.new_memo_popup .memo_input_row,
    .pop_outer_wrap .pop_item.batch_memo_popup .memo_input_row,
    .pop_outer_wrap .pop_item.status_change_memo_popup .memo_input_row {
        flex-direction: column;
    }
    .pop_outer_wrap .pop_item.memo_popup .memo_copy_btn,
    .pop_outer_wrap .pop_item.new_memo_popup .memo_copy_btn,
    .pop_outer_wrap .pop_item.batch_memo_popup .memo_copy_btn,
    .pop_outer_wrap .pop_item.status_change_memo_popup .memo_copy_btn {
        align-self: flex-end;
    }
}
/* 이용자 화면 FAQ 태그 공통 — 화면별 섹션 클래스(member-screen 등)와 무관하게 이용자 레이아웃(body.ds-theme-member) 전체에서
   관리 화면(.member-manage-screen .member-guide-tags / .member-tag-pill)과 동일 규격으로 통일 (대시보드·결제·보안설정 포함) */
.member-screen #faqList,
body.ds-theme-member #faqList {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 10px;
}
/* FAQ 목록 바로 다음 콘텐츠와의 간격도 통일: 목록 아래 패딩 10px + 16px = 26px (계좌관리 기준).
   화면마다 mgt10(10px)·sch_box(12px)·인라인 16px 등으로 제각각이던 값을 하나로 맞춘다. */
body.ds-theme-member #faqList + * {
    margin-top: 16px;
}
.member-screen #faqList .faq_list_btn,
body.ds-theme-member #faqList .faq_list_btn {
    margin: 0;
    height: auto;
    min-height: 28px;
    padding: 3px 10px;
    font-size: 1.3rem;
    font-weight: 500;
    border-color: #cbd5e1;
    border-radius: 50px;
    color: #475569;
}
.member-screen #faqList .faq_list_btn:hover,
body.ds-theme-member #faqList .faq_list_btn:hover {
    border-color: #8bbdb5;
    background: #f3f8f7;
    color: #1e5d4f;
}
.member-screen .sch_box {
    margin-top: 12px;
    padding: 0;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.member-match-work-screen .sch_box,
.member-account-screen .sch_box {
    border-color: var(--dbi-border);
}
/* .sch_box 바로 안에 .ds-cell(자체 테두리 카드)을 두는 화면(매치작업·고도몰 계좌)은 .sch_box 테두리 제거 — 이중선 방지 */
.member-screen .sch_box:has(> .ds-cell) {
    border: 0;
    border-radius: 0;
}
.member-screen .sch_area {
    align-items: center;
    padding: 16px 20px;
    background: transparent;
}
.member-screen .range_inp .date_inp {
    border-color: #c5ddd8;
    background: #fff;
}
.member-match-work-screen .range_inp .date_inp,
.member-account-screen .range_inp .date_inp,
.member-board-screen .range_inp .date_inp,
.member-alarm-screen .range_inp .date_inp,
.access-log-screen .range_inp .date_inp,
.member-payment-list-screen .range_inp .date_inp {
    background-color: #fff;
    background-image: url(../images/ico_cal.png);
    background-position: center right 11px;
    background-repeat: no-repeat;
}
.member-screen .period_btn {
    border-color: #c5ddd8;
    border-radius: 6px;
    background: #fff;
    color: #475569;
}
.member-screen .period_btn.selected,
.member-screen .period_btn:hover {
    border-color: #61ada1;
    background: #61ada1;
    color: #fff;
}
.member-screen .grid_area {
    margin-top: 16px;
}
.member-screen .grid_top {
    margin-bottom: 0;
    border: 1px solid #c5ddd8;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #eaf3f2;
}
.member-screen .grid_top_btns {
    align-items: center;
    min-height: 36px;
}
.member-screen .grid_top_btns .right_btns {
    align-items: center;
}
/* 계좌통합 */
.member-account-screen .tab_menu {
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 0;
    margin: 18px 0 0 !important;
    overflow: hidden;
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff;
}
.member-account-screen .tab_menu li {
    margin: 0;
    flex: 0 0 auto;
}
.member-account-screen .tab_menu li + li {
    border-left: 1px solid #d6e2e0;
}
.member-account-screen .tab_menu a {
    display: block;
    min-width: 120px;
    padding: 12px 18px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #64748b;
    text-align: center;
    transition: background-color .15s ease, color .15s ease;
}
.member-account-screen .tab_menu a:hover {
    background: #f3f8f7;
    color: #1e5d4f;
}
.member-account-screen .tab_menu a.active {
    background: #eaf3f2;
    color: #1e5d4f;
    font-weight: 600;
}
.member-account-screen .tab_menu a.active::after {
    display: none;
}
.member-account-screen .tabcontent {
    padding-top: 16px;
}
.member-account-screen .acc_area,
.member-account-screen .balance_area {
    margin-bottom: 14px;
}
.member-screen .acc_list,
.member-account-screen .balance_list {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #f3f8f7;
}
.member-account-screen .acc_list,
.member-old-service-screen .acc_list,
.member-account-screen .balance_list {
    border: 0;
    background: transparent;
}
.member-account-screen .acc_list.acc_list--text {
    border: 0.5px solid var(--dbi-border);
    border-radius: var(--dbi-radius-sm);
}
.member-screen .acc_list_btn,
.member-account-screen .balance_list_btn {
    border-radius: 8px;
    color: #1e5d4f;
}
.member-account-screen .acc_list .acc_list_btn,
.member-old-service-screen .acc_list .acc_list_btn,
.member-account-screen .balance_list .balance_list_btn {
    border: 1px solid var(--member-card-border, #c5ddd8); /* 조회조건 카드(.ds-cell) 테두리와 동일 색 */
    border-radius: var(--dbi-radius-sm);
}
.member-account-screen .acc_list .all_acc_list,
.member-old-service-screen .acc_list .all_acc_list,
.member-account-screen .balance_list .all_balance_list {
    border-color: var(--member-card-border, #c5ddd8);
    border-radius: var(--dbi-radius-sm);
}
.member-old-service-screen .grid_top_btns .right_btns {
    column-gap: 8px;
    row-gap: 6px;
}
.member-account-screen .account_detail_balance_area {
    margin-top: 20px;
}
.member-account-screen .chart_area {
    gap: 20px;
}
.member-account-screen .chart_left,
.member-account-screen .chart_right {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    background: #fff;
}
.member-account-screen .chart_left,
.member-account-screen .chart_right {
    padding: 18px;
}
.member-account-screen #balanceAccounts,
.member-account-screen #chart {
    display: none;
}
.member-account-screen .acc_list_btn::after,
.member-old-service-screen .acc_list_btn::after,
.member-account-screen .balance_list_btn::after {
    left: 12px;
}
.member-account-screen .acc_list .acc_list_btn,
.member-old-service-screen .acc_list .acc_list_btn,
.member-account-screen .balance_list .balance_list_btn {
    padding-left: 35px;
}
/* 계좌 선택기를 조회조건 필드 크기(36px)로 축소 — 카드 안에 폭 100%/50px 박스가 하나 더 있는 것처럼 보이던 문제 */
.member-account-screen .acc_area .acc_list,
.member-old-service-screen .acc_area .acc_list,
.member-account-screen .balance_area .balance_list {
    width: auto;
    min-width: 260px;
    max-width: 360px;
}
/* 텍스트 방식(체크박스 가로 나열)은 위 폭 제한 제외 — 360px에 갇혀 세로로 쌓이던 문제 */
.member-account-screen .acc_area .acc_list.acc_list--text,
.member-account-screen .balance_area .balance_list.balance_list--text {
    width: 100%;
    max-width: none;
}
.member-account-screen .balance_list.balance_list--text {
    border: 0.5px solid var(--dbi-border);
    border-radius: var(--dbi-radius-sm);
}
.member-account-screen .acc_list .acc_list_btn,
.member-old-service-screen .acc_list .acc_list_btn,
.member-account-screen .balance_list .balance_list_btn {
    height: 36px;
    font-size: 1.4rem;
    padding-right: 14px;
}
.member-account-screen .acc_list_btn::after,
.member-old-service-screen .acc_list_btn::after,
.member-account-screen .balance_list_btn::after {
    background-size: 14px;
}
.member-account-screen .acc_list .all_acc_list,
.member-old-service-screen .acc_list .all_acc_list,
.member-account-screen .balance_list .all_balance_list {
    top: 35px;
    width: max-content;
    min-width: 100%;
    max-width: 480px;
}
/* 매치작업 */
.member-match-work-screen .grid_top_btns {
    display: flex;
    flex-wrap: nowrap;
}
.member-match-work-screen .grid_cont_area {
    padding: 0;
}
.member-match-work-screen .grid_top_btn,
.member-match-work-screen .down_btn.sort {
    border-radius: 6px;
}
/* 그리드 상단 데이터 버튼: 검색 영역 기간 버튼(.period_btn)과 같은 톤으로 통일 */
.member-match-work-screen .down_btn.sort,
.member-match-work-screen .down_btn.ico_exc {
    border-color: #c5ddd8;
    background: #fff;
    color: #475569;
}
.member-match-work-screen .down_btn.sort:hover,
.member-match-work-screen .down_btn.ico_exc:hover {
    border-color: #61ada1;
    background: #61ada1;
    color: #fff;
}
.member-match-work-screen .down_btn.sort.active {
    border-color: #2A7B6E;
}
.member-match-work-screen .grid_top_btn {
    background: #61ada1;
    color: #fff;
}
.member-match-work-screen .grid_top_btn:hover {
    background: #2A7B6E;
}
/* 자동매치작업 내역·중복입금/중복주문 버튼: 검정 배경 (매치상태 '제외(수)' 버튼과 같은 톤) */
.member-match-work-screen .grid_top_btn.grid_top_btn--dark {
    background: #353535;
}
.member-match-work-screen .grid_top_btn.grid_top_btn--dark:hover:not(:disabled) {
    background: #000;
}
/* 매치상태 열 버튼: 그리드 상단 데이터 버튼의 숫자 배지 색과 상태별로 일치시킴
   대상=bg_og, 확인(자)=bg_bl, 확인(수)=bg_gr, 제외(자)=bg_gl, 제외(수)=bg_bk */
.member-match-work-screen #grid_cont .ds-btn--sm {
    border-radius: 6px;
    color: #fff;
}
.member-match-work-screen #grid_cont .ds-btn--sm.ds-btn--warning   { background: #FF9346; border-color: #FF9346; } /* 매치대상 */
.member-match-work-screen #grid_cont .ds-btn--sm.ds-btn--info      { background: #4C7DC7; border-color: #4C7DC7; } /* 입금확인(자동) */
.member-match-work-screen #grid_cont .ds-btn--sm.ds-btn--success   { background: #61ADA1; border-color: #61ADA1; } /* 입금확인(수동) */
.member-match-work-screen #grid_cont .ds-btn--sm.ds-btn--secondary { background: #A4A4A4; border-color: #A4A4A4; } /* 매치제외(자동) */
.member-match-work-screen #grid_cont .ds-btn--sm.ds-btn--dark      { background: #353535; border-color: #353535; } /* 매치제외(수동) */
.member-match-work-screen #grid_cont .ds-btn--sm.ds-btn--primary   { background: transparent; border-color: #c5ddd8; color: #475569; } /* 입금확인취소: 배경 없는 외곽선 */
.member-match-work-screen .top_txt {
    color: #64748b;
    line-height: 1.6;
}
.member-match-work-screen .grid_area > .top_txt {
    margin: 10px 0 0;
    padding: 10px 14px;
    border-left: 3px solid #8bbdb5;
    background: #f8fbfa;
}
.member-match-work-screen .grid_top_btn.btn-with-badge,
.member-match-work-screen .down_btn.btn-with-badge,
.member-match-work-screen .bkd_btn.btn-with-badge {
    position: relative;
    overflow: visible !important;
}
.member-match-work-screen .grid_top_btn.btn-with-badge.has-badge {
    min-width: auto;
    padding-right: 35px !important;
}
.member-match-work-screen .bkd_btn.btn-with-badge.has-badge {
    padding-right: 8px !important;
}
.member-match-work-screen .bkd_btn .badge-count {
    top: -8px;
    right: -8px;
}
.member-match-work-screen .down_btn.btn-with-badge.has-badge {
    min-width: 60px;
}
.member-match-work-screen .down_btn.btn-with-badge:not(.has-badge) {
    min-width: auto;
    padding-right: 9px !important;
}
.member-match-work-screen .badge-count {
    position: absolute;
    top: 5px;
    right: 4px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.member-match-work-screen .badge-count:empty {
    display: none;
}
.member-match-work-popups .pop_wrap {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(30, 93, 79, .14);
}
.member-match-work-popups .pop_head {
    border-bottom-color: #c5ddd8;
}
.member-match-work-popups .pop_tit,
.member-match-work-popups .t_label {
    color: #1e5d4f;
}
.member-match-work-popups .ord_detail .pop_wrap,
.member-match-work-popups .ord_detail_shop_detail .pop_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
}
.member-match-work-popups .ord_detail .pop_head,
.member-match-work-popups .ord_detail_shop_detail .pop_head {
    padding: 22px 28px 14px;
    border-bottom: 1px solid #c5ddd8;
}
.member-match-work-popups .ord_detail .pop_cont,
.member-match-work-popups .ord_detail_shop_detail .pop_cont {
    padding: 20px 28px 28px;
}
.member-match-work-popups .ord_detail .pop_tit {
    display: flex;
    align-items: center;
    gap: 12px;
}
.member-match-work-popups .ord_detail #realTimeShopSearchBtn {
    margin: 0 0 0 auto;
    border: 1px solid #8bbdb5;
    border-radius: 6px;
    background: #f3f8f7;
    color: #1e5d4f;
}
.member-match-work-popups .ord_detail .th_colored_table,
.member-match-work-popups .ord_detail_shop_detail .th_colored_table {
    margin: 0;
    border: 1px solid #c5ddd8;
}
.member-match-work-popups .ord_detail .th_colored_table th,
.member-match-work-popups .ord_detail .th_colored_table td,
.member-match-work-popups .ord_detail_shop_detail .th_colored_table th,
.member-match-work-popups .ord_detail_shop_detail .th_colored_table td {
    border-color: #d9ebe8;
}
.member-match-work-popups .ord_detail .th_colored_table th,
.member-match-work-popups .ord_detail_shop_detail .th_colored_table th {
    background: #ededed;
    color: #797979;
    font-weight: 500;
}
.member-match-work-popups .ord_detail .top_txt {
    color: #64748b;
    line-height: 1.6;
}
.common-popups .tab-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #c5ddd8;
    background: #f3f8f7;
    color: #475569;
    cursor: pointer;
    text-align: left;
}
.common-popups .tab-btn.active {
    background: #eaf3f2;
    color: #1e5d4f;
    font-weight: 600;
}
.common-popups .tab-panel {
    display: none;
}
.common-popups .tab-panel.active {
    display: block;
}
@media (max-width: 768px) {
    .member-screen .cont_border_box > .member_inp_wrap {
        padding: 4px 16px 20px;
    }
    .member-screen .member_inp_wrap .lb_inp_wrap {
        padding: 16px 0;
    }
    .member-screen .sch_area,
    .member-screen .sch_comm_btns {
        width: 100%;
    }
    .member-screen .sch_area .sch_comm_btns {
        margin-left: 0; /* 모바일: 좌측 여백 제거 → 검색 버튼 전체폭 정렬 */
    }
    .member-account-screen .detail_sch_btn.onlyMobile {
        display: flex;
        width: fit-content;
        margin-left: auto;   /* 우측 정렬 */
        margin-top: 12px;    /* 검색 버튼과 간격 */
    }
    .member-screen .sch_area {
        padding: 16px;
    }
    .member-screen .sch_comm_btns .bkd_btn {
        width: 100%;
    }
    .member-match-work-screen .grid_top_btns,
    .member-match-work-screen .grid_top_btns .right_btns {
        flex-wrap: wrap;
        width: 100%;
        column-gap: 5px;
        row-gap: 10px;
    }
    .member-match-work-screen .grid_top_btns {
        margin-bottom: 5px;
    }
    .member-match-work-popups .ord_detail .pop_head,
    .member-match-work-popups .ord_detail_shop_detail .pop_head {
        padding: 18px 16px 12px;
    }
    .member-match-work-popups .ord_detail .pop_cont,
    .member-match-work-popups .ord_detail_shop_detail .pop_cont {
        padding: 16px;
    }
    .member-match-work-popups .ord_detail .pop_tit {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .member-match-work-popups .ord_detail #realTimeShopSearchBtn {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .member-account-screen .tab_menu {
        overflow-x: auto;
        width: 100%;
    }
    .member-account-screen .tab_menu a {
        min-width: 104px;
        padding: 11px 14px;
        white-space: nowrap;
    }
    .member-account-screen .chart_left,
    .member-account-screen .chart_right {
        padding: 14px;
    }
}
.dbi-config-screen .grid_top {
    background-color: #eaf3f2;
}
.member-alarm-screen .member-alarm-screen__new-indicator {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    margin-bottom: 3px;
    border-radius: 50%;
    background-color: #ff0000;
    vertical-align: middle;
}
.member-alarm-screen .member-alarm-screen__grid {
    margin-top: 16px;
}
.member-alarm-popups #content {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.member-qna-screen .member-qna-screen__write-action {
    padding-top: 0;
    margin-top: 14px;
}
.member-qna-popups #editDetailContent {
    width: 100%;
    height: 280px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #c0c0c0;
    border-radius: 5px;
    color: #2f2f2f;
    font-size: 15px;
    line-height: 1.75;
    resize: vertical;
}
.member-qna-popups #detailContent,
.member-qna-popups #answerContent {
    font-size: 15px;
    line-height: 1.75;
    word-break: break-word;
}
.member-notice-popups #detailContent {
    color: #333;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
}
.member-notice-popups .board_detail .pop_wrap {
    border: 1px solid #c5ddd8;
    overflow: hidden; /* 둥근 모서리로 헤더/본문/푸터 클립 — 위아래 라운딩 일치 */
}
.member-notice-popups .board_detail .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
}
.member-notice-popups .board_detail .pop_tit {
    color: #1e5d4f;
}
.member-notice-popups .board_detail .pop_cont {
    background-color: #fff;
}
.member-notice-popups .board_detail .board_detail_tit {
    color: #243647;
}
.member-notice-popups .board_detail .board_detail_date {
    color: #678078;
}
.member-notice-popups .board_detail .board_detail_cont {
    border-color: #c5ddd8;
}
.member-notice-popups .board_detail .board_detail_attach {
    border-color: #c5ddd8;
    background-color: #f3f8f7;
}
.member-qna-popups .board_detail .pop_wrap,
.member-qna-popups .board_edit .pop_wrap {
    border: 1px solid #c5ddd8;
    overflow: hidden; /* 둥근 모서리로 헤더/본문/푸터 클립 — 위아래 라운딩 일치 */
}
.member-qna-popups .board_detail .pop_head,
.member-qna-popups .board_edit .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
}
.member-qna-popups .board_detail .pop_tit,
.member-qna-popups .board_edit .pop_tit {
    color: #1e5d4f;
}
.member-qna-popups .board_detail .pop_cont,
.member-qna-popups .board_edit .pop_cont {
    background-color: #fff;
}
.member-qna-popups .board_detail .board_detail_tit {
    color: #243647;
}
.member-qna-popups .board_detail .board_detail_date,
.member-qna-popups .board_edit .pop_comm_txt2 {
    color: #678078;
}
.member-qna-popups .board_detail .board_detail_cont {
    border-color: #c5ddd8;
}
.member-qna-popups .board_detail .answer_detail_attach,
.member-qna-popups .board_detail .board_detail_attach {
    border-color: #c5ddd8;
    background-color: #f3f8f7;
}
.member-alarm-popups .alarm_detail .pop_wrap {
    border: 1px solid #c5ddd8;
    overflow: hidden;
}
.member-alarm-popups .alarm_detail .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
}
.member-alarm-popups .alarm_detail .pop_tit {
    color: #1e5d4f;
}
.member-alarm-popups .alarm_detail .pop_cont {
    background-color: #fff;
}
.member-alarm-popups .alarm_detail .board_detail_tit {
    color: #243647;
}
.member-alarm-popups .alarm_detail .board_detail_date {
    color: #678078;
}
.member-alarm-popups .alarm_detail .board_detail_cont {
    color: #333;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
    border-color: #c5ddd8;
}
.member-alarm-popups .alarm_detail .th_colored_table th {
    border-color: #c5ddd8;
    background-color: #ededed;
    color: #797979;
    font-weight: 500;
}
.member-alarm-popups .alarm_detail .th_colored_table td {
    border-color: #c5ddd8;
}
.member-payment-list-screen .member-payment-list-screen__guide {
    margin-left: 10px;
}
.member-payment-list-screen .member-payment-list-screen__filter-content {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 16px;
    padding-top: 16px;
}
.member-payment-list-screen .member-payment-list-screen__filter-content > :first-child {
    min-width: 284px;
}
.member-payment-list-screen .member-payment-list-screen__filter-content input.date_inp {
    background-color: transparent;
}
.member-payment-list-screen .period_btn_wrap {
    flex: 0 0 auto;
    margin: 0;
}
.member-payment-list-screen .member-config-grid-area {
    margin-top: 16px;
}
.member-payment-list-screen #grid_cont {
    overflow-x: auto;
}
.member-payment-list-popups .pop_wrap {
    border: 1px solid #c5ddd8;
    border-radius: 8px;
    overflow: hidden;
}
.member-payment-list-popups .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
}
.member-payment-list-popups .pop_tit {
    color: #1e5d4f;
}
.member-payment-list-popups .paymentDetailPopup .th_colored_table,
.member-payment-list-popups .serviceDetailPopup .th_colored_table {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #e6eeec; /* overflow:hidden 이 외곽 border 를 클립하므로 inset 으로 둥근 외곽선 표시 */
}
.member-payment-list-popups .paymentDetailPopup .th_colored_table th,
.member-payment-list-popups .serviceDetailPopup .th_colored_table th {
    border-color: #e6eeec;
    background-color: #f3f8f7;
    color: #64748B;
    font-weight: 500;
    text-align: center;
}
.member-payment-list-popups .paymentDetailPopup .th_colored_table td,
.member-payment-list-popups .serviceDetailPopup .th_colored_table td {
    border-color: #e6eeec;
}
.member-browser-config .pop_wrap.type_smiddle {
    width: 680px;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 94vh;
    border: 1px solid #c5ddd8;
    overflow: hidden;
}
.member-browser-config .pop_head {
    padding: 20px 30px;
    border-bottom: 1px solid #c5ddd8;
    background-color: #eaf3f2;
}
.member-browser-config .pop_tit {
    color: #1e5d4f;
}
.member-browser-config .pop_cont {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 30px 30px;
    overflow-y: auto;
}
.member-browser-config__intro {
    color: #526579;
    font-size: 14px;
    line-height: 1.6;
}
.member-browser-config__select-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #d9ebe8;
    border-radius: 6px;
    background-color: #f3f8f7;
}
.member-browser-config__select-row label {
    color: #1e5d4f;
    font-size: 14px;
    font-weight: 600;
}
.member-browser-config__select-row .bkd_select {
    min-width: 148px;
    margin-left: auto;
    background-color: #fff;
}
.member-browser-config__steps-wrap {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #d9ebe8;
    border-radius: 6px;
    background-color: #fff;
}
.member-browser-config__steps-title {
    margin-bottom: 14px;
    color: #243647;
    font-size: 15px;
    font-weight: 700;
}
.member-browser-config__steps {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    counter-reset: browser-step;
    list-style: none;
}
.member-browser-config__steps li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #3d4d5c;
    font-size: 14px;
    line-height: 1.55;
    list-style: none;
}
.member-browser-config__steps li::before {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #eaf3f2;
    color: #297b6e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    content: counter(browser-step);
    counter-increment: browser-step;
}
.member-notice-view .member-notice-article {
    padding: 0 18px 18px;
}
.member-notice-view .member-notice-article__header {
    padding: 22px 0 18px;
    border-bottom: 1px solid #dfe5eb;
}
.member-notice-view .member-notice-article__eyebrow {
    margin-bottom: 8px;
    color: #297b6e;
    font-size: 12px;
    font-weight: 700;
}
.member-notice-view .member-notice-article__title {
    color: #243647;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}
.member-notice-view .member-notice-article__date {
    margin-top: 8px;
    color: #7a8a99;
    font-size: 13px;
}
.member-notice-view .member-notice-article__content {
    min-height: 180px;
    padding: 24px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
}
.member-notice-view .member-notice-article__content img,
.member-notice-view .member-notice-article__content table {
    max-width: 100%;
    height: auto;
}
.member-notice-view .member-notice-article__actions {
    padding-bottom: 0;
}
@media (max-width: 768px) {
    .member-security-screen .member-security-card-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    .member-security-screen .member-security-history-button {
        position: static;
        align-self: flex-end;
    }
    .member-security-screen .member-security-card-status {
        justify-content: stretch;
        padding: 0 20px 20px;
    }
    .member-security-screen .member-security-card-action {
        justify-content: space-between;
        width: 100%;
    }
    .member-security-screen .member-security-card-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 14px 20px 18px;
    }
    .member-security-screen .member-security-guide {
        align-items: flex-start;
    }
    .member-security-popups .member-security-qr-area {
        align-items: flex-start;
        flex-direction: column;
    }
    .member-payment-auto-pay-screen .cont_border_box > .th_colored_table {
        min-width: 560px;
    }
    .member-payment-auto-pay-screen .cont_border_box .center_btn_wrap {
        align-items: stretch;
        flex-direction: column;
    }
    .member-payment-auto-pay-screen .cont_border_box .center_btn_wrap .bkd_btn {
        width: 100%;
    }

    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box {
        overflow-x: auto;
    }
    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .cont_border_box > .th_colored_table {
        min-width: 920px;
    }
    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .between_btn_wrap,
    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .right_btns {
        align-items: stretch;
        flex-direction: column;
    }
    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .left_btns,
    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .right_btns,
    :is(.member-payment-plan-cafe24-b-screen, .member-payment-plan-modern-screen) .right_btns .bkd_btn {
        width: 100%;
    }

    .payment-screen .between_btn_wrap,
    .payment-screen .right_btns {
        align-items: stretch;
        flex-direction: column;
    }
    .payment-screen .left_btns,
    .payment-screen .right_btns,
    .payment-screen .right_btns .bkd_btn {
        width: 100%;
    }
    .payment-minimum-charge {
        order: -1;
    }

    .member-board-screen,
    .member-notice-view,
    .access-log-screen,
    .member-alarm-screen,
    .service-out {
        width: 100%;
        padding: 0;
    }
    .service-out .member-config-content {
        overflow-x: auto;
    }
    .service-out .member-config-table {
        min-width: 620px;
    }
    .member-board-screen .member-config-filter-row,
    .access-log-screen .member-config-filter-row,
    .member-alarm-screen .member-config-filter-row,
    .member-payment-list-screen .member-payment-list-screen__filter-content {
        align-items: stretch;
    }
    .member-board-screen .member-config-filter-row > :first-child,
    .access-log-screen .member-config-filter-row > :first-child,
    .member-alarm-screen .member-config-filter-row > :first-child,
    .member-payment-list-screen .member-payment-list-screen__filter-content > :first-child {
        width: 100%;
        min-width: 0;
        flex-basis: 100%;
    }
    .member-board-screen .member-config-filter-row .range_inp,
    .access-log-screen .member-config-filter-row .range_inp,
    .member-alarm-screen .member-config-filter-row .range_inp,
    .member-payment-list-screen .member-payment-list-screen__filter-content .range_inp {
        width: 100%;
    }
    .member-board-screen .member-config-filter-row .date_inp,
    .access-log-screen .member-config-filter-row .date_inp,
    .member-alarm-screen .member-config-filter-row .date_inp,
    .member-payment-list-screen .member-payment-list-screen__filter-content .date_inp {
        flex: 1;
        min-width: 0;
    }
    .member-board-screen .member-config-filter-row .sch_comm_btns,
    .access-log-screen .member-config-filter-row .sch_comm_btns,
    .member-alarm-screen .member-config-filter-row .sch_comm_btns,
    .member-payment-list-screen .member-payment-list-screen__filter-content .sch_comm_btns,
    .member-payment-list-screen .member-payment-list-screen__filter-content .period_btn_wrap {
        width: 100%;
    }
    .member-board-screen .member-config-filter-row .bkd_btn,
    .access-log-screen .member-config-filter-row .bkd_btn,
    .member-alarm-screen .member-config-filter-row .bkd_btn,
    .member-payment-list-screen .member-payment-list-screen__filter-content .bkd_btn {
        width: 100%;
    }
    .member-notice-view .member-notice-article {
        padding: 0 14px 14px;
    }
    .member-browser-config .pop_head {
        padding: 18px 20px;
    }
    .member-browser-config .pop_cont {
        padding: 20px;
    }
    .member-browser-config__select-row {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }
    .member-browser-config__select-row .bkd_select {
        width: 100%;
        margin-left: 0;
    }
    .member-browser-config__steps-wrap {
        padding: 16px;
    }
    .member-notice-view .member-notice-article__header {
        padding: 18px 0 14px;
    }
    .member-notice-view .member-notice-article__title {
        font-size: 18px;
    }
    .member-notice-view .member-notice-article__content {
        min-height: 140px;
        padding: 20px 0;
        font-size: 14px;
        line-height: 1.7;
    }
    .member-qna-popups #editDetailContent,
    .member-qna-popups #detailContent,
    .member-qna-popups #answerContent {
        font-size: 14px;
        line-height: 1.7;
    }
    .member-notice-popups #detailContent {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ── 계좌통합 조회조건: legacy .rad_box 안에서 ds-radio 사용 시 레거시 라디오 시각요소 무력화 ──
   .rad_box input[type=radio] 의 절대배치·16x24 크기·z-index:-1 와 label::before 원이
   ds-radio(appearance:none 원형)와 겹쳐 타원으로 깨지던 문제를 스코프 한정해 정리한다. */
.rad_box input[type="radio"].ds-radio {
    position: relative;
    z-index: auto;
    width: 14px;
    height: 14px;
}
.rad_box input[type="radio"].ds-radio + label {
    padding-left: 6px;
}
.rad_box input[type="radio"].ds-radio + label::before {
    display: none;
}

/* ── 계좌통합 조회조건(거래내역·잔액): DS searchbar를 레거시처럼 한 줄 가로·좌측정렬로 유지 ──
   ds-searchbar 기본은 세로(column) 스택이라 검색버튼이 아래 별도 줄로 내려간다.
   이 페이지의 sch_area 에서는 조건들과 검색/초기화 버튼을 같은 라인(좌측정렬)에 둔다. */
.sch_area.ds-searchbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
}
.sch_area.ds-searchbar > .ds-searchbar__row {
    width: auto;
}

/* ── 이용자 계좌통합(totalAccounts) 본문 카드/툴바 — 관리자 메인이용자(manageMember)와 동일 골격 ──
   (뷰 소스에 인라인 <style>를 두지 않고 여기서 관리) */
.member-account-screen { min-height: 100vh; }
.member-account-screen { --ds-card-section-title-bg: #fff; }
/* 카드 자체 패딩 제거 — 내부 섹션(head/body)이 패딩을 담당 */
.member-account-screen .ds-cell {
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16,24,40,.03), 0 1px 3px rgba(16,24,40,.04);
}
.member-account-screen .ds-cell .ds-table { border-radius: 0 0 8px 8px; }
/* 레거시 .bkd_btn 고정 높이/최소폭 해제 — ds-btn 사이즈 토큰 적용 */
.member-account-screen .bkd_btn.ds-btn { height: auto; min-width: 0; }
/* 결과 툴바 건수는 레거시 박스 스타일을 쓰지 않는다 */
.member-manage-screen .grid_top,
.member-manage-screen .grid_stat,
.member-manage-screen .grid_numb,
.member-manage-screen .grid_term { background: transparent; border: 0; padding: 0; }
/* 엑셀 다운로드 아이콘 버튼: ds-btn--secondary 의 background:transparent 가 아이콘을 덮지 않도록 복구 */
.member-account-screen .ds-btn.ico_exc {
    background-image: url(../images/ico_exc.png);
    background-repeat: no-repeat;
    background-position: center right 6px;
}
/* hover 시 ds-btn--secondary 의 background 단축속성이 아이콘 이미지를 지우므로 재선언 */
.member-account-screen .ds-btn.ico_exc:not(:disabled):not([disabled]):not(.disabled):not(.is-disabled):hover {
    background-image: url(../images/ico_exc.png);
    background-repeat: no-repeat;
    background-position: center right 6px;
}
/* 구서비스조회(member-old-service-screen)도 동일하게 엑셀 아이콘 복구 */
.member-old-service-screen .ds-btn.ico_exc {
    background-image: url(../images/ico_exc.png);
    background-repeat: no-repeat;
    background-position: center right 6px;
}
.member-old-service-screen .ds-btn.ico_exc:not(:disabled):not([disabled]):not(.disabled):not(.is-disabled):hover {
    background-image: url(../images/ico_exc.png);
    background-repeat: no-repeat;
    background-position: center right 6px;
}

/* 계좌통합 조회조건 카드: 레거시 .sch_area 회색 박스(#EDEDED)·라운드·패딩 제거
   → 갤러리 '조회 조건 카드'처럼 흰 ds-card-section__body 본문에 ds-searchbar가 바로 놓이게 */
.member-account-screen .sch_box { padding: 0; }
.member-account-screen .sch_area { background: transparent; border-radius: 0; padding: 0; }
/* 구서비스 조회(고도몰 등): 카드(.ds-cell) 안에 놓인 .sch_area 도 동일하게 회색 박스·패딩 제거 */
.member-old-service-screen .ds-cell .sch_area { background: transparent; border-radius: 0; padding: 0; }
.member-old-service-screen .ds-cell .acc_area { margin-bottom: 14px; }
/* 결과 툴바의 결과 내 검색·목록 갯수 테두리 색을 날짜 입력과 동일하게 */
.member-screen .ds-toolbar .ds-input,
.member-screen .ds-toolbar .ds-select {
    border-color: var(--member-card-border, #c5ddd8);
}

/* ── memo_config 자주 이용하는 메모 그리드: DevExpress dxDataGrid를 샘플 ds-table(--sm/header-shaded)처럼 ── */
#memo_grid_cont .dx-datagrid {
    font-family: var(--ds-font-family-base);
    color: var(--ds-color-neutral-800, #334155);
    border: 1px solid var(--ds-color-border, #E2E8F0);
    border-radius: var(--ds-radius-lg, 12px);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
    background: #fff;
}
#memo_grid_cont .dx-datagrid,
#memo_grid_cont .dx-datagrid-headers,
#memo_grid_cont .dx-datagrid-rowsview { border: 0; }
#memo_grid_cont .dx-datagrid .dx-row > td { border-left: 0; border-right: 0; }
#memo_grid_cont .dx-header-row > td {
    background: #EFEFEF;
    color: var(--ds-color-neutral-600, #64748B);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 8px 12px;
    border-bottom: 1px solid var(--ds-color-border, #E2E8F0);
    text-align: center;
}
#memo_grid_cont .dx-data-row > td {
    font-size: 12px;
    padding: 7px 12px;
    border-bottom: 1px solid #EFEFEF;
    vertical-align: middle;
    color: var(--ds-color-neutral-800, #334155);
}
#memo_grid_cont .dx-datagrid-rowsview .dx-row:last-child > td { border-bottom: 0; }

/* ── DevExpress custom dialog(항목 삭제 확인 등) 버튼을 샘플 ds-btn 처럼 (legacy button{border:none} 리셋 보정) ── */
.dx-dialog .dx-dialog-button.dx-button {
    min-height: 32px;
    border: 1px solid transparent;
    border-radius: var(--ds-radius-md, 8px);
    font-weight: 500;
    overflow: hidden;
}
.dx-dialog .dx-dialog-button .dx-button-content { padding: 4px 16px; }
.dx-dialog .dx-dialog-button .dx-button-text { font-size: 12px; }
/* 삭제 = danger (빨강 채움) */
.dx-dialog .dx-dialog-button.dx-button-danger {
    background: #DC2626;
    border-color: #DC2626;
}
.dx-dialog .dx-dialog-button.dx-button-danger .dx-button-text { color: #fff; }
.dx-dialog .dx-dialog-button.dx-button-danger.dx-state-hover {
    background: #B91C1C;
    border-color: #B91C1C;
}
/* 취소 = secondary (테두리) */
.dx-dialog .dx-dialog-button.dx-button-normal {
    background: transparent;
    border-color: var(--ds-color-primary, #0F3B5E);
}
.dx-dialog .dx-dialog-button.dx-button-normal .dx-button-text { color: var(--ds-color-primary, #0F3B5E); }
.dx-dialog .dx-dialog-button.dx-button-normal.dx-state-hover { background: rgba(0,0,0,.03); }
