:root {
  --navy: #17324d;
  --navy-2: #244a6d;
  --green: #31a36d;
  --green-dark: #238055;
  --bg: #eef3f7;
  --panel: #ffffff;
  --line: #dce5eb;
  --text: #17212b;
  --muted: #6b7a88;
  --danger: #c84b4b;
  --warning: #e59a23;
  --shadow: 0 10px 30px rgba(23, 50, 77, .08);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* 관리자 */
.admin-body { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 250px; height: 100vh; height: 100dvh; overflow: hidden; background: var(--navy); color: white; padding: 14px 14px 12px; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 14px; border-bottom: 1px solid rgba(255,255,255,.13); }
.brand-mark, .login-logo { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 27px; font-weight: 900; color: var(--navy); background: white; }
.brand strong { display: block; font-size: 15px; line-height: 1.3; }
.brand span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.62); }
.sidebar nav { flex: 1 1 0; display: grid; align-content: start; gap: 3px; margin-top: 12px; }
.sidebar nav a, .sidebar-bottom a { padding: 9px 12px; border-radius: 8px; color: rgba(255,255,255,.76); font-weight: 700; font-size: 13px; }
.sidebar nav a:hover, .sidebar nav a.active, .sidebar-bottom a:hover { color: white; background: rgba(255,255,255,.12); }
.sidebar nav a.nav-section-label { display: flex; align-items: center; gap: 8px; margin: 5px 8px -1px; padding: 10px 3px 5px; border: 0; border-top: 1px solid rgba(255,255,255,.13); border-radius: 0; color: rgba(255,255,255,.56); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.sidebar nav a.nav-section-label::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.sidebar-bottom { flex-shrink: 0; margin-top: 0; display: grid; gap: 2px; border-top: 1px solid rgba(255,255,255,.13); padding-top: 8px; }
.main-content { min-width: 0; margin-left: 250px; padding: 34px 38px 60px; width: calc(100% - 250px); }
.topbar { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.topbar h1 { margin: 0; font-size: clamp(24px, 2.4vw, 29px); letter-spacing: -.04em; }
.topbar p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 26px; }
.flash-area { display: grid; gap: 8px; margin-bottom: 18px; }
.flash { border-radius: 10px; padding: 13px 16px; font-weight: 700; font-size: 14px; }
.flash.success { background: #dff5e9; color: #1f704c; }
.flash.error { background: #fde6e6; color: #a23c3c; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; margin-bottom: 20px; }
.stat-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; min-height: 126px; }
.stat-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.stat-card strong { display: block; margin: 12px 0 7px; color: var(--navy); font-size: 31px; letter-spacing: -.04em; }
.stat-card small { color: #8a98a4; }
.stat-card.accent { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border: none; color: white; }
.stat-card.accent span, .stat-card.accent strong, .stat-card.accent small { color: white; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 20px; margin-bottom: 20px; }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: clamp(16px, 2vw, 22px); margin-bottom: 20px; }
.panel h2 { margin: 0; font-size: 19px; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.panel-head p, .panel > p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.text-link { color: var(--navy-2); font-weight: 800; font-size: 13px; }
.table-wrap { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 690px; }
th { color: var(--muted); font-size: 12px; text-align: left; background: #f7f9fb; padding: 12px 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px; border-bottom: 1px solid #edf1f4; font-size: 14px; vertical-align: middle; }
tbody tr:hover { background: #fbfcfd; }
tbody tr:last-child td { border-bottom: none; }
.sortable-header { padding: 0; }
.sort-button { width: 100%; min-height: 41px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 12px 13px; border: 0; background: transparent; color: inherit; font-size: inherit; font-weight: 800; text-align: left; white-space: nowrap; }
.sort-button:hover { color: var(--navy-2); background: rgba(23, 50, 77, .045); }
.sort-button i { color: #a8b2ba; font-size: 11px; font-style: normal; line-height: 1; }
.sortable-header[aria-sort="ascending"] .sort-button i::before { content: "▲"; }
.sortable-header[aria-sort="descending"] .sort-button i::before { content: "▼"; }
.sortable-header[aria-sort] .sort-button i { font-size: 0; color: var(--navy-2); }
.sortable-header[aria-sort] .sort-button i::before { font-size: 10px; }
.empty { text-align: center; padding: 38px; color: var(--muted); }
.room-pill { padding: 5px 9px; border-radius: 999px; background: #e5f2eb; color: var(--green-dark); font-size: 12px; font-weight: 800; }
.room-status-list { display: grid; gap: 18px; padding-top: 5px; }
.room-status { display: grid; grid-template-columns: 54px 1fr 42px; align-items: center; gap: 10px; font-size: 13px; }
.room-status span { font-weight: 800; }
.room-status strong { text-align: right; color: var(--navy); }
.bar, .rate-track { height: 9px; border-radius: 999px; background: #e8eef2; overflow: hidden; }
.bar i, .rate-track i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.simple-chart { height: 210px; display: flex; align-items: flex-end; gap: 20px; padding: 10px 15px 0; border-bottom: 1px solid var(--line); }
.chart-column { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; min-width: 34px; }
.chart-column span { font-size: 12px; color: var(--muted); font-weight: 700; }
.chart-bar { width: min(52px, 70%); border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--green), #6fc89d); min-height: 20px; }
.chart-column small { margin-bottom: -24px; color: var(--muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.filter-form, .toolbar-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
input, select, textarea { width: 100%; border: 1px solid #cad5dc; border-radius: 9px; background: white; padding: 11px 12px; color: var(--text); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(36,74,109,.12); }
.filter-form input[type=search] { width: 250px; }
.filter-form input[type=month] { width: 170px; }
.filter-form select { width: 130px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cbd6dd; border-radius: 9px; background: white; color: var(--navy); padding: 10px 14px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.button:hover { background: #f5f8fa; }
.button.primary { background: var(--navy); border-color: var(--navy); color: white; }
.button.primary:hover { background: var(--navy-2); }
.button.danger { border-color: #efc9c9; color: var(--danger); background: #fff8f8; }
.button.small { padding: 7px 10px; font-size: 12px; }
.button.wide { width: 100%; }
.name-link { font-weight: 900; color: var(--navy-2); }
.address-cell { max-width: 270px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status.active { background: #e5f4ec; color: var(--green-dark); }
.status.inactive { background: #f0f1f2; color: #68747e; }
.form-panel { max-width: 980px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 19px; }
.form-grid label, .form-panel > label, .admin-dialog label { display: block; }
label > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; color: #33424f; }
label small { display: block; margin-top: 6px; color: var(--muted); }
.span-2 { grid-column: span 2; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.member-import-upload, .member-import-preview { max-width: 1180px; }
.member-import-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.member-import-form label { min-width: 0; }
.member-import-form input[type=file] { min-height: 44px; padding: 8px; }
.member-import-form input[type=file]::file-selector-button { margin-right: 12px; border: 0; border-radius: 7px; background: #e8eef3; color: var(--navy); padding: 7px 11px; font-weight: 800; cursor: pointer; }
.member-import-columns { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.member-import-columns span { border: 1px solid #d6e0e6; border-radius: 7px; background: #f7f9fb; padding: 6px 9px; color: #465765; font-size: 12px; font-weight: 800; }
.member-import-table { min-width: 1050px; }
.member-import-row-error { background: #fff8f8; }
.member-import-row-error:hover { background: #fff3f3; }
.import-result, .import-summary { display: inline-flex; align-items: center; border-radius: 7px; font-size: 12px; font-weight: 900; }
.import-result { max-width: 320px; padding: 5px 8px; white-space: normal; line-height: 1.45; }
.import-result.ready, .import-summary.ready { background: #e5f4ec; color: var(--green-dark); }
.import-result.error, .import-summary.error { background: #fde6e6; color: #a23c3c; }
.import-summary { flex: 0 0 auto; padding: 8px 11px; }
.member-import-confirm { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.canceled-row { color: #9b9b9b; text-decoration: line-through; background: #fafafa; }
.rate-cell { min-width: 200px; display: grid; grid-template-columns: 1fr 60px; gap: 10px; align-items: center; }
.rate-cell strong { text-align: right; color: var(--navy); }
.note { margin: -7px 2px 0; color: var(--muted); font-size: 13px; }
.attendance-overview-panel { position: relative; overflow: hidden; padding: 0; }
.attendance-overview-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.attendance-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 24px 20px; border-bottom: 1px solid var(--line); }
.attendance-section-head h2, .attendance-section-title h2 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.03em; }
.attendance-section-head p, .attendance-section-title p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.attendance-count-badge { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #cfe7da; border-radius: 999px; background: #e8f6ef; color: var(--green-dark); font-size: 13px; font-weight: 900; }
.attendance-overview-panel .table-wrap { padding: 0 22px 22px; }
.attendance-table { min-width: 1420px; }
.attendance-table th { font-size: 11px; }
.attendance-table td { padding: 11px 10px; }
.attendance-divider { height: 35px; display: flex; align-items: center; justify-content: center; }
.attendance-divider span { width: min(420px, 72%); height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.attendance-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 2px 17px; }
.attendance-toolbar { align-items: flex-end; }
.attendance-filter { flex: 1 1 auto; align-items: flex-end; }
.date-range-fields { display: flex; align-items: flex-end; gap: 8px; }
.date-range-fields label { flex: 0 1 154px; min-width: 132px; }
.date-range-fields label > span { margin-bottom: 5px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.date-range-fields input { min-height: 40px; padding: 9px 10px; }
.date-range-fields b { padding-bottom: 11px; color: var(--muted); font-size: 13px; }
.attendance-history-panel { padding: 18px; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 5px 8px; border-radius: 999px; background: #edf3f6; color: var(--navy); font-size: 12px; font-weight: 900; white-space: nowrap; }
.join-date-pill, .last-attendance-pill { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.45); font-size: 11px; font-weight: 800; white-space: nowrap; }
.game-count-input { width: 66px; min-height: 36px; padding: 7px 8px; text-align: center; }
.course-name-input { width: 150px; min-height: 36px; padding: 7px 9px; border-color: transparent; background: transparent; box-shadow: none; }
.course-name-input:hover { border-color: #cbd6dd; background: var(--panel); }
.attendance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.attendance-actions form { margin: 0; }
.attendance-actions .button { min-height: 34px; padding: 6px 9px; }
.record-game-control { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.record-game-control span { margin: 0; color: inherit; font-size: inherit; }
.record-game-control .game-count-input { width: 56px; }
.muted-dash { color: var(--muted); }
.settings-page { max-width: 1420px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 20px; align-items: stretch; }
.settings-card { position: relative; overflow: hidden; padding: 0; margin-bottom: 20px; }
.settings-card-head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.settings-card-head h2 { margin: 0; font-size: 19px; }
.settings-card-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.settings-card-icon { position: relative; z-index: 1; flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #e9f0f6; color: var(--navy); font-size: 22px; font-weight: 900; }
.settings-form-card { display: flex; flex-direction: column; }
.settings-form-fields { display: grid; gap: 18px; padding: 23px 24px 8px; }
.setting-field { display: block; }
.setting-field > span { margin-bottom: 8px; }
.setting-field input { min-height: 47px; background: #f9fbfc; border-color: #d5e0e6; transition: border-color .18s, box-shadow .18s, background .18s; }
.setting-field input:hover { border-color: #b7c8d2; background: white; }
.setting-field small { line-height: 1.45; }
.input-with-unit { position: relative; }
.input-with-unit input { padding-right: 48px; }
.input-with-unit b { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--muted); font-size: 13px; }
.settings-actions { margin-top: auto; padding: 18px 24px; background: #f8fafb; }
.settings-actions > span { margin-right: auto; align-self: center; color: var(--muted); font-size: 12px; }
.settings-actions .button { min-width: 112px; box-shadow: 0 8px 18px rgba(23,50,77,.16); }
.backup-panel { isolation: isolate; display: flex; flex-direction: column; border: 0; color: white; background: linear-gradient(145deg, #193a57 0%, #17324d 54%, #10283d 100%); box-shadow: 0 18px 38px rgba(23,50,77,.2); }
.backup-panel .settings-card-head { border-color: rgba(255,255,255,.13); }
.backup-panel .settings-card-head h2, .backup-panel .settings-card-head p { color: white; }
.backup-panel .settings-card-head p { opacity: .68; }
.backup-icon { color: white; background: rgba(255,255,255,.14); }
.backup-glow { position: absolute; z-index: -1; width: 220px; height: 220px; right: -75px; top: -90px; border-radius: 50%; background: rgba(83,194,139,.2); filter: blur(2px); }
.backup-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.backup-illustration { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.backup-illustration span { font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.backup-illustration i { position: absolute; right: -7px; bottom: -7px; width: 27px; height: 27px; display: grid; place-items: center; border: 3px solid var(--navy); border-radius: 50%; background: #54c58b; color: #0f3c29; font-size: 13px; font-style: normal; font-weight: 900; }
.backup-content h3 { margin: 0; font-size: 18px; }
.backup-content > p { margin: 8px 0 20px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.65; }
.backup-button { justify-content: space-between; min-height: 48px; padding-inline: 17px; border-color: white; background: white; color: var(--navy); box-shadow: 0 10px 22px rgba(5,17,28,.18); }
.backup-button:hover { border-color: white; background: #f1f7fa; }
.backup-button span { font-size: 18px; }
.warning-box { margin-top: auto; padding: 14px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.08); }
.warning-box strong { color: #ffe29a; font-size: 12px; }
.warning-box p { margin: 5px 0 0; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.5; }
.tablet-settings-panel { padding: 0; overflow: hidden; }
.tablet-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 23px 24px 20px; border-bottom: 1px solid var(--line); }
.tablet-section-head h2 { margin: 3px 0 0; }
.tablet-section-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.section-kicker { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.network-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: #e8f5ee; color: var(--green-dark); font-size: 11px; font-weight: 800; }
.network-badge i { width: 7px; height: 7px; border-radius: 50%; background: #36ad75; box-shadow: 0 0 0 4px rgba(54,173,117,.12); }
.tablet-link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 20px 24px 24px; background: #fbfcfd; }
.tablet-link-card { min-width: 0; display: grid; grid-template-columns: 39px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 14px 13px; border: 1px solid #dfe8ed; border-radius: 14px; background: white; box-shadow: 0 4px 12px rgba(23,50,77,.04); transition: transform .18s, border-color .18s, box-shadow .18s; }
.tablet-link-card:hover { transform: translateY(-2px); border-color: #9eb6c5; box-shadow: 0 10px 22px rgba(23,50,77,.09); }
.tablet-room-number { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: white; font-size: 16px; font-weight: 900; box-shadow: 0 7px 15px rgba(23,50,77,.17); }
.tablet-link-copy { min-width: 0; }
.tablet-link-copy strong, .tablet-link-copy small { display: block; }
.tablet-link-copy strong { color: var(--navy); font-size: 12px; white-space: nowrap; }
.tablet-link-copy small { overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.tablet-link-arrow { color: #99aab5; font-size: 15px; transition: color .18s, transform .18s; }
.tablet-link-card:hover .tablet-link-arrow { transform: translate(2px,-2px); color: var(--green-dark); }
.pricing-settings-panel, .holiday-settings-panel { overflow: hidden; padding: 0; margin-bottom: 20px; }
.pricing-settings-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 24px 20px; border-bottom: 1px solid var(--line); }
.pricing-settings-head h2 { margin: 4px 0 0; font-size: 21px; }
.pricing-settings-head p { max-width: 820px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pricing-auto-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(196,165,92,.32); border-radius: 999px; color: #dfc579; background: rgba(196,165,92,.1); font-size: 11px; font-weight: 900; }
.pricing-auto-badge i { width: 7px; height: 7px; border-radius: 50%; background: #54cd85; box-shadow: 0 0 8px rgba(84,205,133,.8); }
.special-rate-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 20px 0; }
.training-rate-card { min-width: 0; display: grid; grid-template-columns: minmax(180px,1fr) minmax(150px,.55fr) auto; align-items: end; gap: 14px; padding: 17px 18px; border: 1px solid rgba(196,165,92,.3); border-radius: 10px; background: linear-gradient(135deg,rgba(196,165,92,.11),rgba(196,165,92,.035)); }
.training-rate-card strong { color: #e5c979; font-size: 15px; }
.training-rate-card p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.training-rate-card label > span { margin-bottom: 6px; }
.training-rate-card input { min-height: 42px; }
.no-charge-note { display: flex; align-items: center; gap: 12px; margin: 12px 20px 0; padding: 11px 14px; border: 1px solid rgba(89,151,123,.22); border-radius: 8px; color: var(--muted); background: rgba(65,135,101,.07); font-size: 11px; }
.no-charge-note strong { flex: 0 0 auto; color: #67cf8b; }
.rate-rules-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 16px 20px 22px; }
.rate-rule-card { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 14px; border: 1px solid rgba(196,165,92,.22); border-radius: 9px; background: rgba(10,12,14,.22); }
.rate-rule-card.is-add { border-style: dashed; background: rgba(196,165,92,.035); }
.rate-rule-card label { min-width: 0; }
.rate-rule-card label > span, .rate-rule-title small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; }
.rate-rule-card input, .rate-rule-card select { width: 100%; min-height: 37px; padding: 7px 8px; font-size: 11px; }
.rate-rule-card label > small { display: block; margin-top: 4px; color: #77736b; font-size: 8px; }
.rate-rule-title { grid-column: 1 / -1; display: grid; grid-template-columns: 31px minmax(0,1fr); align-items: end; gap: 8px; }
.rate-rule-title > span { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 1px; border-radius: 7px; color: #e8c875; background: rgba(196,165,92,.12); font-weight: 900; }
.rate-rule-title input { color: #eee9df; font-size: 12px; font-weight: 900; }
.rate-rule-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 6px; padding-top: 3px; }
.holiday-add-form { display: grid; grid-template-columns: minmax(180px,.35fr) minmax(240px,1fr) auto; align-items: end; gap: 12px; padding: 18px 20px 14px; }
.holiday-add-form label > span { margin-bottom: 6px; }
.holiday-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0 20px 22px; list-style: none; }
.holiday-list li { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid rgba(196,165,92,.18); border-radius: 8px; background: rgba(255,255,255,.018); }
.holiday-list strong, .holiday-list span, .holiday-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holiday-list strong { color: #e2c674; font-size: 11px; }
.holiday-list span { margin-top: 3px; color: #eee9df; font-size: 11px; }
.holiday-list small { margin-top: 3px; color: var(--muted); font-size: 8px; }

/* 관리자 C 테마: 차콜 & 뮤트 골드 */
.admin-body.theme-luxury {
  --navy: #17191c;
  --navy-2: #c4a55c;
  --green: #c4a55c;
  --green-dark: #d2b66d;
  --bg: #111315;
  --panel: #1b1e22;
  --line: #39342b;
  --text: #f1eee6;
  --muted: #aaa69c;
  --shadow: 0 18px 45px rgba(0, 0, 0, .24);
  color: var(--text);
  background:
    radial-gradient(circle at 78% -10%, rgba(196, 165, 92, .08), transparent 30%),
    linear-gradient(135deg, #111315 0%, #15181b 52%, #101214 100%);
}
.theme-luxury .sidebar {
  background:
    radial-gradient(circle at 15% 0%, rgba(196, 165, 92, .11), transparent 28%),
    linear-gradient(180deg, #111316 0%, #0b0d0f 100%);
  border-right: 1px solid rgba(196, 165, 92, .23);
  box-shadow: 16px 0 40px rgba(0, 0, 0, .18);
}
.theme-luxury .brand { border-color: rgba(196, 165, 92, .22); }
.theme-luxury .brand-mark {
  flex: 0 0 68px;
  width: 68px;
  height: 66px;
  padding: 0;
  overflow: hidden;
  color: #17191c;
  background: #111416;
  border: 1px solid rgba(226, 202, 140, .58);
  box-shadow: 0 10px 28px rgba(196, 165, 92, .18), inset 0 1px 0 rgba(255,255,255,.45);
}
.theme-luxury .brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.theme-luxury .brand span { color: rgba(235, 222, 190, .62); }
.theme-luxury .sidebar nav a,
.theme-luxury .sidebar-bottom a {
  position: relative;
  color: rgba(241, 238, 230, .68);
  border: 1px solid transparent;
}
.theme-luxury .sidebar nav a:hover,
.theme-luxury .sidebar nav a.active,
.theme-luxury .sidebar-bottom a:hover {
  color: #f7f1df;
  border-color: rgba(196, 165, 92, .22);
  background: linear-gradient(90deg, rgba(196, 165, 92, .19), rgba(196, 165, 92, .06));
}
.theme-luxury .sidebar nav a.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 99px;
  background: #d8bc73;
  box-shadow: 0 0 14px rgba(216, 188, 115, .42);
}
.theme-luxury .sidebar nav a.nav-section-label { color: #d8bc73; border: 0; border-top: 1px solid rgba(196, 165, 92, .22); background: transparent; text-shadow: 0 0 16px rgba(216, 188, 115, .18); }
.theme-luxury .sidebar nav a.nav-section-label:hover,
.theme-luxury .sidebar nav a.nav-section-label.active { color: #f3d98f; border-top-color: rgba(216, 188, 115, .42); background: linear-gradient(90deg, rgba(196, 165, 92, .16), transparent); }
.theme-luxury .sidebar-bottom { border-color: rgba(196, 165, 92, .2); }
.sidebar nav { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 0 2px 6px 0; scrollbar-width: thin; scrollbar-color: rgba(196,165,92,.34) transparent; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
.nav-link, .nav-group > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.nav-icon { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-label { flex: 1; }
.nav-reservation-notice { position: relative; flex: 0 0 29px; width: 29px; height: 26px; display: inline-grid; place-items: center; margin-right: -3px; color: #f2c760; animation: friends-notice-pulse 1.65s ease-in-out infinite; }
.nav-reservation-notice[hidden] { display: none !important; }
.nav-reservation-notice svg { width: 20px; height: 20px; fill: rgba(225,169,47,.14); stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(231,178,58,.38)); }
.nav-reservation-notice b { position: absolute; top: -4px; right: -3px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #111316; border-radius: 999px; color: white; background: #e9483f; box-shadow: 0 3px 9px rgba(204,42,35,.5); font-size: 9px; font-weight: 900; line-height: 1; }
@keyframes friends-notice-pulse { 0%,100% { transform: rotate(0) scale(1); } 12% { transform: rotate(-8deg) scale(1.05); } 24% { transform: rotate(7deg) scale(1.05); } 36% { transform: rotate(0) scale(1); } }
.nav-group { overflow: hidden; border-radius: 10px; }
.nav-group > summary { padding: 9px 12px; border: 1px solid transparent; border-radius: 8px; list-style: none; color: rgba(241,238,230,.72); font-size: 13px; font-weight: 800; cursor: pointer; user-select: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-chevron { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .18s ease; }
.nav-group[open] .nav-chevron { transform: rotate(180deg); }
.nav-submenu { display: grid; gap: 2px; padding: 5px 6px 6px 18px; }
.sidebar nav .nav-submenu a { min-height: 40px; display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 7px; font-size: 11px; }
.nav-dot { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #8f9295; }
.nav-divider { height: 1px; margin: 5px 9px 4px; background: rgba(196,165,92,.3); }
.friends-c-icon { flex: 0 0 23px; width: 23px; color: #e5a837; font-family: Georgia,serif; font-size: 28px; font-weight: 700; line-height: 1; text-align: center; }
.theme-luxury .brand { flex-direction: column; gap: 4px; padding: 0 4px 12px; text-align: center; }
.theme-luxury .brand-mark { flex: 0 0 68px; width: 68px; height: 68px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.theme-luxury .brand strong { color: #e7ad39; font-size: 14px; line-height: 1.35; text-shadow: 0 0 18px rgba(226,169,62,.2); }
.theme-luxury .brand span { margin-top: 1px; color: #d4a344; font-size: 10px; }
.theme-luxury .nav-group[open] > summary,
.theme-luxury .nav-group > summary:hover,
.theme-luxury .nav-group > summary.has-active { color: #fff9e9; border-color: #d4a44c; background: linear-gradient(180deg,#d7a24a 0%,#b97924 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.32),0 8px 20px rgba(0,0,0,.24); }
.theme-luxury .nav-submenu { border: 1px solid rgba(196,165,92,.12); border-top: 0; background: linear-gradient(180deg,rgba(24,25,24,.97),rgba(16,18,19,.96)); }
.theme-luxury .sidebar nav .nav-submenu a.active::before { display: none; }
.theme-luxury .sidebar nav .nav-submenu a.active { color: #e2ba5b; border-color: transparent; background: rgba(196,165,92,.07); }
.theme-luxury .nav-submenu a.active .nav-dot { background: #e2a93e; box-shadow: 0 0 10px rgba(226,169,62,.55); }
.sidebar a:focus-visible { outline: 2px solid #e0bd69; outline-offset: 2px; }
.nav-group > summary:focus-visible { outline: 2px solid #e0bd69; outline-offset: 2px; }
.friends-reservation-notice-dialog { width: min(480px,calc(100vw - 30px)); max-width: none; overflow: visible; padding: 0; border: 0; color: #f5f0e4; background: transparent; }
.friends-reservation-notice-dialog::backdrop { background: rgba(4,6,8,.74); backdrop-filter: blur(3px); }
.friends-reservation-notice-dialog[open] { animation: friends-notice-enter .2s ease-out; }
@keyframes friends-notice-enter { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.friends-reservation-notice-card { overflow: hidden; border: 1px solid #c99b38; border-radius: 17px; background: radial-gradient(circle at 50% -18%,rgba(226,171,56,.16),transparent 42%),linear-gradient(155deg,#202326,#151719 78%); box-shadow: 0 28px 85px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.045); }
.friends-reservation-notice-head { display: grid; justify-items: center; padding: 27px 32px 16px; text-align: center; }
.friends-reservation-notice-bell { width: 55px; height: 55px; display: grid; place-items: center; color: #f2bd3e; border: 1px solid rgba(231,178,58,.32); border-radius: 50%; background: radial-gradient(circle,rgba(231,178,58,.2),rgba(231,178,58,.035) 66%); box-shadow: 0 0 32px rgba(226,169,47,.16); }
.friends-reservation-notice-bell svg { width: 31px; height: 31px; fill: rgba(238,182,51,.28); stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.friends-reservation-sound { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; padding: 4px 8px; border: 1px solid rgba(226,169,47,.52); border-radius: 999px; color: #e8b840; background: rgba(226,169,47,.07); font-size: 9px; font-weight: 900; }
.friends-reservation-sound i { font-size: 11px; font-style: normal; }
.friends-reservation-notice-head h2 { margin: 14px 0 0; color: #f0bb3e; font-size: clamp(22px,3vw,27px); letter-spacing: -.04em; text-shadow: 0 0 18px rgba(226,169,47,.2); }
.friends-reservation-notice-head p { margin: 8px 0 0; color: #e1ddd4; font-size: 13px; line-height: 1.5; }
.friends-reservation-notice-details { display: grid; gap: 9px; margin: 0 31px; padding: 16px 12px; border-top: 1px solid rgba(196,165,92,.22); border-bottom: 1px solid rgba(196,165,92,.17); }
.friends-reservation-notice-details div { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 12px; }
.friends-reservation-notice-details dt { color: #aaa59b; font-size: 12px; font-weight: 800; }
.friends-reservation-notice-details dd { overflow: hidden; margin: 0; color: #f4efe4; font-size: 14px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.friends-reservation-notice-queue { margin: 13px 31px 0; color: #cbb77f; font-size: 10px; font-weight: 800; text-align: center; }
.friends-reservation-notice-queue[hidden] { display: none; }
.friends-reservation-notice-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; padding: 20px 31px 24px; }
.friends-reservation-notice-actions .button { min-height: 48px; border-color: #4d4b46; color: #eee9dd; background: #232529; }
.friends-reservation-notice-actions .button:hover { border-color: #6c675c; background: #2a2d30; }
.friends-reservation-notice-actions .button.primary { border-color: #e8b637; color: #171819; background: linear-gradient(180deg,#f5c54e,#e2a92c); box-shadow: 0 10px 23px rgba(210,151,30,.22); }
.friends-reservation-notice-actions .button.primary:hover { background: linear-gradient(180deg,#ffd36b,#e8b139); }
.friends-reservation-notice-actions .button:focus-visible { outline: 2px solid #ffe199; outline-offset: 3px; }
@media (max-width: 520px) {
  .friends-reservation-notice-head { padding: 23px 21px 14px; }
  .friends-reservation-notice-details { margin-inline: 20px; padding-inline: 5px; }
  .friends-reservation-notice-details div { grid-template-columns: 78px minmax(0,1fr); gap: 8px; }
  .friends-reservation-notice-actions { gap: 9px; padding: 18px 20px 21px; }
  .friends-reservation-notice-queue { margin-inline: 20px; }
}
.theme-luxury .topbar h1 { color: #f5f1e8; }
.theme-luxury .topbar p { color: #9e9b93; }
.theme-luxury .menu-button { color: #d8bc73; }
.theme-luxury .panel,
.theme-luxury .stat-card {
  background: linear-gradient(145deg, #1e2125 0%, #191c20 100%);
  border-color: rgba(196, 165, 92, .24);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .23), inset 0 1px 0 rgba(255,255,255,.025);
}
.theme-luxury .stat-card strong,
.theme-luxury .room-status strong,
.theme-luxury .rate-cell strong,
.theme-luxury .name-link,
.theme-luxury .text-link { color: #d4b86d; }
.theme-luxury .stat-card.accent {
  background: linear-gradient(135deg, #c6a65b 0%, #96702f 100%);
  border-color: #d5b970;
  color: #151719;
}
.theme-luxury .stat-card.accent span,
.theme-luxury .stat-card.accent strong,
.theme-luxury .stat-card.accent small { color: #151719; }
.theme-luxury th { color: #b9b2a3; background: #15181b; border-color: #39342b; }
.theme-luxury td { border-color: #2d2c29; }
.theme-luxury tbody tr:hover { background: rgba(196, 165, 92, .055); }
.theme-luxury .sort-button:hover { color: #ead596; background: rgba(196, 165, 92, .08); }
.theme-luxury .sort-button i { color: #716a5c; }
.theme-luxury .sortable-header[aria-sort] .sort-button { color: #e1c77d; background: rgba(196, 165, 92, .075); }
.theme-luxury .sortable-header[aria-sort] .sort-button i { color: #e1c77d; }
.theme-luxury .bar,
.theme-luxury .rate-track { background: #303238; }
.theme-luxury .bar i,
.theme-luxury .rate-track i,
.theme-luxury .chart-bar { background: linear-gradient(180deg, #d9bd76, #a17d39); }
.theme-luxury input,
.theme-luxury select,
.theme-luxury textarea {
  color: #f0ece2;
  background: #15181b;
  border-color: #45423a;
  color-scheme: dark;
}
.theme-luxury input::placeholder,
.theme-luxury textarea::placeholder { color: #6f706e; }
.theme-luxury input:hover,
.theme-luxury select:hover,
.theme-luxury textarea:hover { border-color: #69604c; }
.theme-luxury input:focus,
.theme-luxury select:focus,
.theme-luxury textarea:focus {
  border-color: #c4a55c;
  background: #181b1f;
  box-shadow: 0 0 0 3px rgba(196, 165, 92, .13);
}
.theme-luxury label > span { color: #ddd7ca; }
.theme-luxury .button {
  color: #dfc780;
  background: #1a1d21;
  border-color: #665738;
}
.theme-luxury .button:hover { color: #f3dfaa; background: #24221d; border-color: #9e8248; }
.theme-luxury .button.primary {
  color: #17191c;
  background: linear-gradient(135deg, #ddc47e, #b38b3e);
  border-color: #d9bb70;
  box-shadow: 0 10px 24px rgba(151, 112, 43, .28), inset 0 1px 0 rgba(255,255,255,.42);
}
.theme-luxury .button.primary:hover { color: #101214; background: linear-gradient(135deg, #ead493, #c09a4e); }
.theme-luxury .button.danger { color: #ef9c9c; border-color: #754343; background: #261a1b; }
.theme-luxury .status.active,
.theme-luxury .room-pill { color: #e0c987; background: rgba(196, 165, 92, .13); }
.theme-luxury .status.inactive { color: #aaa69c; background: #282b2f; }
.theme-luxury .canceled-row { color: #777874; background: #181a1d; }
.theme-luxury .attendance-overview-panel {
  background:
    radial-gradient(circle at 86% 0%, rgba(196, 165, 92, .11), transparent 31%),
    linear-gradient(145deg, #202328, #191c20);
}
.theme-luxury .attendance-section-head { border-color: #39342b; }
.theme-luxury .attendance-count-badge { color: #ead69a; background: rgba(196,165,92,.12); border-color: rgba(196,165,92,.3); }
.theme-luxury .attendance-divider span { background: linear-gradient(90deg, transparent, rgba(196,165,92,.42), transparent); }
.theme-luxury .count-pill { color: #e1c77d; background: rgba(196,165,92,.12); }
.theme-luxury .join-date-pill, .theme-luxury .last-attendance-pill { color: #c9bfaa; background: rgba(196,165,92,.055); border-color: rgba(196,165,92,.2); }
.theme-luxury .attendance-history-panel { border-color: rgba(196,165,92,.28); }
.theme-luxury .date-range-fields label > span { color: #9e9b93; }
.theme-luxury .course-name-input { background: rgba(0,0,0,.08); border-color: transparent; }
.theme-luxury .course-name-input:hover { background: #181b1f; border-color: #69604c; }
.theme-luxury .settings-card-head { border-color: #39342b; }
.theme-luxury .settings-card-icon {
  color: #e1c77d;
  background: linear-gradient(145deg, rgba(196,165,92,.19), rgba(196,165,92,.07));
  border: 1px solid rgba(196, 165, 92, .27);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.theme-luxury .setting-field input { background: #15181b; border-color: #45423a; }
.theme-luxury .setting-field input:hover { background: #181b1f; border-color: #75684f; }
.theme-luxury .settings-actions { background: #16191c; border-color: #39342b; }
.theme-luxury .settings-actions .button { box-shadow: 0 10px 24px rgba(151, 112, 43, .24); }
.theme-luxury .backup-panel {
  color: #f5efe1;
  background:
    radial-gradient(circle at 86% 6%, rgba(219, 189, 112, .17), transparent 35%),
    linear-gradient(145deg, #24221e 0%, #191b1e 52%, #111316 100%);
  border: 1px solid rgba(196, 165, 92, .34);
  box-shadow: 0 22px 50px rgba(0,0,0,.31), inset 0 1px 0 rgba(255,255,255,.035);
}
.theme-luxury .backup-glow { background: rgba(196, 165, 92, .17); }
.theme-luxury .backup-icon { color: #e3cb88; background: rgba(196,165,92,.13); }
.theme-luxury .backup-illustration { color: #ead89f; border-color: rgba(218,190,119,.3); background: rgba(196,165,92,.08); }
.theme-luxury .backup-illustration i {
  color: #17191c;
  background: #d7bd76;
  border-color: #191b1e;
}
.theme-luxury .backup-button {
  color: #e2c982;
  background: rgba(196, 165, 92, .045);
  border-color: #b99549;
}
.theme-luxury .backup-button:hover { color: #f2dda5; background: rgba(196, 165, 92, .12); border-color: #d4b96f; }
.theme-luxury .warning-box { border-color: rgba(196,165,92,.22); background: rgba(196,165,92,.065); }
.theme-luxury .warning-box strong { color: #e7ce88; }
.theme-luxury .tablet-section-head { border-color: #39342b; }
.theme-luxury .section-kicker { color: #d3b76d; }
.theme-luxury .network-badge { color: #e1cb8c; background: rgba(196,165,92,.11); border: 1px solid rgba(196,165,92,.2); }
.theme-luxury .network-badge i { background: #d2b66d; box-shadow: 0 0 0 4px rgba(196,165,92,.1); }
.theme-luxury .tablet-link-grid { background: #15181b; }
.theme-luxury .tablet-link-card {
  color: #efeadd;
  background: linear-gradient(145deg, #22252a, #1a1d21);
  border-color: #454035;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.theme-luxury .tablet-link-card:hover { border-color: #9b8047; box-shadow: 0 12px 26px rgba(0,0,0,.28); }
.theme-luxury .tablet-room-number {
  color: #17191c;
  background: linear-gradient(145deg, #ddc47e, #a98239);
  box-shadow: 0 8px 18px rgba(151,112,43,.24);
}
.theme-luxury .tablet-link-copy strong { color: #e7ddc7; }
.theme-luxury .tablet-link-arrow { color: #8d7950; }
.theme-luxury .tablet-link-card:hover .tablet-link-arrow { color: #dec47d; }
.theme-luxury .flash.success { color: #e7d6a2; background: rgba(158,126,57,.2); border: 1px solid rgba(196,165,92,.26); }
.theme-luxury .flash.error { color: #f0a9a9; background: rgba(151,55,55,.18); border: 1px solid rgba(206,101,101,.24); }
.theme-luxury .member-import-form input[type=file]::file-selector-button { color: #dfc780; background: #24221d; }
.theme-luxury .member-import-columns { border-color: #39342b; }
.theme-luxury .member-import-columns span { color: #c9bfaa; background: #15181b; border-color: #45423a; }
.theme-luxury .member-import-row-error { background: rgba(151,55,55,.1); }
.theme-luxury .member-import-row-error:hover { background: rgba(151,55,55,.15); }
.theme-luxury .import-result.ready, .theme-luxury .import-summary.ready { color: #e1c77d; background: rgba(196,165,92,.13); }
.theme-luxury .import-result.error, .theme-luxury .import-summary.error { color: #f0a9a9; background: rgba(151,55,55,.18); }
.theme-luxury .member-import-confirm { border-color: #39342b; }
.theme-luxury .admin-dialog {
  color: #f1eee6;
  background: linear-gradient(145deg, #202328, #191c20);
  border: 1px solid rgba(196, 165, 92, .3);
}
.theme-luxury .search-results button {
  color: #ece6d9;
  background: #1d2024;
  border-color: #454139;
}
.theme-luxury .search-results button:hover { color: #f6eedc; background: #27251f; border-color: #aa8d4b; }
.theme-luxury .search-results span { color: #aaa69c; }
.theme-luxury a:focus-visible,
.theme-luxury button:focus-visible,
.theme-luxury input:focus-visible,
.theme-luxury select:focus-visible,
.theme-luxury textarea:focus-visible {
  outline: 3px solid #d8bc73;
  outline-offset: 2px;
}

/* 로그인 */
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: radial-gradient(circle at top left, #365e80, var(--navy) 45%, #102538); }
.login-card { width: min(420px, 100%); background: white; border-radius: 20px; padding: 38px; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.login-logo { margin: 0 auto 20px; background: var(--navy); color: white; width: 58px; height: 58px; }
.login-card h1 { margin: 0; text-align: center; font-size: 23px; }
.login-card > p { text-align: center; margin: 8px 0 28px; color: var(--muted); }
.login-card form { display: grid; gap: 11px; }
.login-card small { display: block; margin-top: 18px; text-align: center; color: #8a969f; }

/* 다이얼로그 */
dialog { border: none; border-radius: 18px; box-shadow: 0 25px 80px rgba(12,32,49,.32); }
dialog::backdrop { background: rgba(9,22,32,.62); }
.admin-dialog { width: min(580px, calc(100% - 30px)); padding: 28px; }
.admin-dialog h2 { margin: 0 0 20px; }
.admin-dialog .form-grid { margin-top: 18px; }
.search-results { position: relative; display: grid; gap: 5px; margin-top: 6px; max-height: 230px; overflow: auto; }
.search-results button { border: 1px solid var(--line); background: white; border-radius: 9px; padding: 10px 12px; display: flex; justify-content: space-between; text-align: left; }
.search-results button:hover { border-color: var(--navy-2); background: #f7fafc; }
.search-results span { color: var(--muted); }

/* 태블릿 */
.tablet-body { min-height: 100vh; background: linear-gradient(135deg, #e7eef3, #f7fafc); padding: 18px; overflow-x: hidden; touch-action: manipulation; }
.tablet-shell { width: min(760px, 100%); min-height: calc(100vh - 36px); margin: 0 auto; display: flex; flex-direction: column; }
.tablet-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px 17px; }
.tablet-header h1 { margin: 3px 0 0; font-size: clamp(22px, 3.8vw, 34px); letter-spacing: -.04em; color: var(--navy); }
.eyebrow { color: var(--green-dark); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.room-badge { border: none; border-radius: 999px; background: var(--navy); color: white; font-size: clamp(16px,2.4vw,21px); font-weight: 900; padding: 13px 20px; box-shadow: var(--shadow); }
.room-badge.unset { background: var(--danger); animation: pulse 1.3s infinite; }
@keyframes pulse { 50% { transform: scale(1.04); } }
.checkin-panel, .result-panel { flex: 1; background: white; border-radius: 28px; box-shadow: 0 22px 60px rgba(23,50,77,.14); border: 1px solid white; padding: clamp(24px,4vw,44px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.golf-icon { font-size: clamp(44px,7vw,68px); line-height: 1; }
.checkin-panel h2, .result-panel h2 { margin: 12px 0 5px; font-size: clamp(29px,5vw,44px); color: var(--navy); letter-spacing: -.05em; }
.checkin-panel > p { margin: 4px 0 21px; color: var(--muted); font-size: clamp(15px,2.5vw,19px); }
.phone-display { width: min(570px, 100%); min-height: 82px; display: grid; place-items: center; background: #f2f6f8; border: 2px solid #d9e4ea; border-radius: 18px; font-size: clamp(34px,7vw,56px); font-weight: 900; letter-spacing: .04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.keypad { width: min(570px, 100%); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(8px,1.5vw,13px); margin: 18px 0; }
.keypad button { min-height: clamp(56px,9vh,76px); border: 1px solid #d7e1e7; background: white; color: var(--navy); border-radius: 16px; font-weight: 900; font-size: clamp(25px,4vw,34px); box-shadow: 0 4px 12px rgba(23,50,77,.05); }
.keypad button:active { transform: scale(.97); background: #edf4f7; }
.keypad .key-small { font-size: clamp(13px,2.2vw,18px); color: #5d6d79; }
.checkin-button { width: min(570px,100%); min-height: 70px; border: none; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; font-size: clamp(22px,4vw,31px); font-weight: 900; box-shadow: 0 12px 26px rgba(23,50,77,.25); }
.checkin-button:disabled { opacity: .65; }
.tablet-shell footer { text-align: center; color: #788792; font-size: 12px; padding: 16px 8px 0; }
.hidden { display: none !important; }
.result-panel { justify-content: center; }
.result-icon { width: clamp(100px,17vw,145px); height: clamp(100px,17vw,145px); border-radius: 50%; display: grid; place-items: center; color: white; font-size: clamp(60px,11vw,90px); font-weight: 900; margin-bottom: 12px; }
.result-panel.success .result-icon { background: var(--green); }
.result-panel.warning .result-icon { background: var(--warning); }
.result-panel.error .result-icon { background: var(--danger); }
.result-panel > p { margin: 10px 0; font-size: clamp(20px,3.5vw,29px); font-weight: 800; line-height: 1.45; }
.result-meta { min-height: 52px; color: var(--muted); font-size: clamp(14px,2.5vw,19px); margin: 8px 0 28px; }
.room-dialog { width: min(580px, calc(100% - 30px)); padding: clamp(24px,4vw,36px); text-align: center; }
.room-dialog h3 { margin: 0; color: var(--navy); font-size: 27px; }
.room-dialog p { color: var(--muted); }
.room-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 22px 0; }
.room-grid button { aspect-ratio: 1; border: none; border-radius: 16px; background: var(--navy); color: white; font-weight: 900; font-size: 17px; }
.dialog-close { border: none; background: #edf1f3; border-radius: 10px; padding: 11px 30px; font-weight: 800; }

/* 게임관리 */
.is-hidden { display: none !important; }
.game-live-panel { position: relative; overflow: hidden; padding: 0; }
.game-live-panel::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, #d8a746, transparent); }
.game-live-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.game-live-head h2, .today-games-head h2 { margin: 4px 0 0; font-size: clamp(21px, 2.2vw, 25px); letter-spacing: -.035em; }
.game-live-head p, .today-games-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.game-live-controls { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.meeting-room-settings-button { min-height: 38px; padding-inline: 13px; color: #e6bf5b !important; border-color: rgba(216,169,67,.55) !important; background: rgba(196,132,28,.09) !important; white-space: nowrap; }
.game-connection-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 12px; }
.game-connection-badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.game-connection-badge.is-live { color: #54cd85; border-color: rgba(71,191,133,.34); background: rgba(71,191,133,.1); }
.game-connection-badge.is-stale { color: #e5b35a; border-color: rgba(229,179,90,.36); background: rgba(229,179,90,.1); }
.game-connection-badge.is-unavailable { color: #e17c7c; border-color: rgba(225,124,124,.34); background: rgba(225,124,124,.1); }
.game-connection-badge.is-loading i { animation: game-pulse 1.25s ease-in-out infinite; }
.terminal-connection-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 11px; white-space: nowrap; }
.terminal-connection-badge i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.terminal-connection-badge.is-ready { color: #54cd85; border-color: rgba(71,191,133,.34); background: rgba(71,191,133,.1); }
.terminal-connection-badge.is-processing { color: #f0bd58; border-color: rgba(229,179,90,.42); background: rgba(229,179,90,.12); }
.terminal-connection-badge.is-connecting, .terminal-connection-badge.is-disconnected { color: #e5b35a; border-color: rgba(229,179,90,.36); background: rgba(229,179,90,.1); }
.terminal-connection-badge.is-error { color: #e17c7c; border-color: rgba(225,124,124,.34); background: rgba(225,124,124,.1); }
.terminal-connection-badge.is-connecting i, .terminal-connection-badge.is-processing i { animation: game-pulse 1.25s ease-in-out infinite; }
@keyframes game-pulse { 50% { opacity: .35; transform: scale(.72); } }
.game-summary { display: grid; grid-template-columns: repeat(3, minmax(120px, .72fr)) minmax(220px, 1.3fr); gap: 1px; border-bottom: 1px solid var(--line); background: rgba(196,165,92,.19); }
.game-summary > div { min-width: 0; padding: 14px 20px; background: rgba(18,21,23,.93); }
.game-summary span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; }
.game-summary strong { display: inline-block; margin-top: 6px; color: #e5b247; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.game-summary small { margin-left: 4px; color: var(--muted); font-size: 11px; }
.game-summary .game-last-update strong { display: block; font-size: 16px; }
.game-summary .game-last-update small { display: block; overflow: hidden; margin: 6px 0 0; text-overflow: ellipsis; white-space: nowrap; }
.live-room-grid { display: grid; grid-template-columns: repeat(6, minmax(178px, 1fr)); gap: 8px; padding: 10px; }
.live-room-card { min-width: 0; min-height: 430px; display: flex; flex-direction: column; padding: 12px; border: 1px solid rgba(202,143,38,.72); border-radius: 7px; background: linear-gradient(145deg, rgba(20,27,30,.97), rgba(11,18,21,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.room-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.room-card-head h3 { overflow: hidden; margin: 0; color: #f4f0e7; font-size: clamp(18px,1.45vw,23px); letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.room-head-actions { display: flex; align-items: center; gap: 6px; }
.room-attendance-button { min-height: 28px; padding: 4px 9px; border: 1px solid #c58a28; border-radius: 5px; color: #efb749; background: rgba(182,116,18,.13); font-size: 11px; font-weight: 900; }
.room-attendance-button:hover { color: #1a1710; background: #d39a38; }
.room-state-badge { min-width: 46px; padding: 5px 7px; border: 1px solid rgba(145,145,145,.2); border-radius: 5px; color: #aaa; background: rgba(130,130,130,.09); font-size: 10px; font-weight: 900; text-align: center; white-space: nowrap; }
.room-state-badge.is-playing, .room-state-badge.is-ending { color: #58c67d; border-color: rgba(71,191,133,.25); background: rgba(71,191,133,.12); }
.room-state-badge.is-idle { color: #e0a73e; border-color: rgba(196,165,92,.28); background: rgba(196,165,92,.1); }
.room-state-badge.is-error { color: #ed8282; }
.room-attendee-line { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 10px 0 8px; }
.room-attendee-count { min-width: 0; margin: 0; color: #aaa69c; font-size: 12px; }
.room-attendee-count strong { color: #f2eee3; }
.room-meeting-badge { min-width: 0; max-width: 112px; overflow: hidden; padding: 4px 7px; border: 1px solid rgba(145,145,145,.25); border-radius: 5px; color: #9c9992; background: rgba(130,130,130,.08); font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.room-meeting-badge:hover { border-color: rgba(218,177,79,.62); color: #efc965; }
.room-meeting-badge.is-club { color: #77bff0; border-color: rgba(75,159,214,.42); background: rgba(52,132,185,.12); }
.room-meeting-badge.is-age_5060 { color: #d3a4f0; border-color: rgba(166,102,205,.42); background: rgba(134,72,172,.12); }
.room-participants { min-height: 108px; display: grid; align-content: start; gap: 7px; margin-bottom: 10px; }
.room-empty-participants { margin: 8px 0; color: #726f68; font-size: 11px; line-height: 1.55; }
.game-participant { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 6px; padding: 6px 22px 6px 7px; border: 1px solid rgba(196,165,92,.1); border-radius: 6px; background: rgba(255,255,255,.018); }
.participant-identity { min-width: 0; }
.participant-identity strong, .participant-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.participant-identity strong { color: #f2eee4; font-size: 12px; }
.participant-identity small { margin-top: 2px; color: #aba79e; font-size: 10px; font-variant-numeric: tabular-nums; }
.participant-point-balance { display: inline-flex; width: fit-content; margin-top: 4px; padding: 2px 6px; border: 1px solid rgba(213,180,94,.27); border-radius: 999px; color: #e0be69; background: rgba(196,165,92,.08); font-size: 9px; font-weight: 900; font-variant-numeric: tabular-nums; }
.participant-inherited { display: inline-flex; margin-top: 4px; padding: 2px 5px; border: 1px solid rgba(207,174,93,.3); border-radius: 999px; color: #d9bd78; background: rgba(207,174,93,.08); font-size: 9px; line-height: 1.2; }
.hole-in-one-check { display: inline-flex; align-items: center; gap: 4px; color: #bdb8ad; font-size: 9px; white-space: nowrap; }
.hole-in-one-check input { width: 14px; height: 14px; margin: 0; accent-color: #d49b34; }
.hole-in-one-check span { margin: 0; color: inherit; font-size: inherit; }
.guest-pill { padding: 3px 5px; border-radius: 4px; color: #b9c4c9; background: rgba(92,120,132,.15); font-size: 9px; font-weight: 800; }
.participant-remove { position: absolute; top: 4px; right: 4px; width: 17px; height: 17px; padding: 0; border: 0; color: #777; background: transparent; font-size: 15px; line-height: 1; }
.participant-remove:hover { color: #e88484; }
.room-game-info { margin-top: auto; padding: 10px; border: 1px solid rgba(196,165,92,.26); border-radius: 6px; background: rgba(5,10,12,.38); }
.room-course { display: block; overflow: hidden; color: #e1b04c; font-size: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.room-course-meta { display: flex; justify-content: center; gap: 9px; margin: 9px 0; color: #b0aca3; font-size: 10px; }
.room-course-meta i { width: 1px; background: rgba(196,165,92,.3); }
.room-course-meta b { font-weight: 700; }
.room-game-info dl { display: grid; gap: 5px; margin: 0; padding-top: 8px; border-top: 1px solid rgba(196,165,92,.13); }
.room-game-info dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; }
.room-game-info dl .room-schedule-row { gap: 4px; font-size: 9px; }
.room-game-info dt { color: #99958d; }
.room-game-info dd { margin: 0; overflow: hidden; color: #d8d3c8; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.room-game-info [data-role="expected-end"] { color: #f0dfb9; font-variant-numeric: tabular-nums; }
.room-game-info [data-role="next-reservation"] { color: #e7bd5e; font-variant-numeric: tabular-nums; }
.room-auto-price { display: grid; gap: 3px; margin-top: 6px; padding: 9px 10px; border: 1px solid rgba(196,165,92,.25); border-radius: 6px; background: rgba(196,165,92,.055); text-align: center; }
.room-auto-price > span { color: #928e85; font-size: 9px; font-weight: 800; }
.room-auto-price > strong { color: #efc86b; font-size: 16px; font-variant-numeric: tabular-nums; }
.room-auto-price > small { overflow: hidden; color: #9e9a91; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.room-auto-price.is-no-charge > strong { color: #6dcc8c; }
.room-auto-price.is-pending > strong { color: #aaa69c; font-size: 13px; }
.room-auto-price.is-paid > strong { color: #66ce87; }
.room-action-stack { display: grid; gap: 5px; margin-top: 6px; }
.room-action-stack .button { min-height: 34px; padding: 7px; border-radius: 5px; font-size: 11px; }
.game-end-button { color: #ff5656 !important; border-color: #e33737 !important; background: rgba(101,16,16,.08) !important; }
.game-end-button:hover { background: rgba(169,31,31,.18) !important; }
.game-payment-button, .front-sale-form .button { color: #fff5d9 !important; border-color: #dfaa47 !important; background: linear-gradient(180deg,#d99d3b,#ad6b1e) !important; }
.practice-time-button { color: #f0b646 !important; border-color: #aa7824 !important; }
.front-sale-form { display: grid; gap: 14px; margin-top: 22px; }
.front-sale-form label span { margin-bottom: 6px; font-size: 11px; }
.front-card-note { margin: auto 0 6px; color: #8f8b83; font-size: 10px; line-height: 1.6; }
.front-prepaid-panel { display: grid; gap: 12px; margin-top: 14px; padding-top: 17px; border-top: 1px solid rgba(196,165,92,.24); }
.front-prepaid-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.front-prepaid-head h4 { margin: 3px 0 0; color: #eee5d3; font-size: 17px; }
.front-prepaid-head p { margin: 5px 0 0; color: #928d84; font-size: 9px; line-height: 1.45; }
.front-prepaid-limit { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(213,173,72,.38); border-radius: 999px; color: #e3bd61; background: rgba(196,165,92,.08); font-size: 8px; font-weight: 950; }
.front-prepaid-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.front-prepaid-search input { min-width: 0; }
.front-prepaid-search .button { min-width: 58px; }
.front-prepaid-results { max-height: 210px; display: grid; gap: 6px; overflow-y: auto; }
.front-prepaid-results:empty { display: none; }
.front-prepaid-results > p { margin: 4px 0; color: #969086; font-size: 10px; line-height: 1.5; }
.front-prepaid-result { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid rgba(196,165,92,.18); border-radius: 7px; color: #e6dfd2; background: rgba(255,255,255,.02); text-align: left; }
.front-prepaid-result:hover { border-color: rgba(222,177,70,.58); background: rgba(196,165,92,.08); }
.front-prepaid-result strong,.front-prepaid-result small,.front-prepaid-result b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.front-prepaid-result strong { font-size: 11px; }
.front-prepaid-result small { margin-top: 3px; color: #918c83; font-size: 9px; }
.front-prepaid-result b { color: #dfbd69; font-size: 9px; font-variant-numeric: tabular-nums; }
.front-prepaid-editor { display: grid; gap: 11px; }
.front-prepaid-member { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 11px; border: 1px solid rgba(196,165,92,.23); border-radius: 8px; background: rgba(5,9,11,.3); }
.front-prepaid-member > span { min-width: 0; }
.front-prepaid-member strong,.front-prepaid-member small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.front-prepaid-member strong { color: #efe6d4; font-size: 12px; }
.front-prepaid-member small { margin-top: 4px; color: #918b81; font-size: 9px; }
.front-prepaid-member button { flex: 0 0 auto; padding: 5px 7px; border: 1px solid rgba(196,165,92,.25); border-radius: 6px; color: #c9ae69; background: rgba(196,165,92,.06); font-size: 8px; font-weight: 900; }
.front-prepaid-balance { padding: 8px 10px; border-left: 3px solid #be8b28; border-radius: 5px; color: #d9c48c; background: rgba(156,104,22,.09); font-size: 9px; font-weight: 850; line-height: 1.5; }
.front-prepaid-field { display: grid; gap: 7px; }
.front-prepaid-field > strong { color: #b9b1a4; font-size: 9px; }
.front-prepaid-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.front-prepaid-methods > button { min-width: 0; min-height: 58px; display: grid; grid-template-columns: 25px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; column-gap: 8px; padding: 9px; border: 1px solid rgba(196,165,92,.2); border-radius: 8px; color: #ded7ca; background: linear-gradient(145deg,rgba(40,43,45,.9),rgba(23,26,28,.94)); text-align: left; }
.front-prepaid-methods > button:hover,.front-prepaid-methods > button.is-selected { border-color: #dcae43; background: linear-gradient(145deg,rgba(91,68,26,.52),rgba(35,31,24,.95)); box-shadow: 0 0 0 1px rgba(220,174,67,.12); }
.front-prepaid-methods i { grid-row: 1 / 3; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(218,181,89,.32); border-radius: 50%; color: #e1b956; background: rgba(196,165,92,.08); font-size: 11px; font-style: normal; font-weight: 950; }
.front-prepaid-methods b { min-width: 0; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.front-prepaid-methods small { min-width: 0; overflow: hidden; color: #a49d91; font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.front-prepaid-methods > button.is-selected small { color: #ebca78; }
.front-prepaid-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid rgba(196,165,92,.27); border-radius: 8px; background: rgba(7,10,12,.4); }
.front-prepaid-summary span,.front-prepaid-summary small { display: block; }
.front-prepaid-summary span { color: #e6dece; font-size: 10px; font-weight: 900; }
.front-prepaid-summary small { margin-top: 4px; color: #8f8980; font-size: 8px; line-height: 1.45; }
.front-prepaid-summary > strong { color: #efc45f; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.front-prepaid-note { margin: -2px 0 0; color: #8f8a82; font-size: 8px; line-height: 1.55; }
.front-prepaid-panel .button:disabled { cursor: not-allowed; opacity: .42; }
@media (max-width: 520px) {
  .front-prepaid-search { grid-template-columns: minmax(0,1fr) 52px; }
  .front-prepaid-methods { grid-template-columns: 1fr; }
  .front-prepaid-methods > button { min-height: 52px; }
  .front-prepaid-summary { grid-template-columns: 1fr; }
  .front-prepaid-summary > strong { font-size: 20px; }
}
.money-field { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; }
.money-field b { color: #c5bda9; font-size: 12px; }
.game-noscript { padding: 14px 22px; color: var(--danger); }
.room-payment-overview-panel { overflow: hidden; padding: 0; }
.room-payment-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px 17px; border-bottom: 1px solid rgba(196,165,92,.22); }
.room-payment-overview-head h2 { margin: 4px 0 0; font-size: clamp(21px,2.2vw,25px); letter-spacing: -.035em; }
.room-payment-overview-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.room-payment-overview-date { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(196,165,92,.28); border-radius: 6px; color: #d7b45c; background: rgba(196,165,92,.07); font-size: 10px; font-weight: 900; }
.room-payment-grid { display: grid; grid-template-columns: repeat(6,minmax(178px,1fr)); gap: 8px; padding: 10px; }
.room-payment-card { min-width: 0; min-height: 330px; display: flex; flex-direction: column; padding: 12px; border: 1px solid rgba(202,143,38,.72); border-radius: 7px; background: linear-gradient(145deg,rgba(20,27,30,.97),rgba(11,18,21,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.room-payment-card-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.room-payment-card-head h3 { overflow: hidden; margin: 0; color: #f4f0e7; font-size: clamp(18px,1.45vw,23px); letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.room-payment-overall { flex: 0 0 auto; max-width: 105px; overflow: hidden; padding: 5px 7px; border: 1px solid rgba(145,145,145,.24); border-radius: 5px; color: #aaa69c; background: rgba(130,130,130,.08); font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.room-payment-overall.is-paid { color: #67d088; border-color: rgba(67,178,101,.3); background: rgba(67,178,101,.11); }
.room-payment-overall.is-unpaid { color: #f0ae32; border-color: rgba(209,145,36,.38); background: rgba(209,145,36,.12); }
.room-payment-overall.is-pending, .room-payment-overall.is-loading { color: #b8b2a7; border-color: rgba(160,156,146,.27); background: rgba(160,156,146,.08); }
.room-payment-overall.is-empty { color: #817e77; }
.room-payment-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; margin: 10px 0 8px; border: 1px solid rgba(196,165,92,.18); border-radius: 6px; background: rgba(196,165,92,.16); }
.room-payment-totals span { min-width: 0; padding: 7px 3px; color: #8f8b83; background: rgba(6,10,12,.82); font-size: 8px; text-align: center; white-space: nowrap; }
.room-payment-totals b { margin-left: 2px; color: #ded7c9; font-size: 12px; }
.room-payment-totals .is-paid b { color: #65ca83; }
.room-payment-totals .is-unpaid b { color: #efab31; }
.room-payment-batch-tools { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 0 0 8px; padding: 7px; border: 1px solid rgba(196,165,92,.22); border-radius: 6px; background: rgba(5,8,10,.62); }
.room-payment-batch-tools small { flex: 0 0 auto; color: #c69c42; font-size: 8px; font-weight: 900; }
.room-payment-select-all { min-width: 0; display: flex; align-items: center; gap: 6px; padding: 0; border: 0; color: #bdb6a8; background: transparent; font-size: 9px; text-align: left; }
.room-payment-select-all span,
.room-payment-session-check { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(100,156,113,.5); border-radius: 5px; color: transparent; background: rgba(31,75,43,.24); font-size: 12px; font-weight: 900; }
.room-payment-select-all.is-selected { color: #f0eadf; }
.room-payment-select-all.is-selected span,
.room-payment-session-check.is-selected { color: #fff; border-color: #50b46c; background: linear-gradient(180deg,#4dbb6c,#278448); box-shadow: 0 0 0 1px rgba(72,190,105,.12); }
.room-payment-session-list { min-height: 0; display: grid; align-content: start; gap: 7px; overflow: auto; overflow-anchor: none; max-height: 360px; padding-right: 2px; scrollbar-color: rgba(196,165,92,.35) transparent; scrollbar-width: thin; }
.room-payment-empty { margin: auto 0; padding: 38px 8px; color: #716e68; font-size: 10px; line-height: 1.5; text-align: center; }
.room-payment-session { position: relative; min-width: 0; display: grid; gap: 5px; padding: 8px; border: 1px solid rgba(196,165,92,.14); border-left: 3px solid #77736b; border-radius: 6px; background: rgba(255,255,255,.02); }
.room-payment-session:has(.room-payment-session-check) { padding-left: 36px; }
.room-payment-session.is-batch-selected { border-color: #dca43a; border-left-color: #efb43f; background: linear-gradient(145deg,rgba(101,72,21,.2),rgba(24,26,27,.94)); box-shadow: inset 0 0 0 1px rgba(230,170,54,.1); }
.room-payment-session-check { position: absolute; top: 9px; left: 8px; padding: 0; cursor: pointer; }
.room-payment-session.is-paid { border-left-color: #54bd73; background: rgba(54,142,80,.055); }
.room-payment-session.is-unpaid { border-left-color: #e0a132; background: rgba(177,112,18,.075); }
.room-payment-session.is-partial { border-left-color: #65b9e4; background: rgba(48,128,170,.07); }
.room-payment-session.is-no-charge { border-left-color: #74ba87; }
.room-payment-session header, .room-payment-session > div { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.room-payment-session header > span:first-child { color: #bcb6aa; font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.room-payment-session .game-payment-status { max-width: 104px; overflow: hidden; padding: 3px 5px; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.room-payment-session > strong, .room-payment-session > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-payment-session > strong { color: #e8e2d5; font-size: 11px; }
.room-payment-session > small { color: #8f8b83; font-size: 9px; }
.room-payment-session > div { padding-top: 5px; border-top: 1px solid rgba(196,165,92,.1); }
.room-payment-session > div b { overflow: hidden; color: #c6bfae; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.room-payment-session.is-paid > div b, .room-payment-session.is-no-charge > div b { color: #69c986; }
.room-payment-session.is-unpaid > div b { color: #efb147; }
.room-payment-session.is-partial > div b { color: #77c9ef; }
.room-payment-pay-button { flex: 0 0 auto; min-height: 28px !important; padding: 4px 8px !important; color: #1a160e !important; border-color: #e0a83e !important; background: linear-gradient(180deg,#e1ae4b,#bb771e) !important; font-size: 9px !important; font-weight: 900 !important; }
.game-receipt-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
.game-receipt-action small { color: #8f8a7f; font-size: 9px; white-space: nowrap; }
.game-receipt-button { min-height: 30px !important; padding: 5px 9px !important; color: #efc568 !important; border-color: rgba(220,164,58,.72) !important; background: linear-gradient(180deg,rgba(101,72,21,.18),rgba(38,31,20,.52)) !important; font-size: 10px !important; font-weight: 900 !important; white-space: nowrap; }
.game-receipt-button:hover { color: #17130c !important; border-color: #efbd56 !important; background: linear-gradient(180deg,#efc66b,#c88b28) !important; }
.game-receipt-button:disabled { color: #9d978b !important; border-color: rgba(150,143,130,.3) !important; background: rgba(120,116,108,.12) !important; }
.room-payment-session .game-receipt-action { margin-left: auto; gap: 4px; }
.room-payment-session .game-receipt-action small { display: none; }
.room-payment-batch-submit { width: 100%; min-height: 36px; margin-top: 9px; padding: 7px 8px; color: #1b160c !important; border-color: #efb63d !important; background: linear-gradient(180deg,#efbd4d,#c9851f) !important; font-size: 10px; font-weight: 950; }
.room-payment-batch-submit:disabled { color: #878178 !important; border-color: rgba(145,137,121,.2) !important; background: rgba(120,115,105,.08) !important; opacity: 1; }
.today-games-panel { overflow: hidden; padding: 0; }
.today-games-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px 14px; border-bottom: 1px solid rgba(196,165,92,.22); }
.today-game-summary { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.today-game-summary span { min-width: 92px; padding: 8px 10px; border: 1px solid rgba(196,165,92,.27); border-radius: 5px; color: #aaa69c; background: rgba(0,0,0,.15); font-size: 11px; text-align: center; }
.today-game-summary b { margin-left: 4px; color: #e5ae40; font-size: 17px; }
.today-game-summary .is-paid b { color: #57c67b; }
.today-game-summary .is-unpaid b { color: #f0ae32; }
.today-games-panel .table-wrap { padding: 0 14px 14px; }
.today-game-table { min-width: 930px; }
.today-game-table th:first-child, .today-game-table td:first-child { min-width: 130px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.today-meeting-label { display: block; width: fit-content; margin-top: 5px; padding: 3px 6px; border: 1px solid rgba(91,161,207,.28); border-radius: 4px; color: #82c4ef; background: rgba(55,126,173,.1); font-size: 8px; font-weight: 900; white-space: nowrap; }
.today-attendees { display: flex; flex-wrap: wrap; gap: 4px; }
.today-attendees span { padding: 4px 7px; border-radius: 4px; color: #71ce8e; background: rgba(52,144,81,.13); font-size: 10px; }
.today-attendees span.is-guest { color: #b6c4c9; background: rgba(92,120,132,.15); }
.game-payment-status { display: inline-flex; padding: 5px 8px; border: 1px solid; border-radius: 5px; font-size: 10px; font-weight: 900; }
.game-payment-status.is-paid { color: #67d088; border-color: rgba(67,178,101,.3); background: rgba(67,178,101,.12); }
.game-payment-status.is-partial { color: #74c8f4; border-color: rgba(75,166,214,.38); background: rgba(50,134,180,.12); }
.game-payment-status.is-unpaid { color: #eba834; border-color: rgba(209,145,36,.35); background: rgba(209,145,36,.1); }
.game-payment-status.is-no-charge { color: #77c990; border-color: rgba(76,170,108,.28); background: rgba(76,170,108,.09); }
.game-payment-status.is-pending { color: #aaa69c; border-color: rgba(160,156,146,.25); background: rgba(160,156,146,.07); }
.game-dialog { width: min(480px, calc(100vw - 28px)); max-height: calc(100vh - 40px); overflow: auto; padding: 0; border: 1px solid rgba(196,165,92,.46); border-radius: 10px; color: #f0ece2; background: #11191d; box-shadow: 0 28px 80px rgba(0,0,0,.65); }
.game-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.game-dialog-card { position: relative; display: grid; gap: 13px; padding: 22px; }
.game-dialog-card h3 { margin: 0; font-size: 20px; }
.game-dialog-card > p { margin: -4px 0 0; color: #aaa69c; font-size: 12px; line-height: 1.55; }
.game-dialog-card > small { color: #817c72; font-size: 10px; line-height: 1.5; }
.meeting-room-dialog { width: min(780px,calc(100vw - 28px)); }
.meeting-room-card { gap: 14px; background: radial-gradient(circle at 50% -10%,rgba(196,165,92,.1),transparent 34%),linear-gradient(145deg,#1c2023,#111518); }
.meeting-room-setting-list { display: grid; gap: 8px; }
.meeting-room-setting-row { min-width: 0; display: grid; grid-template-columns: minmax(115px,.32fr) minmax(0,1fr); align-items: center; gap: 13px; padding: 11px 12px; border: 1px solid rgba(196,165,92,.18); border-radius: 8px; background: rgba(5,9,11,.32); transition: border-color .16s,background .16s; }
.meeting-room-setting-row.is-focus { border-color: rgba(226,179,66,.72); background: rgba(157,105,23,.11); box-shadow: 0 0 0 1px rgba(226,179,66,.12); }
.meeting-room-setting-row > div:first-child strong,
.meeting-room-setting-row > div:first-child small { display: block; }
.meeting-room-setting-row > div:first-child strong { color: #eee7d9; font-size: 12px; }
.meeting-room-setting-row > div:first-child small { margin-top: 5px; color: #bd9f54; font-size: 9px; font-weight: 900; }
.meeting-room-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.meeting-room-options button { min-width: 0; min-height: 38px; padding: 7px 5px; border: 1px solid rgba(196,165,92,.2); border-radius: 6px; color: #bdb6a9; background: rgba(255,255,255,.025); font-size: 9px; font-weight: 900; }
.meeting-room-options button:hover:not(:disabled),
.meeting-room-options button.is-selected { color: #17191c; border-color: #e3b64e; background: linear-gradient(145deg,#dfb650,#a86d1d); }
.meeting-room-options button:disabled:not(.is-selected) { cursor: not-allowed; opacity: .32; }
.meeting-room-setting-row.is-locked { border-style: dashed; }
.meeting-room-notice { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid rgba(207,145,40,.27); border-radius: 7px; color: #9d978d; background: rgba(160,104,20,.08); font-size: 9px; line-height: 1.5; }
.meeting-room-notice strong { color: #ddb54f; white-space: nowrap; }
.compact-dialog { max-width: 420px; }
.dialog-x { position: absolute; top: 10px; right: 11px; width: 30px; height: 30px; border: 0; color: #8e8b84; background: transparent; font-size: 23px; }
.member-search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.game-member-results { max-height: 230px; display: grid; gap: 6px; overflow-y: auto; }
.game-member-results > p { margin: 8px 0; color: #8f8b83; font-size: 12px; }
.game-member-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 9px; border: 1px solid rgba(196,165,92,.18); border-radius: 6px; }
.game-member-result strong, .game-member-result span { display: block; }
.game-member-result strong { font-size: 12px; }
.game-member-result span { margin-top: 3px; color: #a5a199; font-size: 10px; }
.game-member-result .member-result-points, .member-result-points { display: inline-flex; width: fit-content; margin-top: 5px; padding: 2px 6px; border: 1px solid rgba(213,180,94,.25); border-radius: 999px; color: #dfbd67; background: rgba(196,165,92,.07); font-size: 9px; font-weight: 900; font-variant-numeric: tabular-nums; }
.point-balance-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; padding: 5px 9px; border: 1px solid rgba(213,180,94,.32); border-radius: 999px; color: #e4c36f; background: linear-gradient(135deg,rgba(196,165,92,.12),rgba(196,165,92,.04)); font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.payment-method-dialog { width: min(700px,calc(100vw - 28px)); }
.payment-dialog-card { gap: 16px; padding: 27px; background: radial-gradient(circle at 50% 0,rgba(196,165,92,.07),transparent 32%); }
.payment-total-card { display: grid; justify-items: center; gap: 5px; padding: 18px; border: 1px solid rgba(211,173,80,.38); border-radius: 10px; background: linear-gradient(145deg,rgba(196,165,92,.105),rgba(9,14,16,.55)); text-align: center; }
.payment-total-card > span { color: #a8a297; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.payment-total-card > strong { color: #efc96f; font-size: clamp(27px,4vw,38px); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.payment-total-card > small { color: #8f8b83; font-size: 10px; line-height: 1.45; }
.payment-method-dialog .payment-method-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.payment-method-option { min-width: 0; min-height: 112px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 13px 9px; border: 1px solid rgba(196,165,92,.24); border-radius: 9px; color: #e9e3d6; background: linear-gradient(145deg,rgba(38,41,44,.92),rgba(22,25,28,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); text-align: center; transition: border-color .15s,background .15s,transform .15s; }
.payment-method-option:hover { border-color: rgba(224,189,101,.7); background: linear-gradient(145deg,rgba(54,50,39,.95),rgba(28,29,28,.96)); transform: translateY(-1px); }
.payment-method-option.is-selected { border-color: #e0bc61; background: linear-gradient(145deg,rgba(126,93,32,.5),rgba(42,36,25,.94)); box-shadow: 0 0 0 1px rgba(224,188,97,.22),inset 0 1px 0 rgba(255,255,255,.05); }
.payment-method-option:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.payment-method-option > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(218,181,89,.33); border-radius: 50%; color: #e2bd60; background: rgba(196,165,92,.08); font-size: 17px; font-style: normal; font-weight: 900; }
.payment-method-option > strong { font-size: 13px; }
.payment-method-option > small { min-height: 27px; color: #a8a197; font-size: 9px; line-height: 1.4; }
.payment-method-options .payment-method-option:nth-child(4), .payment-method-options .payment-method-option:nth-child(5) { grid-column: span 1; }
.payment-confirm-panel { display: grid; gap: 12px; padding: 14px; border: 1px solid rgba(196,165,92,.28); border-radius: 10px; background: rgba(7,12,14,.46); }
.payment-confirm-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px 14px; }
.payment-confirm-summary > span { color: #ded6c6; font-size: 12px; font-weight: 900; }
.payment-confirm-summary > strong { color: #efc76a; font-size: 20px; font-variant-numeric: tabular-nums; }
.payment-confirm-summary > small { grid-column: 1 / -1; color: #b5a577; font-size: 10px; line-height: 1.5; }
.point-payer-panel { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid rgba(196,165,92,.18); }
.point-payer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.point-payer-head strong { color: #e8e0d1; font-size: 11px; }
.point-payer-head span { color: #9d978d; font-size: 9px; }
.point-room-members, .point-front-search { display: grid; gap: 7px; }
.point-room-members > p { margin: 4px 0; color: #b19a67; font-size: 11px; }
.point-member-choice { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid rgba(196,165,92,.2); border-radius: 7px; color: #ddd6c8; background: rgba(255,255,255,.022); text-align: left; }
.point-member-choice span { min-width: 0; }
.point-member-choice strong, .point-member-choice small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.point-member-choice strong { font-size: 11px; }
.point-member-choice small { margin-top: 3px; color: #918d84; font-size: 9px; }
.point-member-choice b { flex: 0 0 auto; color: #e2bd62; font-size: 12px; font-variant-numeric: tabular-nums; }
.point-member-choice:hover:not(:disabled), .point-member-choice.is-selected { border-color: #d9b456; background: rgba(196,165,92,.12); }
.point-member-choice:disabled, .point-member-choice.is-disabled { cursor: not-allowed; opacity: .45; }
.point-payer-selected { margin: 0; padding: 8px 10px; border-radius: 6px; color: #cdb878; background: rgba(196,165,92,.07); font-size: 10px; line-height: 1.45; }
.payment-cancel-button { color: #aaa59a !important; background: transparent !important; }
.guest-add-form { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(196,165,92,.19); }
.dialog-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.practice-time-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.game-toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; max-width: min(520px,calc(100vw - 32px)); padding: 12px 18px; border: 1px solid rgba(196,165,92,.45); border-radius: 999px; color: #f4eedf; background: rgba(20,23,25,.96); box-shadow: 0 14px 45px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transform: translate(-50%,15px); transition: .2s; }
.game-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.game-toast.error { color: #ffb6b6; border-color: rgba(225,90,90,.45); }
.post-payment-departure-dialog { width: min(560px,calc(100vw - 28px)); border-color: rgba(62,190,126,.5); }
.post-payment-departure-card { gap: 16px; padding: 26px; }
.post-payment-departure-heading { display: flex; align-items: flex-start; gap: 13px; padding-right: 28px; }
.post-payment-departure-heading > i { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(62,190,126,.55); border-radius: 50%; color: #83e2b3; background: rgba(36,132,86,.18); font-style: normal; font-size: 21px; font-weight: 900; }
.post-payment-departure-heading h3 { margin: 0 0 6px; font-size: 23px; }
.post-payment-departure-heading p { margin: 0; color: #b7b3a9; font-size: 13px; line-height: 1.65; }
.post-payment-departure-members { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border: 1px solid rgba(196,165,92,.22); border-radius: 8px; background: rgba(5,10,12,.34); }
.post-payment-departure-members span { padding: 7px 11px; border: 1px solid rgba(196,165,92,.34); border-radius: 999px; color: #e8d8a8; background: rgba(154,113,27,.11); font-size: 12px; font-weight: 800; }
.post-payment-departure-notice { display: grid; gap: 3px; padding: 12px 14px; border-left: 3px solid #3c966c; color: #aaa79f; background: rgba(33,96,69,.11); font-size: 11px; line-height: 1.55; }
.post-payment-departure-notice strong { color: #9adbb9; font-size: 12px; }
.post-payment-departure-error { margin: 0; padding: 10px 12px; border: 1px solid rgba(225,90,90,.45); border-radius: 7px; color: #ffb6b6; background: rgba(120,24,24,.16); font-size: 12px; line-height: 1.55; }
.post-payment-departure-actions { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); }
.post-payment-departure-actions .button { min-height: 44px; }
.game-report-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 17px 19px; border: 1px solid rgba(196,165,92,.24); border-radius: 12px; background: rgba(27,30,34,.82); }
.game-report-toolbar > p { margin: 0; color: var(--muted); font-size: 12px; }
.game-report-filter { margin: 0; }
.game-report-stats { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }

/* 시재관리 */
.topbar-copy { min-width: 0; flex: 1; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.cash-date-chip { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 5px 7px 5px 12px; border: 1px solid rgba(196,165,92,.42); border-radius: 9px; background: rgba(17,19,21,.78); }
.cash-date-chip > span { color: #d7b75e; }
.cash-date-chip input { width: 148px; padding: 6px 7px; border: 0; background: transparent; }
.cash-date-chip button { min-height: 30px; padding: 5px 9px; border: 1px solid rgba(196,165,92,.35); border-radius: 6px; color: #d9c075; background: rgba(196,165,92,.08); font-size: 11px; font-weight: 900; }
.cash-open-status { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(196,165,92,.4); border-radius: 9px; color: #e8dcc0; background: rgba(17,19,21,.78); font-size: 12px; font-weight: 900; white-space: nowrap; }
.cash-open-status i { width: 8px; height: 8px; border-radius: 50%; background: #5dc477; box-shadow: 0 0 10px rgba(93,196,119,.55); }
.cash-open-status.is-closed i { background: #d4ac52; box-shadow: 0 0 10px rgba(212,172,82,.5); }
.cash-stat-grid, .cash-history-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 18px; }
.cash-stat-card { min-width: 0; min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 17px 19px; border: 1px solid rgba(196,165,92,.44); border-radius: 10px; background: radial-gradient(circle at 16% 16%,rgba(196,165,92,.07),transparent 42%),linear-gradient(145deg,#1d2023,#171a1d); box-shadow: 0 14px 34px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.025); }
.cash-stat-card > span { color: #ddd5c4; font-size: 12px; font-weight: 800; }
.cash-stat-card > strong { overflow: hidden; margin-top: 9px; color: #e0bd66; font-size: clamp(18px,1.65vw,25px); font-variant-numeric: tabular-nums; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.cash-stat-card > small { margin-top: 6px; overflow: hidden; color: #7f7c75; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.cash-stat-input { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px; margin-top: 6px; }
.cash-stat-input input { min-width: 0; width: 100%; padding: 5px 7px; border: 0; border-bottom: 1px solid rgba(196,165,92,.28); border-radius: 0; color: #e0bd66; background: transparent; font-size: clamp(18px,1.65vw,25px); font-weight: 900; text-align: right; }
.cash-stat-input b { color: #e0bd66; font-size: 15px; }
.cash-difference-card.is-negative strong, .cash-amount.is-expense { color: #f07468; }
.cash-difference-card.is-positive strong, .cash-amount.is-income { color: #66c983; }
.cash-main-grid { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(390px,.84fr); gap: 16px; align-items: stretch; }
.cash-main-grid > .panel { height: 100%; }
.cash-ledger-panel, .cash-count-panel, .cash-method-panel, .cash-check-panel, .cash-history-panel { overflow: hidden; padding: 0; }
.cash-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 19px 20px 15px; border-bottom: 1px solid rgba(196,165,92,.2); }
.cash-panel-head h2 { margin: 3px 0 0; font-size: 19px; }
.cash-panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.cash-ledger-tools { display: flex; align-items: center; gap: 12px; padding: 13px 15px; }
.cash-ledger-tools > input { flex: 1 1 200px; min-width: 150px; }
.cash-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cash-filter-chips button { min-height: 34px; padding: 6px 12px; border: 1px solid rgba(196,165,92,.26); border-radius: 7px; color: #b9b2a4; background: rgba(0,0,0,.12); font-size: 10px; font-weight: 900; }
.cash-filter-chips button.active, .cash-filter-chips button:hover { color: #181a1d; border-color: #d5b45e; background: linear-gradient(135deg,#e0c377,#ad8032); }
.cash-entry-table { min-width: 680px; }
.cash-row-note { display: block; max-width: 250px; margin-top: 3px; overflow: hidden; color: #77756f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.cash-category-badge, .cash-method-badge, .cash-source-badge, .cash-close-status, .cash-entry-voided, .cash-payment-completion, .cash-action-locked { display: inline-flex; padding: 4px 7px; border: 1px solid rgba(196,165,92,.2); border-radius: 5px; color: #c9bea3; background: rgba(196,165,92,.07); font-size: 9px; font-weight: 900; white-space: nowrap; }
.cash-category-badge.is-game { color: #e0c470; }
.cash-category-badge.is-expense, .cash-entry-voided { color: #ed8c83; border-color: rgba(220,89,79,.28); background: rgba(220,89,79,.08); }
.cash-entry-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.cash-entry-actions form { margin: 0; }
.cash-entry-actions .button.small { min-height: 28px; padding: 5px 8px; font-size: 9px; }
.cash-delete-button { border-color: rgba(224,84,75,.48) !important; background: rgba(130,31,28,.22) !important; }
.cash-category-badge.is-income { color: #6fce89; border-color: rgba(76,186,107,.25); background: rgba(76,186,107,.08); }
.cash-method-badge.is-cash { color: #e5c66f; }
.cash-method-badge.is-card { color: #83b7e7; border-color: rgba(78,142,204,.28); background: rgba(78,142,204,.08); }
.cash-method-badge.is-gongju_pay { color: #ca9fe7; border-color: rgba(159,97,199,.28); background: rgba(159,97,199,.08); }
.cash-method-badge.is-transfer { color: #78cbb9; border-color: rgba(69,173,151,.28); background: rgba(69,173,151,.08); }
.cash-method-badge.is-points { color: #e0bd65; border-color: rgba(211,170,71,.34); background: rgba(196,165,92,.1); }
.cash-method-badge.is-unspecified { color: #ef8e86; border-color: rgba(220,89,79,.3); background: rgba(220,89,79,.08); }
.cash-amount { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cash-amount.is-voided { color: #777; }
.cash-count-panel { display: flex; flex-direction: column; }
.cash-denomination-head, .cash-denomination-row { display: grid; grid-template-columns: minmax(100px,1fr) minmax(150px,.8fr) minmax(110px,.9fr); align-items: center; gap: 9px; }
.cash-denomination-head { padding: 12px 18px 9px; color: #a9a296; font-size: 10px; font-weight: 900; }
.cash-denomination-head span:nth-child(2), .cash-denomination-head span:nth-child(3) { text-align: right; }
.cash-denomination-list { padding: 0 14px; }
.cash-denomination-row { min-height: 43px; padding: 6px 4px; border-top: 1px solid rgba(196,165,92,.13); }
.cash-denomination-row > strong { color: #d8d1c1; font-size: 11px; }
.cash-denomination-row > b { color: #e1c16c; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.cash-stepper { justify-self: end; display: grid; grid-template-columns: 31px 58px 31px; overflow: hidden; border: 1px solid rgba(196,165,92,.25); border-radius: 6px; }
.cash-stepper button, .cash-stepper input { min-width: 0; width: 100%; height: 30px; padding: 0; border: 0; border-radius: 0; text-align: center; }
.cash-stepper button { color: #d7bd76; background: #1b1e21; font-weight: 900; }
.cash-stepper input { border-inline: 1px solid rgba(196,165,92,.2); background: #15181a; font-size: 11px; }
.cash-coin-row > span { color: #8e8a82; font-size: 9px; text-align: right; }
.cash-coin-row label { justify-self: end; display: grid; grid-template-columns: minmax(70px,1fr) auto; align-items: center; gap: 5px; }
.cash-coin-row input { width: 95px; padding: 6px 7px; text-align: right; }
.cash-coin-row label b { color: #e1c16c; font-size: 11px; }
.cash-count-total { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 15px 18px; border-top: 1px solid rgba(196,165,92,.28); color: #e1c16c; }
.cash-count-total span { font-size: 12px; font-weight: 900; }
.cash-count-total strong { font-size: 21px; font-variant-numeric: tabular-nums; }
.cash-bottom-grid { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: 16px; }
.cash-method-summary { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 11px 15px 16px; }
.cash-method-summary > div { min-width: 0; padding: 11px 13px; border-right: 1px solid rgba(196,165,92,.17); }
.cash-method-summary > div:last-child { border-right: 0; }
.cash-method-summary span, .cash-method-summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cash-method-summary span { color: #9e9a91; font-size: 10px; }
.cash-method-summary strong { margin-top: 7px; color: #e1bd64; font-size: 17px; }
.cash-flow-note { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px; border-top: 1px solid rgba(196,165,92,.16); color: #8f8b83; font-size: 10px; }
.cash-flow-note b { margin-left: 4px; color: #c7b485; }
.cash-check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; padding: 17px 20px 10px; }
.cash-check-item { display: flex; align-items: center; gap: 9px; }
.cash-check-item input { width: 18px; height: 18px; margin: 0; accent-color: #cba64d; }
.cash-check-item span { margin: 0; color: #d9d3c6; font-size: 11px; }
.cash-close-memo { display: block; padding: 8px 20px 17px; }
.cash-close-memo textarea { width: 100%; resize: vertical; }
.cash-page-actions { display: flex; justify-content: flex-end; gap: 12px; padding: 0 0 8px; }
.cash-page-actions .button { min-width: 180px; min-height: 45px; }
.cash-closed-note { padding: 12px 16px; border: 1px solid rgba(196,165,92,.23); border-radius: 8px; color: #c9b77f; background: rgba(196,165,92,.06); font-size: 11px; }
.cash-entry-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.payment-method-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.payment-method-options .button { min-height: 45px; }
.cash-history-toolbar { align-items: center; }
.cash-history-filter { flex: 1; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 9px; }
.cash-history-filter > input, .cash-history-filter > select { min-width: 130px; width: auto; }
.cash-history-stats { grid-template-columns: repeat(7,minmax(0,1fr)); }
.cash-history-stats .cash-stat-card { min-height: 100px; }
.cash-close-status.is-closed { color: #68ca84; border-color: rgba(70,180,101,.28); background: rgba(70,180,101,.08); }
.cash-close-status.is-open { color: #e5aa42; }
.cash-history-entry-table { min-width: 1040px; }
.cash-history-entry-table .cash-void-form { margin: 0; }
.cash-history-entry-table .button.small { min-height: 28px; padding: 5px 8px; font-size: 9px; white-space: nowrap; }
.toss-history-panel { margin-top: 16px; }
.toss-history-table { min-width: 980px; }
.toss-history-summary { display: grid; justify-items: end; gap: 4px; }
.toss-history-summary strong { color: #6dce86; font-size: 11px; }
.toss-history-summary span { color: #e2bc5d; font-size: 18px; font-weight: 900; }
.toss-history-scope-note { display: flex; align-items: center; gap: 10px; margin: 0 16px 12px; padding: 9px 11px; border: 1px solid rgba(92,160,207,.25); border-radius: 7px; color: #9fb4c2; background: rgba(53,118,163,.08); font-size: 9px; line-height: 1.5; }
.toss-history-scope-note strong { flex: 0 0 auto; color: #73b7e4; }
.terminal-history-status { display: inline-flex; padding: 4px 7px; border: 1px solid rgba(159,154,143,.28); border-radius: 5px; color: #bcb6aa; background: rgba(138,133,123,.08); font-size: 9px; font-weight: 900; }
.terminal-history-status.is-applied { color: #6dce86; border-color: rgba(83,184,108,.34); background: rgba(61,151,84,.12); }
.terminal-history-status.is-approved { color: #77bfe9; border-color: rgba(76,157,207,.34); background: rgba(53,127,174,.12); }
.terminal-history-status.is-pending,
.terminal-history-status.is-warning { color: #e2b852; border-color: rgba(210,161,46,.34); background: rgba(173,117,22,.11); }
.terminal-history-status.is-canceled { color: #e98f84; border-color: rgba(215,100,82,.34); background: rgba(165,65,50,.11); }
.terminal-history-detail { display: block; max-width: 260px; overflow: hidden; margin-top: 4px; color: #8f8a82; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.cash-payment-completion.is-complete { color: #68ca84; border-color: rgba(70,180,101,.3); background: rgba(70,180,101,.09); }
.cash-payment-completion.is-incomplete { color: #ed8c83; border-color: rgba(220,89,79,.3); background: rgba(220,89,79,.09); }
.cash-action-locked { color: #8d8981; border-color: rgba(141,137,129,.2); background: rgba(141,137,129,.06); }

/* 부가세 지출증빙 조회 · A4 출력 */
.vat-report-toolbar { align-items: center; }
.vat-report-filter { display: flex; align-items: flex-end; gap: 12px; }
.vat-print-button { min-width: 126px; color: #17191c; border-color: #e0bd65; background: linear-gradient(135deg,#e7ca7c,#b68431); font-weight: 900; }
.vat-source-note { display: flex; align-items: flex-start; gap: 12px; margin: -4px 0 16px; padding: 12px 15px; border: 1px solid rgba(85,156,207,.3); border-radius: 9px; color: #9fb6c6; background: rgba(46,109,153,.09); font-size: 10px; line-height: 1.6; }
.vat-source-note strong { flex: 0 0 auto; color: #78bae6; }
.vat-report-page { overflow: hidden; border: 1px solid rgba(196,165,92,.38); border-radius: 13px; background: linear-gradient(145deg,#1c1f22,#151719); box-shadow: 0 18px 48px rgba(0,0,0,.25); }
.vat-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 26px 20px; border-bottom: 1px solid rgba(196,165,92,.22); }
.vat-report-heading span { color: #caa855; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.vat-report-heading h2 { margin: 6px 0 5px; color: #f0dfb5; font-size: 23px; letter-spacing: -.035em; }
.vat-report-heading p { margin: 0; color: #aaa49a; font-size: 11px; }
.vat-report-heading dl { min-width: 245px; display: grid; gap: 7px; margin: 0; }
.vat-report-heading dl > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.vat-report-heading dt { color: #8c8982; font-size: 9px; }
.vat-report-heading dd { margin: 0; color: #d9d0bd; font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vat-report-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid rgba(196,165,92,.18); }
.vat-report-stats article { min-width: 0; padding: 16px 18px; border-right: 1px solid rgba(196,165,92,.16); }
.vat-report-stats article:last-child { border-right: 0; }
.vat-report-stats span, .vat-report-stats strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vat-report-stats span { color: #8f8b83; font-size: 9px; }
.vat-report-stats strong { margin-top: 7px; color: #e0bd65; font-size: 17px; font-variant-numeric: tabular-nums; }
.vat-report-stats .is-canceled strong { color: #e88d82; font-size: 14px; }
.vat-report-table { min-width: 1050px; }
.vat-report-table th { color: #c9b887; background: rgba(196,165,92,.06); }
.vat-report-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.vat-report-table td:nth-child(n+6):nth-child(-n+8) { text-align: right; }
.vat-approval-number { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .02em; }
.vat-status { display: inline-flex; padding: 4px 7px; border: 1px solid rgba(92,184,115,.32); border-radius: 5px; color: #70d08a; background: rgba(65,151,86,.1); font-size: 9px; font-weight: 900; }
.vat-status.is-canceled { color: #ea9085; border-color: rgba(215,100,82,.34); background: rgba(165,65,50,.11); }
.vat-status.is-pending { color: #78bde5; border-color: rgba(76,157,207,.34); background: rgba(53,127,174,.12); }
.vat-status.is-warning { color: #e2b852; border-color: rgba(210,161,46,.34); background: rgba(173,117,22,.11); }
.vat-canceled-row td { color: #77736d; text-decoration-color: rgba(220,100,87,.45); }
.vat-canceled-row td:nth-child(n+6):nth-child(-n+8) { text-decoration: line-through; }
.vat-report-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-top: 1px solid rgba(196,165,92,.18); color: #85817a; font-size: 9px; }
.vat-report-footer p { margin: 0; }
.vat-report-footer span { color: #bcae8a; font-weight: 800; white-space: nowrap; }


.qms-embed-panel { overflow: hidden; padding: 0; }
.qms-embed-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 23px 18px; border-bottom: 1px solid var(--line); }
.qms-embed-head h2 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.03em; }
.qms-embed-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.qms-official-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 13px; border: 1px solid #cfe7da; border-radius: 999px; background: #e8f6ef; color: var(--green-dark); font-size: 12px; font-weight: 900; }
.qms-official-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.qms-privacy-note { display: flex; align-items: center; gap: 11px; padding: 11px 23px; border-bottom: 1px solid var(--line); background: #f7f9fb; color: var(--muted); font-size: 12px; }
.qms-privacy-note strong { flex: 0 0 auto; color: var(--navy); }
.qms-frame-wrap { height: max(620px, calc(100vh - 250px)); background: white; }
.qms-frame { display: block; width: 100%; height: 100%; border: 0; background: white; }
.qms-error-card { min-height: 430px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 35px; text-align: center; }
.qms-error-card > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #efc9c9; border-radius: 50%; color: var(--danger); background: #fff8f8; font-size: 25px; font-weight: 900; }
.qms-error-card h3 { margin: 4px 0 0; }
.qms-error-card p { margin: 0 0 8px; color: var(--muted); }
.theme-luxury .qms-embed-head,
.theme-luxury .qms-privacy-note { border-color: rgba(196, 165, 92, .2); }
.theme-luxury .qms-official-badge { color: #dfc579; border-color: rgba(196, 165, 92, .34); background: rgba(196, 165, 92, .12); }
.theme-luxury .qms-privacy-note { background: #16191c; color: #aaa69c; }
.theme-luxury .qms-privacy-note strong { color: #ddc77f; }
.theme-luxury .qms-error-card > span { color: #ef9c9c; border-color: #754343; background: #261a1b; }

@media (max-width: 1050px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .settings-grid { grid-template-columns: 1fr; }
  .tablet-link-grid { grid-template-columns: repeat(3,1fr); }
  .game-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-rules-grid, .holiday-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .special-rate-grid { grid-template-columns: 1fr; }
  .training-rate-card { grid-template-columns: minmax(0,1fr) minmax(220px,.65fr); }
  .training-rate-card > .button { grid-column: 2; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: .2s; }
  .menu-open .sidebar { transform: translateX(0); }
  .main-content { overflow-x: hidden; margin-left: 0; width: 100%; padding: 22px 16px 50px; }
  .menu-button { display: block; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filter-form, .toolbar-actions { width: 100%; }
  .filter-form input[type=search], .filter-form input[type=month], .filter-form select { flex: 1; width: auto; min-width: 130px; }
  .member-import-form { grid-template-columns: 1fr; }
  .member-import-form .button { width: 100%; }
  .member-import-upload .panel-head, .member-import-preview .panel-head { align-items: stretch; flex-direction: column; }
  .member-import-upload .panel-head .button { width: 100%; }
  .import-summary { align-self: flex-start; }
  .member-import-confirm { flex-direction: column-reverse; }
  .member-import-confirm .button { width: 100%; }
  .attendance-section-head { align-items: flex-start; padding: 21px 18px 17px; }
  .attendance-overview-panel .table-wrap { padding: 0 15px 16px; }
  .attendance-section-title { margin-bottom: 14px; }
  .attendance-toolbar, .attendance-filter { align-items: stretch; }
  .attendance-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .5fr) auto; }
  .date-range-fields { grid-column: 1 / -1; width: 100%; }
  .date-range-fields label { flex: 1 1 0; min-width: 0; }
  .attendance-filter input[type=search], .attendance-filter select { width: 100%; min-width: 0; }
  .attendance-history-panel { padding: 14px; }
  .qms-embed-head { align-items: flex-start; padding: 18px 16px 15px; }
  .qms-privacy-note { align-items: flex-start; padding: 11px 16px; }
  .qms-frame-wrap { height: max(580px, calc(100vh - 235px)); }
  .game-live-head { align-items: flex-start; padding: 21px 18px 17px; }
  .game-summary > div { padding: 15px 17px; }
  .game-table-wrap { padding: 14px 14px 18px; }
  .game-status-table.responsive-list-table tbody td:last-child { grid-column: auto; }
  .game-status-table.responsive-list-table tbody td:nth-child(2) { grid-column: 1 / -1; }
  .game-status-table.responsive-list-table .game-state-cell { grid-template-columns: auto minmax(0,1fr); align-items: center; }
  .game-status-table.responsive-list-table .game-state-cell small { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .tablet-link-grid { grid-template-columns: repeat(2,1fr); }
  .responsive-list-table { display: block; min-width: 0; border-collapse: separate; }
  .responsive-list-table thead,
  .responsive-list-table tbody { display: block; width: 100%; }
  .responsive-list-table thead tr { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
  .responsive-list-table thead th { display: block; padding: 0; border: 0; background: transparent; }
  .responsive-list-table thead th:not(.sortable-header) { display: none; }
  .responsive-list-table .sort-button { width: auto; min-height: 34px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
  .responsive-list-table tbody { display: grid; gap: 12px; }
  .responsive-list-table tbody tr:not(.empty-row) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
  .responsive-list-table tbody tr:not(.empty-row):hover { background: var(--panel); }
  .responsive-list-table tbody td { min-width: 0; display: grid; grid-template-columns: minmax(76px, .72fr) minmax(0, 1fr); align-items: center; gap: 8px; padding: 11px 12px; overflow-wrap: anywhere; }
  .responsive-list-table tbody td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 800; text-decoration: none; }
  .responsive-list-table tbody td:last-child { grid-column: 1 / -1; }
  .responsive-list-table tbody td:last-child:empty { display: none; }
  .responsive-list-table .address-cell { max-width: none; white-space: normal; overflow-wrap: anywhere; }
  .responsive-list-table .rate-cell { min-width: 0; }
  .responsive-list-table .game-count-input, .responsive-list-table .course-name-input { width: 100%; max-width: 180px; }
  .responsive-list-table .record-game-control .game-count-input { width: 56px; }
  .responsive-list-table .attendance-actions { justify-content: flex-start; }
  .attendance-table.responsive-list-table thead { overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .attendance-table.responsive-list-table thead tr { width: max-content; min-width: 100%; flex-wrap: nowrap; }
  .responsive-list-table .empty-row { display: block; }
  .responsive-list-table .empty-row td { display: block; width: 100%; }
  .responsive-list-table .empty-row td::before { content: none; }
  .theme-luxury .responsive-list-table .sort-button { color: #c9bfaa; background: #1b1e22; border-color: #494235; }
  .theme-luxury .responsive-list-table tbody tr:not(.empty-row) { background: linear-gradient(145deg, #202328, #191c20); border-color: rgba(196, 165, 92, .24); }
  .theme-luxury .responsive-list-table tbody tr:not(.empty-row):hover { background: linear-gradient(145deg, #202328, #191c20); }
}
@media (max-width: 520px) {
  .stat-grid, .stat-grid.compact { grid-template-columns: 1fr; }
  .responsive-list-table tbody tr:not(.empty-row) { grid-template-columns: 1fr; }
  .responsive-list-table tbody td:last-child { grid-column: auto; }
  .attendance-section-head { flex-direction: column; }
  .attendance-count-badge { min-height: 34px; }
  .game-live-head { flex-direction: column; }
  .game-connection-badge { min-height: 34px; }
  .game-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-summary .game-last-update { grid-column: 1 / -1; }
  .game-status-table.responsive-list-table tbody td:nth-child(2) { grid-column: auto; }
  .game-status-table.responsive-list-table .game-state-cell { grid-template-columns: 1fr; }
  .attendance-filter { grid-template-columns: 1fr; }
  .date-range-fields { grid-column: auto; }
  .attendance-filter .button { width: 100%; }
  .tablet-body { padding: 8px; }
  .tablet-shell { min-height: calc(100vh - 16px); }
  .tablet-header { padding: 8px 4px 12px; }
  .checkin-panel, .result-panel { border-radius: 20px; padding: 18px 14px; }
  .phone-display { min-height: 66px; }
  .keypad { margin: 12px 0; }
  .room-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 1400px) {
  .live-room-grid, .room-payment-grid { grid-template-columns: repeat(3,minmax(200px,1fr)); }
}
@media (max-width: 1050px) {
  .live-room-grid, .room-payment-grid { grid-template-columns: repeat(2,minmax(210px,1fr)); }
  .game-report-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 760px) {
  .sidebar { width: min(290px,88vw); padding-top: max(14px,env(safe-area-inset-top)); padding-bottom: max(12px,env(safe-area-inset-bottom)); overflow: hidden; }
  .sidebar nav { overscroll-behavior: contain; }
  .sidebar nav .nav-link, .nav-group > summary, .sidebar-bottom a { min-height: 48px; }
  .sidebar nav .nav-submenu a { min-height: 44px; }
  .live-room-grid, .room-payment-grid { grid-template-columns: 1fr; padding: 8px; }
  .live-room-card { min-height: 0; }
  .room-payment-card { min-height: 0; }
  .room-payment-session-list { max-height: none; }
  .room-payment-overview-head { align-items: flex-start; flex-direction: column; padding: 18px 17px 15px; }
  .game-live-controls { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .meeting-room-setting-row { grid-template-columns: 1fr; }
  .meeting-room-options { grid-template-columns: 1fr; }
  .meeting-room-options button { min-height: 42px; }
  .meeting-room-notice { grid-template-columns: 1fr; }
  .game-participant { grid-template-columns: minmax(0,1fr) auto auto; }
  .today-games-head { align-items: flex-start; flex-direction: column; }
  .today-game-summary { width: 100%; justify-content: flex-start; }
  .today-game-summary span { flex: 1 1 120px; }
  .game-report-toolbar { align-items: stretch; flex-direction: column; }
  .game-report-filter { align-items: stretch; }
  .pricing-settings-head { align-items: flex-start; flex-direction: column; padding: 20px 17px 17px; }
  .special-rate-grid { grid-template-columns: 1fr; margin-inline: 14px; }
  .training-rate-card { grid-template-columns: 1fr; }
  .training-rate-card > .button { grid-column: auto; width: 100%; }
  .no-charge-note { align-items: flex-start; margin-inline: 14px; }
  .rate-rules-grid { grid-template-columns: 1fr; padding-inline: 14px; }
  .holiday-add-form { grid-template-columns: 1fr; padding-inline: 14px; }
  .holiday-list { grid-template-columns: 1fr; padding-inline: 14px; }
  .payment-dialog-card { padding: 21px 17px; }
  .payment-method-dialog .payment-method-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .payment-method-option { min-height: 102px; }
}
@media (max-width: 520px) {
  .game-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .game-summary .game-last-update { grid-column: 1 / -1; }
  .game-live-head { align-items: flex-start; flex-direction: column; }
  .game-connection-badge { min-height: 34px; }
  .game-report-stats { grid-template-columns: 1fr !important; }
  .practice-time-options { grid-template-columns: repeat(2,1fr); }
  .member-search-row { grid-template-columns: 1fr; }
}

@media (max-width: 1400px) {
  .cash-main-grid, .cash-bottom-grid { grid-template-columns: 1fr; }
  .cash-history-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1050px) {
  .cash-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cash-method-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; }
  .topbar-actions { width: 100%; justify-content: flex-start; margin-left: 0; padding-left: 42px; }
  .cash-topbar-actions { flex-wrap: wrap; }
  .cash-date-chip { flex: 1 1 230px; }
  .cash-date-chip input { flex: 1; width: 130px; }
  .cash-ledger-tools, .cash-panel-head, .cash-history-toolbar { align-items: stretch; flex-direction: column; }
  .cash-filter-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .cash-filter-chips button { flex: 0 0 auto; }
  .cash-entry-table { min-width: 0; }
  .cash-entry-table tbody td:last-child { grid-column: 1 / -1; }
  .cash-entry-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .cash-denomination-head, .cash-denomination-row { grid-template-columns: minmax(90px,1fr) minmax(126px,.9fr) minmax(90px,.8fr); }
  .cash-check-grid, .cash-entry-form-grid { grid-template-columns: 1fr; }
  .cash-entry-form-grid .span-2 { grid-column: auto; }
  .cash-page-actions { position: sticky; z-index: 8; bottom: 8px; padding: 10px; border: 1px solid rgba(196,165,92,.2); border-radius: 10px; background: rgba(17,19,21,.94); backdrop-filter: blur(8px); }
  .cash-page-actions .button { flex: 1; min-width: 0; }
  .cash-history-filter { align-items: stretch; }
  .cash-history-filter > input, .cash-history-filter > select, .cash-history-filter > .button { flex: 1 1 145px; width: 100%; }
}
@media (max-width: 520px) {
  .cash-stat-grid, .cash-history-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toss-history-summary { justify-items: start; }
  .toss-history-scope-note { align-items: flex-start; flex-direction: column; }
  .cash-stat-card { min-height: 98px; padding: 14px; }
  .cash-stat-card > strong, .cash-stat-input input { font-size: 17px; }
  .cash-denomination-head { display: none; }
  .cash-denomination-list { padding-top: 8px; }
  .cash-denomination-row { grid-template-columns: minmax(78px,.7fr) minmax(126px,1fr); }
  .cash-denomination-row > b { grid-column: 1 / -1; padding-right: 3px; }
  .cash-coin-row > span { display: none; }
  .cash-coin-row label { grid-column: 2; }
  .cash-method-summary { grid-template-columns: 1fr; }
  .cash-method-summary > div { border-right: 0; border-bottom: 1px solid rgba(196,165,92,.17); }
  .cash-method-summary > div:last-child { border-bottom: 0; }
  .cash-check-grid { grid-template-columns: 1fr; }
  .cash-page-actions { flex-direction: column; }
  .cash-page-actions .button { width: 100%; }
  .payment-method-dialog .payment-method-options { grid-template-columns: 1fr; }
  .payment-method-option { min-height: 88px; grid-template-columns: 36px minmax(0,1fr); grid-template-rows: auto auto; justify-items: start; padding-inline: 13px; text-align: left; }
  .payment-method-option > i { grid-row: 1 / 3; }
  .payment-method-option > small { min-height: 0; }
  .payment-confirm-summary { grid-template-columns: 1fr; }
  .payment-confirm-summary > strong, .payment-confirm-summary > small { grid-column: auto; }
}

/* 예약관리 */
#reservationBoard {
  --reservation-phone: #e1a52f;
  --reservation-phone-dark: #8d5f0d;
  --reservation-web: #3b9fe5;
  --reservation-web-dark: #145883;
  --reservation-live: #52d5a0;
  --reservation-live-soft: rgba(82,213,160,.13);
  --reservation-alert: #ef625b;
  --reservation-axis-width: 68px;
  --reservation-room-min: 150px;
  --reservation-slot-height: 92px;
  min-width: 0;
}
.reservation-page { min-width: 0; }
.reservation-topbar-actions { flex-wrap: wrap; }
.reservation-date-nav { display: inline-flex; min-height: 42px; overflow: hidden; border: 1px solid rgba(196,165,92,.34); border-radius: 8px; background: rgba(15,17,19,.82); }
.reservation-date-nav > button,
.reservation-date-nav > a { min-width: 43px; min-height: 40px; display: inline-grid; place-items: center; padding: 7px 11px; border: 0; border-right: 1px solid rgba(196,165,92,.22); color: #d7c28a; background: transparent; font-weight: 900; }
.reservation-date-nav > button:last-child,
.reservation-date-nav > a:last-child { border-right: 0; }
.reservation-date-nav > button:hover,
.reservation-date-nav > a:hover { color: #fff1c8; background: rgba(196,165,92,.12); }
#reservationDate { width: 166px; min-height: 40px; padding: 7px 10px; border: 0; border-radius: 0; color: #eee7d8; background: transparent; text-align: center; font-weight: 900; }
#reservationDate:focus { position: relative; z-index: 1; box-shadow: inset 0 0 0 2px #d8b75e; }
#reservationRefresh { min-height: 42px; }
#reservationSyncBadge { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(196,165,92,.24); border-radius: 8px; color: #aaa69c; background: rgba(15,17,19,.72); font-size: 11px; font-weight: 900; white-space: nowrap; }
#reservationSyncBadge::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
#reservationSyncBadge.is-live { color: #5ad68c; border-color: rgba(74,197,124,.3); background: rgba(54,143,89,.09); }
#reservationSyncBadge.is-stale { color: #deb45c; border-color: rgba(222,180,92,.3); background: rgba(174,123,31,.08); }
#reservationSyncBadge.is-error { color: #ed817a; border-color: rgba(224,92,84,.32); background: rgba(157,48,43,.09); }
#reservationSyncBadge.is-loading::before { animation: game-pulse 1.1s ease-in-out infinite; }
.reservation-legend { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 13px; margin: -8px 2px 12px; color: #a9a49a; font-size: 10px; font-weight: 800; }
.reservation-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.reservation-legend i { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 3px; background: #777; }
.reservation-legend .is-phone i { background: var(--reservation-phone); box-shadow: 0 0 8px rgba(225,165,47,.25); }
.reservation-legend .is-web i { background: var(--reservation-web); box-shadow: 0 0 8px rgba(59,159,229,.25); }
.reservation-legend .is-live i { height: 2px; border-radius: 0; background: var(--reservation-live); box-shadow: 0 0 8px rgba(82,213,160,.45); }
.reservation-legend .is-review i { border: 2px solid var(--reservation-alert); background: transparent; }
.reservation-workspace,
.reservation-layout { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.reservation-board-panel,
.reservation-timeline-panel { min-width: 0; overflow: hidden; padding: 0; }
.reservation-board-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px 13px; border-bottom: 1px solid rgba(196,165,92,.2); }
.reservation-board-head h2 { margin: 3px 0 0; font-size: 19px; }
.reservation-board-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.reservation-timeline { position: relative; max-width: 100%; height: clamp(560px,calc(100vh - 190px),980px); height: clamp(560px,calc(100dvh - 190px),980px); min-height: 560px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(196,165,92,.42) #15181a; background: #15181b; -webkit-overflow-scrolling: touch; }
.reservation-timeline-inner { width: max(100%,calc(var(--reservation-axis-width) + var(--reservation-room-count) * var(--reservation-room-min))); min-width: calc(var(--reservation-axis-width) + var(--reservation-room-count) * var(--reservation-room-min)); background: #15181b; }
.reservation-timeline-head,
.reservation-timeline-body { display: grid; grid-template-columns: var(--reservation-axis-width) repeat(var(--reservation-room-count),minmax(var(--reservation-room-min),1fr)); }
.reservation-timeline-head { position: sticky; z-index: 24; top: 0; min-height: 50px; border-bottom: 1px solid rgba(196,165,92,.35); background: rgba(20,23,25,.97); box-shadow: 0 7px 18px rgba(0,0,0,.2); }
.reservation-time-corner,
.reservation-room-header { min-width: 0; display: grid; place-items: center; padding: 10px 8px; border-right: 1px solid rgba(196,165,92,.22); color: #ece7dc; font-size: 12px; font-weight: 900; text-align: center; }
.reservation-time-corner { position: sticky; z-index: 27; left: 0; color: #99958d; background: #15181b; }
.reservation-room-header { background: linear-gradient(180deg,rgba(34,37,40,.98),rgba(23,26,28,.98)); }
.reservation-room-header:last-child { border-right: 0; }
.reservation-timeline-body { position: relative; height: calc(34 * var(--reservation-slot-height)); isolation: isolate; }
.reservation-time-axis { position: sticky; z-index: 14; left: 0; height: calc(34 * var(--reservation-slot-height)); border-right: 1px solid rgba(196,165,92,.26); background: #15181b; box-shadow: 6px 0 12px rgba(0,0,0,.12); }
.reservation-time-label { position: absolute; top: calc(var(--time-index) * var(--reservation-slot-height)); left: 0; width: 100%; padding-right: 10px; color: #99958d; font-size: 10px; font-variant-numeric: tabular-nums; text-align: right; transform: translateY(-50%); }
.reservation-time-label:first-child { transform: translateY(4px); }
.reservation-time-label:last-child { transform: translateY(calc(-100% - 4px)); }
.reservation-room-lane { position: relative; min-width: 0; height: calc(34 * var(--reservation-slot-height)); overflow: hidden; border-right: 1px solid rgba(196,165,92,.19); background: linear-gradient(180deg,rgba(255,255,255,.008),rgba(0,0,0,.035)); }
.reservation-room-lane:last-child { border-right: 0; }
.reservation-slot-grid { display: grid; grid-template-rows: repeat(34,var(--reservation-slot-height)); height: 100%; }
.reservation-slot { position: relative; z-index: 1; min-width: 0; min-height: var(--reservation-slot-height); padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; color: #7b715c; background: transparent; }
.reservation-slot:nth-child(even) { border-bottom-color: rgba(196,165,92,.23); }
.reservation-slot:hover { color: #d9b65c; background: rgba(196,165,92,.055); }
.reservation-slot:focus-visible { z-index: 10; outline: 2px solid #e2bd62; outline-offset: -3px; background: rgba(196,165,92,.08); }
.reservation-slot-hint { opacity: 0; font-size: 9px; font-weight: 900; transition: opacity .14s; }
.reservation-slot:hover .reservation-slot-hint,
.reservation-slot:focus-visible .reservation-slot-hint { opacity: 1; }
.reservation-hover-line { position: absolute; z-index: 6; top: calc(var(--hover-slot) * var(--reservation-slot-height)); left: 0; right: 0; height: 0; border-top: 1px solid #e3b33e; pointer-events: none; filter: drop-shadow(0 0 4px rgba(227,179,62,.35)); }
.reservation-hover-line[hidden] { display: none; }
.reservation-hover-label { position: absolute; top: -15px; left: 5px; min-width: 55px; padding: 3px 6px; border: 1px solid #d9aa38; border-radius: 5px; color: #ffd86d; background: #15181b; font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; text-align: center; }
.reservation-hover-action { position: absolute; top: -15px; min-height: 30px; display: grid; place-items: center; padding: 5px 8px; border: 1px dashed rgba(225,176,59,.72); border-radius: 5px; color: #efd181; background: rgba(45,38,23,.92); font-size: 9px; font-weight: 900; }
.reservation-now-line { position: absolute; z-index: 18; top: calc(var(--now-slot) * var(--reservation-slot-height)); left: 0; right: 0; height: 0; border-top: 2px solid #f05e57; pointer-events: none; filter: drop-shadow(0 0 4px rgba(240,94,87,.35)); }
.reservation-now-line::after { content: ""; position: absolute; top: -4px; left: calc(var(--reservation-axis-width) - 4px); width: 7px; height: 7px; border-radius: 50%; background: #f05e57; }
.reservation-now-label { position: absolute; top: -11px; left: 5px; min-width: 50px; color: #ff7069; background: #15181b; font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; text-align: right; }

.reservation-event { position: absolute; z-index: 7; top: calc(var(--event-start) * var(--reservation-slot-height) + 3px); height: max(34px,calc(var(--event-span) * var(--reservation-slot-height) - 6px)); display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 7px 22px 20px 9px; border: 1px solid; border-radius: 6px; color: #fff8e9; box-shadow: 0 6px 16px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.12); cursor: pointer; touch-action: none; transition: filter .15s,box-shadow .15s,transform .12s; }
.reservation-event.is-phone { border-color: #e7ac32; background: linear-gradient(145deg,rgba(165,111,12,.96),rgba(105,69,6,.96)); }
.reservation-event.is-web { border-color: #3da6eb; background: linear-gradient(145deg,rgba(23,104,158,.97),rgba(15,66,101,.97)); }
.reservation-event.is-web { touch-action: pan-x pan-y; }
.reservation-event.is-phone .reservation-event-meta { color: #ffd26f; }
.reservation-event.is-web .reservation-event-meta { color: #9fd6ff; }
.reservation-event.is-review { border: 2px solid var(--reservation-alert); box-shadow: 0 0 0 1px rgba(239,98,91,.25),0 8px 22px rgba(0,0,0,.28); }
.reservation-event.is-live-risk { border-color: var(--reservation-alert); box-shadow: 0 0 0 2px rgba(239,98,91,.35),0 9px 24px rgba(0,0,0,.33); }
.reservation-event:focus-visible { z-index: 20; outline: 3px solid #f3d98f; outline-offset: 2px; }
.reservation-event.is-phone[aria-label*="이동 가능"] { cursor: grab; }
.reservation-event.is-dragging { z-index: 40; cursor: grabbing; opacity: .9; filter: brightness(1.12); box-shadow: 0 20px 45px rgba(0,0,0,.55); transition: none; }
.reservation-event.is-resizing { z-index: 42; filter: brightness(1.12); box-shadow: 0 16px 38px rgba(0,0,0,.5); transition: none; }
.reservation-event.is-resize-conflict { border-color: var(--reservation-alert); box-shadow: 0 0 0 3px rgba(239,98,91,.42),0 15px 38px rgba(0,0,0,.45); }
.reservation-event-time,
.reservation-event-name,
.reservation-event-meta,
.reservation-event-phone { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reservation-event-time { color: #f9f4e9; font-size: 11px; font-weight: 900; font-variant-numeric: tabular-nums; }
.reservation-adjust-time { position: absolute; z-index: 25; top: 50%; left: 50%; display: none; min-width: max-content; padding: 5px 8px; border: 1px solid rgba(255,216,109,.88); border-radius: 6px; color: #fff0b8; background: rgba(18,20,22,.94); box-shadow: 0 4px 14px rgba(0,0,0,.42); font-size: 11px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; transform: translate(-50%,-50%); pointer-events: none; }
.reservation-event.is-dragging .reservation-adjust-time,
.reservation-event.is-resizing .reservation-adjust-time { display: block; }
.reservation-event.is-resizing .reservation-adjust-time { top: auto; bottom: 22px; transform: translateX(-50%); }
.reservation-event-name { margin-top: 3px; font-size: 12px; }
.reservation-event-meta { margin-top: 4px; font-size: 10px; font-weight: 900; }
.reservation-event-phone { margin-top: 4px; color: rgba(255,255,255,.74); font-size: 9px; }
.reservation-event-warning,
.reservation-live-risk-badge { position: absolute; z-index: 4; right: 4px; bottom: 20px; max-width: calc(100% - 8px); overflow: hidden; padding: 2px 5px; border: 1px solid #ef625b; border-radius: 3px; color: #ffd0cd; background: rgba(104,18,15,.9); font-size: 8px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.reservation-event-grip { position: absolute; right: 5px; top: 50%; color: rgba(255,245,218,.68); font-size: 14px; font-weight: 900; transform: translateY(-50%); }
.reservation-event-cancel { position: absolute; z-index: 8; top: 2px; right: 2px; width: 20px; height: 20px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: rgba(255,255,255,.76); background: rgba(0,0,0,.25); font-size: 15px; line-height: 1; }
.reservation-event-cancel:hover,
.reservation-event-cancel:focus-visible { color: white; background: #b63e38; outline: 2px solid white; }
.reservation-event-resize { position: absolute; z-index: 18; left: 0; right: 0; bottom: 0; width: 100%; height: 18px; display: block; padding: 0; border: 0; border-top: 1px solid rgba(255,255,255,.18); border-radius: 0 0 5px 5px; color: #fff0c7; background: rgba(0,0,0,.2); cursor: ns-resize; touch-action: none; }
.reservation-event.is-web .reservation-event-resize { color: #b9e4ff; background: rgba(2,32,53,.38); }
.reservation-event-resize::before { content: ""; position: absolute; left: 50%; top: 4px; width: 38px; height: 4px; border: 1px solid currentColor; border-radius: 99px; background: currentColor; box-shadow: 0 0 7px currentColor; opacity: .82; transform: translateX(-50%); }
.reservation-event-resize::after { content: "↕"; position: absolute; top: 0; right: 5px; color: currentColor; font-size: 12px; font-weight: 900; line-height: 16px; }
.reservation-event-resize:hover,
.reservation-event-resize:focus-visible { color: #fff; background: rgba(255,255,255,.13); outline: 2px solid currentColor; outline-offset: -2px; }
.reservation-event-resize:disabled { cursor: wait; opacity: .72; }
.reservation-room-lane.is-drop-target { background: rgba(225,187,95,.12); box-shadow: inset 0 0 0 3px #dfb957; }
.reservation-dragging,
.reservation-resizing { user-select: none; }

.reservation-live-block { position: absolute; z-index: 11; top: calc(var(--live-start) * var(--reservation-slot-height)); left: 2px; right: 2px; height: max(7px,calc(var(--live-span) * var(--reservation-slot-height))); border-bottom: 3px solid var(--reservation-live); background: repeating-linear-gradient(135deg,rgba(82,213,160,.12) 0 6px,rgba(82,213,160,.025) 6px 12px); box-shadow: 0 3px 9px rgba(82,213,160,.12); pointer-events: none; }
.reservation-live-block.is-stale { border-bottom-style: dashed; opacity: .68; filter: grayscale(.15); }
.reservation-live-label { position: absolute; right: 3px; bottom: 5px; width: calc(100% - 6px); max-height: 58px; display: grid; gap: 2px; overflow: hidden; padding: 4px 6px; border: 1px solid rgba(82,213,160,.55); border-radius: 4px; color: #a5f0cf; background: rgba(10,43,33,.96); box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.reservation-live-label strong,
.reservation-live-label small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reservation-live-label strong { color: #bdf8dd; font-size: 8px; font-weight: 900; }
.reservation-live-label small { color: #83dcb6; font-size: 7px; }
.reservation-live-label .reservation-live-participants { color: #e4f9ef; }
.reservation-room-lane.has-live-unknown::after { content: "게임 중 · 종료예정 확인 불가"; position: absolute; z-index: 12; top: 7px; left: 6px; right: 6px; padding: 5px 7px; border: 1px dashed rgba(235,172,70,.6); border-radius: 4px; color: #edc06f; background: rgba(79,54,13,.86); font-size: 8px; font-weight: 900; text-align: center; pointer-events: none; }

.reservation-unassigned { position: sticky; z-index: 25; left: 0; display: flex; align-items: center; gap: 12px; min-width: max-content; padding: 9px 12px; border-bottom: 1px solid rgba(239,98,91,.34); color: #f2a49e; background: rgba(57,25,25,.97); }
.reservation-unassigned > strong { flex: 0 0 auto; font-size: 10px; }
.reservation-unassigned-list { display: flex; gap: 7px; }
.reservation-unassigned-card { min-width: 150px; padding: 5px 8px; border: 1px solid rgba(239,98,91,.3); border-radius: 5px; background: rgba(255,255,255,.025); }
.reservation-unassigned-card b,
.reservation-unassigned-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reservation-unassigned-card b { color: #f4e7e5; font-size: 10px; }
.reservation-unassigned-card span { margin-top: 3px; color: #ccaaa6; font-size: 8px; }

.reservation-qms-panel { min-width: 0; overflow: hidden; padding: 0; }
.reservation-qms-head { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 13px; border-bottom: 1px solid rgba(196,165,92,.2); }
.reservation-qms-head h2 { margin: 3px 0 0; font-size: 19px; }
.reservation-qms-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.reservation-qms-frame-wrap { height: clamp(560px,calc(100vh - 190px),980px); height: clamp(560px,calc(100dvh - 190px),980px); min-height: 560px; background: #fff; }
.reservation-qms-frame { width: 100%; height: 100%; background: #fff; }
.reservation-qms-error { min-height: clamp(560px,calc(100vh - 190px),980px); min-height: clamp(560px,calc(100dvh - 190px),980px); }
.reservation-quick-panel { position: sticky; top: 15px; overflow: hidden; padding: 0; }
.reservation-quick-head { padding: 18px 18px 14px; border-bottom: 1px solid rgba(196,165,92,.2); }
.reservation-quick-head h2 { margin: 3px 0 0; font-size: 19px; }
.reservation-quick-head p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.reservation-source-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 13px 15px 0; }
.reservation-source-tabs button { min-height: 43px; border: 1px solid rgba(196,165,92,.25); border-radius: 7px; color: #aaa69c; background: rgba(255,255,255,.02); font-size: 11px; font-weight: 900; }
.reservation-source-tabs button.active,
.reservation-source-tabs button[aria-selected="true"] { color: #17191c; border-color: #e3b24e; background: linear-gradient(145deg,#e0aa42,#b9741b); box-shadow: inset 0 1px 0 rgba(255,255,255,.28); }
#quickReservationForm { display: block; padding: 0; }
#quickReservationForm label,
#quickReservationForm fieldset { min-width: 0; margin: 0; }
#quickReservationForm fieldset { padding: 0; border: 0; }
#quickReservationForm legend { margin-bottom: 7px; color: #ddd7ca; font-size: 12px; font-weight: 900; }
.reservation-dialog { width: min(760px,calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; border: 1px solid rgba(218,174,65,.55); border-radius: 13px; color: #eee8db; background: #16191c; box-shadow: 0 28px 85px rgba(0,0,0,.72); }
.reservation-dialog::backdrop { background: rgba(4,6,8,.72); backdrop-filter: blur(2px); }
.reservation-dialog-head { position: sticky; z-index: 12; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px 15px; border-bottom: 1px solid rgba(196,165,92,.24); background: rgba(22,25,28,.98); }
.reservation-dialog-head h2 { margin: 4px 0 0; font-size: 22px; }
.reservation-dialog-head p { margin: 6px 0 0; color: #aaa69c; font-size: 11px; }
.reservation-dialog-head-actions { display: flex; align-items: center; gap: 10px; }
#reservationDialogMode { padding: 6px 9px; border-radius: 999px; color: #e9bd52; background: rgba(196,165,92,.12); font-size: 9px; font-weight: 900; white-space: nowrap; }
.reservation-dialog-close { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; color: #aaa69c; background: transparent; font-size: 25px; line-height: 1; }
.reservation-dialog-close:hover { color: #fff; }
.reservation-dialog-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; padding: 17px 20px; }
.reservation-dialog-actions { position: sticky; z-index: 12; bottom: 0; display: grid; grid-template-columns: auto auto 1fr auto auto; gap: 9px; padding: 13px 20px; border-top: 1px solid rgba(196,165,92,.24); background: rgba(22,25,28,.98); }
.reservation-dialog-actions .button { min-height: 42px; }
.reservation-customer-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.reservation-customer-suggestions { display: grid; gap: 5px; margin-top: -5px; padding: 7px; border: 1px solid rgba(196,165,92,.34); border-radius: 8px; background: #111518; box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.reservation-customer-suggestions[hidden] { display: none; }
.reservation-customer-choice { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 9px; border: 1px solid rgba(196,165,92,.16); border-radius: 6px; color: #e9e2d5; background: #191d20; text-align: left; }
.reservation-customer-choice:hover,
.reservation-customer-choice:focus-visible { border-color: #d4a541; background: rgba(196,165,92,.1); outline: none; }
.reservation-customer-choice span { min-width: 0; }
.reservation-customer-choice strong,
.reservation-customer-choice small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reservation-customer-choice strong { font-size: 11px; }
.reservation-customer-choice small { margin-top: 3px; color: #9c978e; font-size: 9px; }
.reservation-customer-choice i { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: #6fb5e7; background: rgba(58,131,184,.14); font-size: 8px; font-style: normal; font-weight: 900; }
.reservation-customer-choice i.is-member { color: #e0b955; background: rgba(196,156,61,.14); }

.member-row-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.member-point-award-dialog form { width: min(460px,calc(100vw - 32px)); display: grid; gap: 15px; }
.member-point-award-dialog .dialog-heading h2 { margin: 4px 0; }
.member-point-award-dialog .dialog-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.member-point-award-dialog .dialog-heading b { color: #e3b349; }
.member-point-award-dialog label { display: grid; gap: 7px; }
.member-point-award-dialog label > span { color: #c9c2b4; font-size: 11px; font-weight: 900; }
.member-point-audit-note { color: #9c978e; font-size: 9px; line-height: 1.6; }
.reservation-game-options { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.reservation-game-options label { position: relative; }
.reservation-game-options input { position: absolute; opacity: 0; pointer-events: none; }
.reservation-game-options span { min-height: 42px; display: grid; place-items: center; padding: 7px 4px; border: 1px solid #4b473f; border-radius: 7px; color: #d4cec1; background: #171a1d; font-size: 11px; font-weight: 900; }
.reservation-game-options input:checked + span { color: #17191c; border-color: #e7b856; background: linear-gradient(145deg,#e5b34e,#bd7820); box-shadow: 0 7px 16px rgba(169,107,23,.2); }
.reservation-game-options input:focus-visible + span { outline: 2px solid #f0d28c; outline-offset: 2px; }
.reservation-participant-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; align-items: end; }
.reservation-participant-fields > small { grid-column: 1 / -1; color: #918c83; font-size: 9px; }
.reservation-participant-fields > label[hidden] { display: none; }
.reservation-party-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.reservation-party-options label { position: relative; min-width: 0; }
.reservation-party-options input { position: absolute; opacity: 0; pointer-events: none; }
.reservation-party-options span { min-height: 57px; display: grid; place-items: center; align-content: center; gap: 2px; margin: 0; padding: 7px 3px; border: 1px solid #4b473f; border-radius: 7px; color: #d4cec1; background: #171a1d; font-size: 12px; text-align: center; }
.reservation-party-options span small { color: #938f87; font-size: 9px; }
.reservation-party-options input:checked + span { color: #17191c; border-color: #e7b856; background: linear-gradient(145deg,#e5b34e,#bd7820); box-shadow: 0 7px 16px rgba(169,107,23,.2); }
.reservation-party-options input:checked + span small { color: #50330c; }
.reservation-party-options input:focus-visible + span { outline: 2px solid #f0d28c; outline-offset: 2px; }
.reservation-time-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.reservation-end-preview { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border: 1px solid #45423a; border-radius: 9px; color: #aaa69c; background: #15181b; font-size: 11px; }
#quickEndTime { color: #e8c66b; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
#quickAvailability { min-height: 43px; display: grid; place-items: center; padding: 9px 11px; border: 1px solid rgba(196,165,92,.25); border-radius: 7px; color: #bbb5a9; background: rgba(255,255,255,.025); font-size: 10px; font-weight: 900; line-height: 1.45; text-align: center; }
#quickAvailability.is-available { color: #63d58b; border-color: rgba(70,187,108,.42); background: rgba(49,139,78,.1); }
#quickAvailability.is-warning { color: #e2b760; border-color: rgba(211,157,55,.42); background: rgba(155,101,19,.1); }
#quickAvailability.is-conflict { color: #f08b85; border-color: rgba(225,79,70,.52); background: rgba(139,39,34,.12); }
.reservation-recommendation-title { margin: 1px 0 -5px; color: #aaa69c; font-size: 10px; font-weight: 900; }
#reservationRecommendations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.reservation-recommendation { min-width: 0; min-height: 66px; display: grid; align-content: center; gap: 3px; padding: 8px; border: 1px solid #4c4942; border-radius: 7px; color: #ded8cb; background: rgba(255,255,255,.018); text-align: center; }
.reservation-recommendation:hover { border-color: #a98a48; background: rgba(196,165,92,.07); }
.reservation-recommendation.is-best { border-color: #c89024; }
.reservation-recommendation small,
.reservation-recommendation strong,
.reservation-recommendation span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reservation-recommendation small { color: #d9a83f; font-size: 8px; }
.reservation-recommendation strong { color: #f3eee2; font-size: 12px; }
.reservation-recommendation span { color: #8f8b83; font-size: 8px; }
.reservation-no-recommendation { grid-column: 1 / -1; margin: 0; padding: 8px; color: #8f8b83; font-size: 9px; text-align: center; }
.reservation-dialog-body > #quickAvailability,
.reservation-dialog-body > .reservation-recommendation-title,
.reservation-dialog-body > #reservationRecommendations { grid-column: 1 / -1; }
#quickReservationForm button[type="submit"]:disabled { cursor: not-allowed; opacity: .48; filter: grayscale(.25); }

.reservation-summary-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 16px; overflow: hidden; border: 1px solid rgba(196,165,92,.24); border-radius: 9px; background: linear-gradient(145deg,#1c1f22,#171a1d); }
.reservation-summary-strip > div { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 62px; padding: 10px; border-right: 1px solid rgba(196,165,92,.17); color: #aaa69c; font-size: 11px; font-weight: 900; }
.reservation-summary-strip > div:last-child { border-right: 0; }
.reservation-summary-strip strong { color: #e4b344; font-size: 21px; font-variant-numeric: tabular-nums; }
.reservation-summary-strip .is-web strong,
#reservationWeb { color: #4caaf0; }
.reservation-summary-strip .is-review strong,
#reservationReview { color: #ef625b; }
.reservation-toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; max-width: min(520px,calc(100vw - 30px)); padding: 12px 18px; border: 1px solid rgba(196,165,92,.45); border-radius: 999px; color: #f4eedf; background: rgba(20,23,25,.97); box-shadow: 0 14px 45px rgba(0,0,0,.55); opacity: 0; pointer-events: none; transform: translate(-50%,15px); transition: opacity .2s,transform .2s; }
.reservation-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.reservation-toast.is-error { color: #ffb6b1; border-color: rgba(225,90,82,.52); }

@media (max-width: 1100px) {
  .reservation-workspace,
  .reservation-layout { grid-template-columns: 1fr; }
  .reservation-quick-panel { position: static; }
  .reservation-timeline { height: min(680px,calc(100vh - 240px)); }
  .reservation-qms-frame-wrap { height: 680px; }
}
@media (max-width: 760px) {
  #reservationBoard { --reservation-axis-width: 62px; --reservation-room-min: 142px; --reservation-slot-height: 92px; }
  .reservation-topbar-actions { width: 100%; justify-content: flex-start; overflow-x: auto; margin-left: 0; padding: 2px 0 4px; flex-wrap: nowrap; scrollbar-width: thin; }
  .reservation-date-nav,
  #reservationSyncBadge,
  #reservationRefresh { flex: 0 0 auto; }
  #reservationSyncBadge { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
  .reservation-legend { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .reservation-legend > span { flex: 0 0 auto; }
  .reservation-board-head { align-items: flex-start; flex-direction: column; padding: 15px; }
  .reservation-timeline { height: min(68vh,660px); min-height: 500px; }
  .reservation-timeline-inner { width: calc(var(--reservation-axis-width) + var(--reservation-room-count) * var(--reservation-room-min)); }
  .reservation-event { padding: 7px 19px 20px 7px; }
  .reservation-event-time { font-size: 10px; }
  .reservation-event-name { font-size: 11px; }
  .reservation-event-phone { display: none; }
  .reservation-live-label { width: calc(100% - 4px); }
  .reservation-dialog-body { grid-template-columns: 1fr; padding: 14px; }
  .reservation-dialog-body > .span-2,
  .reservation-dialog-body > fieldset,
  .reservation-dialog-body > #quickAvailability,
  .reservation-dialog-body > .reservation-recommendation-title,
  .reservation-dialog-body > #reservationRecommendations { grid-column: auto; }
  .reservation-customer-fields,
  .reservation-participant-fields { grid-template-columns: 1fr; }
  .reservation-participant-fields > small { grid-column: auto; }
  .reservation-game-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .reservation-dialog-actions { grid-template-columns: 1fr 1fr; }
  .reservation-dialog-actions > span { display: none; }
  .reservation-dialog-actions .button { width: 100%; }
  .reservation-source-tabs { padding-inline: 14px; }
  .reservation-summary-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reservation-summary-strip > div:nth-child(2) { border-right: 0; }
  .reservation-summary-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(196,165,92,.17); }
  .reservation-summary-strip > div { min-height: 55px; }
}
@media (max-width: 520px) {
  #reservationDate { width: 145px; }
  #reservationSyncBadge { max-width: 220px; }
  .reservation-party-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reservation-time-fields,
  #reservationRecommendations { grid-template-columns: 1fr; }
  .reservation-summary-strip strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .reservation-event,
  .reservation-slot-hint,
  .reservation-toast { transition: none; }
  #reservationSyncBadge.is-loading::before { animation: none; }
  .reservation-event-resize::before { box-shadow: none; }
}
@media (forced-colors: active) {
  .reservation-event,
  .reservation-live-block,
  #quickAvailability { forced-color-adjust: auto; }
  .reservation-now-line { border-color: Highlight; }
}

/* 문자관리: 차콜 & 뮤트 골드 */
.sms-page {
  --sms-gold: #d8b45d;
  --sms-gold-soft: rgba(196,165,92,.13);
  --sms-line: rgba(196,165,92,.24);
  --sms-surface: linear-gradient(145deg,#1e2125 0%,#181b1e 100%);
  --sms-success: #62cb85;
  --sms-info: #65afe8;
  --sms-danger: #ed817a;
  width: 100%;
  max-width: 1500px;
  min-width: 0;
}
.sms-tabs {
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(196,165,92,.35) transparent;
  -webkit-overflow-scrolling: touch;
}
.sms-tab {
  flex: 0 0 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid rgba(196,165,92,.2);
  border-radius: 9px;
  color: #aaa69c;
  background: rgba(255,255,255,.018);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  transition: color .16s,border-color .16s,background .16s,transform .16s;
}
.sms-tab:hover {
  color: #f2e8ce;
  border-color: rgba(216,180,93,.52);
  background: rgba(196,165,92,.08);
  transform: translateY(-1px);
}
.sms-tab.active,
.sms-tab[aria-current="page"],
.sms-tab[aria-selected="true"] {
  color: #17191c;
  border-color: #e2bb63;
  background: linear-gradient(145deg,#dfc374,#a97c2f);
  box-shadow: 0 8px 20px rgba(134,95,29,.24),inset 0 1px 0 rgba(255,255,255,.35);
}
.sms-tab:focus-visible {
  outline: 2px solid #efd58d;
  outline-offset: 2px;
}
.sms-tab-badge {
  min-width: 20px;
  min-height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 2px 6px;
  border: 1px solid rgba(196,165,92,.28);
  border-radius: 999px;
  color: #e8cf8a;
  background: rgba(196,165,92,.1);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}
.sms-tab.active .sms-tab-badge,
.sms-tab[aria-current="page"] .sms-tab-badge,
.sms-tab[aria-selected="true"] .sms-tab-badge {
  color: #3c2a0e;
  border-color: rgba(61,42,12,.2);
  background: rgba(255,255,255,.27);
}
.sms-connection-banner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid var(--sms-line);
  border-radius: 10px;
  color: #d8d1c3;
  background: linear-gradient(135deg,rgba(196,165,92,.09),rgba(255,255,255,.018));
  font-size: 12px;
  line-height: 1.5;
}
.sms-connection-banner::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8a44e;
  box-shadow: 0 0 11px rgba(200,164,78,.55);
}
.sms-connection-banner strong { color: #f1e9d8; }
.sms-connection-banner.is-offline {
  color: #dfaaa6;
  border-color: rgba(221,103,95,.34);
  background: rgba(116,38,34,.13);
}
.sms-connection-banner.is-offline::before {
  background: var(--sms-danger);
  box-shadow: 0 0 11px rgba(237,129,122,.52);
}
.sms-connection-banner.is-ready {
  color: #a9d7b7;
  border-color: rgba(80,191,116,.33);
  background: rgba(45,130,75,.11);
}
.sms-connection-banner.is-ready::before {
  background: var(--sms-success);
  box-shadow: 0 0 11px rgba(98,203,133,.52);
}
.sms-metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin-bottom: 17px;
}
.sms-metric {
  min-width: 0;
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 18px;
  border: 1px solid var(--sms-line);
  border-radius: 11px;
  background: radial-gradient(circle at 12% 8%,rgba(196,165,92,.08),transparent 48%),var(--sms-surface);
  box-shadow: 0 12px 30px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
.sms-metric > span,
.sms-metric > small { overflow: hidden; color: #938f87; text-overflow: ellipsis; white-space: nowrap; }
.sms-metric > span { font-size: 11px; font-weight: 900; }
.sms-metric > strong {
  overflow: hidden;
  margin-top: 9px;
  color: var(--sms-gold);
  font-size: clamp(22px,2.1vw,30px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sms-metric > small { margin-top: 5px; font-size: 9px; }
.sms-metric.is-danger > strong { color: var(--sms-danger); }
.sms-metric.is-info > strong { color: var(--sms-info); }
.sms-metric.is-success > strong { color: var(--sms-success); }
.sms-home-grid {
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(330px,.82fr);
  gap: 16px;
  align-items: start;
}
.sms-panel {
  min-width: 0;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--sms-line);
  border-radius: 11px;
  background: var(--sms-surface);
  box-shadow: 0 15px 36px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.022);
}
.sms-panel-head {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(196,165,92,.19);
}
.sms-panel-head h2,
.sms-panel-head h3 { margin: 0; color: #f2eee4; font-size: 18px; }
.sms-panel-head p { margin: 5px 0 0; color: #928e86; font-size: 10px; line-height: 1.45; }
.sms-template-group { display: grid; }
.sms-template-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 13px 17px;
  border-bottom: 1px solid rgba(196,165,92,.13);
}
.sms-template-row:last-child { border-bottom: 0; }
.sms-template-copy { min-width: 0; }
.sms-template-copy strong,
.sms-template-copy span,
.sms-template-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sms-template-copy strong { color: #e7dfd0; font-size: 12px; }
.sms-template-copy span { margin-top: 4px; color: #a8a298; font-size: 10px; }
.sms-template-copy small { margin-top: 4px; color: #77746e; font-size: 9px; }
.sms-template-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.sms-template-actions .button { min-height: 36px; padding: 7px 10px; }
.sms-toggle {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  display: inline-block;
  border: 1px solid #4b4943;
  border-radius: 999px;
  background: #111417;
  vertical-align: middle;
  transition: background .16s,border-color .16s;
}
.sms-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sms-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #74736f;
  box-shadow: 0 2px 7px rgba(0,0,0,.45);
  transition: transform .17s,background .17s;
}
.sms-toggle:has(input:checked),
.sms-toggle.is-on,
.sms-toggle[aria-pressed="true"] {
  border-color: #c69b43;
  background: rgba(196,165,92,.22);
}
.sms-toggle:has(input:checked)::after,
.sms-toggle.is-on::after,
.sms-toggle[aria-pressed="true"]::after {
  background: #e2bc62;
  transform: translateX(20px);
}
.sms-toggle:focus-within { outline: 2px solid #efd58d; outline-offset: 2px; }
.sms-campaign-form { display: grid; gap: 16px; }
.sms-campaign-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr);
  gap: 16px;
  align-items: start;
}
.sms-target-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(196,165,92,.2);
  border-radius: 9px;
  background: rgba(0,0,0,.14);
}
.sms-target-summary > div { min-width: 0; padding: 11px; border-radius: 7px; background: rgba(255,255,255,.025); }
.sms-target-summary span,
.sms-target-summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sms-target-summary span { color: #918d85; font-size: 9px; }
.sms-target-summary strong { margin-top: 6px; color: #dfbd67; font-size: 18px; font-variant-numeric: tabular-nums; }
.sms-message-composer { display: grid; gap: 10px; }
.sms-message-composer textarea { min-height: 190px; resize: vertical; line-height: 1.65; }
.sms-message-meta {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8e8a82;
  font-size: 10px;
}
.sms-count { color: #e0be68; font-weight: 900; font-variant-numeric: tabular-nums; }
.sms-phone-preview { display: grid; place-items: center; padding: 18px; }
.sms-phone-screen {
  width: min(300px,100%);
  min-height: 420px;
  overflow: hidden;
  padding: 21px 16px;
  border: 6px solid #090b0d;
  border-radius: 30px;
  color: #e9e4d9;
  background: linear-gradient(180deg,#22262a,#14171a);
  box-shadow: 0 24px 55px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.035);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.sms-send-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.sms-safety-strip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid rgba(221,172,73,.29);
  border-radius: 8px;
  color: #c8b67f;
  background: rgba(143,96,17,.09);
  font-size: 10px;
  line-height: 1.55;
}
.sms-safety-strip::before { content: "!"; flex: 0 0 auto; color: #edbf60; font-weight: 900; }
.sms-empty-state {
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  color: #85827c;
  text-align: center;
}
.sms-empty-state::before { content: "…"; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(196,165,92,.2); border-radius: 50%; color: #c5a654; background: rgba(196,165,92,.055); font-size: 22px; }
.sms-empty-state strong { color: #d5cdbd; font-size: 13px; }
.sms-empty-state p { max-width: 430px; margin: 0; font-size: 10px; line-height: 1.6; }
.sms-history-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sms-history-toolbar > form,
.sms-history-toolbar > div { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.sms-history-toolbar input,
.sms-history-toolbar select { min-width: 135px; width: auto; }
.sms-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid rgba(196,165,92,.22);
  border-radius: 999px;
  color: #cbbd97;
  background: rgba(196,165,92,.07);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.sms-status.is-queued,
.sms-status.is-sending { color: #e8bc61; border-color: rgba(218,166,56,.32); background: rgba(169,112,19,.1); }
.sms-status.is-sent,
.sms-status.is-delivered { color: var(--sms-success); border-color: rgba(80,190,116,.32); background: rgba(47,139,77,.1); }
.sms-status.is-received,
.sms-status.is-unread { color: #82c5f5; border-color: rgba(81,164,222,.34); background: rgba(45,110,158,.11); }
.sms-status.is-failed { color: var(--sms-danger); border-color: rgba(222,104,96,.34); background: rgba(130,40,35,.12); }
.sms-status.is-muted { color: #aaa69c; }
.sms-status.is-info,
.sms-status.is-warning { color: #e8bc61; border-color: rgba(218,166,56,.32); background: rgba(169,112,19,.1); }
.sms-status.is-success { color: var(--sms-success); border-color: rgba(80,190,116,.32); background: rgba(47,139,77,.1); }
.sms-status.is-danger { color: var(--sms-danger); border-color: rgba(222,104,96,.34); background: rgba(130,40,35,.12); }
.sms-page button:disabled,
.sms-page input:disabled,
.sms-page textarea:disabled,
.sms-page .sms-toggle:has(input:disabled) { opacity: .48; cursor: not-allowed; }
.sms-page .table-subtext { display: block; max-width: 440px; margin-top: 4px; color: #77746e; font-size: 9px; white-space: normal; }
.consent-option .checkbox-row { display: flex; align-items: center; gap: 9px; min-height: 42px; color: #d4cec1; }
.consent-option .checkbox-row input { width: 18px; height: 18px; accent-color: #d4ad51; }
.sms-template-settings-grid {
  display: grid;
  grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr);
  gap: 16px;
  align-items: start;
}
.sms-template-editor { display: grid; gap: 13px; padding: 17px; }
.sms-template-editor textarea { min-height: 230px; resize: vertical; line-height: 1.65; }
.sms-inbox-layout {
  display: grid;
  grid-template-columns: minmax(285px,350px) minmax(0,1fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--sms-line);
  border-radius: 11px;
  background: var(--sms-surface);
  box-shadow: 0 15px 36px rgba(0,0,0,.19);
}
.sms-inbox-list {
  min-width: 0;
  max-height: 720px;
  overflow-y: auto;
  border-right: 1px solid rgba(196,165,92,.18);
  background: rgba(10,12,14,.23);
  scrollbar-width: thin;
  scrollbar-color: rgba(196,165,92,.32) transparent;
}
.sms-inbox-item {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 5px 10px;
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid rgba(196,165,92,.12);
  color: #dcd5c8;
  background: transparent;
  text-align: left;
}
.sms-inbox-item:hover,
.sms-inbox-item.active,
.sms-inbox-item[aria-current="true"] { background: linear-gradient(90deg,rgba(196,165,92,.15),rgba(196,165,92,.035)); }
.sms-inbox-item.active,
.sms-inbox-item[aria-current="true"] { box-shadow: inset 3px 0 0 #d4ad51; }
.sms-inbox-item strong,
.sms-inbox-item span,
.sms-inbox-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sms-inbox-item strong { color: #eee7da; font-size: 12px; }
.sms-inbox-item time { color: #827f78; font-size: 9px; font-variant-numeric: tabular-nums; }
.sms-inbox-item span { grid-column: 1 / -1; color: #9d9990; font-size: 10px; }
.sms-inbox-item small { color: #77736c; font-size: 9px; }
.sms-inbox-item.is-unread strong::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #61baf4; box-shadow: 0 0 8px rgba(97,186,244,.48); }
.sms-conversation {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 80% 0,rgba(196,165,92,.055),transparent 30%);
}
.sms-conversation > header { padding: 16px 18px; border-bottom: 1px solid rgba(196,165,92,.17); }
.sms-conversation > header strong,
.sms-conversation > header span { display: block; }
.sms-conversation > header strong { color: #eee8dc; font-size: 14px; }
.sms-conversation > header span { margin-top: 4px; color: #8f8b83; font-size: 10px; }
.sms-conversation > main {
  flex: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 18px;
}
.sms-bubble {
  width: fit-content;
  max-width: min(72%,580px);
  padding: 10px 13px;
  border: 1px solid rgba(196,165,92,.19);
  border-radius: 13px;
  color: #e5dfd4;
  background: #24272b;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sms-bubble time { display: block; margin-top: 6px; color: #7c7973; font-size: 8px; text-align: right; }
.sms-bubble.is-inbound { align-self: flex-start; border-bottom-left-radius: 4px; }
.sms-bubble.is-outbound {
  align-self: flex-end;
  border-color: rgba(216,180,93,.4);
  border-bottom-right-radius: 4px;
  color: #1b1710;
  background: linear-gradient(145deg,#dfc374,#b2863d);
}
.sms-bubble.is-outbound time { color: rgba(40,29,12,.62); }
.sms-reply-box {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 9px;
  padding: 13px 15px;
  border-top: 1px solid rgba(196,165,92,.18);
  background: rgba(10,12,14,.46);
}
.sms-reply-box textarea { min-height: 44px; max-height: 130px; resize: vertical; }
.sms-reply-box .button { min-width: 82px; min-height: 44px; }
.sms-settings-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr);
  gap: 16px;
  align-items: start;
}
.sms-connection-checklist { display: grid; gap: 9px; padding: 16px 18px; }
.sms-connection-checklist > li,
.sms-connection-checklist > div {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(196,165,92,.15);
  border-radius: 7px;
  color: #b6b0a5;
  background: rgba(255,255,255,.018);
  font-size: 10px;
  list-style: none;
}
.sms-connection-checklist > li::before,
.sms-connection-checklist > div::before { content: "✓"; color: var(--sms-success); font-weight: 900; }
.sms-settings-note {
  margin: 14px 17px 17px;
  padding: 13px 14px;
  border: 1px solid rgba(104,165,210,.25);
  border-radius: 8px;
  color: #a8bdcc;
  background: rgba(51,108,151,.09);
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .sms-home-grid,
  .sms-campaign-grid,
  .sms-template-settings-grid,
  .sms-settings-grid,
  .sms-inbox-layout { grid-template-columns: 1fr; }
  .sms-inbox-layout { min-height: 0; }
  .sms-inbox-list { max-height: 340px; border-right: 0; border-bottom: 1px solid rgba(196,165,92,.18); }
}
@media (max-width: 760px) {
  .sms-tabs { flex-wrap: nowrap; gap: 5px; margin-inline: -2px; }
  .sms-tab { min-height: 44px; padding-inline: 13px; }
  .sms-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sms-template-row { grid-template-columns: minmax(0,1fr) auto; }
  .sms-template-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .sms-target-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sms-history-toolbar { align-items: stretch; flex-direction: column; }
  .sms-history-toolbar > form,
  .sms-history-toolbar > div { width: 100%; align-items: stretch; }
  .sms-history-toolbar input,
  .sms-history-toolbar select,
  .sms-history-toolbar .button { flex: 1 1 145px; width: 100%; min-height: 44px; }
  .sms-panel-head { align-items: flex-start; }
  .sms-inbox-item,
  .sms-connection-checklist > li,
  .sms-connection-checklist > div { min-height: 44px; }
  .sms-template-actions .button,
  .sms-campaign-form .button,
  .sms-send-options .button,
  .sms-reply-box .button { min-height: 44px; }
  .sms-bubble { max-width: 86%; }
}
@media (max-width: 520px) {
  .sms-tabs { margin-bottom: 14px; padding-bottom: 7px; }
  .sms-tab { min-height: 44px; padding-inline: 12px; font-size: 11px; }
  .sms-metrics,
  .sms-target-summary,
  .sms-send-options { grid-template-columns: 1fr; }
  .sms-metric { min-height: 92px; padding: 14px; }
  .sms-panel-head { min-height: 0; flex-direction: column; padding: 14px; }
  .sms-template-row { grid-template-columns: minmax(0,1fr) auto; padding-inline: 14px; }
  .sms-template-actions { width: 100%; }
  .sms-template-actions .button { flex: 1; }
  .sms-phone-preview { padding: 12px; }
  .sms-phone-screen { min-height: 360px; border-width: 5px; border-radius: 25px; }
  .sms-message-meta { align-items: flex-start; flex-direction: column; }
  .sms-inbox-list { max-height: 300px; }
  .sms-conversation > main { min-height: 260px; padding: 13px; }
  .sms-bubble { max-width: 92%; }
  .sms-reply-box { grid-template-columns: 1fr; }
  .sms-reply-box .button { width: 100%; }
}

/* 직원관리 · 직원 로그인 시재 게이트 */
.login-logo img { width: 100%; height: 100%; object-fit: contain; }
.sidebar-worker { display: block; padding: 5px 12px; color: #d6bd78; font-size: 10px; font-weight: 900; }
.theme-luxury .sidebar-bottom .nav-link.active {
  color: #17120a;
  border: 1px solid #e3bd5a;
  background: linear-gradient(180deg,#e6b84d,#b87b14);
  box-shadow: 0 8px 22px rgba(184,123,20,.22);
}
.employee-gate-body {
  min-height: 100vh;
  margin: 0;
  padding: 28px 18px 36px;
  color: #ece7dc;
  background:
    radial-gradient(circle at 50% 8%,rgba(192,145,55,.16),transparent 22%),
    radial-gradient(circle at 12% 8%,#1e3548 0,transparent 38%),
    linear-gradient(145deg,#101d28,#07111a 58%,#050b11);
}
.employee-gate-shell { width: min(880px,100%); margin: 0 auto; }
.employee-gate-brand { display: grid; justify-items: center; gap: 8px; margin-bottom: 14px; color: #d8b55e; }
.employee-gate-brand img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)); }
.employee-gate-brand strong { font-size: 15px; letter-spacing: -.02em; }
.employee-gate-card {
  border: 1px solid rgba(204,164,71,.48);
  border-radius: 15px;
  padding: 27px;
  background: linear-gradient(145deg,rgba(31,35,39,.98),rgba(15,18,21,.98));
  box-shadow: 0 28px 90px rgba(0,0,0,.46);
}
.employee-gate-heading { padding-bottom: 18px; border-bottom: 1px solid rgba(196,165,92,.24); }
.employee-gate-heading > span { color: #61c87b; font-size: 11px; font-weight: 900; }
.employee-gate-heading h1 { margin: 8px 0 5px; color: #f0d697; font-size: clamp(26px,4vw,34px); letter-spacing: -.045em; }
.employee-gate-heading p { margin: 0; color: #b5b0a5; font-size: 12px; line-height: 1.65; }
.employee-gate-person { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.employee-gate-person strong { color: #f2ead8; font-size: 14px; }
.employee-gate-person span { color: #a9a49a; font-size: 11px; }
.employee-gate-person i { margin-left: auto; padding: 5px 9px; border: 1px solid rgba(86,190,111,.36); border-radius: 6px; color: #68cf7f; background: rgba(65,159,87,.12); font-size: 10px; font-style: normal; font-weight: 900; }
.employee-profile-form,
.employee-edit-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 19px; }
.employee-profile-form label,
.employee-edit-form label,
.employee-create-form label,
.employee-payroll-card form label,
.employee-reveal-form label,
.employee-cash-memo { display: grid; gap: 7px; min-width: 0; }
.employee-profile-form label > span,
.employee-edit-form label > span,
.employee-create-form label > span,
.employee-payroll-card form label > span,
.employee-reveal-form label > span,
.employee-cash-memo > span { color: #c7c1b5; font-size: 11px; font-weight: 900; }
.employee-profile-form input,
.employee-edit-form input,
.employee-edit-form select,
.employee-create-form input,
.employee-payroll-card input,
.employee-payroll-card select,
.employee-reveal-form input,
.employee-cash-memo textarea {
  width: 100%; min-height: 44px; border: 1px solid rgba(196,165,92,.28); border-radius: 8px;
  color: #eee8dc; background: rgba(9,11,13,.66);
}
.employee-profile-form small,
.employee-edit-form small { color: #8e8a82; font-size: 9px; }
.employee-money-input { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.employee-money-input input { grid-area: 1/1/2/3; padding-right: 42px; }
.employee-money-input b { grid-area: 1/2; margin-right: 13px; color: #d9bd75; font-size: 11px; }
.employee-profile-security { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(70,139,190,.28); border-radius: 8px; color: #a9bdcb; background: rgba(38,91,132,.09); font-size: 10px; line-height: 1.55; }
.employee-profile-security strong { color: #7ab9e7; white-space: nowrap; }
.employee-profile-form .span-2,
.employee-edit-form .span-2 { grid-column: 1/-1; }
.employee-cash-form { display: grid; gap: 13px; }
.employee-cash-count { overflow: hidden; border: 1px solid rgba(196,165,92,.28); border-radius: 10px; background: rgba(9,11,13,.34); }
.employee-cash-count > header { padding: 15px 18px 12px; }
.employee-cash-count h2,
.employee-close-checks h2 { margin: 0 0 5px; color: #e6d5ad; font-size: 17px; }
.employee-cash-count p { margin: 0; color: #969189; font-size: 10px; }
.employee-cash-head,
.employee-cash-row { display: grid; grid-template-columns: minmax(150px,1fr) 180px minmax(130px,.8fr); align-items: center; gap: 12px; }
.employee-cash-head { min-height: 36px; padding: 0 18px; border-block: 1px solid rgba(196,165,92,.18); color: #d0c9bd; font-size: 10px; font-weight: 900; }
.employee-cash-head span:nth-child(2) { text-align: center; }
.employee-cash-head span:last-child { text-align: right; }
.employee-cash-row { min-height: 45px; padding: 5px 18px; border-bottom: 1px solid rgba(196,165,92,.13); }
.employee-cash-row strong { color: #ddd6c8; font-size: 11px; }
.employee-cash-row > b { color: #e8dfcf; font-size: 12px; text-align: right; }
.employee-cash-stepper { display: grid; grid-template-columns: 36px 1fr 36px; }
.employee-cash-stepper button,
.employee-cash-stepper input { min-height: 32px; border: 1px solid rgba(196,165,92,.28); border-radius: 0; color: #ede5d6; background: #111417; text-align: center; }
.employee-cash-stepper button:first-child { border-radius: 6px 0 0 6px; }
.employee-cash-stepper button:last-child { border-radius: 0 6px 6px 0; }
.employee-cash-stepper input { border-inline: 0; }
.employee-cash-coin > span { color: #98938a; font-size: 10px; text-align: center; }
.employee-cash-coin label { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.employee-cash-coin input { grid-area: 1/1/2/3; min-height: 34px; padding-right: 30px; border-color: rgba(196,165,92,.28); color: #eee5d5; background: #111417; text-align: right; }
.employee-cash-coin label b { grid-area: 1/2; margin-right: 10px; color: #c8b780; font-size: 10px; }
.employee-cash-total { min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 8px 18px; border-top: 1px solid rgba(213,174,77,.42); color: #d6b458; }
.employee-cash-total span { font-size: 13px; font-weight: 900; }
.employee-cash-total strong { font-size: 22px; }
.employee-cash-compare { min-height: 43px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; margin: 8px; padding: 8px 12px; border: 1px solid rgba(196,165,92,.16); border-radius: 7px; color: #aaa49a; font-size: 10px; }
.employee-cash-compare b { color: #ece4d6; font-size: 12px; }
.employee-cash-compare i { padding: 5px 8px; border-radius: 5px; color: #62ca7b; background: rgba(63,150,84,.14); font-style: normal; font-weight: 900; }
.employee-cash-compare i.is-different { color: #ff806f; background: rgba(207,69,50,.14); }
.employee-close-checks { padding: 14px 16px; border: 1px solid rgba(196,165,92,.24); border-radius: 9px; background: rgba(14,16,18,.46); }
.employee-close-checks > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.employee-close-checks label { min-height: 40px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid rgba(196,165,92,.15); border-radius: 7px; color: #bbb5a9; font-size: 10px; }
.employee-close-checks input { accent-color: #c9952d; }
.employee-gate-submit { min-height: 47px; font-size: 14px; }
.employee-gate-lock { margin: -3px 0 0; color: #88847d; font-size: 9px; text-align: center; }
.employee-handover-finished { min-height: 86px; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; padding: 17px; border: 1px solid rgba(91,194,116,.28); border-radius: 10px; background: rgba(54,144,76,.09); }
.employee-handover-finished > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #102116; background: #65c97c; font-size: 20px; font-weight: 1000; }
.employee-handover-finished strong { display: block; color: #e9e2d5; font-size: 15px; }
.employee-handover-finished p { margin: 5px 0 0; color: #9d988f; font-size: 10px; }
.employee-handover-finished.is-opening { border-color: rgba(196,165,92,.3); background: rgba(196,165,92,.08); }
.employee-handover-finished.is-opening > span { color: #1c1609; background: #ddb348; }
.employee-handover-wait,
.employee-handover-empty { margin: 13px 0 0; color: #979289; font-size: 10px; text-align: center; }
.employee-handover-dialog { width: min(510px,calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; padding: 0; border: 1px solid rgba(213,173,76,.52); border-radius: 14px; color: #eee7d9; background: #171a1d; box-shadow: 0 32px 90px rgba(0,0,0,.68); }
.employee-handover-dialog::backdrop { background: rgba(2,5,7,.78); backdrop-filter: blur(4px); }
.employee-handover-dialog-card { display: grid; gap: 17px; margin: 0; padding: 27px; text-align: center; }
.employee-handover-icon { width: 54px; height: 54px; display: grid; place-items: center; justify-self: center; border: 1px solid rgba(222,178,70,.48); border-radius: 50%; color: #f0c75e; background: radial-gradient(circle,rgba(208,158,42,.2),rgba(208,158,42,.05)); font-size: 23px; font-weight: 1000; }
.employee-handover-dialog-card small { color: #c9a344; font-size: 9px; font-weight: 1000; letter-spacing: .16em; }
.employee-handover-dialog-card h2 { margin: 7px 0 5px; color: #f2e4bf; font-size: clamp(22px,5vw,29px); letter-spacing: -.045em; }
.employee-handover-dialog-card > div > p { margin: 0; color: #aaa49a; font-size: 11px; line-height: 1.65; }
.employee-handover-choice { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.employee-handover-choice form { display: contents; }
.employee-handover-choice .button,
.employee-handover-actions .button { min-height: 47px; font-size: 13px; }
.employee-handover-write-dialog .employee-handover-dialog-card,
.employee-handover-read-dialog .employee-handover-dialog-card { text-align: left; }
.employee-handover-write-dialog .employee-handover-icon,
.employee-handover-read-dialog .employee-handover-icon { justify-self: start; }
.employee-handover-write-dialog label { display: grid; gap: 7px; }
.employee-handover-write-dialog label > span { color: #d4cab8; font-size: 11px; font-weight: 900; }
.employee-handover-write-dialog textarea { width: 100%; min-height: 150px; resize: vertical; border: 1px solid rgba(196,165,92,.34); border-radius: 9px; color: #f0e9dc; background: #0e1113; line-height: 1.65; }
.employee-handover-write-dialog label > small { justify-self: end; color: #8f8980; letter-spacing: 0; }
.employee-handover-write-dialog label > small b { color: #d7b55d; }
.employee-handover-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; }
.employee-handover-messages { display: grid; gap: 10px; max-height: min(42vh,360px); overflow: auto; }
.employee-handover-message { padding: 15px 16px; border: 1px solid rgba(196,165,92,.25); border-radius: 9px; background: rgba(8,10,12,.52); }
.employee-handover-message header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid rgba(196,165,92,.14); }
.employee-handover-message header strong { color: #e1bd63; font-size: 11px; }
.employee-handover-message header span { color: #858079; font-size: 9px; }
.employee-handover-message p { margin: 11px 0 0; color: #eee6d8; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.employee-logout-rule { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(196,165,92,.25); border-radius: 9px; background: rgba(6,8,10,.34); font-size: 9px; }
.employee-logout-rule strong { color: #d7c695; }
.employee-logout-rule span { padding: 7px 9px; border: 1px solid rgba(70,139,190,.25); border-radius: 6px; color: #8ec4ee; text-align: center; }
.employee-logout-rule span:nth-of-type(2) { border-color: rgba(196,165,92,.3); color: #dfb64f; }
.employee-logout-rule small { color: #8c8880; }
.employee-page { --employee-gold:#d2a23c; }
.employee-tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 14px; padding: 5px; border: 1px solid rgba(196,165,92,.2); border-radius: 9px; background: rgba(21,23,25,.76); }
.employee-tabs a { min-height: 41px; display: inline-flex; align-items: center; padding: 8px 19px; border-bottom: 2px solid transparent; color: #aaa59b; font-size: 11px; font-weight: 900; white-space: nowrap; }
.employee-tabs a.active { color: #e4b94f; border-bottom-color: #e4b94f; background: rgba(196,165,92,.05); }
.employee-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.employee-stat-grid article { min-height: 94px; display: grid; align-content: center; gap: 8px; padding: 16px 19px; border: 1px solid rgba(196,165,92,.2); border-radius: 9px; background: linear-gradient(145deg,#202326,#17191b); }
.employee-stat-grid span { color: #a8a39a; font-size: 10px; }
.employee-stat-grid strong { color: #65c879; font-size: clamp(18px,2vw,27px); }
.employee-stat-grid article:nth-child(2) strong { color: #65a9ed; }
.employee-stat-grid article:nth-child(3) strong { color: #ba83e1; }
.employee-stat-grid article.accent strong { color: #e2ae3d; }
.employee-panel { border-color: rgba(196,165,92,.2); background: linear-gradient(145deg,rgba(29,32,35,.98),rgba(20,22,24,.98)); }
.employee-panel td strong { display: block; color: #ece4d4; }
.employee-panel td small { display: block; margin-top: 4px; color: #8e8a82; font-size: 9px; }
.employee-status { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid rgba(100,185,119,.35); border-radius: 5px; color: #65cb7c; background: rgba(58,142,78,.12); font-size: 9px; font-style: normal; font-weight: 900; }
.employee-status.is-pending { color: #dcae45; border-color: rgba(220,174,69,.35); background: rgba(175,123,28,.12); }
.employee-status.is-disabled { color: #aeaaa2; border-color: rgba(160,156,148,.25); background: rgba(110,108,104,.1); }
.employee-status.is-working { color: #63cb79; box-shadow: 0 0 13px rgba(71,185,96,.12); }
.employee-wage-warning { color: #dfac47 !important; }
.employee-account-grid { display: grid; grid-template-columns: minmax(260px,.55fr) minmax(0,1.45fr); gap: 14px; }
.employee-create-form { display: grid; gap: 12px; padding: 4px 18px 19px; }
.employee-toolbar { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; padding: 9px 12px; border: 1px solid rgba(196,165,92,.18); border-radius: 8px; background: rgba(20,22,24,.72); }
.employee-toolbar form { display: flex; align-items: end; gap: 8px; }
.employee-toolbar label { display: grid; gap: 4px; color: #aaa59c; font-size: 9px; }
.employee-toolbar input { min-height: 38px; color: #e7dfd0; background: #16181a; border-color: rgba(196,165,92,.25); }
.employee-toolbar > span { color: #a19782; font-size: 9px; }
.employee-payroll-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.employee-payroll-card { padding: 17px; border: 1px solid rgba(196,165,92,.21); border-radius: 9px; background: linear-gradient(145deg,#202326,#151719); }
.employee-payroll-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.employee-payroll-card > header strong { display: block; color: #ece4d6; }
.employee-payroll-card > header span { color: #8e8981; font-size: 9px; }
.employee-payroll-card > header i { padding: 5px 8px; border-radius: 5px; color: #d6ac48; background: rgba(196,150,43,.13); font-size: 9px; font-style: normal; }
.employee-payroll-card > header i.is-paid { color: #64ca7b; background: rgba(59,150,80,.14); }
.employee-payroll-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 14px 0; }
.employee-payroll-metrics span { padding: 10px; border: 1px solid rgba(196,165,92,.12); border-radius: 6px; color: #8e8981; font-size: 8px; }
.employee-payroll-metrics b { display: block; margin-top: 5px; color: #ddd4c3; font-size: 11px; }
.employee-payroll-card form { display: grid; grid-template-columns: .7fr 1.3fr .8fr auto; align-items: end; gap: 8px; }
.employee-detail-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 14px; margin-bottom: 14px; }
.employee-private-panel { padding-bottom: 17px; border-color: rgba(196,165,92,.28); background: linear-gradient(145deg,rgba(38,33,23,.5),rgba(19,21,23,.96)); }
.employee-private-badge { padding: 5px 8px; border: 1px solid rgba(196,165,92,.35); border-radius: 5px; color: #d7ad49; font-size: 9px; font-weight: 900; }
.employee-private-panel dl { margin: 0 18px 15px; }
.employee-private-panel dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(196,165,92,.12); }
.employee-private-panel dt { color: #8f8a81; font-size: 9px; }
.employee-private-panel dd { margin: 0; color: #ded6c7; font-size: 11px; }
.employee-rrn-value { color: #edc867 !important; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .05em; }
.employee-reveal-form { display: grid; gap: 9px; margin: 0 18px; }
.employee-confirm-check { display: flex !important; align-items: center; grid-template-columns: none; }
.employee-confirm-check input { width: auto; min-height: 0; accent-color: #c9952d; }

@media (max-width: 1100px) {
  .employee-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .employee-account-grid,
  .employee-detail-grid { grid-template-columns: 1fr; }
  .employee-payroll-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .employee-gate-body { padding: 18px 10px 26px; }
  .employee-gate-brand img { width: 66px; height: 66px; }
  .employee-gate-card { padding: 18px 13px; }
  .employee-handover-dialog-card { padding: 22px 17px; }
  .employee-handover-choice,
  .employee-handover-actions { grid-template-columns: 1fr; }
  .employee-profile-form,
  .employee-edit-form { grid-template-columns: 1fr; }
  .employee-profile-form .span-2,
  .employee-edit-form .span-2 { grid-column: auto; }
  .employee-cash-head,
  .employee-cash-row { grid-template-columns: minmax(105px,1fr) 128px minmax(92px,.7fr); gap: 7px; padding-inline: 10px; }
  .employee-cash-stepper { grid-template-columns: 34px 1fr 34px; }
  .employee-logout-rule { grid-template-columns: 1fr; }
  .employee-logout-rule > * { text-align: center; }
  .employee-close-checks > div { grid-template-columns: 1fr; }
  .employee-toolbar { align-items: stretch; flex-direction: column; }
  .employee-toolbar form { align-items: stretch; flex-wrap: wrap; }
  .employee-toolbar form > * { flex: 1 1 130px; }
  .employee-payroll-card form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .employee-cash-head { display: none; }
  .employee-cash-row { grid-template-columns: 1fr 124px; }
  .employee-cash-row > b { grid-column: 1/-1; padding-bottom: 4px; color: #c9b16f; }
  .employee-cash-coin > span { text-align: left; }
  .employee-cash-coin label { grid-column: auto; }
  .employee-cash-compare { grid-template-columns: 1fr auto; gap: 8px; }
  .employee-cash-compare i { grid-column: 1/-1; text-align: center; }
  .employee-stat-grid { grid-template-columns: 1fr; }
  .employee-payroll-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* 회원·게스트 분할·복합 결제 */
.multi-game-payment-dialog { width: min(900px,calc(100vw - 24px)); max-height: calc(100vh - 24px); }
.multi-game-payment-card { gap: 16px; padding: 26px; background: radial-gradient(circle at 50% -12%,rgba(196,165,92,.12),transparent 34%),linear-gradient(145deg,#1a1e20,#101416); }
.multi-game-payment-title { padding: 0 42px; text-align: center; }
.multi-game-payment-title h3 { margin: 5px 0 8px; color: #f1ede5; font-size: clamp(25px,3.1vw,36px); letter-spacing: -.045em; }
.multi-game-payment-title > strong { display: block; color: #eeb33a; font-size: clamp(18px,2.4vw,27px); font-variant-numeric: tabular-nums; }
.multi-game-payment-title p { margin: 9px 0 0; color: #aaa49a; font-size: 12px; line-height: 1.55; }
.multi-game-group-list { display: grid; gap: 10px; max-height: min(540px,58vh); overflow-y: auto; padding-right: 2px; scrollbar-color: rgba(196,165,92,.36) transparent; scrollbar-width: thin; }
.multi-game-group { overflow: hidden; border: 1px solid rgba(196,165,92,.3); border-radius: 10px; background: rgba(11,15,17,.7); }
.multi-game-group.is-selected { border-color: rgba(216,170,65,.56); box-shadow: inset 0 0 0 1px rgba(216,170,65,.08); }
.multi-game-group-head,
.multi-game-line { width: 100%; display: grid; align-items: center; border: 0; text-align: left; }
.multi-game-group-head { grid-template-columns: auto minmax(0,1fr) auto auto; gap: 12px; min-height: 66px; padding: 12px 16px; color: #ebe5dc; background: linear-gradient(145deg,rgba(37,42,44,.94),rgba(19,23,25,.96)); }
.multi-game-group-head:hover { background: linear-gradient(145deg,rgba(48,51,51,.96),rgba(23,26,27,.98)); }
.multi-game-check { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(91,151,106,.55); border-radius: 6px; color: transparent; background: rgba(27,72,40,.28); font-size: 16px; font-weight: 950; }
.multi-game-group.is-selected > .multi-game-group-head .multi-game-check,
.multi-game-line.is-selected .multi-game-check { color: #fff; border-color: #4eb76a; background: linear-gradient(180deg,#4cbc6c,#288348); }
.multi-game-group-identity { min-width: 0; display: flex; align-items: center; gap: 9px; }
.multi-game-group-identity strong { overflow: hidden; font-size: 18px; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }
.multi-game-group-identity i { flex: 0 0 auto; padding: 4px 8px; border: 1px solid rgba(57,147,82,.32); border-radius: 999px; color: #70d08a; background: rgba(42,139,69,.16); font-size: 9px; font-style: normal; font-weight: 900; }
.multi-game-group-head > b { color: #edb13b; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.multi-game-expand { color: #ddd8ce; font-size: 18px; }
.multi-game-line-list { padding: 0 14px 12px; background: rgba(5,8,10,.4); }
.multi-game-line { grid-template-columns: auto minmax(0,1fr) auto; gap: 11px; min-height: 52px; padding: 9px 12px; border: 1px solid rgba(196,165,92,.13); border-radius: 7px; color: #aaa69f; background: rgba(255,255,255,.025); }
.multi-game-line + .multi-game-line { margin-top: 5px; }
.multi-game-line.is-selected { color: #d8d2c8; border-color: rgba(196,165,92,.28); background: linear-gradient(145deg,rgba(48,52,53,.68),rgba(28,31,32,.82)); }
.multi-game-line .multi-game-check { width: 24px; height: 24px; font-size: 13px; }
.multi-game-line > span:nth-child(2) { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.multi-game-line > b { color: #e5ddd0; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.multi-game-payment-empty { margin: 0; padding: 30px 12px; border: 1px dashed rgba(196,165,92,.24); border-radius: 9px; color: #938e85; text-align: center; }
.multi-game-payment-footer { display: grid; grid-template-columns: minmax(120px,.45fr) minmax(260px,1fr); gap: 10px; }
.multi-game-payment-footer .button { min-height: 54px; font-size: 16px; font-weight: 950; }
.multi-game-payment-footer .button.primary { color: #19140a !important; border-color: #f1bb3c !important; background: linear-gradient(180deg,#efbc45,#cf8b20) !important; }
.multi-game-payment-footer .button.primary:disabled { color: #817b70 !important; border-color: rgba(140,134,123,.22) !important; background: rgba(130,125,115,.08) !important; }
.payment-method-option:disabled { cursor: not-allowed; filter: grayscale(.75); opacity: .34; }

.split-payment-dialog { width: min(1120px,calc(100vw - 24px)); max-height: calc(100vh - 24px); }
.split-payment-card { gap: 14px; padding: 24px; background: radial-gradient(circle at 48% -8%,rgba(196,165,92,.1),transparent 32%),linear-gradient(145deg,#1a1d20,#111417); }
.split-payment-title { padding-right: 38px; text-align: center; }
.split-payment-title h3 { margin-top: 4px; font-size: clamp(23px,2.6vw,32px); }
.split-payment-title p { margin: 7px 0 0; color: #aaa59a; font-size: 11px; }
.split-payment-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid rgba(196,165,92,.36); border-radius: 10px; background: rgba(7,10,12,.38); }
.split-payment-totals > div { min-width: 0; display: grid; place-items: center; gap: 5px; padding: 13px 10px; border-right: 1px solid rgba(196,165,92,.2); text-align: center; }
.split-payment-totals > div:last-child { border-right: 0; }
.split-payment-totals span { color: #9d988f; font-size: 9px; font-weight: 900; }
.split-payment-totals strong { color: #e7dfd0; font-size: clamp(18px,2.5vw,27px); font-variant-numeric: tabular-nums; }
.split-payment-totals .is-remaining strong { color: #efbd4d; }
.split-payment-layout { min-height: 510px; display: grid; grid-template-columns: minmax(330px,.8fr) minmax(470px,1.2fr); gap: 12px; }
.split-participant-panel,
.split-editor-panel { min-width: 0; border: 1px solid rgba(196,165,92,.24); border-radius: 10px; background: rgba(13,16,18,.7); }
.split-participant-panel { display: flex; flex-direction: column; padding: 14px; }
.split-participant-panel > header,
.split-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.split-participant-panel h4,
.split-editor-head h4 { margin: 0; color: #ece5d7; font-size: 16px; }
.split-participant-panel > header small { color: #c8ad66; font-size: 10px; font-weight: 900; }
.split-selection-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.split-selection-actions button { min-height: 30px; padding: 6px 9px; border: 1px solid rgba(196,165,92,.3); border-radius: 6px; color: #d2c8b4; background: rgba(196,165,92,.055); font-size: 9px; font-weight: 900; }
.split-selection-actions button:hover { border-color: #deb047; color: #efc761; background: rgba(196,165,92,.12); }
.split-selection-count { margin-top: 10px; padding: 7px 9px; border: 1px solid rgba(196,165,92,.18); border-radius: 6px; color: #e2bb59; background: rgba(196,165,92,.06); font-size: 10px; font-weight: 900; text-align: center; }
.split-participant-list { display: grid; gap: 8px; max-height: 414px; overflow-y: auto; margin-top: 12px; padding-right: 2px; }
.split-participant-choice { width: 100%; min-height: 72px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(196,165,92,.2); border-radius: 9px; color: #e5ded1; background: linear-gradient(145deg,rgba(39,42,45,.76),rgba(22,25,27,.84)); text-align: left; }
.split-participant-choice:hover,
.split-participant-choice.is-selected { border-color: #e0b33f; background: linear-gradient(145deg,rgba(107,81,29,.32),rgba(31,29,24,.9)); box-shadow: 0 0 0 1px rgba(224,179,63,.16); }
.split-participant-choice.is-paid { border-color: rgba(81,178,106,.3); }
.split-participant-choice.is-exempt { border-color: rgba(215,119,86,.48); background: linear-gradient(145deg,rgba(103,49,34,.22),rgba(31,25,23,.9)); }
.split-participant-choice:disabled { cursor: default; opacity: .72; }
.split-participant-check { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(196,165,92,.36); border-radius: 6px; color: #17191b; background: #d8aa3f; font-size: 15px; font-weight: 900; }
.split-participant-choice:not(.is-selected):not(.is-paid) .split-participant-check { color: transparent; background: transparent; }
.split-participant-choice.is-paid .split-participant-check { color: #102016; border-color: rgba(91,194,117,.55); background: #62c77c; }
.split-participant-choice.is-exempt .split-participant-check { color: #2b130e; border-color: rgba(232,139,104,.65); background: #e78c69; }
.split-participant-identity { min-width: 0; }
.split-participant-identity strong { display: flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.split-kind-badge { flex: 0 0 auto; padding: 3px 6px; border: 1px solid rgba(205,169,76,.3); border-radius: 999px; color: #e3bd5c; background: rgba(196,165,92,.11); font-size: 8px; }
.split-kind-badge.is-guest { color: #aebfc9; border-color: rgba(108,140,158,.3); background: rgba(84,114,132,.14); }
.split-participant-identity small { display: block; margin-top: 5px; color: #8e8a82; font-size: 9px; }
.split-participant-value { min-width: 88px; text-align: right; }
.split-participant-value strong { display: block; color: #eee5d5; font-size: 13px; font-variant-numeric: tabular-nums; }
.split-participant-value span { display: inline-flex; margin-top: 6px; padding: 3px 6px; border: 1px solid rgba(201,147,42,.3); border-radius: 5px; color: #d8a83d; background: rgba(180,123,25,.1); font-size: 8px; font-weight: 900; }
.split-participant-choice.is-paid .split-participant-value span { color: #6ccd83; border-color: rgba(72,170,95,.32); background: rgba(56,145,77,.11); }
.split-participant-choice.is-exempt .split-participant-value span { max-width: 150px; overflow: hidden; color: #efa083; border-color: rgba(218,113,76,.36); background: rgba(159,65,38,.12); text-overflow: ellipsis; white-space: nowrap; }
.split-payment-help { margin: auto 0 0; padding: 12px 4px 0; color: #b0914b; font-size: 9px; line-height: 1.5; }
.split-editor-panel { position: relative; padding: 14px; }
.split-editor-empty { min-height: 100%; display: grid; place-content: center; gap: 7px; color: #908b82; text-align: center; }
.split-editor-empty strong { color: #c6bfae; font-size: 15px; }
.split-editor-empty span { font-size: 10px; }
.split-editor-content { display: grid; gap: 10px; }
.split-editor-head > div:first-child { min-width: 0; }
.split-editor-head > div:first-child > span { display: inline-flex; margin-bottom: 4px; padding: 3px 6px; border-radius: 4px; color: #e6bd58; background: rgba(196,165,92,.12); font-size: 8px; font-weight: 900; }
.split-editor-head > div:last-child { text-align: right; }
.split-editor-head > div:last-child small { display: block; color: #8f8a82; font-size: 8px; }
.split-editor-head > div:last-child strong { display: block; margin-top: 4px; color: #efc560; font-size: 21px; font-variant-numeric: tabular-nums; }
.split-price-rule { padding: 8px 10px; border-left: 3px solid #d6a439; color: #b7a97e; background: rgba(196,165,92,.065); font-size: 9px; line-height: 1.5; }
.split-price-options { display: grid; gap: 9px; padding: 11px; border: 1px solid rgba(214,164,57,.34); border-radius: 8px; background: rgba(120,83,18,.09); }
.split-price-option-buttons { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.split-price-option-buttons button { min-height: 39px; border: 1px solid rgba(196,165,92,.28); border-radius: 7px; color: #cfc6b5; background: rgba(255,255,255,.025); font-size: 10px; font-weight: 900; }
.split-price-option-buttons button:hover:not(:disabled),
.split-price-option-buttons button.is-selected { color: #1a1710; border-color: #e1b648; background: linear-gradient(145deg,#dfb650,#ad701c); }
.split-price-option-buttons [data-split-price-exempt] { color: #e7a087; border-color: rgba(218,113,76,.36); }
.split-price-option-buttons [data-split-price-exempt].is-selected { color: #fff2ed; border-color: #df825f; background: rgba(145,59,34,.54); }
.split-price-option-buttons button:disabled { cursor: not-allowed; opacity: .42; }
.split-point-section,
.split-prepaid-section,
.split-method-section,
.split-exemption-panel,
.split-allocation-history { display: grid; gap: 9px; padding: 11px; border: 1px solid rgba(196,165,92,.17); border-radius: 8px; background: rgba(6,9,11,.32); }
.split-point-section.is-disabled { opacity: .45; }
.split-point-section.is-selected { border-color: #dfb348; background: rgba(116,84,25,.2); box-shadow: inset 0 0 0 1px rgba(223,179,72,.12); }
.split-prepaid-section { border-color: rgba(82,167,133,.28); background: rgba(31,85,66,.1); }
.split-prepaid-section.is-selected { border-color: rgba(91,201,157,.68); background: rgba(35,113,82,.18); box-shadow: inset 0 0 0 1px rgba(91,201,157,.1); }
.split-prepaid-owners,.split-prepaid-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.split-prepaid-owners > p { grid-column: 1 / -1; margin: 0; color: #827f78; font-size: 9px; line-height: 1.5; }
.split-prepaid-owners button,.split-prepaid-methods button { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 36px; padding: 8px 9px; border: 1px solid rgba(102,177,146,.25); border-radius: 7px; color: #b9cfc5; background: rgba(255,255,255,.025); text-align: left; }
.split-prepaid-owners button:hover,.split-prepaid-methods button:hover,.split-prepaid-owners button.is-selected,.split-prepaid-methods button.is-selected { color: #e6fff4; border-color: #5ac598; background: rgba(51,139,104,.25); }
.split-prepaid-owners strong,.split-prepaid-methods strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.split-prepaid-owners span,.split-prepaid-methods span { flex: 0 0 auto; color: #75d2aa; font-size: 8px; font-weight: 900; }
.split-prepaid-targets { display: grid; gap: 6px; }
.split-prepaid-target { display: grid; grid-template-columns: minmax(0,1fr) minmax(130px,.7fr); align-items: center; gap: 9px; padding: 7px 8px; border: 1px solid rgba(102,177,146,.17); border-radius: 7px; background: rgba(5,12,10,.24); }
.split-prepaid-target > span { min-width: 0; }
.split-prepaid-target strong,.split-prepaid-target small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split-prepaid-target strong { color: #d8e9e1; font-size: 10px; }
.split-prepaid-target small { margin-top: 3px; color: #789487; font-size: 8px; }
.split-prepaid-target .split-amount-input input { min-height: 32px; font-size: 13px; }
.split-prepaid-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 7px; color: #96a9a0; background: rgba(69,151,118,.09); font-size: 9px; line-height: 1.45; }
.split-prepaid-summary strong { flex: 0 0 auto; color: #78d6ad; font-size: 14px; font-variant-numeric: tabular-nums; }
#applySplitPrepaid { min-height: 42px; background: linear-gradient(145deg,#3ba87a,#237153); }
.split-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.split-section-head h5 { margin: 0; color: #e8e0d2; font-size: 11px; }
.split-section-head span { display: block; margin-top: 3px; color: #d9b04b; font-size: 9px; font-weight: 900; }
.split-section-head > small { max-width: 260px; color: #918b82; font-size: 8px; line-height: 1.45; text-align: right; }
.split-amount-input { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; border: 1px solid rgba(196,165,92,.3); border-radius: 7px; background: #101315; }
.split-amount-input input { width: 100%; min-height: 38px; padding: 8px 10px; border: 0; color: #f0e6d4; background: transparent; font-size: 16px; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.split-amount-input b { padding-right: 11px; color: #d7b04d; font-size: 10px; }
.split-quick-buttons { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.split-point-section .split-quick-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
.split-quick-buttons button { min-height: 31px; border: 1px solid rgba(196,165,92,.22); border-radius: 6px; color: #c9c0af; background: rgba(255,255,255,.025); font-size: 9px; font-weight: 900; }
.split-quick-buttons button:hover { border-color: #d5ad48; color: #edc75e; }
.split-method-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.split-method-options button { position: relative; min-width: 0; min-height: 94px; display: grid; place-items: center; align-content: center; gap: 4px; overflow: hidden; padding: 12px 10px; border: 1px solid rgba(196,165,92,.2); border-radius: 9px; color: #d8d1c4; background: linear-gradient(145deg,rgba(38,41,43,.8),rgba(20,23,25,.84)); box-shadow: inset 0 1px 0 rgba(255,255,255,.045),0 8px 20px rgba(0,0,0,.12); transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease; }
.split-method-options button:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.09); }
.split-method-options button.is-selected { transform: translateY(-1px); box-shadow: inset 0 0 0 1px currentColor,0 0 0 1px rgba(231,190,85,.18),0 10px 24px rgba(0,0,0,.22); }
.split-method-options button[data-split-method="card"] { color: #cfe2ff; border-color: rgba(100,156,225,.48); background: linear-gradient(145deg,rgba(38,67,101,.82),rgba(20,34,53,.96)); }
.split-method-options button[data-split-method="cash"] { color: #d3ead9; border-color: rgba(102,173,121,.48); background: linear-gradient(145deg,rgba(43,79,54,.82),rgba(22,43,30,.96)); }
.split-method-options button[data-split-method="transfer"] { color: #c9edf0; border-color: rgba(75,172,180,.5); background: linear-gradient(145deg,rgba(28,82,87,.84),rgba(17,45,49,.96)); }
.split-method-options button[data-split-method="gongju_pay"] { color: #f7e4b0; border-color: rgba(213,164,54,.55); background: linear-gradient(145deg,rgba(112,78,22,.88),rgba(57,39,17,.97)); }
.split-method-options button:disabled { cursor: not-allowed; opacity: .42; transform: none; filter: grayscale(.25); }
.split-method-options .split-exemption-button { color: #e49b84; border-color: rgba(212,111,76,.32); background: linear-gradient(145deg,rgba(82,38,28,.45),rgba(30,23,21,.86)); }
.split-method-options .split-exemption-button:hover,
.split-method-options .split-exemption-button.is-selected { color: #ffd8cb; border-color: #df825f; background: rgba(145,59,34,.32); box-shadow: 0 0 0 1px rgba(223,130,95,.15); }
.split-method-options i { width: 34px; height: 27px; display: grid; place-items: center; border-radius: 6px; color: currentColor; background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); font-size: 19px; font-style: normal; font-weight: 900; line-height: 1; }
.split-method-options strong { max-width: 100%; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.split-method-options .split-method-detail { color: currentColor; opacity: .68; font-size: 8px; font-weight: 800; white-space: nowrap; }
.split-method-options .split-method-arrow { position: absolute; right: 10px; bottom: 9px; color: #e8bd4d; font-size: 20px; font-weight: 400; line-height: 1; }
.split-method-amount { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; }
.split-method-amount > span { color: #a49e94; font-size: 9px; font-weight: 900; }
.split-exemption-panel { border-color: rgba(218,113,76,.32); background: rgba(96,39,24,.12); }
.split-exemption-panel label { display: grid; gap: 6px; }
.split-exemption-panel label > span { color: #e8c0b3; font-size: 9px; font-weight: 900; }
.split-exemption-panel textarea { width: 100%; min-height: 72px; resize: vertical; border-color: rgba(218,113,76,.32); line-height: 1.5; }
.split-exemption-panel #applySplitExemption { min-height: 42px; }
.split-allocation-history { gap: 7px; }
#splitAllocationList { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.split-allocation-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid rgba(196,165,92,.2); border-radius: 6px; color: #bdb6aa; background: rgba(255,255,255,.025); font-size: 9px; }
.split-allocation-chip b { color: #e1bc5e; font-variant-numeric: tabular-nums; }
.split-allocation-empty { align-self: center; color: #77736c; font-size: 9px; }
.split-apply-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 7px; color: #99938a; background: rgba(196,165,92,.055); font-size: 9px; }
.split-apply-summary b { margin-left: 4px; color: #e9c35e; font-size: 11px; }
#applySplitPayment { min-height: 43px; }
.split-payment-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(196,165,92,.18); }
.split-payment-footer > span { color: #c1b9a9; font-size: 11px; font-weight: 900; }
.split-payment-dialog.is-training .split-selection-actions,
.split-payment-dialog.is-training #splitPointSection,
.split-payment-dialog.is-training #splitPrepaidSection,
.split-payment-dialog.is-training .split-apply-summary,
.split-payment-dialog.is-training #applySplitPayment { display: none; }
.split-payment-dialog.is-training .split-participant-choice.is-fixed { cursor: default; }
.split-payment-dialog.is-training .split-method-amount input { cursor: default; }
.split-payment-dialog.is-training .split-method-section { border-color: rgba(224,188,97,.42); background: linear-gradient(145deg,rgba(43,38,28,.52),rgba(13,16,18,.86)); }
.split-payment-dialog.is-training .split-method-options button::after { content: "바로 결제"; position: absolute; top: 8px; right: 8px; padding: 2px 5px; border: 1px solid currentColor; border-radius: 999px; opacity: .65; font-size: 7px; font-weight: 900; }
.split-payment-dialog.is-training .split-method-options [data-split-exempt]::after { content: "0원 처리"; }

@media (max-width: 940px) {
  .split-payment-layout { grid-template-columns: 1fr; }
  .split-participant-list { grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 238px; }
  .split-payment-help { margin-top: 8px; }
}
@media (max-width: 620px) {
  .multi-game-payment-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .multi-game-payment-card { gap: 11px; padding: 17px 12px 12px; }
  .multi-game-payment-title { padding: 0 28px; }
  .multi-game-payment-title h3 { font-size: 25px; }
  .multi-game-payment-title > strong { font-size: 19px; }
  .multi-game-payment-title p { font-size: 10px; }
  .multi-game-group-list { max-height: 52vh; }
  .multi-game-group-head { grid-template-columns: auto minmax(0,1fr) auto; gap: 8px; min-height: 57px; padding: 9px 10px; }
  .multi-game-group-identity { align-items: flex-start; flex-direction: column; gap: 3px; }
  .multi-game-group-identity strong { font-size: 15px; }
  .multi-game-group-head > b { font-size: 12px; }
  .multi-game-expand { display: none; }
  .multi-game-line-list { padding: 0 8px 8px; }
  .multi-game-line { gap: 7px; min-height: 46px; padding: 7px 8px; }
  .multi-game-line > span:nth-child(2) { font-size: 10px; }
  .multi-game-line > b { font-size: 10px; }
  .multi-game-payment-footer { grid-template-columns: 1fr; }
  .multi-game-payment-footer .button { min-height: 46px; font-size: 13px; }
  .multi-game-payment-footer .button.primary { grid-row: 1; }
  .split-payment-dialog { width: calc(100vw - 12px); max-height: calc(100vh - 12px); }
  .split-payment-card { padding: 17px 12px; }
  .split-payment-totals > div { padding: 10px 5px; }
  .split-payment-totals span { font-size: 7px; }
  .split-payment-totals strong { font-size: 16px; }
  .split-participant-list { grid-template-columns: 1fr; max-height: 245px; }
  .split-participant-panel > header { align-items: flex-start; }
  .split-selection-actions { max-width: 126px; }
  .split-selection-actions button { flex: 1 1 58px; padding-inline: 6px; }
  .split-method-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-price-option-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-section-head { display: grid; }
  .split-section-head > small { max-width: none; text-align: left; }
  .split-method-amount { grid-template-columns: 1fr; }
  .split-prepaid-owners,.split-prepaid-methods { grid-template-columns: 1fr; }
  .split-prepaid-target { grid-template-columns: 1fr; }
  .split-prepaid-summary { align-items: flex-start; flex-direction: column; }
  .split-apply-summary,
  .split-payment-footer { align-items: stretch; flex-direction: column; }
  .split-payment-footer .button { width: 100%; }
}
/* 2026-08-21 mobile attendance and member photo upload */
.tablet-body {
  min-height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 10% 0%, rgba(198, 165, 91, .18), transparent 30%),
    radial-gradient(circle at 100% 30%, rgba(122, 94, 42, .14), transparent 34%),
    linear-gradient(155deg, #0d0e10 0%, #17191c 48%, #101113 100%);
  color: #f5efe2;
}
.tablet-shell { width: min(760px, 100%); min-height: calc(100dvh - 24px); gap: 14px; }
.tablet-header { padding: 4px 4px 2px; gap: 12px; }
.tablet-brand { display: flex; align-items: center; min-width: 0; gap: 11px; }
.tablet-brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.45)); }
.tablet-header .eyebrow, .tablet-room-picker .eyebrow, .result-panel .eyebrow { color: #bea465; letter-spacing: .16em; }
.tablet-header h1 { margin: 3px 0 0; color: #f4ead2; font-size: clamp(18px, 4vw, 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tablet-device-state { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #554a33; border-radius: 999px; color: #b9aa8b; background: rgba(16,17,19,.76); font-size: 11px; font-weight: 800; }
.tablet-device-state:is(a) { text-decoration: none; }
.tablet-device-state:is(a):active { transform: scale(.98); }
.tablet-device-state i { width: 7px; height: 7px; border-radius: 50%; background: #a7594d; box-shadow: 0 0 0 4px rgba(167,89,77,.12); }
.tablet-device-state.is-ready { color: #d8c797; border-color: #75623b; }
.tablet-device-state.is-ready i { background: #78a679; box-shadow: 0 0 0 4px rgba(120,166,121,.13); }
.tablet-room-picker { padding: 16px; border: 1px solid #3b352a; border-radius: 22px; background: rgba(24,26,29,.94); box-shadow: 0 16px 40px rgba(0,0,0,.26); }
.tablet-room-picker h2 { margin: 3px 0 14px; color: #f3ead7; font-size: clamp(17px, 4vw, 23px); }
.tablet-room-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tablet-room-grid button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px; border: 1px solid #454139; border-radius: 15px; background: #1d2023; color: #a9a296; transition: .18s ease; }
.tablet-room-grid button span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: #292c2f; color: #bda76f; font-size: 12px; font-weight: 900; }
.tablet-room-grid button strong { color: #ddd5c4; font-size: 12px; white-space: nowrap; }
.tablet-room-grid button small { display: none; }
.tablet-room-grid button.is-selected { transform: translateY(-2px); border-color: #c0a05b; background: linear-gradient(150deg, #3a3223, #24211b); box-shadow: 0 8px 22px rgba(0,0,0,.3), inset 0 0 0 1px rgba(225,195,124,.15); }
.tablet-room-grid button.is-selected span { background: #b7954f; color: #111214; }
.tablet-room-grid button.is-selected strong { color: #f7e6bd; }
.checkin-panel, .result-panel { min-height: 0; flex: 1; border: 1px solid #3b352a; border-radius: 24px; padding: clamp(18px, 4vw, 30px); background: linear-gradient(160deg, rgba(29,32,35,.98), rgba(19,21,23,.98)); box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.checkin-heading { align-self: stretch; display: flex; align-items: center; gap: 13px; text-align: left; }
.checkin-heading .golf-icon { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: #17191c; background: linear-gradient(145deg, #e0c681, #9b7937); font-size: 22px; font-weight: 1000; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.checkin-heading-copy { min-width: 0; flex: 1; }
.checkin-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.tablet-fixed-room-badge { flex: 0 0 auto; padding: 8px 13px; border: 1px solid #d0aa58; border-radius: 10px; color: #e2bd69; background: linear-gradient(145deg,rgba(123,85,24,.17),rgba(23,24,26,.42)); font-size: clamp(16px,3.2vw,23px); line-height: 1; box-shadow: inset 0 0 0 1px rgba(229,191,106,.08); }
.checkin-heading span { color: #bea565; font-size: 12px; font-weight: 900; }
.checkin-panel h2, .result-panel h2 { margin: 2px 0 3px; color: #f5ecda; font-size: clamp(26px, 6vw, 38px); }
.checkin-heading p { margin: 0; color: #9f9b92; font-size: 13px; line-height: 1.45; }
.phone-display { width: 100%; margin: 18px 0 13px; border: 1px solid #4a4233; background: #0f1012; color: #f1d997; box-shadow: inset 0 2px 16px rgba(0,0,0,.34); }
.keypad { width: min(440px,100%); gap: 8px; }
.keypad button { min-height: 54px; border-color: #3d3b36; background: #25282b; color: #f1eadc; box-shadow: none; }
.keypad button:active { transform: scale(.97); background: #3a3327; border-color: #a8894d; }
.checkin-button { width: min(440px,100%); margin-top: 13px; border: 1px solid #d2b66e; background: linear-gradient(135deg, #d4b86e, #987333); color: #141517; box-shadow: 0 14px 30px rgba(0,0,0,.31); }
.checkin-button:disabled { opacity: .42; box-shadow: none; }
.checkin-button.secondary { color: #eadcb8; background: #25221c; border-color: #7f693d; box-shadow: none; }
.tablet-checkin-actions { width: 100%; display: flex; flex-direction: column; align-items: center; }
.tablet-checkin-actions > p { margin: 15px 0 0; color: #8f8a81; font-size: 12px; line-height: 1.45; text-align: center; }
.guest-checkin-button { margin-top: 9px; color: #ddbd70; border: 1.5px solid #c79e4f; background: linear-gradient(145deg,#232528,#191b1d); box-shadow: inset 0 0 0 1px rgba(218,179,91,.06),0 10px 24px rgba(0,0,0,.2); }
.guest-checkin-button:active { color: #17191c; background: linear-gradient(135deg,#d4b86e,#987333); }
.result-panel { justify-content: center; }
.result-icon { background: linear-gradient(145deg, #d7bf7b, #9b7838); color: #141517; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.result-panel.is-warning .result-icon { background: linear-gradient(145deg, #d6a05e, #a05e33); }
.result-panel.is-error .result-icon { background: linear-gradient(145deg, #c26e62, #8c4037); color: white; }
.result-panel > p { color: #b5afa3; }
.result-meta { color: #e0d1ad; background: #202225; border-color: #3d382e; }
.practice-result { width: min(520px,100%); display: flex; align-items: flex-start; gap: 11px; margin: 14px 0 0; padding: 13px 14px; border: 1px solid #3e3a32; border-radius: 14px; background: #17191b; text-align: left; }
.practice-result:empty { display: none; }
.practice-result > i { flex: 0 0 auto; display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; background: #2c4a36; color: #c9e2cd; font-style: normal; font-weight: 1000; }
.practice-result.is-warning > i { background: #553a25; color: #efc999; }
.practice-result strong, .practice-result span { display: block; }
.practice-result strong { color: #eee4d1; font-size: 13px; }
.practice-result span { margin-top: 3px; color: #aaa399; font-size: 12px; line-height: 1.45; }
.tablet-shell footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 12px; padding: 3px 8px 0; color: #77736b; }
.tablet-shell footer strong { color: #9e8c66; }

.member-name-link { display: inline-flex; align-items: center; gap: 9px; }
.member-list-avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; object-fit: cover; border: 1px solid #544a36; background: #1b1d20; }
.member-list-avatar.is-empty { display: grid; place-items: center; color: #d8bd79; font-weight: 900; }
.member-photo-field { padding: 16px; border: 1px solid #3d382f; border-radius: 16px; background: rgba(25,27,29,.7); }
.member-photo-field > span { display: flex; justify-content: space-between; }
.member-photo-field > span b { color: #c8aa63; font-size: 11px; }
.member-photo-upload { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.member-photo-preview { width: 92px; height: 92px; flex: 0 0 92px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #6b5b39; border-radius: 18px; background: #141618; color: #8e877b; text-align: center; font-size: 11px; }
.member-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.member-photo-upload > div:last-child { min-width: 0; flex: 1; }
.member-photo-upload input[type=file] { width: 100%; color: #c7bda9; }
.member-photo-upload small { display: block; margin-top: 7px; }
.member-photo-upload small.is-error { color: #e69a8f; }

.cash-receipt-panel { margin: 14px 0 0; padding: 15px; border: 1px solid #4a4231; border-radius: 16px; background: linear-gradient(145deg,#1b1c1e,#242018); }
.cash-receipt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; text-align: left; }
.cash-receipt-head h4, .cash-receipt-head h5 { margin: 0; color: #eee4cf; font-size: 15px; }
.cash-receipt-head p { margin: 4px 0 0; color: #a9a095; font-size: 11px; line-height: 1.45; }
.cash-receipt-head > span { flex: 0 0 auto; padding: 5px 8px; border: 1px solid #765f35; border-radius: 999px; color: #d9bd79; font-size: 9px; font-weight: 900; }
.cash-receipt-customer-guide { display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: center; gap: 8px 10px; margin-top: 12px; padding: 11px; border: 1px solid rgba(196,165,92,.18); border-radius: 12px; background: rgba(7,9,10,.28); text-align: left; }
.cash-receipt-customer-guide i { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #6f5d36; border-radius: 50%; color: #e4c474; background: #282116; font-size: 10px; font-style: normal; font-weight: 900; }
.cash-receipt-customer-guide span { color: #bcb3a3; font-size: 10px; line-height: 1.5; }
.cash-receipt-customer-guide strong { color: #ead9ae; }
.cash-receipt-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 12px; }
.cash-receipt-options button { min-width: 0; padding: 10px 7px; border: 1px solid #454037; border-radius: 12px; background: #202225; color: #b9b1a3; text-align: left; }
.cash-receipt-options button strong, .cash-receipt-options button small { display: block; }
.cash-receipt-options button strong { color: #ded5c4; font-size: 11px; }
.cash-receipt-options button small { margin-top: 3px; color: #8e887e; font-size: 9px; }
.cash-receipt-options button.is-selected { border-color: #c3a45f; background: #3a3020; box-shadow: inset 0 0 0 1px rgba(224,194,120,.12); }
.cash-receipt-options button.is-selected strong { color: #f0d999; }
.cash-receipt-identity { display: block; margin-top: 11px; text-align: left; }
.cash-receipt-identity > span { display: block; margin-bottom: 6px; color: #d9c8a0; font-size: 11px; font-weight: 900; }
.cash-receipt-identity input { width: 100%; border-color: #514733; background: #131416; color: #f1e6ce; }
.cash-receipt-identity small { display: block; margin-top: 5px; color: #9d9588; }
.split-cash-receipt-panel { margin: 12px 0; }

.payment-workflow-dialog { width: min(720px,calc(100vw - 28px)); max-height: calc(100dvh - 24px); overflow-y: auto; border-color: rgba(214,170,61,.72); box-shadow: 0 28px 90px rgba(0,0,0,.7),0 0 0 1px rgba(227,181,71,.1); }
.payment-workflow-card { gap: 14px; padding: 28px; background: radial-gradient(circle at 52% -18%,rgba(204,166,75,.13),transparent 38%),linear-gradient(150deg,#202326,#111417 78%); }
.payment-workflow-card[data-workflow-method="card"] { --workflow-accent: #e8b941; --workflow-soft: rgba(84,139,205,.14); }
.payment-workflow-card[data-workflow-method="cash"] { --workflow-accent: #69c886; --workflow-soft: rgba(72,147,91,.14); }
.payment-workflow-card[data-workflow-method="transfer"] { --workflow-accent: #63c8df; --workflow-soft: rgba(55,151,174,.14); }
.payment-workflow-card[data-workflow-method="gongju_pay"] { --workflow-accent: #e5ad32; --workflow-soft: rgba(189,128,30,.15); }
.payment-workflow-heading { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 16px; padding-right: 30px; }
.payment-workflow-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--workflow-accent) 55%,transparent); border-radius: 16px; color: var(--workflow-accent); background: var(--workflow-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,.06),0 9px 24px rgba(0,0,0,.2); font-size: 27px; font-weight: 950; }
.payment-workflow-heading h3 { margin: 2px 0 0; color: #f4ead6; font-size: clamp(23px,3.5vw,31px); letter-spacing: -.03em; }
.payment-workflow-heading p { margin: 7px 0 0; color: #b0a89c; font-size: 12px; line-height: 1.55; }
.payment-workflow-status { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin: 0 auto; padding: 7px 12px; border: 1px solid rgba(196,165,92,.3); border-radius: 999px; color: #d5b15d; background: rgba(196,165,92,.08); font-size: 10px; }
.payment-workflow-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.payment-workflow-status.is-ready { color: #6ed392; border-color: rgba(78,191,124,.38); background: rgba(51,133,84,.13); }
.payment-workflow-status.is-processing,.payment-workflow-status.is-waiting,.payment-workflow-status.is-connecting { color: #efbf57; animation: game-pulse 1.3s ease-in-out infinite; }
.payment-workflow-status.is-canceling { color: #ef8f71; border-color: rgba(231,105,78,.4); background: rgba(132,44,30,.14); animation: game-pulse 1s ease-in-out infinite; }
.payment-workflow-status.is-manual,.payment-workflow-status.is-unconfigured,.payment-workflow-status.is-disconnected { color: #e2b760; }
.payment-workflow-status.is-error { color: #ef8a78; border-color: rgba(222,103,82,.38); background: rgba(124,46,34,.14); }
.payment-workflow-overview { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; align-items: stretch; }
.payment-workflow-card[data-workflow-method="card"] .payment-workflow-heading { grid-template-columns: minmax(0,1fr); padding-right: 0; text-align: center; }
.payment-workflow-card[data-workflow-method="card"] .payment-workflow-icon { display: none; }
.payment-workflow-card[data-workflow-method="card"] .payment-workflow-heading h3 { font-size: clamp(27px,4vw,36px); }
.payment-workflow-card[data-workflow-method="card"] .payment-workflow-overview { grid-template-columns: minmax(0,1.35fr) minmax(180px,.8fr); }
.payment-workflow-summary { display: grid; gap: 0; overflow: hidden; border: 1px solid rgba(196,165,92,.28); border-radius: 12px; background: rgba(4,7,9,.34); }
.payment-workflow-summary > div { display: grid; grid-template-columns: minmax(110px,.42fr) minmax(0,1fr); align-items: center; gap: 16px; min-height: 48px; padding: 10px 16px; border-bottom: 1px solid rgba(196,165,92,.12); }
.payment-workflow-summary > div:last-child { border-bottom: 0; }
.payment-workflow-summary span { color: #a8a096; font-size: 11px; font-weight: 800; }
.payment-workflow-summary strong { overflow: hidden; color: #eee6d8; font-size: 15px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.payment-workflow-summary > div:nth-child(2) strong { color: var(--workflow-accent); }
.payment-workflow-summary > div:last-child strong { color: #f3ead7; font-size: 25px; font-variant-numeric: tabular-nums; }
.payment-workflow-terminal { position: relative; min-height: 164px; display: none; place-items: center; margin: 0; padding: 5px 4px 26px; overflow: hidden; border: 1px solid rgba(196,165,92,.2); border-radius: 12px; background: radial-gradient(circle at 50% 38%,rgba(213,165,54,.12),transparent 56%),rgba(4,7,9,.23); }
.payment-workflow-card[data-workflow-method="card"] .payment-workflow-terminal { display: grid; }
.payment-workflow-terminal img { width: min(100%,205px); max-height: 170px; object-fit: contain; filter: drop-shadow(0 17px 18px rgba(0,0,0,.48)); }
.payment-workflow-terminal figcaption { position: absolute; inset: auto 9px 8px; color: #d7ae50; font-size: 9px; font-weight: 900; text-align: center; }
.payment-workflow-body { display: grid; gap: 12px; }
.workflow-guide-panel,.workflow-transfer-panel,.workflow-gongju-panel,.workflow-receipt-panel { display: grid; gap: 11px; padding: 15px; border: 1px solid rgba(196,165,92,.22); border-radius: 12px; background: rgba(7,10,12,.34); }
.workflow-guide-panel > strong,.workflow-panel-title strong { color: #f0e7d6; font-size: 14px; }
.workflow-guide-panel > p,.workflow-transfer-panel > p { margin: 0; color: #bbb2a5; font-size: 11px; line-height: 1.6; }
.workflow-guide-panel > small { color: #918a80; font-size: 10px; }
.workflow-guide-panel.is-compact { padding-block: 11px; }
.workflow-steps { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 9px; margin-top: 4px; }
.workflow-steps b { min-height: 38px; display: grid; place-items: center; padding: 8px; border: 1px solid rgba(196,165,92,.15); border-radius: 9px; color: #817b72; background: rgba(255,255,255,.018); font-size: 10px; }
.workflow-steps b.is-active { color: var(--workflow-accent); border-color: color-mix(in srgb,var(--workflow-accent) 54%,transparent); background: var(--workflow-soft); }
.workflow-steps > i { color: #777168; font-style: normal; }
.workflow-panel-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.workflow-panel-title strong,.workflow-panel-title span { display: block; }
.workflow-panel-title span { margin-top: 4px; color: #9e978d; font-size: 10px; line-height: 1.5; }
.workflow-panel-title em { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(196,165,92,.3); border-radius: 999px; color: #d9bd79; font-size: 8px; font-style: normal; font-weight: 900; }
.workflow-receipt-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.workflow-receipt-actions button { min-height: 54px; border: 1px solid #49433a; border-radius: 10px; color: #c7bfb1; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 900; }
.workflow-receipt-actions button.is-selected { color: #f4e7c4; border-color: #dfb64c; background: linear-gradient(145deg,rgba(68,111,75,.72),rgba(37,65,44,.88)); box-shadow: 0 0 0 1px rgba(223,182,76,.18); }
.workflow-receipt-actions i { margin-left: 8px; color: #e6ba4f; font-style: normal; }
.workflow-receipt-purpose { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.workflow-receipt-purpose > button { min-height: 40px; padding: 8px; border: 1px solid rgba(196,165,92,.2); border-radius: 8px; color: #aaa195; background: rgba(255,255,255,.015); font-size: 10px; font-weight: 850; text-align: center; transition: border-color .16s ease,background .16s ease,color .16s ease,opacity .16s ease; }
.workflow-receipt-purpose > button.is-selected { color: #f5e7c1; border-color: #dcb34b; background: rgba(70,105,74,.58); box-shadow: inset 0 0 0 1px rgba(220,179,75,.12); }
.workflow-receipt-purpose > button:disabled { cursor: not-allowed; opacity: .38; }
.workflow-receipt-purpose > button i { margin-left: 5px; color: #ebbd4c; font-style: normal; }
.workflow-receipt-purpose > small { grid-column: 1 / -1; color: #8d877d; font-size: 9px; text-align: center; }
.workflow-manual-toggle { width: fit-content; padding: 5px 0; border: 0; color: #c4a65d; background: transparent; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.workflow-manual-confirm,.workflow-gongju-panel > label { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid rgba(196,165,92,.2); border-radius: 9px; color: #ddd4c5; background: rgba(255,255,255,.025); font-size: 10px; line-height: 1.45; }
.workflow-manual-confirm input,.workflow-gongju-panel input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #d7ad45; }
.workflow-manual-badge { width: fit-content; padding: 5px 8px; border: 1px solid rgba(224,169,51,.35); border-radius: 999px; color: #e5ad32; background: rgba(170,108,22,.12); font-size: 9px; font-weight: 900; }
.workflow-checklist { display: grid; overflow: hidden; border: 1px solid rgba(196,165,92,.16); border-radius: 10px; }
.workflow-checklist span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(196,165,92,.12); color: #c8c0b2; font-size: 10px; }
.workflow-checklist span:last-child { border-bottom: 0; }
.workflow-checklist i { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #cde8cf; background: #376143; font-size: 9px; font-style: normal; font-weight: 900; }
.workflow-gongju-panel > small { color: #90897f; font-size: 9px; text-align: center; }
.payment-workflow-error { margin: 0; padding: 10px 12px; border: 1px solid rgba(226,100,78,.35); border-radius: 9px; color: #ffb2a4; background: rgba(132,44,30,.15); font-size: 10px; line-height: 1.45; }
.payment-workflow-actions { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.35fr); gap: 11px; }
.payment-workflow-actions .button { min-height: 50px; font-size: 12px; }
.payment-workflow-actions .button.primary { color: #181613; background: linear-gradient(145deg,#f0cb68,#bd8124); box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 8px 22px rgba(166,104,22,.2); }
.payment-workflow-actions .button.danger { color: #ef7c68; border-color: #b95442; background: rgba(77,27,20,.12); }

@media (max-width: 620px) {
  .payment-workflow-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .payment-workflow-card { gap: 9px; padding: 15px 13px 12px; }
  .payment-workflow-heading { gap: 11px; padding-right: 24px; }
  .payment-workflow-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 21px; }
  .payment-workflow-heading h3 { font-size: 21px; }
  .payment-workflow-heading p { font-size: 10px; }
  .payment-workflow-summary > div { min-height: 38px; padding: 7px 11px; }
  .payment-workflow-summary > div:last-child strong { font-size: 20px; }
  .payment-workflow-card[data-workflow-method="card"] .payment-workflow-heading { text-align: left; }
  .payment-workflow-card[data-workflow-method="card"] .payment-workflow-overview { grid-template-columns: minmax(0,1fr) 112px; gap: 8px; }
  .payment-workflow-terminal { min-height: 128px; padding: 4px 2px 22px; }
  .payment-workflow-terminal img { width: 116px; max-height: 112px; }
  .payment-workflow-terminal figcaption { font-size: 7px; }
  .workflow-guide-panel,.workflow-transfer-panel,.workflow-gongju-panel,.workflow-receipt-panel { gap: 9px; padding: 10px 12px; }
  .workflow-steps { gap: 5px; }
  .workflow-steps b { min-height: 34px; padding: 5px 3px; font-size: 8px; }
  .workflow-panel-title { display: grid; }
  .workflow-panel-title em { width: fit-content; }
  .payment-workflow-actions { grid-template-columns: 1fr; }
  .payment-workflow-actions .button { min-height: 46px; }
  .payment-workflow-actions .button.primary { grid-row: 1; }
  .payment-workflow-actions .button.danger { grid-row: 2; }
}

@media (max-width: 620px) {
  .tablet-body { padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  .tablet-shell { min-height: calc(100dvh - 17px); gap: 9px; }
  .tablet-device-state { padding: 7px 8px; font-size: 9px; }
  .tablet-brand img { width: 38px; height: 38px; }
  .tablet-room-picker { padding: 12px; border-radius: 18px; }
  .tablet-room-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
  .tablet-room-grid button { padding: 8px 2px; border-radius: 12px; }
  .tablet-room-grid button span { width: 23px; height: 23px; }
  .tablet-room-grid button strong { font-size: 10px; }
  .checkin-panel, .result-panel { padding: 16px 12px; border-radius: 20px; }
  .checkin-heading .golf-icon { width: 42px; height: 42px; border-radius: 13px; }
  .tablet-fixed-room-badge { padding: 7px 10px; border-radius: 8px; }
  .keypad button { min-height: 49px; }
  .tablet-checkin-actions > p { margin-top: 12px; font-size: 10px; }
  .member-photo-upload { align-items: flex-start; flex-direction: column; }
  .cash-receipt-options { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .vat-report-toolbar,
  .vat-report-filter { align-items: stretch; flex-direction: column; }
  .vat-report-filter,
  .vat-report-filter .date-range-fields,
  .vat-report-toolbar .button { width: 100%; }
  .vat-source-note { flex-direction: column; gap: 5px; }
  .vat-report-heading { flex-direction: column; padding: 18px 17px; }
  .vat-report-heading dl { width: 100%; min-width: 0; }
  .vat-report-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vat-report-stats article { border-bottom: 1px solid rgba(196,165,92,.16); }
  .vat-report-stats article:last-child { grid-column: 1 / -1; }
  .vat-report-table-wrap { overflow-x: auto; }
  .vat-report-footer { align-items: flex-start; flex-direction: column; }
}

@page { size: A4 portrait; margin: 10mm; }
@media print {
  html, body.admin-body { width: 210mm; min-height: 297mm; margin: 0; padding: 0; color: #111; background: #fff !important; }
  .sidebar,
  .topbar,
  .flash-area,
  [data-vat-controls],
  body.admin-body > dialog { display: none !important; }
  .main-content { width: 190mm !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
  .vat-report-page { width: 190mm; overflow: visible; border: 0; border-radius: 0; color: #111; background: #fff !important; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .vat-report-heading { padding: 0 0 5mm; border-bottom: 1px solid #333; }
  .vat-report-heading span { color: #555; }
  .vat-report-heading h2 { margin-top: 1.5mm; color: #111; font-size: 17pt; }
  .vat-report-heading p,
  .vat-report-heading dt,
  .vat-report-heading dd { color: #333; }
  .vat-report-stats { margin: 4mm 0; border: 1px solid #999; }
  .vat-report-stats article { padding: 3mm; border-color: #bbb; }
  .vat-report-stats span { color: #555; font-size: 7pt; }
  .vat-report-stats strong,
  .vat-report-stats .is-canceled strong { color: #111; font-size: 10pt; }
  .vat-report-table-wrap { overflow: visible; }
  .vat-report-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
  .vat-report-table th,
  .vat-report-table td { padding: 2.1mm 1.2mm; border: 1px solid #aaa; color: #111; background: #fff !important; font-size: 6.8pt; line-height: 1.25; white-space: normal; word-break: keep-all; }
  .vat-report-table th { font-weight: 800; }
  .vat-report-table th:nth-child(1) { width: 18mm; }
  .vat-report-table th:nth-child(2) { width: 11mm; }
  .vat-report-table th:nth-child(3) { width: 26mm; }
  .vat-report-table th:nth-child(4) { width: 22mm; }
  .vat-report-table th:nth-child(5) { width: 23mm; }
  .vat-report-table th:nth-child(6),
  .vat-report-table th:nth-child(7),
  .vat-report-table th:nth-child(8) { width: 22mm; }
  .vat-report-table th:nth-child(9) { width: 20mm; }
  .vat-status { padding: 0; border: 0; color: #111 !important; background: transparent !important; font-size: 6.5pt; }
  .vat-canceled-row td { color: #666; }
  .vat-report-footer { padding: 3mm 0 0; border-top: 0; color: #444; font-size: 6.5pt; }
}
.nav-sms-notice { color: #74c8ff; animation-name: friends-sms-notice-pulse; }
.nav-sms-notice svg { fill: rgba(71,174,236,.15); filter: drop-shadow(0 0 6px rgba(73,180,244,.42)); }
@keyframes friends-sms-notice-pulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-1px) scale(1.07); } }
.friends-sms-notice-card { border-color: #4ca9d4; background: radial-gradient(circle at 50% -18%,rgba(67,169,222,.2),transparent 43%),linear-gradient(155deg,#20262a,#141719 78%); }
.friends-sms-notice-icon { color: #6dccfa; border-color: rgba(89,190,239,.38); background: radial-gradient(circle,rgba(69,180,233,.2),rgba(69,180,233,.035) 66%); box-shadow: 0 0 32px rgba(69,180,233,.18); }
.friends-sms-notice-dialog .friends-reservation-notice-head h2 { color: #75d2ff; text-shadow: 0 0 18px rgba(72,183,239,.24); }
.friends-sms-notice-body { max-height: 170px; overflow: auto; margin: 14px 31px 0; padding: 16px 17px; border: 1px solid rgba(89,183,226,.2); border-radius: 12px; color: #f3f1eb; background: rgba(5,12,16,.38); font-size: 14px; font-weight: 700; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.friends-sms-notice-dialog .friends-reservation-notice-actions .button.primary { border-color: #65c7f4; background: linear-gradient(180deg,#8bdcff,#52b9e9); box-shadow: 0 10px 23px rgba(37,151,205,.24); }

/* KT 통화매니저 자동문자 시험 모듈 */
.sms-kt-test-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(196,165,92,.16); }
.sms-kt-test-form label { min-width: 0; }
.sms-kt-test-form label span { display: block; margin-bottom: 6px; color: #98948a; font-size: 10px; font-weight: 800; }
.sms-kt-test-form input { width: 100%; min-height: 40px; color: #eee9df; background: #111416; }
.sms-kt-test-form .button { min-height: 40px; white-space: nowrap; }
.sms-provider-choice { display: grid; gap: 9px; margin-top: 16px; }
.sms-provider-choice > label { position: relative; display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid #383b3d; border-radius: 11px; background: #17191b; cursor: pointer; }
.sms-provider-choice > label:has(input:checked) { border-color: #d0a54b; background: linear-gradient(135deg,rgba(205,164,70,.13),rgba(205,164,70,.035)); box-shadow: inset 3px 0 #dcb458; }
.sms-provider-choice input { accent-color: #d6ad50; }
.sms-provider-choice span { min-width: 0; display: grid; gap: 3px; }
.sms-provider-choice strong { color: #eee9df; font-size: 13px; }
.sms-provider-choice small { color: #8f8b83; font-size: 10px; line-height: 1.5; }
.sms-provider-choice .button { margin-top: 3px; justify-self: start; }
@media (max-width: 680px) {
  .sms-kt-test-form { grid-template-columns: 1fr; }
  .sms-kt-test-form .button { width: 100%; }
}

/* KT 통화매니저: 사이드바 빠른 검색·전화걸기 + 실시간 반응형 화면 */
.sidebar-call-manager { min-width: 0; margin: -2px 4px 10px 18px; padding: 10px; border: 1px solid rgba(205,165,72,.2); border-left-color: rgba(226,184,82,.52); border-radius: 10px; background: radial-gradient(circle at 18% 0,rgba(205,165,72,.1),transparent 54%),rgba(10,12,13,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.sidebar-call-manager header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sidebar-call-manager header > span { min-width: 0; display: flex; align-items: center; gap: 6px; color: #e6c56f; font-size: 10px; font-weight: 900; letter-spacing: -.02em; }
.sidebar-call-manager header > span i { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #45cf8b; box-shadow: 0 0 9px rgba(69,207,139,.55); }
.sidebar nav .sidebar-call-manager header a,
.theme-luxury .sidebar nav .sidebar-call-manager header a { min-height: 0; padding: 2px 0; border: 0; border-radius: 0; color: #8d8981; background: transparent; font-size: 9px; font-weight: 800; white-space: nowrap; }
.sidebar nav .sidebar-call-manager header a:hover,
.theme-luxury .sidebar nav .sidebar-call-manager header a:hover { color: #f0cf7b; border: 0; background: transparent; }
.sidebar-call-manager form { display: grid; grid-template-columns: minmax(0,1fr) 31px; gap: 5px; }
.sidebar-call-manager form label { min-width: 0; display: flex; align-items: center; gap: 5px; min-height: 31px; padding: 0 7px; border: 1px solid rgba(196,165,92,.2); border-radius: 7px; background: rgba(0,0,0,.25); }
.sidebar-call-manager form label:focus-within { border-color: rgba(231,191,91,.72); box-shadow: 0 0 0 2px rgba(215,171,66,.1); }
.sidebar-call-manager form svg { flex: 0 0 13px; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sidebar-call-manager input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; color: #eee9dd; background: transparent; font-size: 10px; }
.sidebar-call-manager input::placeholder { color: #77736d; }
.sidebar-call-manager form button { min-height: 31px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(213,173,74,.28); border-radius: 7px; color: #e4bd59; background: rgba(205,165,72,.09); }
.sidebar-call-manager form button:hover { border-color: rgba(225,184,82,.55); background: rgba(205,165,72,.16); }
.sidebar-call-manager form button:focus-visible { outline: 2px solid #e0bd69; outline-offset: 2px; }
.sidebar-call-manager > p { min-height: 14px; margin: 6px 1px 4px; color: #77746e; font-size: 8px; line-height: 1.45; }
.sidebar-call-manager > p.is-error { color: #e89688; }
.sidebar-call-list { min-width: 0; max-height: clamp(120px,24dvh,220px); overflow-y: auto; display: grid; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(196,165,92,.3) transparent; }
.sidebar-call-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 69px; align-items: center; gap: 6px; padding: 7px 0; border-top: 1px solid rgba(196,165,92,.11); }
.sidebar-call-copy { min-width: 0; display: grid; gap: 2px; }
.sidebar-call-copy strong,
.sidebar-call-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-call-copy strong { color: #e9e5dc; font-size: 10px; line-height: 1.25; }
.sidebar-call-copy span { color: #89867f; font-size: 9px; line-height: 1.25; }
.sidebar nav .sidebar-call-dial,
.theme-luxury .sidebar nav .sidebar-call-dial { position: static; width: 32px; height: 32px; min-height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(216,176,76,.3); border-radius: 50%; color: #e5bd59; background: rgba(205,165,72,.08); }
.sidebar nav .sidebar-call-dial:hover,
.theme-luxury .sidebar nav .sidebar-call-dial:hover { color: #17130a; border-color: #e3bd5a; background: #e3bd5a; }
.sidebar-call-actions { display: flex; gap: 5px; }
.sidebar nav .sidebar-call-sms,
.theme-luxury .sidebar nav .sidebar-call-sms { position: static; width: 32px; height: 32px; min-height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(113,167,232,.3); border-radius: 50%; color: #83b8f3; background: rgba(80,145,220,.08); }
.sidebar nav .sidebar-call-sms:hover,
.theme-luxury .sidebar nav .sidebar-call-sms:hover { color: #0c1721; border-color: #84baf4; background: #84baf4; }
.sidebar-call-dial svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.sidebar-call-sms svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.sidebar-call-dial.is-disabled { opacity: .35; cursor: not-allowed; }
.sidebar-call-sms.is-disabled { opacity: .35; cursor: not-allowed; }
.sidebar-call-empty { padding: 8px 1px; color: #77746e; font-size: 9px; line-height: 1.4; }
.call-manager-page { --call-manager-panel-height: 620px; display: grid; gap: 16px; min-width: 0; }
.call-manager-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.72fr); align-items: center; gap: clamp(20px,4vw,54px); min-height: 164px; padding: clamp(22px,3vw,34px); border: 1px solid #3b3f42; border-radius: 16px; background: radial-gradient(circle at 12% -40%,rgba(207,161,58,.15),transparent 48%),linear-gradient(145deg,#202326,#17191b 72%); box-shadow: 0 18px 55px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035); }
.call-manager-hero h2 { margin: 7px 0 8px; color: #f2eee5; font-size: clamp(22px,2.4vw,31px); letter-spacing: -.04em; }
.call-manager-hero p { max-width: 720px; margin: 0; color: #aaa69d; font-size: 13px; line-height: 1.7; }
.call-manager-hero dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; margin: 0; border: 1px solid rgba(202,167,86,.2); border-radius: 12px; background: rgba(207,171,82,.12); }
.call-manager-hero dl div { min-width: 0; padding: 15px 16px; background: #181b1d; }
.call-manager-hero dt { color: #89867f; font-size: 10px; font-weight: 800; }
.call-manager-hero dd { display: flex; align-items: center; gap: 7px; overflow: hidden; margin: 5px 0 0; color: #eee9df; font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.call-manager-hero dd i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #d05248; box-shadow: 0 0 10px rgba(208,82,72,.5); }
.call-manager-hero.is-connected dd i { background: #43c989; box-shadow: 0 0 11px rgba(67,201,137,.55); }
.call-manager-metrics { display: grid; grid-template-columns: repeat(5,minmax(125px,1fr)); gap: 10px; }
.call-manager-metrics article { min-width: 0; padding: 17px 18px; border: 1px solid #34383b; border-radius: 13px; background: linear-gradient(150deg,#1d2022,#17191b); }
.call-manager-metrics span,.call-manager-metrics small { display: block; color: #918e87; font-size: 10px; font-weight: 800; }
.call-manager-metrics strong { display: block; margin: 5px 0 2px; color: #e9bb52; font-size: clamp(21px,2.4vw,29px); line-height: 1; }
.call-manager-live-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 16px; min-width: 0; }
.call-manager-panel { min-width: 0; height: var(--call-manager-panel-height); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #363a3d; border-radius: 15px; background: #181a1c; box-shadow: 0 15px 45px rgba(0,0,0,.18); }
.call-manager-calls-panel { scroll-margin-top: 18px; }
.call-manager-panel > header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid #303437; background: linear-gradient(180deg,#202326,#1b1d1f); }
.call-manager-panel h2 { margin: 4px 0 0; color: #ece8df; font-size: 18px; }
.call-manager-auto { display: inline-flex; align-items: center; gap: 6px; color: #9f9b92; font-size: 10px; font-weight: 800; }
.call-manager-auto i { width: 7px; height: 7px; border-radius: 50%; background: #47c987; box-shadow: 0 0 9px rgba(71,201,135,.5); }
.call-manager-search-bar { padding: 13px 16px 11px; border-bottom: 1px solid #2d3133; background: linear-gradient(180deg,#1b1e20,#17191b); }
.call-manager-search-bar form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.call-manager-search-bar label { position: relative; min-width: 0; }
.call-manager-search-bar label svg { position: absolute; z-index: 1; top: 50%; left: 13px; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #d8b253; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.call-manager-search-bar input { min-height: 42px; padding: 10px 13px 10px 42px; border-color: #3b3f41; color: #f0ece3; background: #111416; caret-color: #e7b949; }
.call-manager-search-bar input::placeholder { color: #77756f; }
.call-manager-search-bar input:focus { border-color: #c49b42; box-shadow: 0 0 0 3px rgba(207,166,69,.13); }
.call-manager-search-bar button { min-width: 68px; border: 1px solid #bf9340; border-radius: 9px; color: #17130c; background: linear-gradient(180deg,#e4bf64,#bf8f36); font-size: 12px; font-weight: 900; cursor: pointer; }
.call-manager-search-bar button:hover { filter: brightness(1.08); }
.call-manager-search-bar p { min-height: 15px; margin: 7px 2px 0; color: #817f78; font-size: 10px; }
.call-manager-search-bar p.is-error { color: #e48177; }
.call-manager-feed { flex: 1 1 auto; min-height: 260px; overflow: auto; scrollbar-color: #5a4d32 #17191b; scrollbar-width: thin; }
.call-manager-item { min-height: 74px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #2c3032; color: inherit; text-decoration: none; transition: background .16s ease,border-color .16s ease; }
.call-manager-call { grid-template-columns: 38px minmax(0,1fr) auto auto; }
.call-manager-item:hover { background: rgba(207,166,69,.055); }
.call-manager-item-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(205,166,75,.24); border-radius: 50%; color: #d9b35a; background: rgba(203,164,72,.08); font-size: 16px; font-weight: 900; }
.call-manager-item.is-missed .call-manager-item-icon,.call-manager-item.is-failed .call-manager-item-icon { color: #e57c72; border-color: rgba(229,100,89,.26); background: rgba(221,82,70,.08); }
.call-manager-item-copy { min-width: 0; }
.call-manager-item-copy strong,.call-manager-item-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-manager-item-copy strong { color: #eeeae1; font-size: 13px; }
.call-manager-item-copy span { margin-top: 4px; color: #929089; font-size: 11px; }
.call-manager-item-copy .call-manager-message-preview { max-width: 52ch; color: #aaa69e; }
.call-manager-item-meta { display: grid; justify-items: end; gap: 3px; color: #9d988e; font-size: 10px; }
.call-manager-item-meta span { color: #c8a654; font-weight: 900; }
.call-manager-item-meta small { color: #77756f; }
.call-manager-dial-button { min-width: 70px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(225,183,82,.45); border-radius: 12px; color: #f2d078; background: linear-gradient(145deg,rgba(216,170,68,.17),rgba(216,170,68,.055)); font-size: 11px; font-weight: 900; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: transform .16s ease,border-color .16s ease,background .16s ease; }
.call-manager-dial-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.call-manager-dial-button:hover { transform: translateY(-1px); border-color: #e4ba57; color: #fff0b6; background: rgba(216,170,68,.2); }
.call-manager-dial-button:focus-visible { outline: 2px solid #f0c45d; outline-offset: 2px; }
.call-manager-dial-button.is-disabled { min-width: 70px; color: #686762; border-color: #333739; background: #161819; cursor: not-allowed; }
.call-manager-item-actions { display: flex; align-items: center; gap: 7px; }
.call-manager-sms-button { min-width: 64px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(111,173,235,.4); border-radius: 12px; color: #9bc8f5; background: linear-gradient(145deg,rgba(77,145,214,.15),rgba(77,145,214,.045)); font-size: 11px; font-weight: 900; text-decoration: none; transition: transform .16s ease,border-color .16s ease,background .16s ease; }
.call-manager-sms-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.call-manager-sms-button:hover { transform: translateY(-1px); border-color: #8dc3f6; color: #d8ecff; background: rgba(77,145,214,.2); }
.call-manager-sms-button.is-disabled { color: #686762; border-color: #333739; background: #161819; cursor: not-allowed; }
.call-manager-search-result { background: linear-gradient(90deg,rgba(210,166,66,.055),transparent 62%); }
.call-manager-message.is-unread { background: linear-gradient(90deg,rgba(70,168,216,.09),transparent 58%); box-shadow: inset 3px 0 #58bce9; }
.call-manager-message.is-unread .call-manager-item-icon { color: #6dd0fb; border-color: rgba(83,190,240,.3); background: rgba(64,171,222,.09); }
.call-manager-unread-label { color: #6dccfa !important; font-weight: 900; }
.call-manager-empty { min-height: 220px; display: grid; place-items: center; padding: 30px; color: #77756f; font-size: 12px; text-align: center; }
@media (max-width: 1320px) {
  .call-manager-hero { grid-template-columns: 1fr; }
  .call-manager-metrics { grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); }
}
@media (max-width: 980px) {
  .call-manager-live-grid { grid-template-columns: 1fr; }
  .call-manager-panel { height: auto; }
  .call-manager-feed { min-height: 320px; max-height: 520px; }
}
@media (max-width: 680px) {
  .friends-sms-notice-body { margin-inline: 20px; }
  .call-manager-hero { padding: 21px 18px; }
  .call-manager-hero dl { grid-template-columns: 1fr; }
  .call-manager-hero dl div { padding: 11px 14px; }
  .call-manager-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .call-manager-metrics article { padding: 14px; }
  .call-manager-panel > header { align-items: flex-start; padding: 15px 16px; }
  .call-manager-item { grid-template-columns: 34px minmax(0,1fr); padding-inline: 14px; }
  .call-manager-item-meta { grid-column: 2; grid-row: 2; display: flex; justify-items: start; gap: 8px; }
  .call-manager-call { grid-template-columns: 34px minmax(0,1fr) 43px; }
  .call-manager-item-actions { grid-column: 3; grid-row: 1 / span 2; display: grid; gap: 5px; }
  .call-manager-call .call-manager-dial-button,
  .call-manager-call .call-manager-sms-button { min-width: 40px; width: 40px; min-height: 40px; padding: 0; border-radius: 50%; }
  .call-manager-call .call-manager-dial-button span,
  .call-manager-call .call-manager-sms-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .call-manager-search-bar { padding-inline: 13px; }
}
