/* Shared self-hosted typography. Inter font binaries are unchanged; license: fonts/Inter-OFL.txt. */
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-cyrillic-wght-normal-DqGufNeO.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-greek-ext-wght-normal-DlzME5K_.woff2") format("woff2-variations");unicode-range:U+1F00-1FFF}
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-greek-wght-normal-CkhJZR-_.woff2") format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-vietnamese-wght-normal-CBcvBZtf.woff2") format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-latin-ext-wght-normal-DO1Apj_S.woff2") format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:MS Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("/assets/ms-shell-v2/fonts/inter-latin-wght-normal-Dx4kXJAl.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@layer ms-typography {
/* SC-TYPESCALE-1 (owner 16 Nov): page titles were bigger than the logo - h1 20/18, h2 17/16, h3 15 */
html.msv2{--ms-ui-font:"MS Inter",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ms-type-body:14px;--ms-type-label:12.5px}
html.msv2 body{font-family:var(--ms-ui-font)!important;font-weight:400;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html.msv2 #ms-frame#ms-frame{font-family:var(--ms-ui-font)!important;font-size:var(--ms-type-body)!important;line-height:1.55!important;font-weight:400!important}
html.msv2 :is(h1,h2,h3,h4,h5,p,button,input,select,textarea,label,summary,td,th,a,li,b,strong,small,div,span):not(:where(.fa,.fas,.far,.fab,.fal,.fad,.glyphicon,.material-icons,.material-symbols-outlined,[class*="note-icon"])) {font-family:var(--ms-ui-font)!important}
html.msv2 :is(body.authorize,.modal,[role=dialog]) :is(button,.btn,a.btn){font-weight:500!important;line-height:1.4!important;letter-spacing:0!important}
html.msv2 :is(body.authorize,.modal,[role=dialog]) :is(h1,h2,h3){font-weight:600!important;line-height:1.35!important;letter-spacing:-.015em!important}
html.msv2 :is(body.authorize,.modal,[role=dialog]) :is(label,.control-label){font-weight:500!important;line-height:1.5!important}
html.msv2 #ms-frame#ms-frame :is(button,.btn,.lms-btn,.ms-home-link,.ms-frame-nav-link,.am-switch__opt){font-weight:500!important;letter-spacing:0!important}
html.msv2 #ms-frame#ms-frame :is(h1,.sc-acc-head h1,.dv2-h1,.ms-business-header h1){font-size:20px!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.025em!important}
html.msv2 #ms-frame#ms-frame :is(h2,.ms-home-welcome h2,.ms-home-return h2){font-size:17px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:-.015em!important}
html.msv2 #ms-frame#ms-frame :is(h3,.sc-hdtxt b,.sc-card-h,.ms-business-list-title){font-size:15px!important;font-weight:550!important;line-height:1.4!important;letter-spacing:-.01em!important}
html.msv2 #ms-frame#ms-frame :is(label,.control-label){font-size:12.5px!important;line-height:1.5!important;font-weight:500!important;letter-spacing:0!important}
html.msv2 #ms-frame#ms-frame :is(p,.sc-acc-head p,.sc-hdtxt>span,.ms-course-description){font-weight:400!important;line-height:1.55!important}
html.msv2 #ms-frame#ms-frame :is(input,select,textarea){font-weight:400!important;letter-spacing:0!important}
html.msv2 #ms-frame#ms-frame :is(.sc-cb-txt b,.dv3-pname,.scnb3-cn,.dv2-name,.ms-course-body .all-courses-content-block-title){font-weight:550!important;line-height:1.4!important;letter-spacing:-.01em!important}
html.msv2 #ms-frame#ms-frame .ms-course-body .all-courses-content-block-title{font-size:15px!important}
html.msv2 #ms-frame#ms-frame :is(.ms-frame-account,.ms-frame-workspace>strong,.ms-frame-modes,.ms-frame-cart,.ms-frame-links){font-weight:500!important}
html.msv2 #ms-frame#ms-frame :is(.ms-course-unit,.ms-home-stat strong,.ms-business-metric .dv2-kpi-num){font-weight:550!important;font-variant-numeric:tabular-nums}
html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;background:var(--ms-blue-soft)!important;border-color:var(--ms-border)!important;padding:14px 16px!important;gap:12px!important;border-radius:10px!important}
html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-cb-ico{width:34px!important;height:34px!important;background:var(--ms-surface)!important;color:var(--ms-navy)!important;border-radius:8px!important}
html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-cb-txt b{font-size:14px!important;color:var(--ms-ink)!important}
html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-cb-txt span{font-size:13px!important;font-weight:400!important;color:var(--ms-muted)!important}
html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-name-lock a{font-size:12px!important;min-height:42px!important;height:auto!important;padding:9px 12px!important;font-weight:500!important}
html.msv2 #ms-frame#ms-frame .profile-modern .save-btn{font-size:14px!important;font-weight:500!important;padding:10px 18px!important;height:auto!important;min-height:44px!important}
html.msv2 #ms-frame#ms-frame .ms-frame-sidebar-footer,html.msv2 #ms-frame#ms-frame .ms-frame-nav-link{font-size:12px!important;line-height:1.5!important}
html.msv2 #ms-frame#ms-frame :is(.sc-ov-v,.sc-hdtxt>span,.sc-cb-txt>span){font-weight:400!important}
@media(max-width:700px){
 html.msv2 #ms-frame#ms-frame :is(h1,.sc-acc-head h1,.dv2-h1,.ms-business-header h1){font-size:18px!important;line-height:1.3!important}
 html.msv2 #ms-frame#ms-frame :is(h2,.ms-home-welcome h2,.ms-home-return h2){font-size:16px!important}
 html.msv2 #ms-frame#ms-frame :is(h3,.sc-hdtxt b,.sc-card-h){font-size:15px!important}
 html.msv2 #ms-frame#ms-frame :is(input,select,textarea){font-size:16px!important}
 html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar{grid-template-columns:34px minmax(0,1fr)!important}
 html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-cb-txt{min-width:0!important;width:100%!important}
 html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-name-lock{grid-column:2!important;margin:0!important;width:auto!important;justify-self:start!important}
 html.msv2 #ms-frame#ms-frame .profile-modern .sc-certbar .sc-name-lock a{width:auto!important;white-space:normal!important}
}

}
/* SC-CHECKOUT-TYPE-1 (owner 16 Nov): checkout/basket mixed tiny and huge text. One calm scale:
   title 18, labels 14-16, amounts 18-20, meta 13. Same layer as the base scale so it wins. */
