/* Skillbook Ink Palette, user-approved November 8, 2026.
   Existing layouts, typography, assets and motion are preserved.
   First important layer retires the former all-black treatment. */
@layer skb-button;
@layer skillbook-ink;
@import url('/wp-content/themes/skillbook-academy/static/product/ink-courses.css?v=20261109-inktype-1-slate1');
@import url('/wp-content/themes/skillbook-academy/static/product/ink-inner.css?v=20261109-inktype-1-slate1');
@layer skillbook-ink {
 :root {
  --text-heading:#12283A;--text-body:#3D4856;--text-meta:#566172;
  --text-link:#0d6e73;--text-label:#0d6e73;--control:#3D4856;
  --on-dark-heading:#fff;--on-dark-body:#D6DFE6;--on-dark-label:#7fd8db;
  --ink-heading:var(--text-heading);--ink-body:var(--text-body);--ink-meta:var(--text-meta);
  --ink-link:var(--text-link);--ink-label:var(--text-label);--ink-control:var(--control);
  --ink-action:#c8202e;--ink-action-text:#fff;--ink-action-hover:#A81B27;--ink-action-hover-text:#fff;
  --ink-white:#fff;--ink-blush:#E1E7EF;--ink-sand:#E1E7EF;--ink-spruce:#12283A;
  --ink-line-strong:#7C8896;--ink-link-hover:#0A5A5E;--ink-surface-gradient:linear-gradient(#fff,#fff);
  --ink-aqua:#7fd8db;--ink-aqua-tint:#e4f7f8;--ink-mark:#45c2c7;--ink-highlight:#c6eef0;
  --aqua-ink:#12283A!important;--aqua-muted:#3D4856!important;--aqua-link:#0d6e73!important;
  --aqua-outline:#3D4856!important;--aqua-line:#C7D0DC!important;--aqua-sand-ink:#566172!important;
  
  --brand-line:#C7D0DC!important;--brand-control-line:#3D4856!important;
 }
 /* Reset legacy hard-coded text colors once, then assign semantic roles.
    Descendants inherit their surrounding role, including motion word spans. */
 html,html body {color:var(--ink-body)!important;background:#fff!important}
 html body *,html body *::before,html body *::after {color:inherit!important;-webkit-text-fill-color:currentColor!important}
 html body :where(p,li,dd,blockquote,figcaption){color:var(--ink-body)!important}
 html body :where(h1,h2,h3,h4,h5,h6,dt,summary){color:var(--ink-heading)!important}
 html body :where(a){color:var(--ink-link)!important;text-decoration-color:var(--ink-mark)!important}
 html body :where(h1,h2,h3,h4,h5,h6,summary) :where(a,span,em,strong,b){color:inherit!important}
 html body :where(small,time,del,s,th){color:var(--ink-meta)!important}
 html body :where(label,legend){color:var(--ink-heading)!important}
 html body :where(.eyebrow,.kicker,.section-label,.sb-eyebrow,.ed-eyebrow){color:var(--ink-label)!important}
 html body :where(input,select,textarea){color:var(--ink-control)!important;background:#fff!important;border-color:var(--ink-control)!important;accent-color:#0d6e73}
 html body ::placeholder{color:var(--ink-meta)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
 html body ::selection{color:#12283A!important;background:#c6eef0!important}
 html body :focus-visible{outline-color:var(--ink-label)!important}
 html body :where(svg){color:inherit!important}
 html body :where(.icon,.check,.checkmark,.tick){color:var(--ink-label)!important}
 /* Site navigation and footer retain familiar hierarchy. */
 html body .site-nav :where(a,button){color:var(--text-heading)!important}
 html body .site-nav-header :is(.site-nav__links a,.site-nav__trigger):focus-visible{outline:2px solid var(--ink-label)!important;outline-offset:3px!important}
 html body .hm-hero__ctas .btn-secondary{color:var(--text-heading)!important}
 html body .site-nav :where(p){color:#3D4856!important}
 html body .site-nav__links :is(a,button)[aria-current]:not([aria-current=false]){text-decoration:underline!important;text-decoration-color:#c8202e!important;text-decoration-thickness:3px!important;text-underline-offset:9px!important}
 html body .site-nav__trigger::after{border-color:#c8202e!important}
 html body[data-ink-section=courses] .site-nav__links [data-menu=course-menu],
 html body[data-ink-section=resources] .site-nav__links [data-menu=resource-menu],
 html body[data-ink-section=teams] .site-nav__links [data-menu=team-menu],
 html body[data-ink-section=about] .site-nav__links a[href='/about-us'],
 html body[data-ink-section=courses] #mobile-nav a[href='/programs'],
 html body[data-ink-section=resources] #mobile-nav a[href='/resources/'],
 html body[data-ink-section=teams] #mobile-nav a[href='/enterprise'],
 html body[data-ink-section=about] #mobile-nav a[href='/about-us'],
 html body[data-ink-section=contact] #mobile-nav a[href='/contact-us']{
  text-decoration:underline!important;text-decoration-color:#c8202e!important;text-decoration-thickness:3px!important;text-underline-offset:9px!important;
 }
 html body .legacy-footer :where(a){color:#3D4856!important}
 html body .legacy-footer :where(a[href^='mailto:'],a[href^='tel:']){color:#0d6e73!important}
 html body :is(.lf-small,.lf-legal,.lf-bottom,.v2-footer-bottom){color:#566172!important}
 html body :is(.lf-small,.lf-legal,.lf-bottom,.v2-footer-bottom) :where(p,a,span){color:inherit!important}
 /* Expanding-dot interactions keep their established timing and geometry. */
 html body :where(.ihb-button,.btn,.sb-button){color:var(--ink-control)!important;background:#fff!important;border-color:var(--ink-control)!important}
 html body .ihb-button .ihb-label{color:inherit!important}
 html body .ihb-button .ihb-fill{background:var(--ink-action)!important}
 html body .ihb-button .ihb-hover{color:#fff!important}
 html body .ihb-button .ihb-hover :where(*){color:inherit!important}
 html body .site-nav__cta.ihb-button .ihb-fill{background:#c8202e!important}
 html body :is(.btn-primary,.btn--primary,.btn--p,.btn--dark,.btn-reg:not(.is-disabled),.sb-button:not(.secondary,.sb-button--outline)){
  color:var(--ink-action-text)!important;background:var(--ink-action)!important;border-color:var(--ink-action)!important;
 }
 html body :is(.btn-primary,.btn--primary,.btn--p,.btn--dark,.btn-reg:not(.is-disabled),.sb-button:not(.secondary,.sb-button--outline)) .ihb-fill{background:var(--ink-action-hover)!important}
 html body :is(.btn-primary,.btn--primary,.btn--p,.btn--dark,.btn-reg:not(.is-disabled),.sb-button:not(.secondary,.sb-button--outline)) .ihb-hover{color:var(--ink-action-hover-text)!important}
 html body .ihb-button:focus-visible{border-color:var(--ink-control)!important}
 html body :is(.hm-instructor-arrow,.hm-review-arrow,.trow-btn,.ed-reading-tools button,.ed-pagination button,.partner-reveal__play){color:var(--ink-control)!important;background:#fff!important;border-color:var(--ink-control)!important}
 html body :is(.btn,.sb-button,.ihb-button,.hm-path__cta,.ed-pagination button){border-radius:8px!important}
 html body :is(.aqua-hero-pill,.fc-topic-label,.hpill,.course-next-class__format>span,.pcard__save,.pcard__flag,.acc__wt){border-radius:6px!important}
 html body :is(.hm-review-card,.sb-animated-card,.hm-coach-card,.lf-newsletter){border-radius:12px!important}
 html body .fc-filters.fc-program-filters{background:none!important;border:0!important;padding:0!important;gap:8px!important;border-radius:0!important}
 html body :is(.fc-filter,.sb-filter-chips button,.review-filter,.fpill){color:var(--ink-control)!important;background:var(--ink-white)!important;border:1px solid var(--ink-line-strong)!important;border-radius:8px!important;padding:10px 16px!important;box-shadow:none!important}
 html body :is(.fc-filter,.sb-filter-chips button,.review-filter)[aria-pressed=true],
 html body :is(.fc-category-indicator,.filter-pills .on,.fpill.on,.panel-tab.is-active,.filters-badge){color:#fff!important;background:#12283A!important;border-color:#12283A!important}
 html body .fc-program-filters.fc-indicator-ready .fc-filter[aria-pressed=true]{background:var(--ink-heading)!important}
 html body :is(.fc-filter,.sb-filter-chips button,.review-filter,.fpill):focus-visible{outline:2px solid var(--ink-label)!important;outline-offset:3px!important}
 html body :is(.fc-filter,.sb-filter-chips button,.review-filter)[aria-pressed=true] :where(*){color:#fff!important}
 html body :where(.badge--sale,.sale-badge,.seats-badge,.sale-timer-clock){color:#c8202e!important;background:#E1E7EF!important}
 html body [data-sonner-toast]{color:#3D4856!important;background:#fff!important}
 @media(hover:hover) and (pointer:fine){
  html body .ihb-button:hover{border-color:var(--ink-control)!important;background:#fff!important}
  html body :is(.btn-primary,.btn--primary,.btn--p,.btn--dark,.btn-reg:not(.is-disabled),.sb-button:not(.secondary,.sb-button--outline)):hover{color:var(--ink-action-hover-text)!important;background:var(--ink-action-hover)!important;border-color:var(--ink-action-hover)!important}
  html body :is(.hm-instructor-arrow,.hm-review-arrow):hover:not(:disabled){background:var(--ink-action)!important;color:var(--ink-white)!important;border-color:var(--ink-action)!important}
  html body :is(.trow-btn,.ed-reading-tools button,.ed-pagination button,.partner-reveal__play):hover{background:var(--ink-aqua-tint)!important;color:var(--ink-control)!important}
  html body :is(.fc-filter,.sb-filter-chips button,.review-filter,.fpill):not([aria-pressed=true],.on):hover{background:var(--ink-blush)!important;border-color:var(--ink-heading)!important;color:var(--ink-heading)!important}
  html body .site-nav-header :is(.site-nav__links a,.site-nav__trigger):hover{background:transparent!important;text-decoration:underline!important;text-decoration-color:var(--ink-line-strong)!important;text-decoration-thickness:3px!important;text-underline-offset:9px!important}
  html body .site-nav-header .site-nav__links [aria-current]:not([aria-current=false]):hover,
  html body[data-ink-section=courses] .site-nav-header [data-menu=course-menu]:hover,
  html body[data-ink-section=resources] .site-nav-header [data-menu=resource-menu]:hover,
  html body[data-ink-section=teams] .site-nav-header [data-menu=team-menu]:hover{text-decoration-color:var(--ink-action)!important}
  html body.home-page .hm-offer .hm-path__cta:hover{background:var(--ink-white)!important;color:var(--text-heading)!important}
  html body.home-page .hm-offer .hm-path__cta .ihb-fill{background:var(--ink-white)!important}
  html body.home-page .hm-offer .hm-path__cta .ihb-hover{color:var(--text-heading)!important}
  html body.product-v2 .fc-card:hover{border-color:var(--ink-action)!important}
  html body.product-v2 :is(.hm-instructor-profile,.hm-instructors-all,.hm-review-heading>a,.lf-grid a):hover{color:var(--ink-link-hover)!important;text-decoration:underline!important;text-decoration-color:var(--ink-link-hover)!important;text-decoration-thickness:2px!important}
 }
}
