/* Shared CX staff controls. Existing role visibility and record actions stay intact. */
#staffApp{--panel:#101a27;--panel2:#142233;--muted:#aabbd0;--line:#2b3d51;font-size:15px;line-height:1.5}
#staffApp [hidden]{display:none!important}
#staffApp .workspace{max-width:1600px}
#staffApp .view{padding-bottom:28px}
#staffApp .section-head{align-items:center;gap:16px;margin-bottom:18px}
#staffApp .section-head>.eyebrow,#staffApp .section-head>div>.eyebrow{display:none}
#staffApp .section-head h2{font-size:26px;letter-spacing:-.025em;margin:0}
#staffApp input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]),#staffApp select,#staffApp textarea{background:#111e2c!important;color:#f2f5fa!important;border:1px solid #3a5067!important;border-radius:12px;min-height:44px;padding:10px 12px;font:inherit;max-width:100%;box-shadow:none}
#staffApp input::placeholder,#staffApp textarea::placeholder{color:#9bb0c8;opacity:1}
#staffApp input:focus-visible,#staffApp select:focus-visible,#staffApp textarea:focus-visible,#staffApp button:focus-visible,#staffApp summary:focus-visible,.cx-search-dialog113 button:focus-visible{outline:2px solid #89bafa;outline-offset:3px}
#staffApp button:not(.header-signal):not(#menuToggle):not(.staff-chip):not(.x-backdrop):not(.menu-backdrop){font:inherit;min-height:44px;border-radius:11px;box-shadow:none;padding:9px 14px}
#staffApp .secondary,#staffApp .nomi-pager112 button,#staffApp .agent-job-actions-v77 button,#staffApp .team-card button,#staffApp .family-actions button{background:#142233;color:#edf4fb;border:1px solid #3a5067}
#staffApp .primary{background:#c72e47;border:1px solid #c72e47;color:white;box-shadow:none}
#staffApp button:disabled{opacity:.45;cursor:default}
#staffApp .toolbar,.cx-local-toolbar113{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
#staffApp .toolbar input[type="search"],.cx-local-toolbar113 input{flex:1;min-width:200px}
.cx-local-toolbar113 small{color:#aabbd0;font-size:13px}
#staffApp .table-wrap{border-radius:14px;border:1px solid #2b3d51;overflow-x:auto}
#staffApp th{font-size:12px;color:#aabbd0;letter-spacing:.015em;position:sticky;top:0;background:#101a27}
#staffApp td{font-size:15px;padding:14px 12px}#staffApp td small{font-size:13px;color:#aabbd0}
#staffApp .metric-grid article{min-height:0;padding:16px;border-radius:14px}
#staffApp .metric-grid strong{font-size:28px;margin:4px 0}#staffApp .metric-grid small{font-size:12px}
#staffApp .family-card,#staffApp .roster-card,#staffApp .team-card,#staffApp .a360-card,#staffApp .event-card,#staffApp .update-card{padding:18px;border-radius:14px;background:#101a27;border-color:#2b3d51}
#staffApp .family-card p,#staffApp .roster-card p,#staffApp .team-card p{font-size:14px;color:#aabbd0}
#staffApp .nomi-problem112{border-color:#2b3d51;background:#101a27}#staffApp .nomi-problem112.needs-owner{border-left:1px solid #2b3d51}
#staffApp .nomi-problem112>summary strong{font-size:15px;font-weight:650}#staffApp .nomi-problem112>summary span{font-size:13px}
#staffApp .nomi-search112{padding-top:4px}#staffApp .nomi-pager112 button{padding:8px 14px}
.cx-page-status113{font-size:12px;color:#aabbd0;margin:0 0 12px;min-height:18px}.cx-page-status113[data-state="error"]{color:#ffd19a;background:#2b231b;padding:10px 12px;border-radius:10px}
.cx-page-help113{font-size:13px;color:#aabbd0;margin-top:4px}.cx-page-help113 summary{cursor:pointer;width:fit-content}.cx-page-help113 p{max-width:650px;margin:8px 0}
#staffApp .cx-filtered113{display:none!important}
.cx-nav-group113{color:#91a8c3;font-size:11px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;margin:20px 12px 6px}
#staffApp #staffNav button{font-size:14px;text-align:left}#staffApp .sidebar{overflow-y:auto}
#staffApp .cx-global-trigger113{background:#142233;border:1px solid #3a5067;color:#aabbd0;min-width:100px;margin-left:auto}
.cx-search-dialog113{width:min(620px,calc(100% - 28px));max-height:80vh;background:#101a27;color:#f4f7fb;border:1px solid #3a5067;border-radius:18px;padding:0;box-shadow:0 20px 80px #0008}
.cx-search-dialog113::backdrop{background:#0009}.cx-search-dialog113 header{display:flex;gap:8px;padding:16px;border-bottom:1px solid #2b3d51}
.cx-search-dialog113 input{flex:1;min-width:0;background:#142233;color:white;border:1px solid #3a5067;border-radius:11px;padding:12px;font:inherit;font-size:16px}.cx-search-dialog113 input::placeholder{color:#aabbd0}
.cx-search-dialog113 button{background:transparent;color:white;border:0;font:inherit;cursor:pointer;min-height:44px}.cx-search-dialog113 header button{font-size:24px;width:44px}
#cxGlobalResults113{padding:8px;max-height:55vh;overflow:auto}#cxGlobalResults113>button{width:100%;display:grid;grid-template-columns:1fr auto;text-align:left;padding:12px;border-radius:10px}#cxGlobalResults113>button:hover{background:#1c2b3f}#cxGlobalResults113 strong{font-size:15px;font-weight:600}#cxGlobalResults113 small{grid-row:2;color:#aabbd0;font-size:13px}#cxGlobalResults113 span{grid-column:2;grid-row:1/3;align-self:center}#cxGlobalResults113 p{padding:12px;color:#aabbd0}
@media(max-width:760px){#staffApp{font-size:16px}#staffApp .topbar{flex-wrap:wrap;gap:10px}#staffApp .cx-global-trigger113{min-width:44px;margin-left:auto}#staffApp .live-header{width:100%;justify-content:space-between}#staffApp .section-head h2{font-size:24px}#staffApp .section-head{flex-wrap:wrap}#staffApp .toolbar input[type="search"],.cx-local-toolbar113 input{width:100%;min-width:0;flex-basis:100%}#staffApp .toolbar select{flex:1}#staffApp .family-grid,#staffApp .team-grid,#staffApp .roster-grid,#staffApp .athlete360-grid,#staffApp .event-grid{grid-template-columns:1fr}#staffApp .family-actions{display:flex;flex-wrap:wrap;gap:8px}}
@media(prefers-reduced-motion:reduce){#staffApp *,#staffApp *:before,#staffApp *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#staffApp [data-page="dutyAgent"][data-filter113="Needs you"] .nomi-problem112>summary span{display:none}
