/* V3-B2 business overview / people / employee — design handoff 20261116 (screens overview, people, employee).
   Opt-in only: html.msv2 + business dashboard root that business-layout-v2.js marked ready.
   Presentation only: native rows, forms, handlers, roster scope and permissions are untouched.
   Layer: ms-typography (shared Stream B layer) so these !important rules win over older layered rules. */
@layer ms-typography {

/* ---------- page head (mockup .mc-pagehead) ---------- */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-header{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;margin:0 0 20px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-header>div:first-child{min-width:min(100%,280px)!important;flex:1 1 auto!important;height:auto!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-header p{margin:4px 0 0!important;font-size:13px!important;line-height:1.5!important;color:var(--ms-muted)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;width:auto!important;max-width:100%!important;grid-template-columns:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-actions>.ms-business-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:9px 16px!important;border-radius:10px!important;font-size:13px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap!important;flex:0 0 auto!important;text-decoration:none!important;box-shadow:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-actions>.ms-business-action:not(.ms-business-add){background:var(--ms-surface)!important;color:var(--ms-ink)!important;border:1px solid var(--ms-border)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-actions>.ms-business-add{background:var(--ms-navy)!important;color:#fff!important;border:1px solid var(--ms-navy)!important}

/* People view: own description (text comes from PHP via --ms-v3b2-people-hint, translated with sc_t). */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready][data-ms-business-view="employees"] .ms-business-header p{font-size:0!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready][data-ms-business-view="employees"] .ms-business-header p::before{content:var(--ms-v3b2-people-hint,"Everyone in your company, including people who have no courses yet.");font-size:13px!important;line-height:1.5!important}

/* People view: the page title already says Employees; the duplicate list title is hidden there only. */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready][data-ms-business-view="employees"] .ms-business-list-title{display:none!important}

/* ---------- stats (mockup .mc-stats / .mc-stat) ---------- */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 20px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stat{display:block!important;min-height:0!important;height:auto!important;padding:16px!important;border-radius:10px!important;border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;box-shadow:none!important;text-decoration:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stat strong{display:block!important;font-size:25px!important;line-height:1.2!important;font-weight:500!important;margin:0 0 2px!important;color:var(--ms-ink)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stat span{display:block!important;font-size:12px!important;line-height:1.4!important;color:var(--ms-muted)!important;font-weight:400!important}

/* ---------- people toolbar: one control shape, calm type ---------- */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .emp-toolbar :is(.dv2-go,.dv2-reset,.dv2-chip){font-size:13px!important;font-weight:500!important;border-radius:10px!important;min-height:44px!important;height:44px!important;box-shadow:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .emp-toolbar input[type=search],
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .emp-toolbar input[type=text]{font-size:14px!important;border-radius:10px!important;min-height:44px!important;height:44px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-list-title{font-size:17px!important;font-weight:600!important;margin:0 0 12px!important}

/* ---------- "Needs attention" as card with rows (mockup .mc-card/.mc-cardhead/.mc-row) ---------- */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-insights .ms-biz-panel{padding:0!important;border-radius:12px!important;border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;box-shadow:none!important;overflow:hidden!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-insights .ms-biz-section-heading{padding:17px 20px!important;margin:0!important;border-bottom:1px solid var(--ms-border)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-insights .ms-biz-section-heading h2{font-size:17px!important;font-weight:600!important;margin:0!important;line-height:1.3!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-insights .ms-biz-section-heading p{font-size:12px!important;margin:3px 0 0!important;color:var(--ms-muted)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person{padding:14px 20px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--ms-border)!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person .ms-biz-person-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;padding:0!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person .ms-biz-person-head>div:first-child{flex:1 1 220px!important;min-width:0!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person h3{font-size:14px!important;font-weight:600!important;margin:0!important;line-height:1.4!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person .ms-biz-person-courses{font-size:12px!important;margin:2px 0 0!important;color:var(--ms-muted)!important;line-height:1.45!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-insights .ms-biz-pager{padding:12px 20px!important;margin:0!important;font-size:12px!important;color:var(--ms-muted)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] :is(.ms-biz-insights,.ms-biz-overview) .ms-biz-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:9px 14px!important;border-radius:10px!important;font-size:13px!important;font-weight:500!important;white-space:nowrap!important;text-decoration:none!important;box-shadow:none!important}

/* keys note (mockup .mc-note) */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-key-banner{display:flex!important;flex-direction:row!important;text-align:left!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;padding:14px 16px!important;margin:18px 0 0!important;border-radius:10px!important;border:0!important;background:var(--ms-soft,var(--ms-blue-soft))!important;box-shadow:none!important;font-size:13px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-key-banner strong{font-size:14px!important;font-weight:600!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-key-banner p{font-size:12px!important;margin:2px 0 0!important;color:var(--ms-muted)!important}

/* ---------- employee card (mockup "employee": X, tabs as one button system) ---------- */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-tabs{display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:12px 20px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-tabs>[role=tab]{flex:0 0 auto!important;width:auto!important;min-height:44px!important;height:44px!important;padding:9px 14px!important;border-radius:10px!important;border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;color:var(--ms-ink)!important;font-size:13px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap!important;box-shadow:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-tabs>[role=tab][aria-selected=true]{background:var(--ms-navy)!important;border-color:var(--ms-navy)!important;color:#fff!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-tabs>[role=tab][aria-selected=true] *{color:#fff!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .dv3-pname{font-size:18px!important;font-weight:600!important;line-height:1.3!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .dv3-pmail{font-size:12px!important;color:var(--ms-muted)!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .tab-pane :is(h3,h4){font-size:15px!important;line-height:1.35!important}

/* inline password reset: readable primary action (was white text on transparent) */
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset{margin:16px 20px!important;padding:16px!important;border-radius:10px!important;border:1px solid var(--ms-border)!important;background:var(--ms-soft,var(--ms-blue-soft))!important;display:grid!important;gap:8px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset label{font-size:12px!important;color:var(--ms-muted)!important;margin:0!important;font-weight:500!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset input{min-height:44px!important;border-radius:10px!important;font-size:14px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset [role=status]{margin:0!important;font-size:13px!important;min-height:0!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset [role=status]:empty{display:none!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset .ms-action-row{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:4px!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset .ms-action-row>.btn{flex:0 0 auto!important;width:auto!important;min-height:44px!important;padding:9px 16px!important;border-radius:10px!important;font-size:13px!important;font-weight:500!important;white-space:normal!important;box-shadow:none!important;background-image:none!important;opacity:1!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset .ms-action-row>.btn-primary{background:var(--ms-navy)!important;border:1px solid var(--ms-navy)!important;color:#fff!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset .ms-action-row>.btn-primary:disabled{opacity:.6!important}
html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset .ms-action-row>.btn-default{background:var(--ms-surface)!important;border:1px solid var(--ms-border)!important;color:var(--ms-ink)!important}

/* ---------- phones (mockup container <=650) ---------- */
@media (max-width:700px){
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-actions{width:100%!important;justify-content:stretch!important;flex-wrap:nowrap!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-actions>.ms-business-action{flex:1 1 0!important;padding:9px 10px!important;white-space:normal!important;text-align:center!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stats{gap:7px!important;margin-bottom:16px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stat{padding:12px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stat strong{font-size:20px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-stat span{font-size:11px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-insights .ms-biz-section-heading,
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person{padding:13px 15px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-actions{width:100%!important;justify-content:space-between!important;text-align:left!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-attention-person .ms-biz-person-head{flex-direction:row!important;align-items:flex-start!important;text-align:left!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-key-banner>div{flex:1 1 100%!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-biz-key-banner>.ms-biz-button{flex:1 1 100%!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] .ms-business-header>div:first-child{flex:1 1 100%!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px 15px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-tabs>[role=tab]{width:100%!important;white-space:normal!important;padding:7px 8px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset{margin:12px 15px!important}
 html.msv2 #dv2-root#dv2-root[data-ms-business-ready] #ms-employee-dialog .ms-employee-reset .ms-action-row>.btn{flex:1 1 100%!important}
}
}
