.member-picker { min-width: 0; padding: 10px 0; color: #24483c; border-block: 1px solid #dfe7e1; }
.kiosk-order, .order-pane { grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto; }
#posMember { margin: 0 18px 10px; }
.member-picker summary { cursor: pointer; font-size: 14px; padding: 6px 0; overflow-wrap: anywhere; }
.member-current { color: #64766b; font-size: 13px; }
.member-search { display: flex; gap: 6px; margin: 8px 0; min-width: 0; }
.member-picker .member-search input { width: 0; flex: 1; min-width: 0; padding: 10px; font-size: 14px; border: 1px solid #ccd8cf; border-radius: 6px; background: #fff; }
.member-picker button { width: auto; flex: 0 0 auto; min-height: 40px; padding: 8px 12px; border-radius: 6px; border: 1px solid #ccd8cf; background: #f1f6f2; color: #24483c; font-size: 14px; cursor: pointer; }
.member-picker .member-scan-button { border-color: #1f3a32; background: #1f3a32; color: #fff; }
.member-results { display: grid; gap: 6px; font-size: 13px; overflow-wrap: anywhere; }
.member-results button { white-space: normal; text-align: left; }
.member-scanner-overlay { position: fixed; z-index: 1200; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 24, 18, .72); box-sizing: border-box; }
.member-scanner { width: min(520px, 100%); padding: 20px; border-radius: 22px; background: #fff; box-sizing: border-box; box-shadow: 0 18px 60px #0005; }
.member-scanner-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #1f3a32; font-size: 20px; }
.member-scanner-head button { width: 42px; height: 42px; min-height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f1f4f1; color: #1f3a32; font-size: 28px; line-height: 42px; }
.member-scanner-frame { position: relative; overflow: hidden; aspect-ratio: 1; margin-top: 16px; border-radius: 16px; background: #14251e; }
.member-scanner-frame video { width: 100%; height: 100%; object-fit: cover; }
.member-scanner-frame i { position: absolute; inset: 12%; border: 3px solid #fff; border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.18); pointer-events: none; }
.member-scanner p { margin: 14px 0 0; color: #68776f; text-align: center; font-size: 14px; }
.member-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.member-toolbar input { flex: 1; min-width: 180px; max-width: 420px; }
.member-toolbar select { width: auto; }
.member-rule { color: #63746a; font-size: 14px; line-height: 1.7; }
.member-table-wrap { width: 100%; overflow-x: auto; }
.member-table { min-width: 860px; }
.member-table small, .member-ledger small { display: block; margin-top: 5px; color: #708076; }
.member-status { padding: 4px 10px; border-radius: 5px; background: #eaf4ec; color: #285a3b; }
.member-status.inactive { background: #eee; color: #777; }
.member-price-type { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f2f3f1; color: #657068; white-space: nowrap; }
.member-price-type.level-woodland { background: #edf3e9; color: #446238; font-weight: 700; }
.member-price-type.level-senyu { background: #e6f1ed; color: #285c4c; font-weight: 700; }
.member-price-type.level-qixin { background: #fff1d8; color: #8a5714; font-weight: 700; }
.member-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 20px; }
.member-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 1px solid #dce5de; border-radius: 8px; color: #203d31; background: #fff; box-sizing: border-box; overflow-y: auto; }
.member-dialog::backdrop { background: #14271d80; }
.member-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.member-dialog-head button { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.member-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 16px; margin-bottom: 24px; }
.member-edit p, .member-edit [data-save-status] { grid-column: 1 / -1; }
.member-edit label { display: grid; align-content: start; min-width: 0; }
.member-edit input, .member-edit select { width: 100%; min-height: 46px; box-sizing: border-box; }
.member-edit input[readonly] { background: #f5f7f4; color: #56655c; }
.member-edit label small { display: block; margin-top: 6px; color: #708076; font-size: 12px; }
.member-edit .member-wide { grid-column: 1 / -1; }
.member-edit .member-save { grid-column: 1 / -1; justify-self: center; width: min(360px, 100%); min-height: 46px; }
.member-edit [data-save-status] { min-height: 20px; text-align: center; }
.member-dialog h4 small { font-weight: normal; color: #708076; }
.member-ledger > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e5ebe6; padding: 12px 0; }
@media (max-width: 520px) { .member-edit { grid-template-columns: 1fr; } .member-dialog { padding: 16px; } }
