/* Native Home reshaped to the approved learner/shop composition. */
html.msv2 body.bodypage_home [data-ms-replaced-hero],html.msv2 body.bodypage_home .ms-home-layout [hidden]{display:none!important}
html.msv2 body.bodypage_home #ms-home-layout{font:14px/1.45 Arial,system-ui,sans-serif;color:var(--ms-ink);margin:0 0 14px}
html.msv2 body.bodypage_home .ms-home-title{margin:0 0 22px}
html.msv2 body.bodypage_home .ms-home-title h1{font-size:25px;line-height:1.2;font-weight:700;margin:0 0 8px}
html.msv2 body.bodypage_home .ms-home-title p{font-size:12px;color:var(--ms-muted);margin:0}
html.msv2 body.bodypage_home .ms-home-welcome{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:var(--ms-surface);border:1px solid var(--ms-border);border-radius:12px;padding:22px;margin-bottom:24px}
html.msv2 body.bodypage_home .ms-home-welcome h2{font-size:23px;line-height:1.2;margin:8px 0 12px;font-weight:700}
html.msv2 body.bodypage_home .ms-home-welcome p{color:var(--ms-muted);margin:0 0 17px;font-size:13px}
html.msv2 body.bodypage_home .ms-home-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;min-height:38px;border:1px solid var(--ms-border);border-radius:8px;background:var(--ms-surface);color:var(--ms-ink);font-size:12px;text-decoration:none}
html.msv2 body.bodypage_home .ms-home-steps{display:grid;gap:10px;list-style:none;margin:0;padding:0}
html.msv2 body.bodypage_home .ms-home-steps li{display:flex;gap:12px;align-items:center;background:var(--ms-soft);padding:12px;border-radius:9px}
html.msv2 body.bodypage_home .ms-home-steps li>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--ms-navy-ink);color:var(--ms-surface);border-radius:50%;flex-shrink:0}
html.msv2 body.bodypage_home .ms-home-steps small{display:block;font-size:12px;color:var(--ms-muted);margin-top:3px}
html.msv2 body.bodypage_home .ms-home-return{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:15px}
html.msv2 body.bodypage_home .ms-home-return h2{font-size:18px;margin:3px 0;font-weight:700}
html.msv2 body.bodypage_home .ms-home-return small{font-size:12px}
html.msv2 body.bodypage_home .ms-home-quick{display:flex;flex-wrap:wrap;gap:7px;margin-left:auto}
html.msv2 body.bodypage_home .ms-home-resume{display:flex;align-items:center;gap:14px;background:var(--ms-surface);border:1px solid var(--ms-border);border-radius:10px;padding:12px}
html.msv2 body.bodypage_home .ms-home-resume>img{width:100px;height:64px;object-fit:cover;border-radius:7px;flex-shrink:0}
html.msv2 body.bodypage_home .ms-home-resume>div{flex:1;min-width:0}
html.msv2 body.bodypage_home .ms-home-resume small{display:block;color:var(--ms-muted);font-size:12px;margin-top:3px}
html.msv2 body.bodypage_home .ms-home-track{height:5px;background:var(--ms-soft);max-width:100px;margin-top:7px;overflow:hidden;border-radius:4px}
html.msv2 body.bodypage_home .ms-home-track>span{display:block;background:var(--ms-orange);height:100%}
html.msv2 body.bodypage_home .ms-home-primary{background:var(--ms-orange)!important;border-color:var(--ms-orange)!important;color:var(--ms-surface)!important}
html.msv2 body.bodypage_home .ms-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0 25px}
html.msv2 body.bodypage_home .ms-home-stat{display:block;min-width:0;padding:12px;border:1px solid var(--ms-border);border-radius:10px;background:var(--ms-surface);color:var(--ms-ink);text-decoration:none}
html.msv2 body.bodypage_home .ms-home-stat strong{display:block;font-size:23px;line-height:1.2}
html.msv2 body.bodypage_home .ms-home-stat small{font-size:11px;color:var(--ms-muted)}
html.msv2 body.bodypage_home .ms-home-catalogue-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:22px 0 14px}
html.msv2 body.bodypage_home .ms-home-catalogue-title h2{font-size:18px;margin:0;font-weight:700}
html.msv2 body.bodypage_home .ms-home-catalogue-title>span{font-size:12px;color:var(--ms-muted)}
html.msv2 body.bodypage_home .ms-home-catalogue-title>a{margin-left:auto}
html.msv2 body.bodypage_home .ms-home-filters{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}
html.msv2 body.bodypage_home .ms-home-filters input,html.msv2 body.bodypage_home .ms-home-filters select{height:40px;border:1px solid var(--ms-border);border-radius:8px;padding:9px 12px;font:12px Arial,sans-serif;background:var(--ms-surface);color:var(--ms-ink);min-width:0}
html.msv2 body.bodypage_home .ms-home-filters input{width:min(100%,340px)}
html.msv2 body.bodypage_home .ms-home-filters select{max-width:100%;width:210px}
html.msv2 body.bodypage_home .ms-home-native-details{font:12px Arial,sans-serif;margin:12px 0;color:var(--ms-muted)}
html.msv2 body.bodypage_home .ms-home-native-details>summary{cursor:pointer;padding:10px 0}
html.msv2 body.bodypage_home .ms-home-empty{padding:18px;background:var(--ms-surface);border:1px solid var(--ms-border);border-radius:10px}
@media(max-width:900px){html.msv2 body.bodypage_home .ms-home-quick{margin-left:0}}
@media(max-width:700px){
 html.msv2 body.bodypage_home .ms-home-welcome{grid-template-columns:1fr;gap:14px;padding:16px}
 html.msv2 body.bodypage_home .ms-home-welcome h2{font-size:20px}
 html.msv2 body.bodypage_home .ms-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:18px}
 html.msv2 body.bodypage_home .ms-home-stat{padding:10px}
 html.msv2 body.bodypage_home .ms-home-resume{flex-wrap:wrap}
 html.msv2 body.bodypage_home .ms-home-resume>img{width:80px;height:54px}
 html.msv2 body.bodypage_home .ms-home-resume>.ms-home-link{width:100%;min-height:44px}
 html.msv2 body.bodypage_home .ms-home-link{min-height:44px}
 html.msv2 body.bodypage_home .ms-home-filters input{width:100%;height:44px}
 html.msv2 body.bodypage_home .ms-home-filters select{height:44px}
 html.msv2 body.bodypage_home .ms-home-steps li{padding:9px;min-height:44px}
 html.msv2 body.bodypage_home .ms-home-steps strong{font-size:12px}
}
@media(max-width:700px){
 html.msv2 body.bodypage_home .ms-home-welcome{gap:12px;margin-bottom:18px}
 html.msv2 body.bodypage_home .ms-home-welcome h2{font-size:19px;margin:5px 0 0}
 html.msv2 body.bodypage_home .ms-home-welcome>div>p,html.msv2 body.bodypage_home .ms-home-welcome>div>.ms-home-link{display:none}
 html.msv2 body.bodypage_home .ms-home-steps{gap:6px}
 html.msv2 body.bodypage_home .ms-home-steps li{padding:8px;gap:10px}
 html.msv2 body.bodypage_home .ms-home-steps small{display:none}
}

