/* Neway ONE v8.0.481 — Staff / permission canonical styles. */
#staffSettingsModal .modal-box{width:min(780px,calc(100vw - 28px));max-width:780px;max-height:92dvh;overflow:hidden;display:flex;flex-direction:column;}
#staffSettingsModal .staff-modal-head-actions-8305{display:flex;align-items:center;gap:7px;}
#staffSettingsModal .staff-new-button-8305{height:36px;min-height:36px;padding:0 11px;border-radius:9px;font-size:11px;font-weight:750;}
#staffSettingsModal .staff-current-user-box{margin:0 0 9px;padding:9px 10px;border:1px solid rgba(238,75,145,.22);border-radius:9px;background:rgba(238,75,145,.055);font-size:11px;}
#staffSettingsModal .staff-scope-panel-8316{margin-bottom:9px;padding:9px 10px;border:1px solid rgba(255,255,255,.085);border-radius:10px;background:rgba(255,255,255,.025);}
#staffSettingsModal .staff-scope-title-8316{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;}#staffSettingsModal .staff-scope-title-8316 b{font-size:12px;}#staffSettingsModal .staff-scope-title-8316 small,#staffSettingsModal .staff-store-scope-note-8316{display:none;}#staffSettingsModal .staff-scope-title-8316 span{color:var(--muted);font-size:10px;}
#staffSettingsModal .staff-scope-controls-8316{display:grid;grid-template-columns:1fr 1fr;gap:7px;}#staffSettingsModal .staff-scope-controls-8316 label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;color:var(--muted);font-size:10.5px;}#staffSettingsModal .staff-scope-controls-8316 select{min-height:38px;height:38px;border-radius:8px;font-size:11px;}
#staffSettingsModal .staff-form-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:9px;padding:10px;border:1px solid rgba(255,255,255,.085);border-radius:10px;background:rgba(255,255,255,.025);}#staffSettingsModal .staff-form-card label{display:grid;gap:5px;color:var(--muted);font-size:10.5px;font-weight:650;}#staffSettingsModal .staff-form-card input,#staffSettingsModal .staff-form-card select{width:100%;min-height:40px;border-radius:8px;}
#staffSettingsModal .staff-store-access-8309{grid-column:1/-1;padding-top:2px;}#staffSettingsModal .staff-store-access-head-8309{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}#staffSettingsModal .staff-store-access-head-8309 b{font-size:11px;}#staffSettingsModal .staff-store-access-head-8309 small{display:none;}#staffSettingsModal .staff-store-access-list-8309{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}#staffSettingsModal .staff-store-choice-8309{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 8px;border:1px solid rgba(255,255,255,.085);border-radius:8px;background:rgba(255,255,255,.02);font-size:10.5px;}#staffSettingsModal .staff-store-choice-8309 input{flex:0 0 auto;width:17px;height:17px;min-height:17px;}#staffSettingsModal .staff-store-access-summary-8309{display:block;margin-top:5px;color:var(--muted);font-size:9.5px;}
#staffSettingsModal .staff-warning{grid-column:1/-1;margin:0;padding:7px 8px;border-radius:8px;background:rgba(215,154,8,.09);color:#d9a633;font-size:9.5px;line-height:1.3;}
#staffSettingsModal .staff-list-toolbar-8315{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0 7px;}#staffSettingsModal .staff-status-tabs-8315{display:flex;gap:6px;}#staffSettingsModal .staff-status-tabs-8315 button{height:32px;min-height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.085);border-radius:999px;background:transparent;color:var(--muted);font-size:10px;font-weight:750;}#staffSettingsModal .staff-status-tabs-8315 button.active{background:rgba(238,75,145,.14);border-color:rgba(238,75,145,.38);color:#ff78b2;}
#staffSettingsModal .staff-user-list{display:flex;flex-direction:column;gap:7px;min-height:0;overflow:auto;padding-bottom:2px;}#staffSettingsModal .staff-user-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.02);}#staffSettingsModal .staff-user-head{display:flex;align-items:center;gap:7px;min-width:0;}#staffSettingsModal .staff-user-head b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;}#staffSettingsModal .staff-company-pill-8318,#staffSettingsModal .staff-left-badge-8315,#staffSettingsModal .staff-activation-badge-8321{display:inline-flex;align-items:center;min-height:20px;padding:0 6px;border-radius:999px;background:rgba(238,75,145,.10);color:#ff78b2;font-size:8.5px;font-weight:800;white-space:nowrap;}#staffSettingsModal .staff-identity-line-8318,#staffSettingsModal .staff-user-store-line-8309,#staffSettingsModal .staff-legacy-username-8321{margin-top:3px;color:var(--muted);font-size:9.5px;}#staffSettingsModal .staff-protected-8307{opacity:.72;}
#staffDeleteImpactModal8315 .staff-delete-modal-8315{width:min(520px,calc(100vw - 24px));}#staffDeleteImpactModal8315 .staff-delete-target-8315{margin:8px 0;padding:9px 10px;border:1px solid var(--line);border-radius:9px;}#staffDeleteImpactModal8315 .staff-delete-warning-8315{padding:8px 9px;border-radius:8px;background:rgba(215,154,8,.09);color:#d9a633;font-size:10px;line-height:1.35;}#staffDeleteImpactModal8315 .staff-impact-grid-8315{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:8px 0;}#staffDeleteImpactModal8315 .staff-impact-item-8315{padding:8px;border:1px solid var(--line);border-radius:8px;font-size:10px;}#staffDeleteImpactModal8315 .staff-delete-actions-8315{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px;}#staffDeleteImpactModal8315 .staff-permanent-delete-btn-8315{border-color:rgba(218,72,72,.48);color:#e35d68;}
html[data-neway-theme="light"] #staffSettingsModal .staff-current-user-box{background:#fff3f8;border-color:#efc5da;}html[data-neway-theme="light"] #staffSettingsModal .staff-scope-panel-8316,html[data-neway-theme="light"] #staffSettingsModal .staff-form-card,html[data-neway-theme="light"] #staffSettingsModal .staff-user-card,html[data-neway-theme="light"] #staffSettingsModal .staff-store-choice-8309{background:#fff;border-color:#e1e4e9;color:#252930;}html[data-neway-theme="light"] #staffSettingsModal .staff-status-tabs-8315 button{border-color:#e1e4e9;color:#676e79;}html[data-neway-theme="light"] #staffSettingsModal .staff-status-tabs-8315 button.active{background:#fff0f6;border-color:#e8acc6;color:#b42e68;}
@media(max-width:760px){#staffSettingsModal .modal-box{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);}#staffSettingsModal .staff-scope-controls-8316{grid-template-columns:1fr;}#staffSettingsModal .staff-form-card{grid-template-columns:1fr 1fr;}#staffSettingsModal .staff-store-access-list-8309{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:430px){#staffSettingsModal .staff-form-card{grid-template-columns:1fr;}#staffSettingsModal .staff-store-access-list-8309{grid-template-columns:1fr 1fr;}#staffSettingsModal .staff-user-card{grid-template-columns:1fr;}}
