/* P01 Frontend Visual Reframe · V2.47.101
   Authority: RPD §9.1–9.4 / SSOT §4.2 / Functional Contract §11.4–11.7.
   Primary language: Modern Editorial Library.
   This layer is presentation-only: no data, privacy, mutation or route authority. */

/* R6.1 · Mother shell + Home + Start */
:root{
  --vf-editorial-measure:1180px;
  --vf-editorial-reading:760px;
  --vf-editorial-rule:color-mix(in srgb,var(--ws-line) 82%,transparent);
  --vf-editorial-hover:color-mix(in srgb,var(--ws-teal) 5%,var(--ws-panel));
}
.vf-workspace-page{
  background:var(--ws-bg);
}
.vf-workspace-page .vf-shell-main,
.vf-subject-page .vf-subject-main{
  width:min(var(--vf-editorial-measure),calc(100% - 40px));
  margin-inline:auto;
}
.vf-global-domain-nav{
  border-bottom:1px solid var(--vf-editorial-rule);
  background:color-mix(in srgb,var(--ws-bg) 96%,transparent);
  box-shadow:none;
}
.vf-global-domain-nav-inner{
  min-height:58px;
  gap:20px;
}
.vf-global-product-mark{
  border-radius:8px;
  box-shadow:none;
}
.vf-global-product-copy small{
  opacity:.68;
}
.vf-global-domain-links{
  min-width:0;
  gap:2px;
}
.vf-global-domain-links a{
  min-height:38px;
  padding:0 11px;
  border:0;
  border-radius:0;
  background:transparent;
  font-weight:650;
  position:relative;
}
.vf-global-domain-links a:hover{
  background:transparent;
  color:var(--ws-text);
}
.vf-global-domain-links a.active{
  background:transparent;
  color:var(--ws-text);
}
.vf-global-domain-links a.active::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:-10px;
  height:2px;
  border-radius:2px;
  background:var(--ws-teal);
}
.vf-domain-subbar,
.vf-app-topbar{
  border:0;
  border-bottom:1px solid var(--vf-editorial-rule);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.vf-global-search{
  max-width:620px;
}
.vf-global-search input{
  font-size:14px;
}
.vf-subject-main,
.vf-shell-main{
  padding-top:24px;
}
.vf-subject-hero,
.vf-channel-hero,
.vf-watch-hero,
.vf-course-hero,
.vf-tool-hero,
.vf-software-title{
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.vf-subject-stats,
.vf-channel-stats,
.vf-watch-stats,
.vf-course-stats{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Home = Command surface, not dashboard. */
.surface-home .vf-home-command{
  max-width:var(--vf-editorial-measure);
  margin-inline:auto;
}
.surface-home .vf-home-command-head{
  padding:10px 0 20px;
  border-bottom:1px solid var(--vf-editorial-rule);
  align-items:end;
}
.surface-home .vf-home-command-copy h1{
  font-size:clamp(28px,3.2vw,42px);
  letter-spacing:-.035em;
  line-height:1.04;
}
.surface-home .vf-home-command-copy p{
  max-width:660px;
  margin-top:9px;
  font-size:14px;
  line-height:1.65;
}
.surface-home .vf-home-summary{
  display:flex!important;
  justify-content:flex-end;
  gap:20px!important;
  width:auto!important;
}
.surface-home .vf-home-summary a{
  min-width:72px;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  text-align:right;
}
.surface-home .vf-home-summary strong{
  font-size:20px!important;
  letter-spacing:-.025em;
}
.surface-home .vf-home-command-search{
  margin:22px 0 6px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:0 14px;
  border:1px solid color-mix(in srgb,var(--ws-teal) 22%,var(--ws-line));
  border-radius:12px;
  background:var(--ws-panel);
  box-shadow:0 8px 28px color-mix(in srgb,var(--ws-text) 5%,transparent);
}
.surface-home .vf-home-command-search>span{
  color:var(--ws-muted-2);
  font-size:18px;
}
.surface-home .vf-home-command-search input{
  min-width:0;
  height:50px;
  border:0;
  outline:0;
  background:transparent;
  color:var(--ws-text);
  font:inherit;
  font-size:15px;
}
.surface-home .vf-home-command-search button{
  min-height:34px;
  padding:0 13px;
  border:0;
  border-radius:8px;
  background:var(--ws-teal);
  color:white;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.surface-home .vf-home-board{
  margin-top:22px;
  gap:32px!important;
  grid-template-columns:minmax(0,1.45fr) minmax(250px,.75fr)!important;
}
.surface-home .vf-home-focus,
.surface-home .vf-home-quick,
.surface-home .vf-home-activity-section{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-home .vf-home-block-head{
  padding-bottom:10px;
  border-bottom:1px solid var(--vf-editorial-rule);
}
.surface-home .vf-home-attention-item,
.surface-home .vf-home-quick-grid>a,
.surface-home .vf-home-quick-grid>button,
.surface-home .vf-home-activity-item{
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-home .vf-home-attention-item:hover,
.surface-home .vf-home-quick-grid>a:hover,
.surface-home .vf-home-quick-grid>button:hover,
.surface-home .vf-home-activity-item:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-home .vf-home-quick-grid{
  grid-template-columns:1fr!important;
  gap:0!important;
}
.surface-home .vf-home-quick-grid>a,
.surface-home .vf-home-quick-grid>button{
  min-height:58px!important;
}

/* Start = bookmark manager: category rail + dense rows. */
body.surface-start .vf-functional-layout{
  gap:26px;
}
body.surface-start .vf-workspace-sidebar{
  background:transparent!important;
  border:0!important;
  border-right:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.surface-start .vf-category-node,
body.surface-start .vf-category-node summary{
  border-radius:6px!important;
}
body.surface-start .vf-functional-head{
  padding:2px 0 14px!important;
  border-bottom:1px solid var(--vf-editorial-rule);
}
body.surface-start .vf-functional-head h1{
  font-size:24px!important;
  letter-spacing:-.025em;
}
body.surface-start .vf-start-toolbar{
  border-bottom:1px solid var(--vf-editorial-rule)!important;
}
body.surface-start .vf-asset-list{
  border-top:1px solid var(--vf-editorial-rule);
}
body.surface-start .vf-asset-row{
  min-height:58px;
  padding:9px 6px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.surface-start .vf-asset-row:hover{
  background:var(--vf-editorial-hover)!important;
}
body.surface-start .vf-asset-icon{
  width:34px;
  height:34px;
  border-radius:8px;
}
body.surface-start .vf-asset-copy strong{
  font-size:13.5px;
}
body.surface-start .vf-asset-copy em{
  margin-top:3px;
  color:var(--ws-muted);
}
body.surface-start .vf-asset-actions{
  opacity:.42;
  transition:opacity .14s ease;
}
body.surface-start .vf-asset-row:hover .vf-asset-actions,
body.surface-start .vf-asset-row:focus-within .vf-asset-actions{
  opacity:1;
}

@media(max-width:820px){
  .vf-workspace-page .vf-shell-main,
  .vf-subject-page .vf-subject-main{
    width:min(100% - 24px,var(--vf-editorial-measure));
  }
  .vf-global-domain-nav-inner{
    gap:10px;
  }
  .vf-global-domain-links{
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    white-space:nowrap;
  }
  .vf-global-domain-links::-webkit-scrollbar{display:none}
  .vf-global-domain-links a{
    flex:0 0 auto;
    min-height:42px;
    padding-inline:10px;
  }
  .vf-global-domain-links a.active::after{
    bottom:0;
  }
  .surface-home .vf-home-command-head{
    align-items:start;
  }
  .surface-home .vf-home-summary{
    justify-content:flex-start;
  }
}
@media(max-width:700px){
  .vf-subject-main,.vf-shell-main{padding-top:16px}
  .surface-home .vf-home-command-copy h1{font-size:30px}
  .surface-home .vf-home-command-search{
    grid-template-columns:auto minmax(0,1fr);
    min-height:50px;
  }
  .surface-home .vf-home-command-search button{display:none}
  .surface-home .vf-home-board{grid-template-columns:1fr!important;gap:24px!important}
  .surface-home .vf-home-summary{gap:16px!important}
  body.surface-start .vf-workspace-sidebar{border-right:0!important}
}


/* R6.2 · Channels = Source Library / Watch = Personal Media Library */
.surface-channels .vf-channel-hero,
.surface-watch .vf-watch-hero{
  padding:8px 0 18px!important;
  margin-bottom:14px!important;
}
.surface-channels .vf-channel-stats,
.surface-watch .vf-watch-stats{
  display:flex!important;
  gap:18px!important;
  align-items:end;
}
.surface-channels .vf-channel-stats>div,
.surface-watch .vf-watch-stats>div{
  min-width:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.surface-channels .vf-channel-filter-stack,
.surface-watch .vf-watch-filter-stack,
.surface-watch .vf-watch-filterbar{
  padding:0 0 12px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-channels .vf-channel-library-section,
.surface-watch .vf-watch-library-section{
  margin-top:16px!important;
}
.surface-channels .vf-channel-grid{
  display:block!important;
  border-top:1px solid var(--vf-editorial-rule);
}
.surface-channels .vf-channel-card{
  min-height:76px!important;
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  padding:11px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-channels .vf-channel-card:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-channels .vf-channel-avatar{
  width:46px!important;
  height:46px!important;
  border-radius:50%!important;
}
.surface-channels .vf-channel-copy{
  min-width:0;
}
.surface-channels .vf-channel-copy strong{
  font-size:14px!important;
}
.surface-channels .vf-channel-copy em{
  max-width:760px;
  line-height:1.5;
}
.surface-channels .vf-channel-actions{
  align-self:center!important;
  opacity:.45;
}
.surface-channels .vf-channel-card:hover .vf-channel-actions,
.surface-channels .vf-channel-card:focus-within .vf-channel-actions{
  opacity:1;
}

/* Watch deliberately keeps a visual shelf instead of inheriting generic rows. */
.surface-watch .vf-watch-library-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;
  gap:22px 16px!important;
}
.surface-watch .vf-watch-card,
.surface-watch .vf-watch-library-card{
  display:block!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-watch .vf-watch-poster{
  display:block!important;
  width:100%!important;
  aspect-ratio:2/3;
  height:auto!important;
  overflow:hidden;
  border-radius:8px!important;
  background:var(--ws-soft);
  box-shadow:0 6px 18px color-mix(in srgb,var(--ws-text) 8%,transparent);
}
.surface-watch .vf-watch-poster img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.surface-watch .vf-watch-copy{
  display:block!important;
  padding-top:8px;
}
.surface-watch .vf-watch-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13.5px!important;
}
.surface-watch .vf-watch-copy small{
  margin-top:3px;
  color:var(--ws-muted-2);
}
.surface-watch .vf-watch-state{
  margin-top:5px;
}
.surface-watch .vf-watch-card>.vf-asset-actions,
.surface-watch .vf-watch-library-card>.vf-asset-actions{
  position:absolute;
  top:7px;
  right:7px;
  padding:3px;
  border-radius:8px;
  background:color-mix(in srgb,var(--ws-panel) 90%,transparent);
  opacity:0;
  transition:opacity .14s ease;
}
.surface-watch .vf-watch-card:hover>.vf-asset-actions,
.surface-watch .vf-watch-library-card:hover>.vf-asset-actions,
.surface-watch .vf-watch-card:focus-within>.vf-asset-actions,
.surface-watch .vf-watch-library-card:focus-within>.vf-asset-actions{
  opacity:1;
}
.surface-watch .vf-watch-card,
.surface-watch .vf-watch-library-card{
  position:relative;
}

@media(max-width:700px){
  .surface-channels .vf-channel-card{
    grid-template-columns:44px minmax(0,1fr)!important;
    min-height:68px!important;
    padding:9px 2px!important;
  }
  .surface-channels .vf-channel-avatar{width:40px!important;height:40px!important}
  .surface-channels .vf-channel-actions{grid-column:2;justify-self:start;opacity:1}
  .surface-watch .vf-watch-library-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px 10px!important;
  }
  .surface-watch .vf-watch-card>.vf-asset-actions,
  .surface-watch .vf-watch-library-card>.vf-asset-actions{opacity:1}
}
@media(max-width:440px){
  .surface-watch .vf-watch-library-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* R6.3 · Topics = editorial index / Courses = continue-learning center */
.surface-topics .vf-topic-hero,
.surface-courses .vf-course-hero{
  padding:8px 0 18px!important;
}
.surface-topics .vf-subject-chips,
.surface-courses .vf-course-chips{
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
}
.surface-topics .vf-topic-library-grid{
  display:block!important;
  border-top:1px solid var(--vf-editorial-rule);
}
.surface-topics .vf-topic-library-card{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:start!important;
  min-height:96px!important;
  padding:12px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-topics .vf-topic-library-card:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-topics .vf-topic-library-cover{
  width:68px!important;
  height:68px!important;
  border-radius:7px!important;
}
.surface-topics .vf-topic-library-body strong{
  font-size:15px!important;
  line-height:1.35;
}
.surface-topics .vf-topic-library-body p,
.surface-topics .vf-topic-library-body em{
  max-width:760px;
  line-height:1.55!important;
}
.surface-topics .vf-topic-library-actions{
  opacity:.42;
}
.surface-topics .vf-topic-library-card:hover .vf-topic-library-actions,
.surface-topics .vf-topic-library-card:focus-within .vf-topic-library-actions{
  opacity:1;
}

/* Learning status comes before discovery. */
.surface-courses .vf-course-continue-shell{
  margin:4px 0 24px!important;
  padding:16px 0!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-courses .vf-course-library-section{
  margin-top:18px!important;
}
.surface-courses .vf-course-grid{
  display:block!important;
  border-top:1px solid var(--vf-editorial-rule);
}
.surface-courses .vf-course-card{
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr) auto!important;
  gap:15px!important;
  align-items:center!important;
  min-height:106px!important;
  padding:12px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-courses .vf-course-card:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-courses .vf-course-cover{
  width:104px!important;
  height:74px!important;
  aspect-ratio:auto!important;
  border-radius:7px!important;
}
.surface-courses .vf-course-card-body{
  min-width:0;
}
.surface-courses .vf-course-card-body strong{
  font-size:14.5px!important;
}
.surface-courses .vf-course-card-actions{
  opacity:.45;
}
.surface-courses .vf-course-card:hover .vf-course-card-actions,
.surface-courses .vf-course-card:focus-within .vf-course-card-actions{
  opacity:1;
}
.surface-courses .vf-course-facts{
  display:flex!important;
  flex-wrap:wrap;
  gap:8px 14px!important;
}
.surface-courses .vf-course-state-action{
  border-radius:7px!important;
}

@media(max-width:700px){
  .surface-topics .vf-topic-library-card{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:10px!important;
    min-height:82px!important;
  }
  .surface-topics .vf-topic-library-cover{width:54px!important;height:54px!important}
  .surface-topics .vf-topic-library-actions{grid-column:2;opacity:1}
  .surface-courses .vf-course-card{
    grid-template-columns:86px minmax(0,1fr)!important;
    gap:10px!important;
    min-height:94px!important;
  }
  .surface-courses .vf-course-cover{width:82px!important;height:58px!important}
  .surface-courses .vf-course-card-actions{grid-column:2;opacity:1}
}


/* Tools: the search field is the product; scenes and assets become command rows. */
.surface-tools .vf-tool-hero{
  padding:10px 0 20px!important;
}
.surface-tools .vf-tool-hero-copy h1{
  font-size:clamp(28px,3vw,40px)!important;
  letter-spacing:-.035em;
}
.surface-tools .vf-tool-task-search{
  max-width:820px!important;
  min-height:54px!important;
  border:1px solid color-mix(in srgb,var(--ws-teal) 24%,var(--ws-line))!important;
  border-radius:11px!important;
  background:var(--ws-panel)!important;
  box-shadow:0 8px 28px color-mix(in srgb,var(--ws-text) 5%,transparent)!important;
}
.surface-tools .vf-tool-task-suggestions{
  margin-top:10px!important;
}
.surface-tools .vf-tool-home-section{
  padding:0!important;
  margin-top:24px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-tools .vf-tool-section-head{
  padding-bottom:9px;
  border-bottom:1px solid var(--vf-editorial-rule);
}
.surface-tools .vf-tool-scene-grid,
.surface-tools .vf-tool-asset-strip{
  display:block!important;
  border-top:0!important;
}
.surface-tools .vf-tool-scene-card,
.surface-tools .vf-tool-asset-tile{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
  gap:11px!important;
  align-items:center!important;
  min-height:62px!important;
  width:100%!important;
  padding:9px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none;
}
.surface-tools .vf-tool-scene-card:hover,
.surface-tools .vf-tool-asset-tile:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-tools .vf-tool-scene-icon,
.surface-tools .vf-tool-asset-icon{
  width:34px!important;
  height:34px!important;
  border-radius:7px!important;
}
.surface-tools .vf-tool-scene-copy em{
  display:block!important;
  margin-top:2px;
  color:var(--ws-muted);
  font-style:normal;
}
.surface-tools .vf-tool-scene-arrow{
  color:var(--ws-muted-2);
}

/* Software: recovery workflow first, then compact app-library rows. */
.surface-software .vf-software-title{
  padding:8px 0 18px!important;
}
.surface-software .vf-software-title h1{
  font-size:clamp(28px,3vw,40px)!important;
  letter-spacing:-.035em;
}
.surface-software .vf-software-install-card{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) minmax(180px,.55fr) minmax(160px,.45fr) auto!important;
  gap:18px!important;
  align-items:center!important;
  margin:18px 0 20px!important;
  padding:15px 0!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-software .vf-software-install-heading>span{
  display:none!important;
}
.surface-software .vf-software-profile-select,
.surface-software .vf-software-profile-summary,
.surface-software .vf-software-install-actions{
  margin:0!important;
}
.surface-software .vf-software-platforms{
  display:flex!important;
  gap:4px!important;
  padding:0 0 12px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  background:transparent!important;
}
.surface-software .vf-software-platforms a{
  min-height:34px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
}
.surface-software .vf-software-platforms a.active{
  background:var(--ws-teal-soft)!important;
  color:var(--ws-teal)!important;
}
.surface-software .vf-software-section{
  padding:0!important;
  margin-top:22px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-software .vf-software-section-head{
  padding-bottom:9px;
  border-bottom:1px solid var(--vf-editorial-rule);
}
.surface-software .vf-software-group-grid,
.surface-software .vf-software-common-grid{
  display:block!important;
}
.surface-software .vf-software-group-card,
.surface-software .vf-software-common-grid>a,
.surface-software .vf-software-common-grid>article{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
  gap:11px!important;
  align-items:center!important;
  min-height:62px!important;
  padding:9px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-software .vf-software-group-card:hover,
.surface-software .vf-software-common-grid>a:hover,
.surface-software .vf-software-common-grid>article:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-software .vf-software-group-icon{
  width:34px!important;
  height:34px!important;
  border-radius:8px!important;
}

@media(max-width:820px){
  .surface-software .vf-software-install-card{
    grid-template-columns:1fr 1fr!important;
  }
  .surface-software .vf-software-install-heading{grid-column:1/-1}
}
@media(max-width:700px){
  .surface-tools .vf-tool-scene-card,
  .surface-tools .vf-tool-asset-tile{
    grid-template-columns:34px minmax(0,1fr) auto!important;
    min-height:58px!important;
  }
  .surface-software .vf-software-install-card{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .surface-software .vf-software-install-heading{grid-column:auto}
  .surface-software .vf-software-platforms{
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .surface-software .vf-software-platforms::-webkit-scrollbar{display:none}
  .surface-software .vf-software-platforms a{flex:0 0 auto}
}


/* R6.5 · Detail + filter + mobile convergence */
.vf-subject-section-head,
.vf-course-section-head,
.vf-tool-section-head,
.vf-software-section-head{
  min-height:42px;
}
.vf-subject-section-head h2,
.vf-course-section-head h2,
.vf-tool-section-head h2,
.vf-software-section-head h2{
  font-size:16px!important;
  letter-spacing:-.015em;
}
.vf-subject-pagination{
  margin-top:20px!important;
  padding-top:12px;
  border-top:1px solid var(--vf-editorial-rule);
}
.vf-subject-pagination a{
  border:0!important;
  background:transparent!important;
  border-radius:6px!important;
}
.vf-subject-pagination a.active{
  background:var(--ws-teal-soft)!important;
  color:var(--ws-teal)!important;
}

/* Tools detail = result list + secondary context, not nested dashboard cards. */
.surface-tools .vf-tool-scene-hero{
  padding:6px 0 16px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-tools .vf-tool-facets,
.surface-tools .vf-tool-detail-controls{
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  background:transparent!important;
}
.surface-tools .vf-tool-workbench{
  gap:28px!important;
}
.surface-tools .vf-tool-results-pane,
.surface-tools .vf-tool-scene-aside,
.surface-tools .vf-tool-aside-card{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.surface-tools .vf-tool-detail-list{
  border-top:1px solid var(--vf-editorial-rule);
}
.surface-tools .vf-tool-detail-row{
  min-height:64px!important;
  padding:9px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
}
.surface-tools .vf-tool-detail-row:hover{
  background:var(--vf-editorial-hover)!important;
}
.surface-tools .vf-tool-scene-aside{
  border-left:1px solid var(--vf-editorial-rule)!important;
  padding-left:20px!important;
}

/* Software detail = app list. */
.surface-software .vf-software-detail-head{
  padding:4px 0 15px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
}
.surface-software .vf-software-detail-controls{
  padding:10px 0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
}
.surface-software .vf-software-detail-list{
  border-top:1px solid var(--vf-editorial-rule)!important;
  box-shadow:none!important;
}
.surface-software .vf-software-detail-row{
  min-height:64px!important;
  padding:9px 4px!important;
  border:0!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
}
.surface-software .vf-software-detail-row:hover{
  background:var(--vf-editorial-hover)!important;
}

/* Filter bars stay subordinate to product navigation. */
.vf-channel-facets,
.vf-channel-platforms,
.vf-watch-statuses,
.vf-watch-facets,
.vf-subject-chips,
.vf-course-chips,
.vf-tool-facets{
  scrollbar-width:none;
}
.vf-channel-facets::-webkit-scrollbar,
.vf-channel-platforms::-webkit-scrollbar,
.vf-watch-statuses::-webkit-scrollbar,
.vf-watch-facets::-webkit-scrollbar,
.vf-subject-chips::-webkit-scrollbar,
.vf-course-chips::-webkit-scrollbar,
.vf-tool-facets::-webkit-scrollbar{
  display:none;
}
.vf-channel-facets a,
.vf-channel-platforms a,
.vf-watch-statuses a,
.vf-watch-facets a,
.vf-subject-chips a,
.vf-course-chips a,
.vf-tool-facets a{
  border-radius:7px!important;
}

/* Quiet empty states: content product, not admin dashboard. */
.vf-subject-empty,
.vf-channel-empty,
.vf-watch-empty,
.vf-course-empty,
.vf-tool-detail-empty{
  padding:34px 8px!important;
  border:0!important;
  border-top:1px solid var(--vf-editorial-rule)!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

@media(max-width:700px){
  .vf-channel-facets,
  .vf-channel-platforms,
  .vf-watch-statuses,
  .vf-watch-facets,
  .vf-subject-chips,
  .vf-course-chips,
  .vf-tool-facets{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    white-space:nowrap;
  }
  .vf-channel-facets a,
  .vf-channel-platforms a,
  .vf-watch-statuses a,
  .vf-watch-facets a,
  .vf-subject-chips a,
  .vf-course-chips a,
  .vf-tool-facets a{
    flex:0 0 auto;
  }
  .surface-tools .vf-tool-workbench{
    display:block!important;
  }
  .surface-tools .vf-tool-scene-aside{
    margin-top:22px;
    padding:18px 0 0!important;
    border-left:0!important;
    border-top:1px solid var(--vf-editorial-rule)!important;
  }
  .vf-domain-subbar .vf-global-search{
    min-width:0;
  }
}

/* No object page should regain a generic raised-card wall through late legacy CSS. */
.surface-channels .vf-channel-card,
.surface-topics .vf-topic-library-card,
.surface-courses .vf-course-card,
.surface-projects .vf-project-action-card,
.surface-tools .vf-tool-scene-card,
.surface-tools .vf-tool-asset-tile,
.surface-software .vf-software-group-card{
  transform:none!important;
}


/* R6.6 · Surface Inventory Coverage
   Covers anonymous Home, Start list authority, shared Add/Detail/Bulk overlays,
   and special-state convergence required by UX-22. */

/* Anonymous Public Home = editorial front door, not a marketing dashboard. */
.vf-public-home-shell{
  min-height:58px!important;
  padding-inline:22px!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  background:color-mix(in srgb,var(--ws-bg) 96%,transparent)!important;
  box-shadow:none!important;
}
.vf-public-home-shell nav{
  justify-content:center!important;
  gap:2px!important;
}
.vf-public-home-shell nav a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:0 10px!important;
  border-radius:0!important;
  background:transparent!important;
  position:relative;
}
.vf-public-home-shell nav a.active{
  background:transparent!important;
  color:var(--ws-text)!important;
}
.vf-public-home-shell nav a.active::after{
  content:"";
  position:absolute;
  left:9px;
  right:9px;
  bottom:-10px;
  height:2px;
  border-radius:2px;
  background:var(--ws-teal);
}
.vf-public-home-main{
  width:min(var(--vf-editorial-measure),calc(100% - 40px))!important;
  padding-top:clamp(42px,6vw,72px)!important;
}
.vf-public-home-hero{
  max-width:780px!important;
}
.vf-public-home-hero h1{
  max-width:720px!important;
  font-size:clamp(34px,4.4vw,54px)!important;
  letter-spacing:-.045em!important;
}
.vf-public-home-search{
  max-width:720px!important;
  height:54px!important;
  border-radius:11px!important;
  border-color:color-mix(in srgb,var(--ws-teal) 22%,var(--ws-line))!important;
  box-shadow:0 8px 28px color-mix(in srgb,var(--ws-text) 5%,transparent)!important;
}
.vf-public-home-actions a,
.vf-public-home-actions button{
  border-radius:7px!important;
  box-shadow:none!important;
}
.vf-public-home-principle{
  max-width:720px!important;
  border-top:1px solid var(--vf-editorial-rule)!important;
}

/* Start local IA: actual class is vf-functional-sidebar. */
body.surface-start .vf-functional-sidebar{
  background:transparent!important;
  border:0!important;
  border-right:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.surface-start .vf-functional-sidebar .vf-local-product-head,
body.surface-start .vf-functional-sidebar .vf-nav-section,
body.surface-start .vf-functional-sidebar .vf-category-title{
  background:transparent!important;
}
body.surface-start .vf-functional-sidebar .vf-secondary-nav a,
body.surface-start .vf-functional-sidebar .vf-category-node,
body.surface-start .vf-functional-sidebar .vf-category-all{
  border-radius:6px!important;
  box-shadow:none!important;
}

/* Shared Add / Detail / Bulk surfaces are task overlays, not nested card walls. */
.vf-workspace-overlay{
  background:color-mix(in srgb,var(--ws-text) 28%,transparent)!important;
  backdrop-filter:blur(2px);
}
.vf-workspace-dialog,
.vf-detail-drawer{
  border:1px solid var(--ws-line-strong)!important;
  background:var(--ws-panel)!important;
  box-shadow:0 24px 70px color-mix(in srgb,var(--ws-text) 18%,transparent)!important;
}
.vf-workspace-dialog{
  border-radius:12px!important;
}
.vf-detail-drawer{
  border-radius:0!important;
  border-top:0!important;
  border-bottom:0!important;
  border-right:0!important;
}
.vf-workspace-dialog>header,
.vf-detail-head{
  padding-block:14px!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  background:transparent!important;
}
.vf-workspace-form{
  gap:13px!important;
}
.vf-workspace-form .vf-field{
  gap:6px!important;
}
.vf-workspace-form .vf-field>span{
  font-size:11.5px!important;
  font-weight:700!important;
  color:var(--ws-muted)!important;
}
.vf-workspace-form input,
.vf-workspace-form select,
.vf-workspace-form textarea{
  border-radius:7px!important;
  box-shadow:none!important;
}
.vf-workspace-form footer{
  border-top:1px solid var(--vf-editorial-rule)!important;
}
.vf-bulkbar{
  border:1px solid var(--ws-line-strong)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--ws-panel) 97%,transparent)!important;
  box-shadow:0 16px 40px color-mix(in srgb,var(--ws-text) 13%,transparent)!important;
}

/* Generic empty / pagination states cannot restore the old floating-card language. */
.vf-workspace-empty{
  padding:34px 8px!important;
  border:0!important;
  border-top:1px solid var(--vf-editorial-rule)!important;
  border-bottom:1px solid var(--vf-editorial-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.vf-pagination{
  margin-top:18px!important;
  padding-top:12px!important;
  border-top:1px solid var(--vf-editorial-rule)!important;
}

/* Compact mobile product navigation stays one semantic row. */
@media(max-width:980px){
  .vf-public-home-shell{
    grid-template-columns:auto auto!important;
    padding:8px 12px!important;
  }
  .vf-public-home-shell nav{
    grid-column:1/-1;
    justify-content:flex-start!important;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
    padding-bottom:0!important;
  }
  .vf-public-home-shell nav::-webkit-scrollbar{display:none}
  .vf-public-home-shell nav a{flex:0 0 auto}
  .vf-public-home-shell nav a.active::after{bottom:0}
}
@media(max-width:700px){
  body.surface-start .vf-functional-sidebar{
    border-right:0!important;
  }
  .vf-workspace-dialog{
    width:calc(100vw - 20px)!important;
    border-radius:10px!important;
  }
  .vf-detail-drawer{
    width:100%!important;
  }
  .vf-bulkbar{
    border-radius:9px!important;
  }
}