html.msv2 body.bodypage_home .all-courses-content-wrapper:has(#tariff-grid){margin:0!important;padding:0!important}

html.msv2 body.bodypage_home .tj-wrap:has([data-ms-replaced-hero]){display:contents!important;margin:0!important;padding:0!important}

/* Preserve both native customer states and all native account information. */
html.msv2 .ms-home-renew{border:1px solid var(--ms-border);border-radius:8px;background:var(--ms-surface);padding:10px 14px;min-height:44px;cursor:pointer}
html.msv2 .ms-home-renew-notice{padding:12px;border:1px solid var(--ms-border);border-radius:8px;background:var(--ms-orange-soft);font-size:13px!important;line-height:1.5}
html.msv2 .ms-home-language-link{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:3px;border:1px solid transparent;border-radius:6px}
html.msv2 .ms-home-language-link:hover,html.msv2 .ms-home-language-link[aria-current]{background:var(--ms-soft);border-color:var(--ms-border)}
@media(max-width:900px){html.msv2 .ms-home-language-link{min-width:44px;min-height:44px}}
@layer ms-home-heading {
html.msv2 #ms-frame#ms-frame #ms-home-layout .ms-home-title{margin:0 0 14px!important}
html.msv2 #ms-frame#ms-frame #ms-home-layout .ms-home-title h1{font-size:18px!important;font-weight:550!important;line-height:1.35!important;letter-spacing:-.01em!important;margin:0!important}
}
html.msv2 body.bodypage_home .ms-home-native-account{display:block!important;max-width:100%!important;padding:0!important;margin:0 0 20px!important}
html.msv2 body.bodypage_home [data-ms-native-hero="guest"]{display:grid!important;width:100%!important;max-width:100%!important;margin:0 0 20px!important}
html.msv2 body.bodypage_home .ms-home-language-strip{margin:18px 0 20px}
html.msv2 body.bodypage_home .ms-home-language-strip .dcf-hero{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;margin:0!important;padding:18px 20px!important;border-radius:12px!important;border:1px solid var(--ms-border)!important;background:var(--ms-surface)!important;box-shadow:none!important}
html.msv2 body.bodypage_home .ms-home-language-strip .dcf-t{font-size:14px!important;line-height:1.5!important;font-weight:500!important;margin:0!important;color:var(--ms-ink)!important}
html.msv2 body.bodypage_home .ms-home-language-strip .dcf-row{gap:7px!important;max-width:100%!important}
html.msv2 body.bodypage_home .ms-home-language-strip .dcf-row img{width:28px!important;height:19px!important;object-fit:cover!important;flex:none!important;border-radius:3px!important}
html.msv2 body.bodypage_home [data-ms-native-hero="guest"] :is(.dcf-copy,.dcf-hero,.dcf-step){display:none!important}
html.msv2 body.bodypage_home .ms-home-video-notice{border:1px solid #efd5aa;border-radius:12px;background:#fff6e7;padding:18px 20px;margin:18px 0}
html.msv2 body.bodypage_home .ms-home-video-notice h2{font-size:18px!important;margin:0 0 8px!important;color:var(--ms-ink)!important}
html.msv2 body.bodypage_home .ms-home-video-notice p{font-size:14px;line-height:1.55;color:var(--ms-muted);margin:0 0 14px}
html.msv2 body.bodypage_home .ms-home-notice-actions{display:flex;flex-wrap:wrap;gap:10px}
html.msv2 body.bodypage_home .ms-home-notice-actions a{min-height:44px!important;height:auto!important;text-align:center!important;white-space:normal!important}
html.msv2 body.bodypage_home [data-ms-native-hero] .wp10-h3photo{aspect-ratio:2/1;background-size:cover!important}
@media(max-width:1050px){html.msv2 body.bodypage_home [data-ms-native-hero="guest"]{grid-template-columns:minmax(0,1fr)!important}html.msv2 body.bodypage_home [data-ms-native-hero="guest"] .tj-photo{min-height:190px!important;aspect-ratio:2/1}}
@media(max-width:700px){html.msv2 body.bodypage_home .ms-home-language-strip .dcf-hero{padding:16px!important;gap:12px!important}html.msv2 body.bodypage_home .ms-home-language-strip .dcf-row{gap:7px!important}html.msv2 body.bodypage_home [data-ms-native-hero] .wp10-h3copy{padding:22px 18px!important}html.msv2 body.bodypage_home [data-ms-native-hero] .wp10-h3photo{min-height:170px!important}html.msv2 body.bodypage_home .ms-home-video-notice{padding:16px}html.msv2 body.bodypage_home .ms-home-notice-actions a{width:100%}}

@layer ms-home-heading {
/* Owner23:38: compact Home and a single quiet greeting, including late name markup. */
html.msv2 #ms-frame#ms-frame #ms-home-layout .ms-home-title h1{font-size:12px!important;font-weight:600!important;line-height:1.3!important;color:var(--ms-muted)!important} /* SC-HOME-TITLE-2: owner 16 Nov - Home label half size */
html.msv2 #ms-frame#ms-frame #ms-home-layout .ms-home-title{margin:0 0 10px!important}
html.msv2 #ms-frame#ms-frame #ms-home-layout :is(.wp10-h3eyebrow,.wp10-greet,.sc-greet-name){font-size:18px!important;font-weight:600!important;color:#153d5e!important;line-height:1.5!important;letter-spacing:-.015em!important;text-transform:none!important;vertical-align:baseline!important}
html.msv2 #ms-frame#ms-frame #ms-home-layout .sc-greet-name{font-size:18px!important;margin-left:4px!important} /* OWNER-WELCOME-20261116: modest emphasis, one size and colour. */

}

/* SC-HOME-DEDUP-1 (owner 16 Nov): no duplicate buttons on Home - Quick Actions (My Certificates /
   My Profile / Business Dashboard) and the Course bundles link next to All courses are already in the sidebar. */
html.msv2 body.bodypage_home #ms-home-layout .wp10-dash>.wp10-block{display:none!important}
html.msv2 body.bodypage_home .ms-home-catalogue-title>a.ms-home-link{display:none!important}

/* SC-HOME-FILTERS-1 (owner 16 Nov): Search and category filter share one row, half and half */
html.msv2 body.bodypage_home .ms-home-filters{flex-wrap:nowrap!important}
html.msv2 body.bodypage_home .ms-home-filters>:is(input,select){flex:1 1 0!important;width:auto!important;max-width:none!important;min-width:0!important}
html.msv2 body.bodypage_home .ms-home-filters{align-items:stretch!important}
html.msv2 body.bodypage_home .ms-home-filters>:is(input,select){height:48px!important;min-height:48px!important;margin:0!important;box-sizing:border-box!important}

@layer ms-home-heading {
/* OWNER-GREETING-POLISH: quiet greeting, restrained emphasis on the name. */
html.msv2 #ms-frame#ms-frame #ms-home-layout :is(.wp10-h3eyebrow,.wp10-greet) .ms-welcome-name{font:inherit!important;font-weight:700!important;color:#b84c12!important;white-space:normal}
}
