/* 페이스튜디오 모바일 — 정기결제 (list · detail · form)
   link 톤(흰 배경 · 페이그린 · 미니멀 카드)을 그대로 잇되 정기결제 특화 부분만 추가 */

/* 페이지 한정 흰 배경 — list / detail / form */
.pm-main:has(.pbl),
.pm-main:has(.pbl-detail),
.pm-app:has(.pbl),
.pm-app:has(.pbl-detail) {
    background: #ffffff;
}

/* ════════════════════════════════════════════════════════
   LIST — pbl
   ════════════════════════════════════════════════════════ */

.pbl {
    padding: 14px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 헤더 검색 아이콘 활성 표시 */
.pbl-search-btn {
    position: relative;
}

.pbl-search-btn.is-on::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pm-green);
    border: 2px solid #ffffff;
}

/* 히어로 그라데이션 — 이번 달 정기 수익 KPI */
.pbl-hero {
    position: relative;
    overflow: hidden;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: linear-gradient(160deg, #0f9d6e 0%, #0a7d57 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 157, 110, .22);
}

.pbl-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pbl-hero__orb--a {
    top: -34px;
    right: -34px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, .08);
}

.pbl-hero__orb--b {
    bottom: -56px;
    left: -22px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, .05);
}

.pbl-hero__label {
    position: relative;
    font-size: clamp(.78rem, 3.3vw, .9rem);
    opacity: .88;
}

.pbl-hero__amount {
    position: relative;
    margin-top: 4px;
    font-size: clamp(1.7rem, 7.4vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    font-feature-settings: 'tnum';
}

.pbl-hero__amount em {
    margin-left: 4px;
    font-size: clamp(.85rem, 3.6vw, 1rem);
    font-weight: 500;
    font-style: normal;
    opacity: .9;
    letter-spacing: 0;
}

.pbl-hero__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    height: 38px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: clamp(.86rem, 3.5vw, .96rem);
    font-weight: 600;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .15s;
}

.pbl-hero__cta:active {
    background: rgba(255, 255, 255, .32);
}

.pbl-hero__cta i {
    font-size: 18px;
}

/* 세그먼트 칩 (전체/사용중/중지) */
.pbl-seg {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -16px;
    padding: 2px 16px;
}

.pbl-seg::-webkit-scrollbar {
    display: none;
}