@layer ms-typography {
html.msv2 #ms-frame#ms-frame .sc-checkout-total>div>span{font-size:16px!important;font-weight:600!important}
html.msv2 #ms-frame#ms-frame .sc-checkout-total>strong,html.msv2 #ms-frame#ms-frame .sc-checkout-total>strong *{font-size:20px!important;font-weight:700!important}
html.msv2 #ms-frame#ms-frame .sc-ov3-head h3,html.msv2 #ms-frame#ms-frame .sc-ov3-head h3 *{font-size:13px!important;font-weight:400!important;color:var(--ms-muted)!important}
html.msv2 #ms-frame#ms-frame .sc-ov3-head .sc-checkout-reference{font-size:13px!important}
html.msv2 #ms-frame#ms-frame .cart-total-bar .ctb-label{font-size:16px!important;font-weight:600!important}
html.msv2 #ms-frame#ms-frame .cart-total-bar .ctb-amount,html.msv2 #ms-frame#ms-frame .cart-total-bar .ctb-amount *{font-size:20px!important;font-weight:700!important}
html.msv2 #ms-frame#ms-frame :is(.cart-card-price,.cart-card-price *){font-size:14px!important}
html.msv2 #ms-frame#ms-frame .cart-page-sub{font-size:13px!important}
}
/* SC-COMPACT-2 (owner 16 Nov, no oversized blocks / no duplicates):
   certificates - four KPI tiles were a full phone screen; bundles hero repeated Home/Dashboard buttons and a stray CPD logo. */
