/* V2.47.160 · Courses terminal body owner.
 * Learning Center grammar: Continue Learning first, then a compact learning index.
 * This file loads after shared mature/editorial layers and owns only Courses body geometry.
 */

body.surface-courses.vf-course-library-page .vf-subject-main{
  padding-top:18px!important;
  padding-bottom:36px!important;
}

/* Compact learning header — factual context, not a dashboard card. */
body.surface-courses .vf-course-hero{
  margin:0!important;
  padding:7px 0 14px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:24px!important;
  align-items:end!important;
  border:0!important;
  border-bottom:1px solid var(--ws-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-eyebrow{
  min-height:0!important;
  margin:0 0 5px!important;
  padding:0!important;
  display:block!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ws-teal)!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
}
body.surface-courses .vf-course-hero-copy h1{
  margin:0!important;
  font-size:28px!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
body.surface-courses .vf-course-hero-copy p{
  max-width:760px!important;
  margin:7px 0 0!important;
  font-size:12.4px!important;
  line-height:1.58!important;
}
body.surface-courses .vf-course-stats{
  min-height:0!important;
  margin:0!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.surface-courses .vf-course-stats>div{
  min-width:76px!important;
  padding:0 12px!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.surface-courses .vf-course-stats>div:first-child{padding-left:0!important}
body.surface-courses .vf-course-stats>div+div{
  border-left:1px solid var(--ws-line)!important;
}
body.surface-courses .vf-course-stats>div+div:before{display:none!important}
body.surface-courses .vf-course-stats small{
  font-size:10px!important;
  font-weight:620!important;
}
body.surface-courses .vf-course-stats strong{
  margin-top:1px!important;
  color:var(--ws-strong)!important;
  font-size:18px!important;
  font-weight:760!important;
}
body.surface-courses .vf-course-stats strong[data-course-stat="learning"]{color:var(--ws-teal)!important}

/* Category filter remains a lightweight context rail. */
body.surface-courses .vf-course-chips{
  margin:0 0 15px!important;
  padding:10px 0 11px!important;
  display:flex!important;
  gap:5px!important;
  border:0!important;
  border-bottom:1px solid var(--ws-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-chips a{
  min-height:30px!important;
  padding:0 9px!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--ws-muted)!important;
  font-size:10.8px!important;
  font-weight:650!important;
}
body.surface-courses .vf-course-chips a:hover{
  border-color:var(--ws-line)!important;
  background:var(--ws-soft)!important;
  color:var(--ws-text)!important;
}
body.surface-courses .vf-course-chips a.active{
  border-color:color-mix(in srgb,var(--ws-teal) 25%,var(--ws-line))!important;
  background:var(--ws-teal-soft)!important;
  color:var(--ws-teal)!important;
}
body.surface-courses .vf-course-chips small{font-size:9.8px!important}

/* Continue Learning is the only emphasized row, but it stays compact. */
body.surface-courses .vf-course-continue-shell{
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-continue{
  min-height:82px!important;
  padding:10px 12px!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  overflow:visible!important;
  border:1px solid color-mix(in srgb,var(--ws-teal) 22%,var(--ws-line))!important;
  border-radius:9px!important;
  background:color-mix(in srgb,var(--ws-teal-soft) 24%,transparent)!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-continue:after{display:none!important}
body.surface-courses .vf-course-continue-cover{
  width:54px!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  border-radius:6px!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-continue-copy>span{
  margin-bottom:3px!important;
  font-size:9.8px!important;
  letter-spacing:.04em!important;
}
body.surface-courses .vf-course-continue-copy>strong{
  font-size:15.5px!important;
  line-height:1.35!important;
}
body.surface-courses .vf-course-continue-copy>p{
  max-width:720px!important;
  margin:4px 0 0!important;
  font-size:10.8px!important;
  line-height:1.45!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.surface-courses .vf-course-continue-link{
  min-height:34px!important;
  padding:0 11px!important;
  border-radius:7px!important;
  font-size:10.8px!important;
}

/* Course catalog becomes a two-column learning index, not a card wall. */
body.surface-courses .vf-course-library-section{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-section-head{
  min-height:40px!important;
  margin:0 0 6px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  border:0!important;
}
body.surface-courses .vf-course-section-head h2{
  margin:0!important;
  font-size:17px!important;
  font-weight:780!important;
  letter-spacing:-.015em!important;
}
body.surface-courses .vf-course-section-head p{
  margin:3px 0 0!important;
  font-size:10.7px!important;
}
body.surface-courses .vf-course-section-head label{font-size:10.8px!important}
body.surface-courses .vf-course-section-head select{
  height:34px!important;
  min-height:34px!important;
  border-radius:8px!important;
  font-size:10.8px!important;
}
body.surface-courses .vf-course-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:28px!important;
  row-gap:0!important;
  border-top:1px solid var(--ws-line)!important;
  background:transparent!important;
}
body.surface-courses .vf-course-card{
  position:relative!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:12px 0!important;
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  gap:0 12px!important;
  align-items:start!important;
  overflow:visible!important;
  border:0!important;
  border-bottom:1px solid var(--ws-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  transition:background-color .12s ease!important;
}
body.surface-courses .vf-course-card:hover{
  border-color:var(--ws-line)!important;
  border-radius:7px!important;
  background:color-mix(in srgb,var(--ws-soft) 38%,transparent)!important;
  box-shadow:0 0 0 6px color-mix(in srgb,var(--ws-soft) 38%,transparent)!important;
  transform:none!important;
}
body.surface-courses .vf-course-card[data-course-state="completed"]{background:transparent!important}
body.surface-courses .vf-course-cover{
  grid-column:1!important;
  width:68px!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  align-self:start!important;
  display:block!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.surface-courses .vf-course-cover:before{display:none!important}
body.surface-courses .vf-course-cover-art{
  width:68px!important;
  height:auto!important;
  aspect-ratio:2/3!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:1px solid var(--ws-line)!important;
  border-radius:6px!important;
  background:var(--ws-soft)!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-state-badge{
  left:4px!important;
  bottom:4px!important;
  padding:3px 5px!important;
  border-radius:5px!important;
  font-size:8.6px!important;
  line-height:1.1!important;
  backdrop-filter:none!important;
}
body.surface-courses .vf-course-card-body{
  grid-column:2!important;
  min-width:0!important;
  min-height:102px!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
}
body.surface-courses .vf-course-card-top{
  min-height:20px!important;
  align-items:flex-start!important;
}
body.surface-courses .vf-course-card-top>span{
  padding:2px 5px!important;
  border-radius:5px!important;
  background:var(--ws-teal-soft)!important;
  font-size:9.5px!important;
}
body.surface-courses .vf-course-card-actions{
  margin-left:auto!important;
  opacity:.18!important;
  transition:opacity .12s ease!important;
}
body.surface-courses .vf-course-card:hover .vf-course-card-actions,
body.surface-courses .vf-course-card:focus-within .vf-course-card-actions,
body.surface-courses .vf-course-card.vf-action-menu-open .vf-course-card-actions,
body.surface-courses .vf-course-card .vf-course-card-actions.vf-action-menu-open{
  opacity:1!important;
}
body.surface-courses .vf-course-card h3{
  margin:4px 0 0!important;
  font-size:14.5px!important;
  line-height:1.38!important;
  font-weight:770!important;
  letter-spacing:-.01em!important;
}
body.surface-courses .vf-course-card-body>p{
  margin:4px 0 0!important;
  color:var(--ws-muted)!important;
  font-size:10.7px!important;
  line-height:1.45!important;
  display:-webkit-box!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.surface-courses .vf-course-facts{
  margin-top:6px!important;
  gap:5px!important;
}
body.surface-courses .vf-course-facts>span{
  padding:2px 5px!important;
  border:0!important;
  border-radius:5px!important;
  background:var(--ws-soft)!important;
  font-size:9.4px!important;
}
body.surface-courses .vf-course-card footer{
  margin-top:auto!important;
  padding:7px 0 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  border:0!important;
  background:transparent!important;
}
body.surface-courses .vf-course-state-action{
  min-height:30px!important;
  padding:0!important;
  color:var(--ws-muted-2)!important;
  font-size:10.2px!important;
}
body.surface-courses .vf-course-open{
  min-height:32px!important;
  padding:0 10px!important;
  border-radius:7px!important;
  font-size:10.5px!important;
}

body.surface-courses .vf-course-footnote{
  margin-top:18px!important;
  padding-top:12px!important;
  font-size:10.2px!important;
}

@media(max-width:980px){
  body.surface-courses .vf-course-grid{grid-template-columns:1fr!important}
}

@media(max-width:760px){
  body.surface-courses.vf-course-library-page .vf-subject-main{
    padding-top:14px!important;
    padding-bottom:30px!important;
  }
  body.surface-courses .vf-course-hero{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding-top:4px!important;
  }
  body.surface-courses .vf-course-stats{
    width:100%!important;
    margin:0!important;
    justify-content:flex-start!important;
    overflow:visible!important;
  }
  body.surface-courses .vf-course-stats>div{
    min-width:0!important;
    padding:0 11px!important;
  }
  body.surface-courses .vf-course-stats>div:first-child{padding-left:0!important}
  body.surface-courses .vf-course-chips{
    padding-bottom:10px!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
  }
  body.surface-courses .vf-course-chips a{
    min-height:40px!important;
    flex:0 0 auto!important;
  }
  body.surface-courses .vf-course-continue{
    grid-template-columns:50px minmax(0,1fr)!important;
    min-height:0!important;
    padding:9px 10px!important;
  }
  body.surface-courses .vf-course-continue-cover{width:50px!important}
  body.surface-courses .vf-course-continue-copy>p{
    white-space:normal!important;
    display:-webkit-box!important;
    -webkit-line-clamp:1!important;
    -webkit-box-orient:vertical!important;
  }
  body.surface-courses .vf-course-continue-link{
    grid-column:2!important;
    width:max-content!important;
    min-height:40px!important;
    margin-top:2px!important;
  }
  body.surface-courses .vf-course-section-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  body.surface-courses .vf-course-section-head label{
    width:100%!important;
    justify-content:space-between!important;
  }
  body.surface-courses .vf-course-section-head select{
    min-height:40px!important;
  }
  body.surface-courses .vf-course-card{
    grid-template-columns:62px minmax(0,1fr)!important;
    gap:0 10px!important;
    padding:11px 0!important;
  }
  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-cover-art{width:62px!important}
  body.surface-courses .vf-course-card-body{min-height:93px!important}
  body.surface-courses .vf-course-card-actions{opacity:1!important}
  body.surface-courses .vf-course-state-action,
  body.surface-courses .vf-course-open{
    min-height:44px!important;
  }
  body.surface-courses .vf-course-open{padding-inline:12px!important}
}

@media(max-width:440px){
  body.surface-courses .vf-course-hero-copy h1{font-size:25px!important}
  body.surface-courses .vf-course-hero-copy p{font-size:11.8px!important}
  body.surface-courses .vf-course-stats strong{font-size:17px!important}
  body.surface-courses .vf-course-card{
    grid-template-columns:56px minmax(0,1fr)!important;
    gap:0 9px!important;
  }
  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-cover-art{width:56px!important}
  body.surface-courses .vf-course-card h3{font-size:14px!important}
}


/* V2.47.161 · Courses Production density R2.
 * Owner Production evidence showed the learning index still stretched each
 * course cell vertically and left the state chip detached under the cover.
 * Keep the V2.47.160 Learning Center direction, but make every row read as one
 * compact unit: cover -> state/category/title -> grouped learning actions.
 */
body.surface-courses .vf-course-grid{
  align-items:start!important;
  grid-auto-rows:max-content!important;
  column-gap:30px!important;
}
body.surface-courses .vf-course-card{
  align-self:start!important;
  height:auto!important;
  min-height:118px!important;
  padding:10px 0!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  grid-template-rows:max-content!important;
  gap:0 11px!important;
}
body.surface-courses .vf-course-card:hover{
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-cover{
  position:relative!important;
  width:64px!important;
  height:96px!important;
  min-height:96px!important;
  max-height:96px!important;
  aspect-ratio:auto!important;
  align-self:start!important;
  overflow:hidden!important;
  border:1px solid var(--ws-line)!important;
  border-radius:6px!important;
  background:var(--ws-panel)!important;
}
body.surface-courses .vf-course-cover-art{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  border:0!important;
  border-radius:5px!important;
}
body.surface-courses .vf-course-card-body{
  min-height:96px!important;
  padding:0!important;
}
body.surface-courses .vf-course-card-top{
  min-height:25px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
body.surface-courses .vf-course-card-meta{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  flex-wrap:wrap!important;
}
body.surface-courses .vf-course-state-badge{
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:20px!important;
  padding:0 6px!important;
  border:0!important;
  border-radius:5px!important;
  background:var(--ws-soft-2)!important;
  color:var(--ws-muted)!important;
  font-size:9.4px!important;
  font-weight:760!important;
  line-height:1!important;
  backdrop-filter:none!important;
}
body.surface-courses .vf-course-card[data-course-state="learning"] .vf-course-state-badge{
  background:var(--ws-teal)!important;
  color:#fff!important;
}
body.surface-courses .vf-course-card[data-course-state="completed"] .vf-course-state-badge{
  background:color-mix(in srgb,var(--ws-teal) 14%,var(--ws-soft))!important;
  color:var(--ws-teal)!important;
}
body.surface-courses .vf-course-kind{
  display:inline-flex!important;
  align-items:center!important;
  min-height:20px!important;
  padding:0 6px!important;
  border-radius:5px!important;
  background:var(--ws-teal-soft)!important;
  color:var(--ws-teal)!important;
  font-size:9.4px!important;
  font-weight:700!important;
}
body.surface-courses .vf-course-card-top>span{
  padding:0!important;
  background:transparent!important;
}
body.surface-courses .vf-course-card-actions{
  gap:2px!important;
  opacity:.42!important;
}
body.surface-courses .vf-course-card-actions .vf-icon-button{
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  border-radius:7px!important;
}
body.surface-courses .vf-course-card h3{
  margin-top:4px!important;
  font-size:14.5px!important;
  line-height:1.35!important;
}
body.surface-courses .vf-course-card-body>p{
  margin-top:3px!important;
  font-size:10.6px!important;
}
body.surface-courses .vf-course-facts{
  margin-top:5px!important;
}
body.surface-courses .vf-course-card footer{
  margin-top:auto!important;
  padding-top:5px!important;
  justify-content:flex-end!important;
  gap:10px!important;
}
body.surface-courses .vf-course-state-action{
  min-height:32px!important;
  color:var(--ws-muted)!important;
  font-size:10.4px!important;
  text-decoration:none!important;
}
body.surface-courses .vf-course-state-action:hover,
body.surface-courses .vf-course-state-action:focus-visible{
  color:var(--ws-teal)!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
body.surface-courses .vf-course-open{
  min-height:32px!important;
  padding-inline:11px!important;
}
body.surface-courses .vf-course-card[data-course-state="not_started"] .vf-course-open{
  background:var(--ws-panel)!important;
  color:var(--ws-teal)!important;
}
body.surface-courses .vf-course-card[data-course-state="not_started"] .vf-course-open:hover{
  background:var(--ws-teal-soft)!important;
}
body.surface-courses .vf-course-card[data-course-state="learning"] .vf-course-open,
body.surface-courses .vf-course-card[data-course-state="completed"] .vf-course-open{
  background:var(--ws-teal)!important;
  color:#fff!important;
}

/* The first empty right-hand cell should not force the last left item taller. */
body.surface-courses .vf-course-card:last-child{
  align-self:start!important;
}

@media(max-width:980px){
  body.surface-courses .vf-course-card{
    min-height:116px!important;
  }
}

@media(max-width:760px){
  body.surface-courses .vf-course-card{
    grid-template-columns:58px minmax(0,1fr)!important;
    min-height:112px!important;
    padding:10px 0!important;
    gap:0 10px!important;
  }
  body.surface-courses .vf-course-cover{
    width:58px!important;
    height:87px!important;
    min-height:87px!important;
    max-height:87px!important;
  }
  body.surface-courses .vf-course-card-body{
    min-height:87px!important;
  }
  body.surface-courses .vf-course-card-actions .vf-icon-button{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
  }
  body.surface-courses .vf-course-card footer{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
  body.surface-courses .vf-course-state-action,
  body.surface-courses .vf-course-open{
    min-height:44px!important;
  }
}


/* V2.47.162 · Courses Production hierarchy R3.
 * Shared Subsite Masthead already owns visible page identity, so the body
 * stops repeating “学习中心 / 课程”. Keep a short learning rule + factual stats,
 * and remove browser-link decoration from course titles.
 */
body.surface-courses .vf-course-eyebrow,
body.surface-courses .vf-course-hero-copy h1{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.surface-courses .vf-course-hero{
  min-height:48px!important;
  padding:6px 0 10px!important;
  align-items:center!important;
}
body.surface-courses .vf-course-hero-copy{
  min-width:0!important;
}
body.surface-courses .vf-course-hero-copy p{
  max-width:760px!important;
  margin:0!important;
  color:var(--ws-muted)!important;
  font-size:11.8px!important;
  line-height:1.5!important;
}
body.surface-courses .vf-course-stats{
  align-items:center!important;
}
body.surface-courses .vf-course-stats>div{
  min-width:68px!important;
  padding-inline:11px!important;
}
body.surface-courses .vf-course-stats strong{
  font-size:17px!important;
}
body.surface-courses .vf-course-chips{
  padding-top:9px!important;
  margin-bottom:13px!important;
}
body.surface-courses .vf-course-section-head p{
  margin-top:2px!important;
}
body.surface-courses .vf-course-card h3>a{
  color:inherit!important;
  text-decoration:none!important;
  text-underline-offset:0!important;
}
body.surface-courses .vf-course-card h3>a:hover,
body.surface-courses .vf-course-card h3>a:focus-visible{
  color:var(--ws-teal)!important;
  text-decoration:none!important;
}
body.surface-courses .vf-course-card-actions{
  opacity:.5!important;
}

@media(max-width:760px){
  body.surface-courses .vf-course-hero{
    min-height:0!important;
    padding:4px 0 10px!important;
    gap:8px!important;
  }
  body.surface-courses .vf-course-hero-copy p{
    font-size:11.5px!important;
  }
}


/* V2.47.163 · Courses Production readability R4.
 * Courses carry more decision/action information than Topics, so desktop uses
 * one dense learning row per course instead of splitting context across two columns.
 * Full width is used by title/metadata on the left and learning actions on the right.
 */
body.surface-courses .vf-course-grid{
  display:block!important;
  border-top:1px solid var(--ws-line)!important;
}
body.surface-courses .vf-course-card{
  width:100%!important;
  min-height:112px!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:0 14px!important;
  padding:11px 0!important;
}
body.surface-courses .vf-course-cover{
  width:72px!important;
  height:108px!important;
  min-height:108px!important;
  max-height:108px!important;
}
body.surface-courses .vf-course-card-body{
  min-height:108px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 180px!important;
  grid-template-rows:auto auto auto 1fr!important;
  column-gap:24px!important;
  align-items:start!important;
}
body.surface-courses .vf-course-card-top{
  grid-column:1!important;
  grid-row:1!important;
  min-height:28px!important;
}
body.surface-courses .vf-course-card h3{
  grid-column:1!important;
  grid-row:2!important;
  margin-top:4px!important;
  font-size:16.5px!important;
  line-height:1.38!important;
}
body.surface-courses .vf-course-card-body>p{
  grid-column:1!important;
  grid-row:3!important;
  margin-top:5px!important;
  font-size:12.2px!important;
  line-height:1.5!important;
  -webkit-line-clamp:2!important;
}
body.surface-courses .vf-course-facts{
  grid-column:1!important;
  grid-row:4!important;
  margin-top:6px!important;
}
body.surface-courses .vf-course-card footer{
  grid-column:2!important;
  grid-row:1 / span 4!important;
  align-self:center!important;
  justify-self:stretch!important;
  margin:0!important;
  padding:0!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:8px!important;
}
body.surface-courses .vf-course-state-action{
  min-height:34px!important;
  font-size:11.5px!important;
}
body.surface-courses .vf-course-open{
  min-height:36px!important;
  padding-inline:13px!important;
  font-size:11.8px!important;
}
body.surface-courses .vf-course-state-badge,
body.surface-courses .vf-course-kind{
  min-height:22px!important;
  padding-inline:7px!important;
  font-size:10.5px!important;
}
body.surface-courses .vf-course-card-actions .vf-icon-button{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
}
body.surface-courses .vf-course-card-actions{
  opacity:.58!important;
}
body.surface-courses .vf-course-section-head h2{
  font-size:18px!important;
}
body.surface-courses .vf-course-section-head p,
body.surface-courses .vf-course-section-head label,
body.surface-courses .vf-course-section-head select{
  font-size:11.8px!important;
}
body.surface-courses .vf-course-hero-copy p{
  font-size:13px!important;
}
body.surface-courses .vf-course-stats small{
  font-size:11px!important;
}
body.surface-courses .vf-course-stats strong{
  font-size:19px!important;
}
body.surface-courses .vf-course-chips a{
  font-size:11.8px!important;
}
body.surface-courses .vf-course-chips small{
  font-size:10.5px!important;
}
body.surface-courses .vf-course-continue-copy>span{
  font-size:10.8px!important;
}
body.surface-courses .vf-course-continue-copy>strong{
  font-size:16.5px!important;
}
body.surface-courses .vf-course-continue-copy>p{
  font-size:11.8px!important;
}
body.surface-courses .vf-course-continue-link{
  font-size:11.8px!important;
}

@media(max-width:980px){
  body.surface-courses .vf-course-card-body{
    grid-template-columns:minmax(0,1fr) 156px!important;
    column-gap:18px!important;
  }
}

@media(max-width:760px){
  body.surface-courses .vf-course-card{
    grid-template-columns:62px minmax(0,1fr)!important;
    min-height:0!important;
    gap:0 11px!important;
  }
  body.surface-courses .vf-course-cover{
    width:62px!important;
    height:93px!important;
    min-height:93px!important;
    max-height:93px!important;
  }
  body.surface-courses .vf-course-card-body{
    min-height:93px!important;
    display:block!important;
  }
  body.surface-courses .vf-course-card h3{
    font-size:15px!important;
  }
  body.surface-courses .vf-course-card-body>p{
    font-size:11.5px!important;
  }
  body.surface-courses .vf-course-card footer{
    margin-top:7px!important;
    padding-top:0!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
  }
  body.surface-courses .vf-course-state-action,
  body.surface-courses .vf-course-open{
    min-height:44px!important;
    font-size:11.5px!important;
  }
}


/* V2.47.164 · Courses Production visual closure R5.
 * Production evidence showed three controls living in three different visual zones:
 * metadata/title at left, admin menu floating in the middle, learning actions at the far edge.
 * Keep the full-width Learning Index, but make each row one coherent object with one action rail.
 * Rows with no real description/structure facts compact themselves instead of reserving fake space.
 */
@media(min-width:761px){
  body.surface-courses .vf-course-card-body{
    grid-template-columns:minmax(0,1fr) 168px!important;
    grid-template-rows:auto auto auto 1fr!important;
    column-gap:22px!important;
  }
  body.surface-courses .vf-course-card-top{
    grid-column:1!important;
    grid-row:1!important;
    min-height:24px!important;
    display:flex!important;
    align-items:center!important;
  }
  body.surface-courses .vf-course-card h3{
    grid-column:1!important;
    grid-row:2!important;
    margin-top:5px!important;
    font-size:17px!important;
    line-height:1.36!important;
  }
  body.surface-courses .vf-course-card-body>p{
    grid-column:1!important;
    grid-row:3!important;
    max-width:820px!important;
    margin-top:5px!important;
    font-size:12.4px!important;
    line-height:1.5!important;
  }
  body.surface-courses .vf-course-facts{
    grid-column:1!important;
    grid-row:4!important;
  }
  body.surface-courses .vf-course-card-rail{
    grid-column:2!important;
    grid-row:1 / span 4!important;
    min-width:0!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    gap:6px!important;
    padding-left:16px!important;
    border-left:1px solid var(--ws-line)!important;
  }
  body.surface-courses .vf-course-card-actions{
    margin-left:0!important;
    opacity:.62!important;
  }
  body.surface-courses .vf-course-card-actions:empty{
    display:none!important;
  }
  body.surface-courses .vf-course-card-rail footer{
    width:100%!important;
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:auto!important;
    justify-self:auto!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    gap:6px!important;
  }
  body.surface-courses .vf-course-state-action{
    min-height:32px!important;
    font-size:11.6px!important;
  }
  body.surface-courses .vf-course-open{
    min-height:36px!important;
    min-width:86px!important;
    padding-inline:12px!important;
    font-size:11.8px!important;
  }
  body.surface-courses .vf-course-card.is-compact{
    min-height:100px!important;
    padding:9px 0!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:64px!important;
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:96px!important;
  }
  body.surface-courses .vf-course-card:hover{
    background:color-mix(in srgb,var(--ws-soft) 22%,transparent)!important;
  }
}

@media(max-width:760px){
  body.surface-courses .vf-course-card-rail{
    margin-top:7px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    flex-wrap:wrap!important;
    padding-left:0!important;
    border-left:0!important;
  }
  body.surface-courses .vf-course-card-actions{
    margin-left:0!important;
    opacity:1!important;
  }
  body.surface-courses .vf-course-card-actions:empty{
    display:none!important;
  }
  body.surface-courses .vf-course-card-rail footer{
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:9px!important;
    flex-wrap:wrap!important;
  }
}


/* V2.47.165 · Courses Production visual closure R6.
 * Production evidence after R5 still read like a table because the right rail used
 * a full-height divider and stacked admin/state/open actions vertically. Keep the
 * mature full-width Learning Index, but make the action rail one compact horizontal
 * cluster and tighten rows that do not have real description/structure facts.
 */
@media(min-width:761px){
  body.surface-courses .vf-course-card-body{
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:26px!important;
  }
  body.surface-courses .vf-course-card-rail{
    min-width:max-content!important;
    align-self:center!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    padding-left:0!important;
    border-left:0!important;
  }
  body.surface-courses .vf-course-card-actions{
    margin:0!important;
    opacity:.66!important;
  }
  body.surface-courses .vf-course-card-rail footer{
    width:auto!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
  }
  body.surface-courses .vf-course-state-action{
    min-height:36px!important;
    padding:0 8px!important;
    border-radius:7px!important;
    font-size:11.8px!important;
  }
  body.surface-courses .vf-course-open{
    min-height:36px!important;
    min-width:86px!important;
    padding-inline:13px!important;
    font-size:11.8px!important;
  }
  body.surface-courses .vf-course-card.is-compact{
    min-height:0!important;
    padding:8px 0!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:58px!important;
    height:87px!important;
    min-height:87px!important;
    max-height:87px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:87px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-top{
    min-height:22px!important;
  }
  body.surface-courses .vf-course-card.is-compact h3{
    margin-top:4px!important;
    font-size:17px!important;
  }
  body.surface-courses .vf-course-card:hover{
    background:color-mix(in srgb,var(--ws-soft) 18%,transparent)!important;
  }
}

@media(max-width:980px) and (min-width:761px){
  body.surface-courses .vf-course-card-body{
    column-gap:18px!important;
  }
  body.surface-courses .vf-course-card-rail{
    gap:7px!important;
  }
  body.surface-courses .vf-course-state-action{
    padding-inline:5px!important;
  }
}


/* V2.47.166 · Courses cover legibility R7.
 * Owner Production review: the R6 compact row geometry made real course artwork
 * too small to recognize. Keep the dense Learning Index and inline action cluster,
 * but restore a readable thumbnail size without returning to oversized card art.
 */
@media(min-width:761px){
  body.surface-courses .vf-course-card.is-compact{
    padding:9px 0!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:70px!important;
    height:105px!important;
    min-height:105px!important;
    max-height:105px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:105px!important;
  }
  body.surface-courses .vf-course-continue{
    grid-template-columns:64px minmax(0,1fr) auto!important;
  }
  body.surface-courses .vf-course-continue-cover{
    width:64px!important;
  }
}

@media(max-width:760px){
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:62px!important;
    height:93px!important;
    min-height:93px!important;
    max-height:93px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:93px!important;
  }
}


/* V2.47.167 · Courses cover-forward Learning Row R8.
 * Owner Production review confirmed that small book-like thumbnails remain
 * decorative because the real course covers carry meaningful text. Do not
 * return to a two-column card wall; instead give the single-column Learning
 * Index a genuinely legible cover column and center sparse course metadata
 * against it. The cover is now an information surface, not an icon.
 */
@media(min-width:1181px){
  body.surface-courses .vf-course-card{
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:0 20px!important;
    padding:10px 0!important;
  }
  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:120px!important;
    height:180px!important;
    min-height:180px!important;
    max-height:180px!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:0 1px 3px color-mix(in srgb,var(--ws-text) 10%,transparent)!important;
  }
  body.surface-courses .vf-course-cover-art{
    border-radius:7px!important;
    background:#fff!important;
  }
  body.surface-courses .vf-course-cover img,
  body.surface-courses .vf-course-cover-art img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  body.surface-courses .vf-course-card-body,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:180px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    grid-template-rows:1fr auto auto 1fr!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-top{
    grid-row:2!important;
    align-self:end!important;
  }
  body.surface-courses .vf-course-card.is-compact h3{
    grid-row:3!important;
    margin-top:6px!important;
  }
  body.surface-courses .vf-course-card.is-compact .vf-course-card-rail{
    grid-row:1 / span 4!important;
  }

  body.surface-courses .vf-course-continue{
    grid-template-columns:92px minmax(0,1fr) auto!important;
    gap:16px!important;
    padding:12px 14px!important;
  }
  body.surface-courses .vf-course-continue-cover{
    width:92px!important;
    height:138px!important;
    aspect-ratio:auto!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:0 1px 3px color-mix(in srgb,var(--ws-text) 10%,transparent)!important;
  }
  body.surface-courses .vf-course-continue-cover img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media(max-width:1180px) and (min-width:761px){
  body.surface-courses .vf-course-card{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:0 16px!important;
  }
  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:96px!important;
    height:144px!important;
    min-height:144px!important;
    max-height:144px!important;
  }
  body.surface-courses .vf-course-card-body,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:144px!important;
  }
  body.surface-courses .vf-course-continue{
    grid-template-columns:76px minmax(0,1fr) auto!important;
  }
  body.surface-courses .vf-course-continue-cover{
    width:76px!important;
    height:114px!important;
    aspect-ratio:auto!important;
  }
  body.surface-courses .vf-course-cover img,
  body.surface-courses .vf-course-cover-art img,
  body.surface-courses .vf-course-continue-cover img{
    object-fit:contain!important;
    object-position:center!important;
  }
}

@media(max-width:760px){
  body.surface-courses .vf-course-card,
  body.surface-courses .vf-course-card.is-compact{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:0 11px!important;
  }
  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:72px!important;
    height:108px!important;
    min-height:108px!important;
    max-height:108px!important;
  }
  body.surface-courses .vf-course-card-body,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:108px!important;
  }
  body.surface-courses .vf-course-cover img,
  body.surface-courses .vf-course-cover-art img{
    object-fit:contain!important;
    object-position:center!important;
  }
}


/* V2.47.168 · Courses two-column Cover-forward Catalog R9.
 * Owner Production review confirmed that once text-heavy covers are large enough
 * to be useful, one full-width row wastes too much horizontal space. Keep covers
 * legible and keep Continue Learning full-width, but let the catalog become a
 * calm two-column editorial index on desktop. This is not a Card Wall: no heavy
 * panel chrome, no large shadows, no duplicated dashboard framing.
 */
@media(min-width:1060px){
  body.surface-courses .vf-course-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:34px!important;
    row-gap:0!important;
    align-items:start!important;
    border-top:1px solid var(--ws-line)!important;
  }

  body.surface-courses .vf-course-card,
  body.surface-courses .vf-course-card.is-compact{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    grid-template-columns:116px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    gap:0 16px!important;
    padding:14px 0!important;
    align-self:start!important;
    border-bottom:1px solid var(--ws-line)!important;
    background:transparent!important;
  }

  body.surface-courses .vf-course-card:hover,
  body.surface-courses .vf-course-card.is-compact:hover{
    border-radius:8px!important;
    background:color-mix(in srgb,var(--ws-soft) 20%,transparent)!important;
    box-shadow:none!important;
  }

  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:116px!important;
    height:174px!important;
    min-height:174px!important;
    max-height:174px!important;
    align-self:start!important;
  }

  body.surface-courses .vf-course-card-body,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-width:0!important;
    min-height:174px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
  }

  body.surface-courses .vf-course-card-top,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-top{
    min-height:24px!important;
    display:flex!important;
    align-items:center!important;
    margin:2px 0 0!important;
  }

  body.surface-courses .vf-course-card h3,
  body.surface-courses .vf-course-card.is-compact h3{
    margin:7px 0 0!important;
    font-size:17px!important;
    line-height:1.42!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  body.surface-courses .vf-course-card-body>p{
    margin-top:7px!important;
    max-width:none!important;
    font-size:12px!important;
    line-height:1.55!important;
    -webkit-line-clamp:2!important;
  }

  body.surface-courses .vf-course-facts{
    margin-top:8px!important;
  }

  body.surface-courses .vf-course-card-rail,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-rail{
    width:100%!important;
    min-width:0!important;
    margin-top:auto!important;
    padding:12px 0 1px!important;
    border:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    align-self:stretch!important;
  }

  body.surface-courses .vf-course-card-actions{
    margin:0!important;
    flex:0 0 auto!important;
    opacity:.5!important;
  }

  body.surface-courses .vf-course-card-rail footer{
    width:auto!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
  }

  body.surface-courses .vf-course-state-action{
    min-height:34px!important;
    padding-inline:5px!important;
    font-size:11.3px!important;
  }

  body.surface-courses .vf-course-open{
    min-height:36px!important;
    min-width:82px!important;
    padding-inline:11px!important;
    font-size:11.5px!important;
  }
}

@media(max-width:1059px) and (min-width:761px){
  body.surface-courses .vf-course-grid{
    display:block!important;
  }
  body.surface-courses .vf-course-card,
  body.surface-courses .vf-course-card.is-compact{
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:0 16px!important;
    padding:12px 0!important;
  }
  body.surface-courses .vf-course-cover,
  body.surface-courses .vf-course-card.is-compact .vf-course-cover{
    width:104px!important;
    height:156px!important;
    min-height:156px!important;
    max-height:156px!important;
  }
  body.surface-courses .vf-course-card-body,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    min-height:156px!important;
  }
}


/* V2.47.169 · Courses two-column tile hierarchy R10.
 * Owner Production screenshot confirms the two-column cover-forward catalog.
 * Final visual issue: metadata floated at the upper-right while the admin menu
 * and learning actions split across the lower edge. Keep the approved catalog
 * geometry, but make every tile read as one coherent media object:
 * metadata + title at upper-left, one quiet action cluster at lower-right.
 */
@media(min-width:1060px){
  body.surface-courses .vf-course-card-top,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-top{
    width:100%!important;
    min-width:0!important;
    align-self:flex-start!important;
    justify-content:flex-start!important;
    margin:2px 0 0!important;
  }

  body.surface-courses .vf-course-card-meta{
    width:auto!important;
    justify-content:flex-start!important;
  }

  body.surface-courses .vf-course-card h3,
  body.surface-courses .vf-course-card.is-compact h3{
    align-self:flex-start!important;
    width:100%!important;
    margin-top:7px!important;
  }

  body.surface-courses .vf-course-card-rail,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-rail{
    justify-content:flex-end!important;
    gap:8px!important;
  }

  body.surface-courses .vf-course-card-actions{
    margin:0!important;
    opacity:.42!important;
  }

  body.surface-courses .vf-course-card-rail footer{
    margin:0!important;
    flex:0 0 auto!important;
  }
}


/* V2.47.169 · Courses two-column tile hierarchy R10. */
@media(min-width:1060px){
  body.surface-courses .vf-course-card-top,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-top{
    width:100%!important;
    min-width:0!important;
    align-self:flex-start!important;
    justify-content:flex-start!important;
    margin:2px 0 0!important;
  }
  body.surface-courses .vf-course-card-meta{
    width:auto!important;
    justify-content:flex-start!important;
  }
  body.surface-courses .vf-course-card h3,
  body.surface-courses .vf-course-card.is-compact h3{
    align-self:flex-start!important;
    width:100%!important;
    margin-top:7px!important;
  }
  body.surface-courses .vf-course-card-rail,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-rail{
    justify-content:flex-end!important;
    gap:8px!important;
  }
  body.surface-courses .vf-course-card-actions{
    margin:0!important;
    opacity:.42!important;
  }
  body.surface-courses .vf-course-card-rail footer{
    margin:0!important;
    flex:0 0 auto!important;
  }
}


/* V2.47.170 · Courses color hierarchy R11.
 * Owner Production review: the two-column structure is stable, but saturated
 * teal repeats on status chips, category chips and every row action, so nothing
 * reads as primary. Keep geometry untouched and reserve solid teal for the
 * page-level Continue Learning action. Row metadata becomes quiet information;
 * row actions become neutral controls that acquire teal only on interaction.
 */
body.surface-courses .vf-course-card[data-course-state="learning"] .vf-course-state-badge,
body.surface-courses .vf-course-card[data-course-state="completed"] .vf-course-state-badge{
  border:1px solid color-mix(in srgb,var(--ws-teal) 16%,var(--ws-line))!important;
  background:color-mix(in srgb,var(--ws-teal-soft) 46%,var(--ws-panel))!important;
  color:color-mix(in srgb,var(--ws-teal) 76%,var(--ws-text))!important;
}

body.surface-courses .vf-course-card[data-course-state="not_started"] .vf-course-state-badge{
  border:1px solid var(--ws-line)!important;
  background:var(--ws-soft)!important;
  color:var(--ws-muted)!important;
}

body.surface-courses .vf-course-kind{
  border:1px solid transparent!important;
  background:var(--ws-soft)!important;
  color:var(--ws-muted)!important;
}

body.surface-courses .vf-course-card .vf-course-open,
body.surface-courses .vf-course-card[data-course-state="not_started"] .vf-course-open,
body.surface-courses .vf-course-card[data-course-state="learning"] .vf-course-open,
body.surface-courses .vf-course-card[data-course-state="completed"] .vf-course-open{
  border:1px solid var(--ws-line)!important;
  background:var(--ws-panel)!important;
  color:var(--ws-text)!important;
  box-shadow:none!important;
}

body.surface-courses .vf-course-card .vf-course-open:hover,
body.surface-courses .vf-course-card .vf-course-open:focus-visible,
body.surface-courses .vf-course-card[data-course-state="not_started"] .vf-course-open:hover,
body.surface-courses .vf-course-card[data-course-state="learning"] .vf-course-open:hover,
body.surface-courses .vf-course-card[data-course-state="completed"] .vf-course-open:hover{
  border-color:color-mix(in srgb,var(--ws-teal) 42%,var(--ws-line))!important;
  background:var(--ws-teal-soft)!important;
  color:var(--ws-teal)!important;
}

body.surface-courses .vf-course-state-action{
  color:var(--ws-muted-2)!important;
}

body.surface-courses .vf-course-card-actions{
  opacity:.34!important;
}

body.surface-courses .vf-course-card:hover .vf-course-card-actions,
body.surface-courses .vf-course-card:focus-within .vf-course-card-actions,
body.surface-courses .vf-course-card.vf-action-menu-open .vf-course-card-actions,
body.surface-courses .vf-course-card .vf-course-card-actions.vf-action-menu-open{
  opacity:.72!important;
}

body.surface-courses .vf-course-chips a.active{
  border-color:var(--ws-line)!important;
  background:var(--ws-panel)!important;
  color:var(--ws-text)!important;
  box-shadow:inset 0 -2px 0 color-mix(in srgb,var(--ws-teal) 52%,transparent)!important;
}

body.surface-courses .vf-course-stats strong[data-course-stat="learning"]{
  color:var(--ws-strong)!important;
}

/* The single strong green CTA on the page remains Continue Learning. */
body.surface-courses .vf-course-continue-link{
  border-color:var(--ws-teal)!important;
  background:var(--ws-teal)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.surface-courses .vf-course-continue-link:hover,
body.surface-courses .vf-course-continue-link:focus-visible{
  background:color-mix(in srgb,var(--ws-teal) 88%,#000)!important;
  color:#fff!important;
}

@media(max-width:760px){
  body.surface-courses .vf-course-card-actions{
    opacity:.72!important;
  }
}


/* V2.47.171 · Courses progressive secondary actions R12.
 * Production evidence after R11 is calm enough in color, but every tile still
 * repeats two secondary controls ("…" + "标记完成") beside the real learning
 * action. On desktop keep only the learning action persistently visible; reveal
 * admin/status controls on hover, keyboard focus or an open action menu.
 * Mobile keeps all controls visible for reliable touch access.
 */
@media(min-width:1060px){
  body.surface-courses .vf-course-card .vf-course-card-actions,
  body.surface-courses .vf-course-card .vf-course-state-action{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .14s ease, visibility .14s ease!important;
  }

  body.surface-courses .vf-course-card:hover .vf-course-card-actions,
  body.surface-courses .vf-course-card:focus-within .vf-course-card-actions,
  body.surface-courses .vf-course-card.vf-action-menu-open .vf-course-card-actions,
  body.surface-courses .vf-course-card .vf-course-card-actions.vf-action-menu-open,
  body.surface-courses .vf-course-card:hover .vf-course-state-action,
  body.surface-courses .vf-course-card:focus-within .vf-course-state-action{
    opacity:.72!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body.surface-courses .vf-course-card .vf-course-open{
    margin-left:auto!important;
  }
}

@media(max-width:1059px){
  body.surface-courses .vf-course-card .vf-course-card-actions,
  body.surface-courses .vf-course-card .vf-course-state-action{
    opacity:.72!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}


/* V2.47.172 · Courses browse-first catalog R13.
 * Production evidence after R12 is visually calmer, but a persistent learning
 * button still sits alone at the lower-right of every desktop tile, splitting
 * the tile into title-at-top / CTA-at-bottom zones. The catalog is primarily a
 * browsing surface; keep the page-level Continue Learning CTA persistent, center
 * each tile's information cluster, and reveal the complete row action cluster
 * only on hover or keyboard focus. Tablet/mobile keep actions persistently visible.
 */
@media(min-width:1060px){
  body.surface-courses .vf-course-card-body,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-body{
    position:relative!important;
    justify-content:center!important;
  }

  body.surface-courses .vf-course-card-rail,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-rail{
    position:absolute!important;
    right:0!important;
    bottom:2px!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(2px)!important;
    transition:opacity .14s ease, transform .14s ease, visibility .14s ease!important;
  }

  body.surface-courses .vf-course-card:hover .vf-course-card-rail,
  body.surface-courses .vf-course-card:focus-within .vf-course-card-rail,
  body.surface-courses .vf-course-card.vf-action-menu-open .vf-course-card-rail{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
  }

  body.surface-courses .vf-course-card:hover .vf-course-card-actions,
  body.surface-courses .vf-course-card:focus-within .vf-course-card-actions,
  body.surface-courses .vf-course-card.vf-action-menu-open .vf-course-card-actions,
  body.surface-courses .vf-course-card:hover .vf-course-state-action,
  body.surface-courses .vf-course-card:focus-within .vf-course-state-action{
    opacity:.72!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  body.surface-courses .vf-course-card h3,
  body.surface-courses .vf-course-card.is-compact h3{
    max-width:100%!important;
  }
}

@media(max-width:1059px){
  body.surface-courses .vf-course-card-rail,
  body.surface-courses .vf-course-card.is-compact .vf-course-card-rail{
    position:static!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }
}


/* V2.47.173 · Courses whole-tile open affordance R14.
 * R13 removed persistent row CTAs and produced the intended calm browse state.
 * Production evidence now shows the remaining UX gap: only the cover/title links
 * visibly behave like entry points while most of each tile is inert whitespace.
 * On fine-pointer desktop, treat the whole course tile as one browse target without
 * reintroducing persistent buttons. Existing links/buttons remain primary controls.
 */
@media(min-width:1060px) and (hover:hover) and (pointer:fine){
  body.surface-courses .vf-course-card{
    cursor:pointer!important;
  }

  body.surface-courses .vf-course-card h3 a{
    transition:color .14s ease!important;
  }

  body.surface-courses .vf-course-card:hover h3 a,
  body.surface-courses .vf-course-card:focus-within h3 a{
    color:var(--ws-teal)!important;
  }

  body.surface-courses .vf-course-card:hover{
    background:color-mix(in srgb,var(--ws-soft) 30%,transparent)!important;
  }
}

/* V2.47.364 · Daily GOV-BOOK actions are one compact, legible task row.
 * Only administrator markup renders. Read credentials remain in System. */
body.surface-courses .vf-course-govbook-toolbar{
  margin:12px 0 14px;padding:13px 16px;
  border:1px solid var(--ws-line,#dde8e2);border-radius:10px;
  background:var(--ws-panel,#fff);
  color:var(--ws-text,#253b31);
}
body.surface-courses .vf-course-govbook-main{
  display:flex;align-items:center;justify-content:space-between;gap:12px 22px;flex-wrap:wrap;
}
body.surface-courses .vf-course-govbook-heading{
  display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:3px;min-width:0;
}
body.surface-courses .vf-course-govbook-heading strong{
  font-size:14px;line-height:1.5;font-weight:700;color:var(--ws-strong,#173c2b);
}
body.surface-courses .vf-course-govbook-summary{
  font-size:13px;line-height:1.5;color:var(--ws-muted,#64756e);
}
body.surface-courses .vf-course-govbook-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;
}
body.surface-courses .vf-course-govbook-actions form{margin:0}
body.surface-courses .vf-course-govbook-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:37px;padding:7px 13px;border-radius:8px;
  border:1px solid var(--ws-line,#cbded3);background:var(--ws-panel,#fff);
  color:var(--ws-strong,#1b4231);font:inherit;font-size:13px;font-weight:600;
  line-height:1.2;white-space:nowrap;cursor:pointer;transition:background-color .15s,border-color .15s;
}
body.surface-courses .vf-course-govbook-button:hover:not(:disabled){background:var(--ws-soft,#eef9f3);border-color:var(--ws-teal,#07884f)}
body.surface-courses .vf-course-govbook-button.is-primary{
  border-color:#07846a;background:#07846a;color:#fff;
}
body.surface-courses .vf-course-govbook-button.is-primary:hover:not(:disabled){
  border-color:#006c59;background:#006c59;
}
body.surface-courses .vf-course-govbook-button:focus-visible,
body.surface-courses .vf-course-govbook-settings:focus-visible,
body.surface-courses .vf-course-govbook-results summary:focus-visible{outline:2px solid #07846a;outline-offset:3px}
body.surface-courses .vf-course-govbook-button:disabled{
  opacity:.56;cursor:not-allowed;box-shadow:none;
}
body.surface-courses .vf-course-govbook-settings{
  padding:6px 3px;font-size:13px;font-weight:500;
  text-decoration:none;white-space:nowrap;color:var(--ws-teal,#07884f);
}
body.surface-courses .vf-course-govbook-settings:hover{text-decoration:underline}
body.surface-courses .vf-course-govbook-alert,
body.surface-courses .vf-course-govbook-notice{
  margin:11px 0 0;font-size:13px;line-height:1.65;
}
body.surface-courses .vf-course-govbook-alert{color:var(--ws-muted,#64756e)}
body.surface-courses .vf-course-govbook-alert a{color:var(--ws-teal,#07884f);font-weight:600}
body.surface-courses .vf-course-govbook-notice{
  display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;
  padding:9px 12px;border-radius:8px;background:#f1f8f4;color:#205d44;
}
body.surface-courses .vf-course-govbook-notice.is-error{background:#fff3f0;color:#954333}
body.surface-courses .vf-course-govbook-notice a{
  color:inherit;text-decoration:underline;text-underline-offset:2px;font-weight:600;
}
body.surface-courses .vf-course-govbook-results{margin-top:9px;font-size:13px;color:var(--ws-muted,#61756b)}
body.surface-courses .vf-course-govbook-results summary{
  display:list-item;cursor:pointer;width:max-content;max-width:100%;
  padding:4px 2px;line-height:1.5;color:var(--ws-teal,#07884f);font-weight:600;
}
body.surface-courses .vf-course-govbook-result-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));
  gap:6px 14px;margin:9px 0 2px;
}
body.surface-courses .vf-course-govbook-result-row{
  display:flex;align-items:center;gap:9px;min-width:0;
  padding:8px 11px;border:1px solid var(--ws-line,#e1eae4);
  border-radius:7px;background:var(--ws-soft,#f8fbf9);font-size:12px;
}
body.surface-courses .vf-course-govbook-book{font-weight:700;color:var(--ws-strong,#173c2b)}
body.surface-courses .vf-course-govbook-version{color:var(--ws-muted,#64756e)}
body.surface-courses .vf-course-govbook-result-state{
  margin-left:auto;white-space:nowrap;color:var(--ws-teal,#07884f);font-weight:600;
}
body.surface-courses .vf-course-govbook-result-state.is-warning{color:#a45122}
@media(max-width:820px){
  body.surface-courses .vf-course-govbook-main{align-items:stretch}
  body.surface-courses .vf-course-govbook-heading{width:100%}
  body.surface-courses .vf-course-govbook-actions{justify-content:flex-start}
}
@media(max-width:560px){
  body.surface-courses .vf-course-govbook-toolbar{padding:12px}
  body.surface-courses .vf-course-govbook-actions{width:100%;gap:7px}
  body.surface-courses .vf-course-govbook-actions form{flex:1 1 115px}
  body.surface-courses .vf-course-govbook-actions form .vf-course-govbook-button{width:100%;padding:7px 9px}
  body.surface-courses .vf-course-govbook-settings{margin-left:auto}
  body.surface-courses .vf-course-govbook-result-grid{grid-template-columns:1fr}
}

/* GOV-BOOK version truth: one compact state rail, a visible two-version
   comparison per book, and no green success for queue-only operations. */
body.surface-courses .vf-course-govbook-source{
  flex-basis:100%;color:var(--ws-muted,#687970);font-size:11px;line-height:1.45;
}
body.surface-courses .vf-course-govbook-job{
  display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;
  margin-top:11px;padding:9px 12px;border:1px solid var(--ws-line,#dce7e0);
  border-radius:8px;background:var(--ws-soft,#f8faf9);font-size:12px;line-height:1.55;
  color:var(--ws-text,#284637);
}
body.surface-courses .vf-course-govbook-job strong{
  font-size:12px;white-space:nowrap;font-weight:700;
}
body.surface-courses .vf-course-govbook-job span{flex:1 1 250px;min-width:0}
body.surface-courses .vf-course-govbook-job a{
  font-size:12px;font-weight:600;color:inherit;text-decoration:underline;text-underline-offset:2px;
}
body.surface-courses .vf-course-govbook-job.is-completed{border-color:#bcdcca;background:#f0f8f3;color:#155d39}
body.surface-courses .vf-course-govbook-job.is-pending,
body.surface-courses .vf-course-govbook-notice.is-pending{border-color:#e1d5b4;background:#fffbef;color:#815a23}
body.surface-courses .vf-course-govbook-job.is-error{border-color:#efc8c1;background:#fff4f2;color:#963b31}
body.surface-courses .vf-course-govbook-job.is-warning{border-color:#e8d3b7;background:#fffaf2;color:#8c551f}
body.surface-courses .vf-course-govbook-hint{
  margin:4px 0 7px;color:var(--ws-muted,#657970);font-size:12px;line-height:1.55;
}
body.surface-courses .vf-course-govbook-result-grid{
  grid-template-columns:repeat(auto-fit,minmax(275px,1fr));
}
body.surface-courses .vf-course-govbook-result-row{
  display:grid;grid-template-columns:minmax(25px,auto) minmax(0,1fr) auto;
  gap:9px;align-items:center;min-width:0;
}
body.surface-courses .vf-course-govbook-book{white-space:nowrap}
body.surface-courses .vf-course-govbook-versions{
  display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;min-width:0;
  color:var(--ws-muted,#657970);font-size:12px;line-height:1.5;
}
body.surface-courses .vf-course-govbook-versions span{white-space:nowrap}
body.surface-courses .vf-course-govbook-versions b{
  margin-left:3px;font-weight:700;color:var(--ws-strong,#1d4532);
  font-variant-numeric:tabular-nums;
}
body.surface-courses .vf-course-govbook-result-state{margin-left:0}
body.surface-courses .vf-course-govbook-result-state.is-current{color:#178052}
body.surface-courses .vf-course-content-version{
  font-variant-numeric:tabular-nums;font-weight:700!important;
  background:var(--ws-soft,#eef9f3);color:#176548;
}
@media(max-width:560px){
  body.surface-courses .vf-course-govbook-source{font-size:11px}
  body.surface-courses .vf-course-govbook-job{align-items:flex-start}
  body.surface-courses .vf-course-govbook-job a{margin-left:0}
  body.surface-courses .vf-course-govbook-result-grid{grid-template-columns:minmax(0,1fr)}
  body.surface-courses .vf-course-govbook-result-row{grid-template-columns:auto minmax(0,1fr)}
  body.surface-courses .vf-course-govbook-result-state{grid-column:2}
}

/* P01 · GOV-BOOK modal UX: keep learning list as the page's primary purpose. */
body.surface-courses .vf-course-govbook-toolbar{
  margin:10px 0 12px!important;padding:9px 13px!important;
  border-radius:9px!important;background:var(--ws-panel,#fff)!important;
}
body.surface-courses .vf-course-govbook-compact{
  display:flex;align-items:center;justify-content:space-between;gap:10px 20px;
}
body.surface-courses .vf-course-govbook-compact-copy{
  display:flex;align-items:baseline;gap:7px 14px;flex-wrap:wrap;min-width:0;
}
body.surface-courses .vf-course-govbook-compact-copy strong{
  color:var(--ws-strong,#173c2b);font-size:13px;font-weight:730;
}
body.surface-courses .vf-course-govbook-compact-state{
  color:var(--ws-muted,#64756e);font-size:12px;line-height:1.5;
}
body.surface-courses .vf-course-govbook-compact-state.is-current{color:#13714b}
body.surface-courses .vf-course-govbook-compact-state.is-warning{color:#965b22}
body.surface-courses .vf-course-govbook-compact-state.is-pending{color:#856020}
body.surface-courses .vf-course-govbook-open{min-height:33px;padding:6px 12px}
body.surface-courses .vf-course-govbook-open span{font-size:13px;margin-left:4px}
/* Modal backdrop is inert; lock viewport scroll so the book list stays put.
 * scrollbar-gutter avoids a width jump when the page scrollbar disappears. */
html.vf-course-govbook-scroll-locked{
  overflow:hidden!important;scrollbar-gutter:stable;
}
html.vf-course-govbook-scroll-locked body.surface-courses{
  overflow:hidden!important;
}
body.surface-courses dialog.vf-course-govbook-dialog:not([open]){display:none!important}
body.surface-courses dialog.vf-course-govbook-dialog{
  position:fixed;inset:0;margin:auto!important;box-sizing:border-box;
  width:min(800px,calc(100vw - 28px));max-width:none;max-height:min(88dvh,940px);
  padding:0!important;border:1px solid var(--ws-line,#d6e3da);
  border-radius:13px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  box-shadow:0 24px 72px rgba(19,42,31,.22);overflow:hidden;
}
body.surface-courses dialog.vf-course-govbook-dialog::backdrop{
  background:rgba(16,32,25,.46);
}
body.surface-courses .vf-course-govbook-dialog-layout{
  display:flex;flex-direction:column;max-height:min(88dvh,940px);min-height:0;
}
body.surface-courses .vf-course-govbook-dialog-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:18px 22px 15px;border-bottom:1px solid var(--ws-line,#d6e3da);
}
body.surface-courses .vf-course-govbook-dialog-header h2{
  margin:0;color:var(--ws-strong,#173c2b);font-size:19px;line-height:1.35;
}
body.surface-courses .vf-course-govbook-dialog-header p{
  margin:5px 0 0;color:var(--ws-muted,#64756e);font-size:12px;line-height:1.6;
}
body.surface-courses .vf-course-govbook-close{
  display:flex;align-items:center;justify-content:center;flex:0 0 34px;
  width:34px;height:34px;padding:0;border:1px solid var(--ws-line,#d6e3da);
  border-radius:8px;background:var(--ws-panel,#fff);color:var(--ws-muted,#64756e);
  font:inherit;font-size:23px;line-height:1;cursor:pointer;
}
body.surface-courses .vf-course-govbook-close:hover{background:var(--ws-soft,#eef9f3)}
body.surface-courses .vf-course-govbook-close:focus-visible,
body.surface-courses .vf-course-govbook-open:focus-visible{
  outline:2px solid #07846a;outline-offset:3px;
}
body.surface-courses .vf-course-govbook-dialog-body{
  flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:17px 22px 22px;
}
body.surface-courses .vf-course-govbook-dialog .vf-course-govbook-main{
  align-items:flex-start;
}
body.surface-courses .vf-course-govbook-dialog .vf-course-govbook-heading{
  flex:1 1 290px;
}
@media(max-width:560px){
  body.surface-courses .vf-course-govbook-compact{gap:8px}
  body.surface-courses .vf-course-govbook-compact-copy{gap:2px 8px}
  body.surface-courses .vf-course-govbook-dialog-header{padding:14px 15px 12px}
  body.surface-courses .vf-course-govbook-dialog-header h2{font-size:17px}
  body.surface-courses .vf-course-govbook-dialog-body{padding:13px 15px 18px}
  body.surface-courses dialog.vf-course-govbook-dialog{width:calc(100vw - 14px);max-height:92dvh}
  body.surface-courses .vf-course-govbook-dialog-layout{max-height:92dvh}
}

/* P01 GOV-BOOK · two concise editorial learning lines per verified book.
 * Labels remain readable text, not extra colored badges or a nested card.
 * The manual course and synchronized manuscript keep their separate links
 * and learning-state authority. */
body.surface-courses .vf-course-card.is-learning-brief .vf-course-learning-brief{
  display:grid;gap:5px;min-width:0;width:100%;
  margin:9px 0 4px;padding:0;line-height:1.55;
}
body.surface-courses .vf-course-card .vf-course-learning-brief>div{
  display:grid;grid-template-columns:56px minmax(0,1fr);
  align-items:start;gap:8px;min-width:0;
}
body.surface-courses .vf-course-card .vf-course-learning-brief dt{
  margin:0;color:var(--ws-teal,#07884f);font-size:12.2px;
  font-weight:700;white-space:nowrap;letter-spacing:0;
}
body.surface-courses .vf-course-card .vf-course-learning-brief dd{
  margin:0;min-width:0;font-size:13px;line-height:1.55;
  color:var(--ws-text,#344b3d);
  display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;overflow:hidden;
}
@media(min-width:1060px){
  body.surface-courses .vf-course-card.is-learning-brief .vf-course-card-body{
    min-height:180px!important;justify-content:flex-start!important;
  }
  body.surface-courses .vf-course-card.is-learning-brief.is-paired-gov .vf-course-card-body{
    padding-bottom:42px!important;
  }
}
@media(max-width:1059px){
  body.surface-courses .vf-course-card.is-learning-brief .vf-course-card-body{
    min-height:0!important;
  }
}
@media(max-width:560px){
  body.surface-courses .vf-course-card .vf-course-learning-brief>div{
    grid-template-columns:53px minmax(0,1fr);gap:6px;
  }
  body.surface-courses .vf-course-card .vf-course-learning-brief dt{font-size:11.8px}
  body.surface-courses .vf-course-card .vf-course-learning-brief dd{font-size:12.5px}
}

/* The course-brief edit action uses the existing shared overflow-menu item
 * styling, not an extra visible card button. The dialog stays in this shell. */
body.surface-courses dialog.vf-course-brief-dialog:not([open]){display:none!important}
body.surface-courses dialog.vf-course-brief-dialog{
  position:fixed;inset:0;box-sizing:border-box;margin:auto!important;
  width:min(540px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 32px);
  padding:0!important;overflow-y:auto;border:1px solid var(--ws-line,#d8e6dd);
  border-radius:12px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  box-shadow:0 24px 70px rgba(19,42,31,.22);
}
body.surface-courses dialog.vf-course-brief-dialog::backdrop{background:rgba(16,32,25,.46)}
body.surface-courses .vf-course-brief-form{display:block;margin:0}
body.surface-courses .vf-course-brief-form header{
  padding:19px 21px 15px;display:flex;align-items:flex-start;justify-content:space-between;
  gap:12px;border-bottom:1px solid var(--ws-line,#e0e9e3);
}
body.surface-courses .vf-course-brief-form h2{margin:0;font-size:19px;line-height:1.35}
body.surface-courses .vf-course-brief-form header p{
  margin:6px 0 0;color:var(--ws-muted,#64756e);font-size:13px;line-height:1.5;
}
body.surface-courses .vf-course-brief-form header button{
  flex:none;width:30px;height:30px;border:0;border-radius:6px;background:transparent;
  color:var(--ws-muted,#64756e);font-size:23px;cursor:pointer;
}
body.surface-courses .vf-course-brief-fields{
  padding:18px 21px 6px;display:grid;gap:14px;
}
body.surface-courses .vf-course-brief-fields label{
  display:grid;gap:7px;font-size:14px;font-weight:650;color:var(--ws-text,#253b31);
}
body.surface-courses .vf-course-brief-fields textarea{
  box-sizing:border-box;width:100%;min-height:80px;resize:vertical;padding:11px 12px;
  border:1px solid var(--ws-line,#cbded0);border-radius:8px;
  font:inherit;font-size:14px;font-weight:400;line-height:1.6;
  background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
}
body.surface-courses .vf-course-brief-fields textarea:focus{
  outline:2px solid #12a46b;outline-offset:1px;
}
body.surface-courses [data-course-brief-status]{
  min-height:20px;margin:0;font-size:13px;color:var(--ws-muted,#64756e);
}
body.surface-courses .vf-course-brief-form footer{
  padding:12px 21px 19px;display:flex;justify-content:flex-end;gap:9px;
}
body.surface-courses .vf-course-brief-form footer button{
  min-height:38px;padding:7px 17px;border:1px solid var(--ws-line,#cbded0);
  border-radius:7px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  font-size:14px;cursor:pointer;
}
body.surface-courses .vf-course-brief-form footer .vf-course-brief-submit{
  border-color:#07884f;background:#07884f;color:#fff;
}
body.surface-courses .vf-course-brief-form footer button:disabled{opacity:.6;cursor:wait}
@media(max-width:560px){
  body.surface-courses .vf-course-brief-form header{padding:15px}
  body.surface-courses .vf-course-brief-fields{padding:14px 15px 6px}
  body.surface-courses .vf-course-brief-form footer{padding:12px 15px 16px}
}

/* R7: source credentials and job diagnostics are exceptional, not daily toolbar actions. */
body.surface-courses .vf-course-govbook-advanced{
  margin:12px 0 0;padding:10px 13px;border:1px solid var(--ws-line,#d9e6df);
  border-radius:9px;background:var(--ws-soft,#f5faf7);
}
body.surface-courses .vf-course-govbook-advanced summary{
  color:var(--ws-muted,#576c61);font-size:13px;font-weight:700;cursor:pointer;
}
body.surface-courses .vf-course-govbook-advanced[open] summary{color:var(--ws-strong,#1d3028)}
body.surface-courses .vf-course-govbook-advanced p{
  margin:8px 0 0;color:var(--ws-muted,#576c61);font-size:13px;line-height:1.65;
}
body.surface-courses .vf-course-govbook-advanced a{
  color:var(--ws-teal,#07884f);font-size:13px;font-weight:700;
}
body.surface-courses .vf-course-govbook-advanced summary:focus-visible,
body.surface-courses .vf-course-govbook-advanced a:focus-visible{
  outline:2px solid var(--ws-teal,#07884f);outline-offset:2px;
}

/* P01 frontstage GOV-BOOK source panel: same course dialog, same server-owned forms. */
body.surface-courses .vf-course-govbook-source-panel{
  display:grid;gap:10px;margin:12px 0 4px;padding:14px;
  border:1px solid var(--ws-line,#d5e4da);border-radius:10px;
  background:var(--ws-soft,#f7fbf9);color:var(--ws-text,#244335);
  font-size:13px;line-height:1.55;
}
body.surface-courses .vf-course-govbook-source-panel p{margin:0}
body.surface-courses .vf-course-govbook-source-state strong{color:#07884f;font-weight:700}
body.surface-courses .vf-course-govbook-source-setup h3{
  margin:3px 0 7px;color:var(--ws-strong,#153e2b);font-size:14px;
}
body.surface-courses .vf-course-govbook-source-setup ol{margin:0 0 9px;padding-left:20px}
body.surface-courses .vf-course-govbook-source-setup a{color:#07884f;font-weight:600}
body.surface-courses .vf-course-govbook-source-form{
  display:grid;gap:7px;margin:11px 0 0;
}
body.surface-courses .vf-course-govbook-source-form label{font-weight:650}
body.surface-courses .vf-course-govbook-source-action{
  display:flex;align-items:stretch;gap:9px;flex-wrap:wrap;
}
body.surface-courses .vf-course-govbook-source-action input{
  flex:1 1 270px;min-width:0;min-height:40px;
  padding:9px 11px;border:1px solid var(--ws-line,#cbded3);
  border-radius:8px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  font:inherit;font-size:13px;
}
body.surface-courses .vf-course-govbook-source-action input:focus-visible{
  outline:2px solid #07884f;outline-offset:2px;
}
body.surface-courses .vf-course-govbook-source-revoke{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  flex-wrap:wrap;margin:0;padding-top:11px;border-top:1px solid var(--ws-line,#d5e4da);
}
body.surface-courses .vf-course-govbook-button.is-danger{
  color:#994033;border-color:#efc8c1;background:#fff7f5;
}
body.surface-courses .vf-course-govbook-button.is-danger:hover{background:#ffece8}
body.surface-courses .vf-course-govbook-source-note{color:var(--ws-muted,#657970)}
@media(max-width:560px){
  body.surface-courses .vf-course-govbook-source-panel{padding:12px}
  body.surface-courses .vf-course-govbook-source-action .vf-course-govbook-button{width:100%}
}