.pbl-seg__chip {
    flex: none;
    height: 32px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid var(--pm-line);
    background: #ffffff;
    color: var(--pm-sub);
    font-size: clamp(.78rem, 3.2vw, .88rem);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.pbl-seg__chip b {
    font-weight: 700;
    opacity: .75;
}

.pbl-seg__chip.is-on {
    background: #1f2933;
    border-color: #1f2933;
    color: #ffffff;
}

.pbl-seg__chip.is-on b {
    opacity: 1;
}

/* 정기결제 카드 리스트 */
.pbl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pbl-item {
    list-style: none;
}

.pbl-card {
    display: block;
    position: relative;
    padding: 13px 14px 13px 16px;
    border-radius: 14px;
    border: 0.5px solid #eef0f3;
    border-left: 5px solid #cbd2dc;
    background: #ffffff;
    color: var(--pm-text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
    transition: transform .12s, background .15s, box-shadow .15s;
}

.pbl-card:active {
    transform: scale(.985);
    background: #f7f8fa;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.pbl-item[data-status="active"] > .pbl-card {
    border-left-color: var(--pm-green);
}

.pbl-item[data-status="inactive"] > .pbl-card {
    border-left-color: #9aa4b2;
    background: #fafbfc;
}

.pbl-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.pbl-card__date {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.pbl-card__cap {
    font-size: clamp(.66rem, 2.8vw, .76rem);
    color: var(--pm-muted);
}

.pbl-card__next {
    font-size: clamp(.82rem, 3.4vw, .92rem);
    font-weight: 700;
    color: var(--pm-green);
    letter-spacing: -.1px;
}

.pbl-item[data-status="inactive"] .pbl-card__next {
    color: var(--pm-muted);
}

.pbl-badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: clamp(.7rem, 2.9vw, .8rem);
    font-weight: 700;
    letter-spacing: -.1px;
    flex: none;
}

.pbl-badge--active {
    color: var(--pm-green-d);
    background: var(--pm-soft);
}

.pbl-badge--inactive {
    color: #6b7787;
    background: #eef1f4;
}

.pbl-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.pbl-card__title {
    font-size: clamp(.92rem, 3.8vw, 1.02rem);
    font-weight: 600;
    color: var(--pm-text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.pbl-card__amount {
    font-size: clamp(1.02rem, 4.2vw, 1.14rem);
    font-weight: 700;
    letter-spacing: -.3px;
    color: var(--pm-text);
    white-space: nowrap;
    flex: none;
}

.pbl-card__amount em {
    margin-left: 1px;
    font-size: clamp(.7rem, 2.9vw, .8rem);
    color: var(--pm-muted);
    font-weight: 500;
    font-style: normal;
}

.pbl-card__buyer {
    font-size: clamp(.72rem, 3vw, .82rem);
    color: var(--pm-green);
    margin-bottom: 3px;
}

.pbl-item[data-status="inactive"] .pbl-card__buyer {
    color: var(--pm-muted);
}

.pbl-card__cd {
    font-size: clamp(.68rem, 2.9vw, .78rem);
    color: var(--pm-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pbl-card__cd i {
    font-size: 13px;
}

.pbl-card__cd--miss {
    color: #e69500;
}

.pbl-card__cd--miss i {
    color: #e69500;
}

/* ════════════════════════════════════════════════════════
   DETAIL — pbl-detail
   ════════════════════════════════════════════════════════ */

.pbl-detail {
    padding: 0 0 96px;
    background: #ffffff;
}

.pbl-detail__status {
    padding: 14px 16px 0;
}

.pbl-detail__status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
}

.pbl-detail__status-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pbl-detail__status-left i {
    font-size: 18px;
}

.pbl-detail__status-name {
    font-size: clamp(.86rem, 3.5vw, .96rem);
    font-weight: 800;
    letter-spacing: -.1px;
}

.pbl-detail__status-right {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.pbl-detail__status-cap {
    font-size: clamp(.7rem, 2.9vw, .8rem);
    color: var(--pm-sub);
}

.pbl-detail__status-strong {
    font-size: clamp(.92rem, 3.8vw, 1.02rem);
    font-weight: 800;
    letter-spacing: -.2px;
}

/* 상태별 컬러 */
.pbl-detail[data-status="active"] .pbl-detail__status-box {
    background: var(--pm-soft);
}
.pbl-detail[data-status="active"] .pbl-detail__status-left i { color: var(--pm-green); }
.pbl-detail[data-status="active"] .pbl-detail__status-name { color: var(--pm-green-d); }
.pbl-detail[data-status="active"] .pbl-detail__status-strong { color: var(--pm-green-d); }

.pbl-detail[data-status="inactive"] .pbl-detail__status-box {
    background: #eef1f4;
}
.pbl-detail[data-status="inactive"] .pbl-detail__status-left i { color: #9aa4b2; }
.pbl-detail[data-status="inactive"] .pbl-detail__status-name { color: #6b7787; }
.pbl-detail[data-status="inactive"] .pbl-detail__status-strong { color: #6b7787; }

/* 히어로 (금액) */
.pbl-detail__hero {
    padding: 24px 20px 18px;
    text-align: center;
}

.pbl-detail__hero-cap {
    font-size: clamp(.74rem, 3vw, .82rem);
    color: var(--pm-muted);
    margin-bottom: 6px;
}

.pbl-detail__hero-amount {
    font-size: clamp(1.85rem, 8.5vw, 2.2rem);
    font-weight: 800;
    color: var(--pm-text);
    letter-spacing: -1.4px;
    line-height: 1.05;
    font-feature-settings: 'tnum';
}

.pbl-detail__hero-amount em {
    margin-left: 3px;
    font-size: clamp(.95rem, 3.8vw, 1.05rem);
    font-weight: 500;
    color: var(--pm-sub);
    font-style: normal;
    letter-spacing: 0;
}

.pbl-detail__hero-per {
    margin-left: 6px;
    font-size: clamp(.86rem, 3.5vw, .96rem);
    font-weight: 700;
    color: var(--pm-green);
    letter-spacing: 0;
}

.pbl-detail[data-status="inactive"] .pbl-detail__hero-amount,
.pbl-detail[data-status="inactive"] .pbl-detail__hero-amount em,
.pbl-detail[data-status="inactive"] .pbl-detail__hero-per {
    color: var(--pm-sub);
}

.pbl-detail__hero-goods {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 14px;
    background: #f7f8fa;
    border-radius: 10px;
    font-size: clamp(.86rem, 3.5vw, .96rem);
    font-weight: 600;
    color: var(--pm-text);
}

/* 카드 그래픽 박스 (상세) */
.pbl-detail__cardsec {
    padding-bottom: 14px;
}

.pbl-cardbox {
    padding: 16px 14px 14px;
    border-radius: 14px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}

.pbl-cardbox--active {
    background: linear-gradient(135deg, var(--pm-green) 0%, var(--pm-green-d) 100%);
    box-shadow: 0 6px 18px rgba(15, 157, 110, .22);
}

.pbl-cardbox--inactive {
    background: linear-gradient(135deg, #9aa4b2 0%, #6b7787 100%);
}

.pbl-cardbox__orb {
    position: absolute;
    top: -26px;
    right: -26px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    pointer-events: none;
}

.pbl-cardbox__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pbl-cardbox__kind {
    font-size: clamp(.7rem, 2.8vw, .8rem);
    opacity: .85;
    font-weight: 600;
}

.pbl-cardbox__head i {
    font-size: 18px;
    opacity: .85;
}

.pbl-cardbox__no {
    position: relative;
    font-size: clamp(1.02rem, 4.4vw, 1.14rem);
    font-weight: 700;
    letter-spacing: 1.4px;
    font-feature-settings: 'tnum';
}

.pbl-cardbox__nm {
    position: relative;
    margin-top: 8px;
    font-size: clamp(.78rem, 3.2vw, .88rem);
    opacity: .9;
    font-weight: 600;
}

/* 카드 미등록 상태 박스 */
.pbl-cardbox--empty {
    background: #fffaf0;
    color: #1f2933;
    border: 1px dashed #f4d27d;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    cursor: pointer;
}

.pbl-cardbox--empty > i {
    font-size: 22px;
    color: #e69500;
    flex: none;
}

.pbl-cardbox--empty > i:last-child {
    margin-left: auto;
    font-size: 18px;
    color: #9aa4b2;
}

.pbl-cardbox--empty b {
    display: block;
    font-size: clamp(.86rem, 3.5vw, .96rem);
    font-weight: 700;
    color: #1f2933;
    margin-bottom: 2px;
}

.pbl-cardbox--empty p {
    font-size: clamp(.7rem, 2.9vw, .8rem);
    color: var(--pm-sub);
    line-height: 1.5;
}

.pbl-detail__meta {
    padding: 8px 20px 16px;
    display: flex;
    justify-content: space-between;
    font-size: clamp(.7rem, 2.9vw, .8rem);
    color: var(--pm-muted);
}

/* ════════════════════════════════════════════════════════
   FORM — pbf (정기결제 특화 추가, .pmf 위에 얹음)
   ════════════════════════════════════════════════════════ */

/* 상태 칩 컬러 (link form은 파랑 기본 → 정기는 사용중=그린/중지=회색) */
.pbf-state--active {
    background: var(--pm-soft);
}
.pbf-state--active .pmf-state__dot { background: var(--pm-green); }
.pbf-state--active .pmf-state__name { color: var(--pm-green-d); }

.pbf-state--inactive {
    background: #eef1f4;
}
.pbf-state--inactive .pmf-state__dot { background: #9aa4b2; }
.pbf-state--inactive .pmf-state__name { color: #6b7787; }

/* 결제 주기 세그먼트 토글 (매월/매주) */
.pbf-seg {
    display: flex;
    background: #f7f8fa;
    border-radius: 12px;
    padding: 3px;
    gap: 3px;
}

.pbf-seg__chip {
    flex: 1;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--pm-sub);
    font-size: clamp(.85rem, 3.5vw, .95rem);
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s;
}

.pbf-seg__chip.is-on {
    background: var(--pm-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 157, 110, .22);
}

.pbf-seg.is-locked .pbf-seg__chip {
    cursor: default;
}

.pbf-seg.is-locked .pbf-seg__chip.is-on {
    background: var(--pm-green);
    color: #ffffff;
    opacity: .72;
}

/* 안내 텍스트 */
.pbf-days__hint {
    font-size: clamp(.68rem, 2.8vw, .76rem);
    color: var(--pm-muted);
    margin: 6px 0 2px;
}

.pbf-days__hint small {
    color: var(--pm-muted);
    font-size: inherit;
    font-weight: 500;
    margin-left: 4px;
}

/* 매월 일자 칩 — 1~28 (4행 7열) */
.pbf-days__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.pbf-days__chip {
    height: 34px;
    border: 1px solid var(--pm-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--pm-text);
    font-size: clamp(.78rem, 3.2vw, .88rem);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .12s, border-color .12s, color .12s;
}

.pbf-days__chip:not([disabled]):active {
    transform: scale(.97);
}

.pbf-days__chip.is-on {
    background: var(--pm-green);
    border-color: var(--pm-green);
    color: #ffffff;
}

.pbf-days__chip[disabled] {
    background: #f7f8fa;
    color: var(--pm-muted);
    cursor: default;
}

.pbf-days__chip[disabled].is-on {
    background: #9aa4b2;
    border-color: #9aa4b2;
    color: #ffffff;
}

/* 매주 요일 칩 */
.pbf-weekdays__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.pbf-weekdays__chip {
    height: 44px;
    border: 1px solid var(--pm-line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--pm-sub);
    font-size: clamp(.85rem, 3.5vw, .95rem);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s, border-color .12s, color .12s;
}

.pbf-weekdays__chip:not([disabled]):active {
    transform: scale(.97);
}

.pbf-weekdays__chip.is-on {
    background: var(--pm-green);
    border-color: var(--pm-green);
    color: #ffffff;
}

.pbf-weekdays__chip[disabled] {
    background: #f7f8fa;
    cursor: default;
}

.pbf-weekdays__chip[disabled].is-on {
    background: #9aa4b2;
    border-color: #9aa4b2;
    color: #ffffff;
}

/* 결제 기간 (시작 ~ 종료) */
.pbf-period {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pbf-period .pmf-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    font-size: clamp(.85rem, 3.5vw, .95rem);
}

.pbf-period__tilde {
    color: var(--pm-muted);
    font-size: 14px;
    flex: none;
}

/* 미정 칩 — 페이그린 강조 */
.pmf-quick .pbf-mt-chip {
    border-color: #cfe4d8;
    color: var(--pm-green-d);
    background: #f7fdfa;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pmf-quick .pbf-mt-chip i {
    font-size: 12px;
}

.pmf-quick .pbf-mt-chip:active {
    background: var(--pm-soft);
}

/* 카드 안내 박스 (등록 시) */
.pbf-card-info {
    padding: 14px;
    border-radius: 12px;
    border: 1px dashed #cfe4d8;
    background: #f7fdfa;
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.pbf-card-info > i {
    font-size: 22px;
    color: var(--pm-green);
    flex: none;
    margin-top: 1px;
}

.pbf-card-info b {
    display: block;
    font-size: clamp(.86rem, 3.5vw, .96rem);
    color: var(--pm-green-d);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 4px;
}

.pbf-card-info p {
    font-size: clamp(.7rem, 2.9vw, .8rem);
    color: var(--pm-sub);
    line-height: 1.55;
}

/* 등록된 카드 표시 (수정 시) */
.pbf-card-have {
    padding: 13px 14px;
    border-radius: 12px;
    background: #fafbfc;
    border: 0.5px solid #eef0f3;
    display: flex;
    align-items: center;
    gap: 11px;
}

.pbf-card-have__ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pm-green) 0%, var(--pm-green-d) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: none;
}

.pbf-card-have__bd {
    flex: 1;
    min-width: 0;
}

.pbf-card-have__bd b {
    display: block;
    font-size: clamp(.82rem, 3.4vw, .92rem);
    color: var(--pm-text);
    font-weight: 600;
}

.pbf-card-have__bd small {
    display: block;
    font-size: clamp(.66rem, 2.8vw, .76rem);
    color: var(--pm-muted);
    margin-top: 1px;
}

.pbf-card-share {
    margin-top: 8px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #cfe4d8;
    background: #f7fdfa;
    color: var(--pm-green-d);
    font-size: clamp(.82rem, 3.4vw, .92rem);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    transition: background .12s;
}

.pbf-card-share:active {
    background: var(--pm-soft);
}

.pbf-card-share i {
    font-size: 14px;
}

.pbf-card-have__chev {
    margin-left: auto;
    font-size: 18px;
    color: #9aa4b2;
    flex: none;
}

.pbf-card-have {
    cursor: pointer;
    transition: background .15s;
}

.pbf-card-have:active {
    background: #f3f5f8;
}

/* ════════════════════════════════════════════════════════
   카드 등록/변경 방법 선택 시트 — pbl-cs (공유 / 직접 등록 분기)
   ════════════════════════════════════════════════════════ */

.pbl-cs-sheet {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .28s;
}

.pbl-cs-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s linear;
}

.pbl-cs-sheet__dim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    opacity: 0;
    transition: opacity .25s ease;
}

.pbl-cs-sheet.is-open .pbl-cs-sheet__dim {
    opacity: 1;
}

.pbl-cs-sheet__panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    transform: translate(-50%, 100%);
    background: #ffffff;
    border-radius: 22px 22px 0 0;
    padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, .18);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.pbl-cs-sheet.is-open .pbl-cs-sheet__panel {
    transform: translate(-50%, 0);
}

.pbl-cs-sheet__bar {
    width: 38px;
    height: 4px;
    background: var(--pm-line);
    border-radius: 2px;
    margin: 0 auto;
    flex: none;
}

.pbl-cs-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pbl-cs-sheet__head strong {
    font-size: clamp(.95rem, 3.9vw, 1.05rem);
    font-weight: 800;
    color: var(--pm-text);
}

.pbl-cs-sheet__x {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--pm-sub);
    font-size: 20px;
    cursor: pointer;
}

.pbl-cs-sheet__sub {
    font-size: clamp(.72rem, 2.9vw, .82rem);
    color: var(--pm-sub);
    line-height: 1.55;
    margin: -2px 0 4px;
}

/* 옵션 카드 (공유 / 직접 등록) */
.pbl-cs-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--pm-line);
    background: #ffffff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: transform .12s, background .15s, border-color .15s;
}

.pbl-cs-opt:active {
    transform: scale(.985);
    background: #f7f8fa;
}

.pbl-cs-opt--main {
    border-color: #cfe4d8;
    background: #f7fdfa;
}

.pbl-cs-opt--main:active {
    background: var(--pm-soft);
}

.pbl-cs-opt__ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex: none;
}

.pbl-cs-opt__ic--green {
    background: var(--pm-green);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 157, 110, .25);
}

.pbl-cs-opt__ic--gray {
    background: #eef1f4;
    color: #6b7787;
}

.pbl-cs-opt__bd {
    flex: 1;
    min-width: 0;
    display: block;
}

.pbl-cs-opt__bd b {
    display: block;
    font-size: clamp(.88rem, 3.6vw, .98rem);
    font-weight: 700;
    color: var(--pm-text);
    margin-bottom: 3px;
}

.pbl-cs-opt__bd p {
    font-size: clamp(.7rem, 2.9vw, .8rem);
    color: var(--pm-sub);
    line-height: 1.5;
}

.pbl-cs-opt > i {
    font-size: 18px;
    color: var(--pm-muted);
    flex: none;
}

.pbl-cs-cancel {
    margin-top: 4px;
    height: 46px;
    border-radius: 14px;
    background: #f7f8fa;
    border: 0;
    color: var(--pm-sub);
    font-size: clamp(.86rem, 3.5vw, .96rem);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.pbl-cs-cancel:active {
    background: #eef0f3;
}

/* 작은 화면 */
@media (max-width: 374px) {
    .pbl {
        padding-left: 12px;
        padding-right: 12px;
    }

    .pbl-seg {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .pbl-detail__status {
        padding-left: 12px;
        padding-right: 12px;
    }

    .pbl-detail__hero,
    .pml-detail__sec {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pbf-days__grid {
        gap: 4px;
    }

    .pbf-days__chip {
        height: 32px;
        font-size: 11.5px;
    }
}