@layer ms-typography {
html.msv2 #ms-frame#ms-frame .cv3-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
html.msv2 #ms-frame#ms-frame .cv3-kpi{min-height:0!important;padding:12px 14px!important}
html.msv2 #ms-frame#ms-frame .cv3-kpi strong{font-size:20px!important;line-height:1.2!important}
html.msv2 #ms-frame#ms-frame .cv3-kpi b{font-size:12.5px!important;font-weight:600!important}
html.msv2 #ms-frame#ms-frame .cv3-kpi small{font-size:11px!important}
@media(max-width:700px){
 html.msv2 #ms-frame#ms-frame .cv3-kpis{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important;gap:8px!important}
 html.msv2 #ms-frame#ms-frame .cv3-kpi{padding:10px 12px!important}
 html.msv2 #ms-frame#ms-frame .cv3-kpi .pc29-kpi-icon,html.msv2 #ms-frame#ms-frame .cv3-kpi small{display:none!important}
}
html.msv2 body.bodypage_bundles .hero .copy>.eyebrow:empty,html.msv2 body.bodypage_bundles .hero .copy>.actions,html.msv2 body.bodypage_bundles .hero .copy>a.cpd-b{display:none!important}
}
@layer ms-typography {@media(max-width:900px){html.msv2 #ms-frame#ms-frame .main-container ul.breadcrumb{display:none!important}}} /* SC-MOBILE-HEADER-1e: profile kept its breadcrumb Home button via a layered rule */
@layer ms-typography {html.msv2 #ms-frame#ms-frame .main-container a.sc-backhome{display:none!important}} /* SC-DEDUP-3: profile Home back-button duplicates the menu */
/* SC-BIZ-COMPACT-1: business overview - Reset showed as an empty box on phones (icon and label both hidden);
   three KPI tiles took a whole phone screen. */
@layer ms-typography {
html.msv2 #ms-frame#ms-frame .dv2-reset .dv2-bico{display:inline-block!important}
@media(max-width:700px){
 html.msv2 #ms-frame#ms-frame .ms-biz-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 html.msv2 #ms-frame#ms-frame .ms-biz-stats>.ms-biz-stat{min-height:0!important;padding:10px!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important}
 html.msv2 #ms-frame#ms-frame .ms-biz-stats>.ms-biz-stat strong{font-size:20px!important}
 html.msv2 #ms-frame#ms-frame .ms-biz-stats>.ms-biz-stat span{font-size:11.5px!important;line-height:1.3!important}
}
}
@layer ms-typography {html.msv2 #ms-frame#ms-frame .cert-hero>a.cert-hero-btn{display:none!important}} /* SC-DEDUP-4: Back to Dashboard duplicates the menu */
@layer ms-typography {@media(max-width:900px){html.msv2 #cart-footer.cart-footer-fixed #cart-footer-list{display:flex!important;max-height:46px!important;overflow-y:auto!important}}} /* SC-CARTBAR-1: on phones the sticky basket bar listed every course and covered a third of the screen; keep total + Go to cart (remove items in the basket) */
@layer ms-typography {html.msv2 #ms-frame#ms-frame .ms-frame-header a.navbar-brand img.logo{width:auto!important;height:30px!important;max-width:160px!important;object-fit:contain!important;object-position:left center!important}} /* SC-LOGO-1: UK logo (829x200) was squeezed to a 34x34 square showing only the shield */
@layer ms-typography {html.msv2 #ms-frame#ms-frame .ms-frame-header a.navbar-brand{flex:0 0 auto!important;min-width:max-content!important}}
@layer ms-typography {html.msv2 #ms-frame#ms-frame .ms-frame-header a.navbar-brand img.logo{content:normal!important}} /* SC-LOGO-1b: UK legacy MS-MOBILE-UI-001 swaps the phone logo to the shield via content:url(); V2 header has room for the full logo */

/* SC-PAGER-HIDDEN-1 (Claude 15.11): pager arrows with .hidden were shown as two empty grey squares beside "Total" */
@layer ms-typography{html.msv2 .pagination>.hidden,html.msv2 .pagination>i.btn-page.hidden{display:none!important}}

/* SC-KEYSEND-DEDUP-1 (Claude 15.11): sent-keys page repeated the sidebar as a row of 6 buttons (.sk-nav) */
@layer ms-typography{html.msv2 #ms-frame .sk-page>.sk-nav{display:none!important}}

/* SC-PKG-LEGACY-TEXT-1 (Claude 15.11): old English instruction paragraphs (html_block 92) under the key list repeat the page header; the V2 page explains activation itself */
@layer ms-typography{html.msv2 body[class*="bodypage_payment/packages" i] #ms-frame .main-container>p,html.msv2 body[class*="bodypage_payment/packages" i] #ms-frame .main-container>br{display:none!important}}

/* SC-BUNDLES-DEDUP-2 (Claude 15.11): the rules bar repeated the hero subtitle word for word (all courses are yours, activate or send) */
@layer ms-typography{html.msv2 body.bodypage_bundles .ms-bundle-rulesbar{display:none!important}}

/* SC-TARIFF-DEDUP-1 (Claude 15.11): tariff list showed the price 3 times per course (badge, 32.00, line total 0.00); keep the badge and the bottom total bar. Calm button case. */
@layer ms-typography{html.msv2 .item-tariff-body .item-tariff-cart-row>.cart-cost-val,html.msv2 .item-tariff-body .item-tariff-cart-row>.cart-summ{display:none!important}html.msv2 .item-tariff-body a.btn-pay{text-transform:none!important;letter-spacing:0!important}}

/* SC-HIDDEN-1 (Claude 15.11): legacy .hidden (Bootstrap 3) was overridden by V2 button/flex rules, e.g. the cart showed "Checkout" for an empty basket at 0.00 */
@layer ms-typography{html.msv2 #ms-frame .ms-frame-main .hidden{display:none!important}
html.msv2 #ms-frame .cart-container:not(:has(.cart-card))>.cart-head-row,html.msv2 #ms-frame .ms-frame-main:has(#btn-checkout.hidden) .cart-total-bar,html.msv2 #ms-frame .ms-frame-main:has(#btn-checkout.hidden) .cart-secure{display:none!important}}

/* SC-CINFO-CASE-1 (Claude 15.11): Course details popup buttons were shouting in capitals (CLOSE / ADD TO CART) */
@layer ms-typography{html.msv2 .cinfo-modal :is(a,button){text-transform:none!important;letter-spacing:0!important}}
