/* SLPT Coach canonical dashboard / navigation surface.
 * Namespaced to authenticated Coach workspace only. No changes to Owner,
 * Staff, Clinical, client roles, application data, or security controls. */
#teamRoleView.s23-coach-role .s23-team-page{max-width:1580px;padding-top:12px}
#teamRoleView.s23-coach-role .s23-team-heading{border-radius:20px;padding:26px 28px;background:linear-gradient(110deg,rgba(9,18,25,.92),rgba(15,23,29,.77) 61%,rgba(250,114,30,.12));border-color:rgba(255,255,255,.22)}
#teamRoleView.s23-coach-role .s23-team-heading h1{font-size:clamp(28px,3.2vw,47px)}
#teamRoleView.s23-coach-role .s23-team-heading p{max-width:760px}
#teamRoleView.s23-coach-role .s23-team-rail{scrollbar-width:thin;scrollbar-color:rgba(255,141,58,.36) transparent;overflow-y:auto;overscroll-behavior:contain}
#teamRoleView.s23-coach-role .s23-team-rail .rail-item:focus-visible{outline:2px solid #ffae67;outline-offset:1px}
#teamRoleView.s23-coach-role .s23-team-rail .rail-item.active{color:#ffd5b6}
#teamRoleView.s23-coach-role .s23-team-tabs{gap:7px;margin-bottom:16px}
#teamRoleView.s23-coach-role .s23-team-tabs .s23-team-tab{background:rgba(9,18,24,.7);border-color:rgba(255,255,255,.18);font-size:12px;min-height:38px}
#teamRoleView.s23-coach-role .s23-team-tabs .s23-team-tab.active{background:linear-gradient(120deg,rgba(255,124,30,.21),rgba(20,30,39,.84));border-color:rgba(255,161,68,.56);color:#fff}
#teamRoleView.s23-coach-role .s23-team-panels{align-items:stretch;gap:13px}
#teamRoleView.s23-coach-role .s23-team-panels:has(.s23-coach-metrics){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#teamRoleView.s23-coach-role .s23-coach-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#teamRoleView.s23-coach-role .s23-coach-metric{--tile:255,131,31;position:relative;min-width:0;min-height:119px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;padding:16px 13px;border-radius:16px;border:1px solid rgba(var(--tile),.29);background:linear-gradient(146deg,rgba(var(--tile),.14),rgba(12,22,28,.83) 56%,rgba(9,18,24,.93));color:#fff;text-align:left;cursor:pointer;box-shadow:0 14px 34px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.10)}
#teamRoleView.s23-coach-role .s23-coach-metric[data-coach-tone=clients]{--tile:42,193,214}
#teamRoleView.s23-coach-role .s23-coach-metric[data-coach-tone=programs]{--tile:144,111,250}
#teamRoleView.s23-coach-role .s23-coach-metric[data-coach-tone=calendar]{--tile:255,145,37}
#teamRoleView.s23-coach-role .s23-coach-metric[data-coach-tone=assessments]{--tile:54,201,161}
#teamRoleView.s23-coach-role .s23-coach-metric[data-coach-tone=messages]{--tile:92,156,251}
#teamRoleView.s23-coach-role .s23-coach-metric[data-coach-tone=approvals]{--tile:242,126,169}
#teamRoleView.s23-coach-role .s23-coach-metric small{font-size:10px;font-weight:700;color:#d8e0e7;line-height:1.3}
#teamRoleView.s23-coach-role .s23-coach-metric strong{font-size:clamp(24px,2.3vw,34px);line-height:1.2;font-weight:800;letter-spacing:-.04em}
#teamRoleView.s23-coach-role .s23-coach-metric span{font-size:10px;color:#b2c0ca;line-height:1.4;margin-top:auto;max-width:90%}
#teamRoleView.s23-coach-role .s23-coach-metric i{position:absolute;right:11px;bottom:10px;font-style:normal;color:rgba(var(--tile),.8);font-size:13px}
#teamRoleView.s23-coach-role .s23-coach-quick,#teamRoleView.s23-coach-role .s23-coach-widget,#teamRoleView.s23-coach-role .s23-coach-boundary{border:1px solid rgba(255,255,255,.18);border-radius:17px;background:linear-gradient(135deg,rgba(17,26,33,.88),rgba(10,19,25,.80));box-shadow:0 14px 35px rgba(0,0,0,.23),inset 0 1px rgba(255,255,255,.055)}
#teamRoleView.s23-coach-role .s23-coach-quick{padding:18px}
#teamRoleView.s23-coach-role .s23-coach-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px}
#teamRoleView.s23-coach-role .s23-coach-section-head h2{font-size:19px;margin:4px 0 0}
#teamRoleView.s23-coach-role .s23-coach-aux{font-size:11px;color:#b9c5cb}
#teamRoleView.s23-coach-role .s23-coach-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#teamRoleView.s23-coach-role .s23-coach-action{display:flex;gap:11px;align-items:center;min-width:0;min-height:76px;padding:12px;border:1px solid rgba(255,255,255,.17);border-radius:14px;background:linear-gradient(125deg,rgba(38,54,64,.53),rgba(10,21,28,.72));color:#f8f9fa;text-align:left;cursor:pointer}
#teamRoleView.s23-coach-role .s23-coach-action-icon{display:grid;place-items:center;flex:0 0 39px;height:39px;width:39px;border:1px solid rgba(255,153,75,.37);border-radius:12px;background:rgba(255,127,31,.14);color:#ffa668}
#teamRoleView.s23-coach-role .s23-coach-action-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#teamRoleView.s23-coach-role .s23-coach-action-copy{min-width:0;display:grid;gap:3px}
#teamRoleView.s23-coach-role .s23-coach-action-copy b{font-size:12px;line-height:1.25}
#teamRoleView.s23-coach-role .s23-coach-action-copy small{font-size:10px;line-height:1.35;color:#adbac4}
#teamRoleView.s23-coach-role .s23-coach-chevron{margin-left:auto;color:#b7c5ce;font-size:20px}
#teamRoleView.s23-coach-role .s23-coach-widgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
#teamRoleView.s23-coach-role .s23-coach-widget{min-width:0;min-height:235px;padding:17px;overflow-wrap:anywhere}
#teamRoleView.s23-coach-role .s23-coach-widget-head{display:flex;align-items:start;justify-content:space-between;gap:13px;margin-bottom:7px}
#teamRoleView.s23-coach-role .s23-coach-widget-head h2{font-size:17px;margin:4px 0 0}
#teamRoleView.s23-coach-role .s23-coach-widget-head button{padding:6px 0;flex-shrink:0;border:0;background:transparent;color:#ffb878;font-size:11px;cursor:pointer}
#teamRoleView.s23-coach-role .s23-coach-widget .s23-team-listrow{min-height:42px}
#teamRoleView.s23-coach-role .s23-coach-empty{font-size:12px;line-height:1.6;color:#b6c4cd;padding:7px 0}
#teamRoleView.s23-coach-role .s23-coach-boundary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px}
#teamRoleView.s23-coach-role .s23-coach-boundary>div:first-child{max-width:800px}
#teamRoleView.s23-coach-role .s23-coach-boundary h2{font-size:17px;margin:5px 0}
#teamRoleView.s23-coach-role .s23-coach-boundary p{font-size:12px;line-height:1.6;color:#c1cbd2;margin:0}
#teamRoleView.s23-coach-role .s23-coach-boundary-counts{display:flex;gap:11px;flex:0 0 auto}
#teamRoleView.s23-coach-role .s23-coach-boundary-counts>span{min-width:125px;display:grid;gap:5px;border-radius:12px;padding:12px;border:1px solid rgba(255,255,255,.15);background:rgba(5,13,19,.55)}
#teamRoleView.s23-coach-role .s23-coach-boundary-counts small{font-size:10px;color:#aebfc8}
#teamRoleView.s23-coach-role .s23-coach-boundary-counts b{font-size:21px}
#teamRoleView.s23-coach-role .s23-coach-action:hover,#teamRoleView.s23-coach-role .s23-coach-action:focus-visible,#teamRoleView.s23-coach-role .s23-coach-metric:hover,#teamRoleView.s23-coach-role .s23-coach-metric:focus-visible,#teamRoleView.s23-coach-role .s23-coach-widget-head button:focus-visible{border-color:rgba(255,158,71,.78);outline:2px solid rgba(255,158,71,.45);outline-offset:1px}
#teamRoleView.s23-coach-role .s23-team-workspaces>p{margin:0 0 14px}
@media(max-width:1430px){#teamRoleView.s23-coach-role .s23-coach-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){#teamRoleView.s23-coach-role .s23-coach-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#teamRoleView.s23-coach-role .s23-coach-boundary{align-items:stretch;flex-direction:column}}
@media(max-width:720px){#teamRoleView.s23-coach-role .s23-coach-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#teamRoleView.s23-coach-role .s23-coach-widgets{grid-template-columns:minmax(0,1fr)}#teamRoleView.s23-coach-role .s23-team-panels:has(.s23-coach-metrics){grid-template-columns:minmax(0,1fr)}#teamRoleView.s23-coach-role .s23-coach-metric{min-height:108px;padding:12px}#teamRoleView.s23-coach-role .s23-coach-boundary-counts{flex-wrap:wrap}#teamRoleView.s23-coach-role .s23-team-heading{padding:17px}}
@media(max-width:450px){#teamRoleView.s23-coach-role .s23-coach-quick-grid{grid-template-columns:minmax(0,1fr)}#teamRoleView.s23-coach-role .s23-coach-boundary-counts>span{flex:1;min-width:0}#teamRoleView.s23-coach-role .s23-coach-widget-head{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#teamRoleView.s23-coach-role .s23-coach-action,#teamRoleView.s23-coach-role .s23-coach-metric{transition:none}}
