/* P01 domain-nav composition entry.
 * V2.47.5 shell bytes stay isolated in workspace-domain-nav-base.css.
 * Static CSS is served through asset.php, so imports must target that endpoint
 * explicitly instead of resolving relative to asset.php?file=....
 */
@import url("/asset.php?file=workspace-domain-nav-base.css");
@import url("/asset.php?file=prototype-density.css");
@import url("/asset.php?file=global-account-actions.css");
@import url("/asset.php?file=local-subsite-management.css");

/*
 * Public Navigation rows do not render the admin selection checkbox.
 * prototype-density.css intentionally defines the signed-in four-column grid
 * (selection + icon + copy + meta) after the base no-selection correction,
 * so logged-out rows were auto-placing the title into the 36px icon column and
 * collapsing it to a few characters. Reassert the three-column public grid
 * after all composition imports.
 */
@media (min-width:761px){
  body.surface-start.vf-functional-workspace .vf-asset-row:not(:has(> .vf-asset-select)){
    grid-template-columns:36px minmax(0,1fr) auto;
  }
}


/* P01 Navigation UX Round 2 · clearable context and stable pagination landing. */
body.surface-start.vf-functional-workspace .vf-context-chip.is-clearable{
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}
body.surface-start.vf-functional-workspace .vf-context-chip.is-clearable:hover,
body.surface-start.vf-functional-workspace .vf-context-chip.is-clearable:focus-visible{
  border-color:color-mix(in srgb,var(--ws-teal) 32%,var(--ws-line));
  color:var(--ws-teal);
}
body.surface-start.vf-functional-workspace .vf-context-chip.is-clearable>span[aria-hidden="true"]{
  margin-left:2px;
  opacity:.65;
}
body.surface-start.vf-functional-workspace .vf-results-anchor{
  scroll-margin-top:calc(var(--ws-domain-nav) + var(--ws-topbar) + 54px);
}

/* P01 News owner source editor is shared across all P01 domain tabs. */
.vf-news-manage-intro h3{margin:0 0 8px;font-size:18px}
.vf-news-manage-intro p{margin:0 0 14px;color:var(--vf-muted,#64748b);font-size:13px;line-height:1.6}
.vf-news-manage-row-head{display:grid;grid-template-columns:minmax(0,1fr) 65px 65px 84px;gap:10px;align-items:center;padding:7px 12px;font-size:12px;font-weight:600;color:var(--vf-muted,#64748b)}
.vf-news-manage-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--vf-border,#e2e8f0)}
.vf-news-manage-row{display:grid;grid-template-columns:minmax(0,1fr) 65px 65px 84px;gap:10px;align-items:center;padding:13px 12px;border-bottom:1px solid var(--vf-border,#e2e8f0)}
.vf-news-manage-name{min-width:0}
.vf-news-manage-name strong{display:block;font-size:14px;overflow-wrap:anywhere}
.vf-news-manage-name small{display:block;font-size:12px;color:var(--vf-muted,#64748b)}
.vf-news-manage-check{display:flex;align-items:center;gap:5px;font-size:12px;cursor:pointer}
.vf-news-manage-check input{accent-color:var(--vf-brand,#0f766e);width:16px;height:16px}
.vf-news-manage-check span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.vf-news-manage-order{display:flex;gap:4px}
.vf-news-manage-order button{border:1px solid var(--vf-border,#e2e8f0);background:transparent;border-radius:5px;color:inherit;width:36px;height:30px;cursor:pointer}
.vf-news-manage-order button:hover{border-color:var(--vf-brand,#0f766e);color:var(--vf-brand,#0f766e)}
.vf-news-manage-state{font-size:12px;line-height:1.5;color:var(--vf-muted,#64748b);margin:14px 0}
.vf-news-manage-state[data-vf-news-error="1"]{color:#9f1239}
.vf-news-manage-actions{display:flex;gap:10px;flex-wrap:wrap}
.vf-news-manage-actions button{padding:9px 13px}
.vf-news-manage-actions button:disabled{opacity:.5;cursor:default}
@media(max-width:767px){
  .vf-news-manage-row-head,.vf-news-manage-row{grid-template-columns:minmax(0,1fr) 34px 34px 80px;gap:7px;padding:11px 4px}
  .vf-news-manage-order button{width:30px}
}
