/* HAEUNDAE_V49A: 점장용 직원 관리자 계정 개설 요청 발판 · 메인 화면 위치 수정 */
.staff-request-nav{display:none;}
html[data-auth-role="superAdmin"] .staff-request-nav,
html[data-auth-role="branchMaster"] .staff-request-nav{display:inline-flex;}
.staff-request-page{min-height:0;overflow:auto;}
.staff-request-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--rl);overflow:hidden;}
.staff-request-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 18px 14px;border-bottom:1px solid var(--border);background:#fff;}
.staff-request-title{font-size:21px;font-weight:950;letter-spacing:-.04em;color:var(--t1);}
.staff-request-help{margin-top:4px;font-size:13px;font-weight:800;line-height:1.5;color:var(--t2);}
.staff-request-form{display:grid;grid-template-columns:minmax(250px,1.25fr) minmax(150px,.8fr) minmax(180px,.9fr) minmax(260px,1.4fr) auto;gap:10px;align-items:end;padding:14px 16px;background:#fff;}
.staff-request-field{display:flex;flex-direction:column;gap:6px;min-width:0;}
.staff-request-label{font-size:13px;font-weight:900;color:var(--t2);}
.staff-request-input{width:100%;height:46px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--t1);padding:0 13px;font-family:inherit;font-size:16px;font-weight:850;outline:none;}
.staff-request-input:focus{border-color:var(--acc);background:#fff;box-shadow:0 0 0 3px rgba(196,149,106,.12);}
.staff-request-submit{height:46px;white-space:nowrap;padding:0 18px!important;font-size:15px!important;font-weight:950!important;justify-content:center;}
.staff-request-submit[disabled]{opacity:.55;cursor:wait;}
.staff-request-note{padding:10px 16px;border-top:1px solid var(--border);background:#faf8f4;color:var(--t2);font-size:13px;font-weight:800;line-height:1.5;}
.staff-request-list-card{margin-top:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--rl);overflow:hidden;}
.staff-request-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--border);background:#fff;}
.staff-request-list-title{font-size:17px;font-weight:950;color:var(--t1);}
.staff-request-refresh{height:36px;padding:0 13px!important;font-size:13px!important;font-weight:900!important;}
.staff-request-scroll{overflow:auto;max-height:calc(100vh - 355px);}
.staff-request-table{width:100%;min-width:1120px;table-layout:fixed;border-collapse:collapse;}
.staff-request-table th{position:sticky;top:0;z-index:2;background:var(--surface2);font-size:14px;font-weight:950;color:var(--t1);padding:12px 10px;text-align:center;}
.staff-request-table td{font-size:15px;font-weight:800;padding:13px 10px;line-height:1.4;vertical-align:middle;word-break:break-word;}
.staff-request-table th:nth-child(1),.staff-request-table td:nth-child(1){width:72px;text-align:center;}
.staff-request-table th:nth-child(2),.staff-request-table td:nth-child(2){width:110px;text-align:center;}
.staff-request-table th:nth-child(3),.staff-request-table td:nth-child(3){width:130px;text-align:center;}
.staff-request-table th:nth-child(4),.staff-request-table td:nth-child(4){width:240px;}
.staff-request-table th:nth-child(5),.staff-request-table td:nth-child(5){width:155px;text-align:center;}
.staff-request-table th:nth-child(6),.staff-request-table td:nth-child(6){width:160px;text-align:center;}
.staff-request-table th:nth-child(7),.staff-request-table td:nth-child(7){width:180px;}
.staff-request-table th:nth-child(8),.staff-request-table td:nth-child(8){width:150px;text-align:center;}
.staff-request-status{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:5px 10px;border-radius:999px;font-size:13px;font-weight:950;white-space:nowrap;border:1px solid var(--border);}
.staff-request-status.requested{background:#fff4e5;color:#b76614;border-color:#efc894;}
.staff-request-status.reviewing{background:#eef4ff;color:#2d63b8;border-color:#c8d9eb;}
.staff-request-status.completed{background:#eaf5ee;color:#2e7d50;border-color:#bfdcc9;}
.staff-request-status.hold{background:#f3f1ee;color:#716860;border-color:#d8d1c7;}
.staff-request-empty{padding:34px 20px;text-align:center;color:var(--t3);font-size:15px;font-weight:850;}
.staff-request-state{font-size:13px;font-weight:900;color:var(--t2);}
.staff-request-state.ok{color:var(--success);}
.staff-request-state.error{color:var(--danger);}
@media(max-width:1450px){.staff-request-form{grid-template-columns:1fr 1fr 1fr;}.staff-request-field.memo{grid-column:1/3;}.staff-request-submit{width:100%;}}
@media(max-width:900px){.staff-request-form{grid-template-columns:1fr;}.staff-request-field.memo{grid-column:auto;}.staff-request-head{flex-direction:column}.staff-request-scroll{max-height:none;}}

/* HAEUNDAE_V50: 카운셀러 전용 탭 + 직원/권한 통합 화면 */
#memberType{display:none!important;}
.staff-request-scroll{max-height:280px;}
.staff-account-card{margin-top:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--rl);overflow:hidden;}
.staff-account-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--border);background:#fff;}
.staff-account-title{font-size:17px;font-weight:950;color:var(--t1);}
.staff-account-help{margin-top:3px;font-size:12px;font-weight:800;color:var(--t3);line-height:1.45;}
.staff-account-scroll{overflow:auto;max-height:360px;}
.staff-account-table{width:100%;min-width:900px;table-layout:fixed;border-collapse:collapse;}
.staff-account-table th{position:sticky;top:0;z-index:2;background:var(--surface2);font-size:14px;font-weight:950;color:var(--t1);padding:12px 10px;text-align:center;}
.staff-account-table td{font-size:15px;font-weight:800;padding:13px 10px;line-height:1.4;vertical-align:middle;border-bottom:1px solid var(--border);}
.staff-account-table th:nth-child(1),.staff-account-table td:nth-child(1){width:70px;text-align:center;}
.staff-account-table th:nth-child(2),.staff-account-table td:nth-child(2){width:110px;text-align:center;}
.staff-account-table th:nth-child(3),.staff-account-table td:nth-child(3){width:105px;text-align:center;}
.staff-account-table th:nth-child(4),.staff-account-table td:nth-child(4){width:180px;text-align:center;}
.staff-account-table th:nth-child(5),.staff-account-table td:nth-child(5){width:260px;}
.staff-account-table th:nth-child(6),.staff-account-table td:nth-child(6){width:150px;text-align:center;}
.staff-account-table th:nth-child(7),.staff-account-table td:nth-child(7){width:120px;text-align:center;}
.staff-account-role{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:4px 9px;border-radius:999px;font-size:13px;font-weight:950;border:1px solid var(--border);}
.staff-account-role.master{background:#eaf5ee;color:#2e7d50;border-color:#bfdcc9;}
.staff-account-role.staff{background:#eef4ff;color:#2d63b8;border-color:#c8d9eb;}
.staff-account-action{min-width:62px;height:34px;border:1px solid var(--t1);border-radius:9px;background:#fff;color:var(--t1);font-family:inherit;font-size:13px;font-weight:950;cursor:pointer;}
.staff-account-action.primary{background:var(--t1);color:#fff;}
.staff-account-action:hover{transform:translateY(-1px);}
.staff-account-self{display:inline-flex;align-items:center;justify-content:center;min-width:62px;height:34px;border-radius:9px;background:var(--surface2);color:var(--t2);font-size:13px;font-weight:900;}
.staff-account-empty{padding:32px 20px;text-align:center;color:var(--t3);font-size:15px;font-weight:850;}
@media(max-width:900px){.staff-account-scroll{max-height:none}.staff-request-scroll{max-height:none}}
