/* P01 Projects · Product List
   Linear/Vercel-inspired information hierarchy.
   Project-specific presentation only. Shared Shell / global navigation stay untouched. */

.vf-project-action-page .vf-project-hero{
  grid-template-columns:minmax(0,1fr) auto;
  border:0!important;
  border-bottom:1px solid var(--ws-line)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;}

.vf-project-action-page .vf-project-hero .vf-subject-title h1{line-height:1.15}
.vf-project-action-page .vf-project-hero .vf-subject-title p{
  color:var(--ws-muted);}
.vf-project-action-page .vf-project-summary{
  display:flex;
  justify-content:flex-end;
  padding:0 2px 4px 0;
  color:var(--ws-muted);
  font-size:12.5px;
  white-space:nowrap;}
.vf-project-action-page .vf-project-summary span{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
}
.vf-project-action-page .vf-project-summary strong{
  color:var(--ws-strong);
  font-weight:760;}
.vf-project-action-page .vf-project-summary .warn strong{color:#b45309}
.vf-project-action-page .vf-project-summary .danger strong{color:#b91c1c}

.vf-project-action-page .vf-subject-chips{
  gap:2px;
  margin:4px 0 18px;
  padding:6px 0 10px;
  border-bottom:1px solid var(--ws-line);
}
.vf-project-action-page .vf-subject-chips a{
  min-height:30px;
  padding:0 10px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--ws-muted);
  font-size:11.5px;
}
.vf-project-action-page .vf-subject-chips a small{
  margin-left:3px;
  color:var(--ws-muted-2);
  font-size:10px;
}
.vf-project-action-page .vf-subject-chips a:hover{
  background:var(--ws-soft);
  color:var(--ws-strong);
}
.vf-project-action-page .vf-subject-chips a.active{
  background:var(--ws-teal-soft);
  color:var(--ws-teal-deep);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ws-teal) 24%,var(--ws-line));
}
.vf-project-action-page .vf-subject-chips a.active small{color:inherit}

.vf-project-git-sync{
  margin:0 0 14px;
  padding:11px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid color-mix(in srgb,var(--ws-teal) 22%,var(--ws-line));
  border-radius:8px;
  background:color-mix(in srgb,var(--ws-teal-soft) 34%,var(--ws-panel));
}
.vf-project-git-sync>div{min-width:0;display:flex;align-items:baseline;gap:10px}
.vf-project-git-sync strong{flex:0 0 auto;color:var(--ws-strong);font-size:12px}
.vf-project-git-sync span{color:var(--ws-muted);font-size:11px;line-height:1.55}
.vf-project-git-sync form{flex:0 0 auto}
.vf-project-git-sync button{
  min-height:32px;
  padding:0 11px;
  border:1px solid color-mix(in srgb,var(--ws-teal) 34%,var(--ws-line));
  border-radius:7px;
  background:var(--ws-panel);
  color:var(--ws-teal);
  font:inherit;
  font-size:11px;
  font-weight:720;
  cursor:pointer;
}
.vf-project-git-sync button:hover{background:var(--ws-teal-soft)}
.vf-project-git-result{
  margin:0 0 14px;
  padding:9px 11px;
  border:1px solid var(--ws-line);
  border-radius:8px;
  background:var(--ws-panel);
  color:var(--ws-muted);
  font-size:11.2px;
}
.vf-project-git-result.success{border-color:color-mix(in srgb,#16a34a 28%,var(--ws-line));color:#15803d}
.vf-project-git-result.error{border-color:color-mix(in srgb,#dc2626 28%,var(--ws-line));color:#b91c1c}

.vf-project-action-page .vf-project-action-panels{margin:0 0 14px}
.vf-project-action-page .vf-project-action-panel{
  min-height:0;
  padding:0 14px;
  border-radius:8px;
  box-shadow:none;
}
.vf-project-action-page .vf-project-action-panel>header{min-height:46px}
.vf-project-action-page .vf-project-action-row{min-height:50px}


.vf-project-action-page .vf-subject-section-head{
  margin:0;}
.vf-project-action-page .vf-subject-section-head h2{
  color:var(--ws-strong);
  font-weight:760;}


.vf-project-action-page .vf-project-action-grid{
  border-top:1px solid var(--ws-line);
  border-bottom:0;}



.vf-project-action-page .vf-project-action-card.has-attention,
.vf-project-action-page .vf-project-action-card.has-attention:has(.vf-project-card-alert.critical){
  border-left:3px solid #f59e0b;
  padding-left:10px;
}


.vf-project-action-page .vf-project-action-card>header{
  display:block;}

.vf-project-action-page .vf-project-action-card h3{font-size:15.5px;line-height:1.4}
.vf-project-action-page .vf-project-action-card h3 a{
  color:var(--ws-strong);
  text-decoration:none;
}
.vf-project-action-page .vf-project-action-card h3 a:hover{color:var(--ws-teal-deep)}


.vf-project-action-page .vf-project-facts{
  align-items:center;
  flex-wrap:wrap;}











.vf-project-action-page .vf-project-action-card:not(.has-attention) a.vf-project-primary-action{
  min-height:32px;
  padding:0 2px;
  background:transparent;
  color:var(--ws-teal-deep);
  font-size:12.5px;
  font-weight:690;
}


.vf-project-action-page .vf-project-more>summary{
  width:30px;
  height:30px;
  border-color:transparent;
  background:transparent;
}
.vf-project-action-page .vf-project-more>summary:hover,
.vf-project-action-page .vf-project-more[open]>summary{
  border-color:var(--ws-line);
  background:var(--ws-soft);
}





@media(max-width:960px){
  .vf-project-action-page .vf-project-hero{grid-template-columns:1fr;gap:10px}
  .vf-project-action-page .vf-project-summary{justify-content:flex-start;padding-bottom:2px}
}
@media(max-width:760px){
  .vf-project-action-page .vf-project-action-card{
    grid-template-columns:1fr;
    grid-template-areas:
      "identity"
      "meta"
      "alert"
      "actions";
    gap:8px;}
  .vf-project-action-page .vf-project-facts,
  .vf-project-action-page .vf-project-card-alert{margin-left:0}
  .vf-project-action-page .vf-project-action-card>footer{
    justify-content:flex-start;
    margin-left:0;
  }
  .vf-project-action-page .vf-project-more{opacity:1}
  .vf-project-action-page .vf-project-more>summary{width:40px;min-height:40px}
  .vf-project-action-page .vf-project-primary-action{min-height:40px}
  .vf-project-git-sync{align-items:flex-start;flex-direction:column;gap:9px}
  .vf-project-git-sync>div{align-items:flex-start;flex-direction:column;gap:4px}
}
@media(max-width:520px){
  .vf-project-action-page .vf-project-summary{
    width:100%;
    justify-content:space-between;
    gap:8px;
  }
  .vf-project-action-page .vf-project-summary strong{font-size:15px}
  .vf-project-action-page .vf-project-facts{
    margin-left:0;
    display:grid;
    gap:4px;
  }
  .vf-project-action-page .vf-project-facts>div{display:grid;grid-template-columns:64px minmax(0,1fr)}
  .vf-project-action-page .vf-project-facts dd{max-width:none}
  .vf-project-action-page .vf-project-card-alert,
  .vf-project-action-page .vf-project-action-card>footer{margin-left:0}
}


/* Projects views + advanced filters */

.vf-project-action-page .vf-project-view-tabs{display:flex;align-items:center;overflow-x:auto;scrollbar-width:none}
.vf-project-action-page .vf-project-view-tabs::-webkit-scrollbar{display:none}
.vf-project-action-page .vf-project-view-tabs a{display:inline-flex;align-items:center;gap:5px;border-bottom:2px solid transparent;color:var(--ws-muted);text-decoration:none;}
.vf-project-action-page .vf-project-view-tabs a:hover{color:var(--ws-strong)}
.vf-project-action-page .vf-project-view-tabs a.active{border-bottom-color:var(--ws-teal);}
.vf-project-action-page .vf-project-view-tabs small{color:var(--ws-muted-2);font-size:11px;font-weight:650}
.vf-project-action-page .vf-project-view-tabs a.active small{color:inherit}

.vf-project-action-page .vf-project-filter-menu{position:relative}
.vf-project-action-page .vf-project-filter-menu>summary{padding:0 11px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ws-line);background:var(--ws-panel);color:var(--ws-text);font-weight:680;list-style:none;cursor:pointer}
.vf-project-action-page .vf-project-filter-menu>summary::-webkit-details-marker{display:none}
.vf-project-action-page .vf-project-filter-menu>summary:hover,.vf-project-action-page .vf-project-filter-menu[open]>summary{border-color:color-mix(in srgb,var(--ws-teal) 34%,var(--ws-line));background:var(--ws-teal-soft);color:var(--ws-teal-deep)}
.vf-project-action-page .vf-project-filter-menu>summary span{min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:var(--ws-teal);color:#fff;font-size:10px}
.vf-project-action-page .vf-project-filter-popover{position:absolute;top:calc(100% + 8px);right:0;width:min(680px,82vw);padding:14px;display:grid;gap:12px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-panel);box-shadow:0 18px 42px rgba(15,23,42,.14)}
.vf-project-action-page .vf-project-filter-row{min-width:0;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:10px}
.vf-project-action-page .vf-project-filter-row>strong{padding-top:8px;color:var(--ws-muted-2);font-size:11.5px;font-weight:720}
.vf-project-action-page .vf-project-filter-options{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.vf-project-action-page .vf-project-filter-options a{min-height:32px;padding:0 10px;display:inline-flex;align-items:center;gap:4px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ws-muted);font-size:12px;font-weight:630;text-decoration:none}
.vf-project-action-page .vf-project-filter-options a:hover{background:var(--ws-soft);color:var(--ws-strong)}
.vf-project-action-page .vf-project-filter-options a.active{border-color:color-mix(in srgb,var(--ws-teal) 25%,var(--ws-line));background:var(--ws-teal-soft);color:var(--ws-teal-deep)}
.vf-project-action-page .vf-project-filter-options small{color:var(--ws-muted-2);font-size:10.5px}
.vf-project-action-page .vf-project-filter-options a.active small{color:inherit}
.vf-project-action-page .vf-project-clear-filters{color:var(--ws-muted);text-decoration:none}
.vf-project-action-page .vf-project-clear-filters:hover{color:var(--ws-teal-deep)}
/* Active criteria remain visible when the filter popover is closed; each chip removes only its own predicate. */
.vf-project-action-page .vf-project-active-criteria{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:-7px 0 16px}
.vf-project-action-page .vf-project-active-criteria-label{margin-right:2px;color:var(--ws-muted-2);font-size:11.5px;font-weight:650}
.vf-project-action-page .vf-project-active-criteria a{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:3px 9px;border:1px solid color-mix(in srgb,var(--ws-teal) 25%,var(--ws-line));border-radius:6px;background:var(--ws-teal-soft);color:var(--ws-teal-deep);font-size:11.5px;font-weight:680;text-decoration:none}
.vf-project-action-page .vf-project-active-criteria a:hover{border-color:var(--ws-teal);background:var(--ws-panel)}
.vf-project-action-page .vf-project-active-criteria a:focus-visible{outline:2px solid var(--ws-teal);outline-offset:2px}
.vf-project-action-page .vf-project-active-criteria a span{font-size:16px;line-height:1}

@media(max-width:760px){
  .vf-project-action-page .vf-project-viewbar{align-items:flex-start;flex-direction:column;padding-bottom:8px}
  .vf-project-action-page .vf-project-view-tabs{width:100%}
  .vf-project-action-page .vf-project-view-tabs a{min-height:40px;font-size:12.5px}
  .vf-project-action-page .vf-project-filter-tools{width:100%;justify-content:flex-end}
  .vf-project-action-page .vf-project-filter-popover{position:fixed;left:12px;right:12px;top:auto;width:auto;max-height:70vh;overflow:auto}
  .vf-project-action-page .vf-project-filter-row{grid-template-columns:1fr;gap:4px}
  .vf-project-action-page .vf-project-filter-row>strong{padding-top:0}
  .vf-project-action-page .vf-project-filter-options a{min-height:38px}
}

/* P01 project source review in the existing frontstage, not the retired admin console. */
.vf-project-action-page dialog.vf-project-git-dialog:not([open]){display:none!important}
.vf-project-action-page dialog.vf-project-git-dialog{
  position:fixed;inset:0;margin:auto!important;box-sizing:border-box;
  width:min(860px,calc(100vw - 28px));max-width:none;max-height:88dvh;
  padding:0!important;overflow:hidden;border:1px solid var(--ws-line,#d5e4da);
  border-radius:13px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  box-shadow:0 24px 72px rgba(19,42,31,.23);
}
.vf-project-action-page dialog.vf-project-git-dialog::backdrop{background:rgba(16,32,25,.46)}
.vf-project-git-dialog-layout{display:flex;flex-direction:column;min-height:0;max-height:88dvh}
.vf-project-git-dialog-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:18px 22px;border-bottom:1px solid var(--ws-line,#d5e4da);
}
.vf-project-git-dialog-header h2{margin:0;font-size:19px;color:var(--ws-strong,#153e2b)}
.vf-project-git-dialog-header p{margin:5px 0 0;color:var(--ws-muted,#657970);font-size:13px;line-height:1.5}
.vf-project-git-dialog-header button{
  flex:0 0 34px;width:34px;height:34px;border:1px solid var(--ws-line,#d5e4da);
  border-radius:8px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  font:inherit;font-size:23px;cursor:pointer;
}
.vf-project-git-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px}
.vf-project-git-dialog-description,.vf-project-git-dialog-note{
  margin:0 0 13px;color:var(--ws-muted,#64756e);font-size:13px;line-height:1.6;
}
.vf-project-git-dialog-counts{
  display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px;
}
.vf-project-git-dialog-counts span{
  padding:7px 11px;border:1px solid var(--ws-line,#d6e6db);border-radius:7px;
  background:var(--ws-soft,#f7fbf9);font-size:12px;color:var(--ws-text,#253b31);
}
.vf-project-git-dialog-counts strong{font-size:14px;color:#07884f}
.vf-project-git-dialog-counts .is-warning strong{color:#995421}
.vf-project-git-dialog-body form{margin:0 0 12px}
.vf-project-git-dialog-body form button{
  min-height:39px;padding:8px 15px;border:1px solid #07884f;
  border-radius:8px;background:#07884f;color:#fff;font:inherit;font-weight:700;
  cursor:pointer;
}
.vf-project-git-dialog-body form button:disabled{opacity:.55;cursor:not-allowed}
.vf-project-git-dialog-list{margin-top:10px}
.vf-project-git-dialog-list ul{list-style:none;padding:0;margin:0}
.vf-project-git-dialog-list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) 132px;
  align-items:center;
  column-gap:18px;
  padding:12px 4px;
  border-top:1px solid var(--ws-line,#e1eae4);
}
.vf-project-git-dialog-list li span{min-width:0}
.vf-project-git-dialog-list li strong{display:block;font-size:13px;color:var(--ws-strong,#153e2b)}
.vf-project-git-dialog-list li small{display:block;margin-top:4px;color:var(--ws-muted,#64756e)}
.vf-project-git-dialog-list li a{color:#07884f;text-decoration:none}
.vf-project-git-dialog-list li em{justify-self:end;min-width:0;text-align:right;font-size:12px;font-style:normal;color:var(--ws-teal-deep);font-weight:650}
.vf-project-git-dialog-list li.is-conflict em{color:#995421}
.vf-project-git-dialog-feedback{
  padding:10px 12px;margin:0 0 12px;border-radius:8px;
  background:#eef9f3;color:#176044;font-size:13px;
}
.vf-project-git-dialog-feedback.is-error{background:#fff3f0;color:#963b31}
.vf-project-git-dialog-footer{
  display:flex;justify-content:flex-end;padding:12px 22px;
  border-top:1px solid var(--ws-line,#d5e4da);
}
.vf-project-git-dialog-footer button{
  padding:8px 16px;border:1px solid var(--ws-line,#d5e4da);
  border-radius:8px;background:var(--ws-panel,#fff);color:var(--ws-text,#253b31);
  font:inherit;cursor:pointer;
}
.vf-project-action-page dialog.vf-project-git-dialog button:focus-visible,
.vf-project-action-page dialog.vf-project-git-dialog a:focus-visible{outline:2px solid #07884f;outline-offset:2px}
@media(max-width:560px){
  .vf-project-git-dialog-header,.vf-project-git-dialog-body{padding:14px 15px}
  .vf-project-git-dialog-footer{padding:12px 15px}
  .vf-project-git-dialog-list li{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px}
  .vf-project-git-dialog-list li em{justify-self:start;text-align:left}
}


/* P01 Projects · daily operating workbench, scoped to this product only. */
.vf-project-action-page .vf-project-action-card{
  column-gap:18px;
  row-gap:5px;}
.vf-project-action-page .vf-project-action-card>header p{margin-top:3px}


.vf-project-action-page .vf-project-favorite-toggle,
.vf-project-action-page .vf-project-inspect-action{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:34px;min-height:34px;padding:0 5px;
  border:1px solid transparent;border-radius:7px;
  background:transparent;color:var(--ws-muted);
  font-family:inherit;font-size:12px;font-weight:650;cursor:pointer;
}
.vf-project-action-page .vf-project-favorite-toggle{font-size:19px;line-height:1}
.vf-project-action-page .vf-project-favorite-toggle.active{color:#a46610}
.vf-project-action-page .vf-project-favorite-toggle:hover,
.vf-project-action-page .vf-project-inspect-action:hover,
.vf-project-action-page .vf-project-favorite-toggle:focus-visible,
.vf-project-action-page .vf-project-inspect-action:focus-visible{
  background:var(--ws-soft);border-color:var(--ws-line);
}
.vf-project-action-page .vf-project-view-tabs a:focus-visible,
.vf-project-action-page .vf-project-favorite-toggle:focus-visible,
.vf-project-action-page .vf-project-inspect-action:focus-visible{
  outline:2px solid var(--ws-teal);outline-offset:2px;
}




.vf-project-inspect-layout>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ws-line)}
.vf-project-inspect-layout>header small{display:block;color:var(--ws-teal);font-size:12px;font-weight:750}
.vf-project-inspect-layout>header h2{margin:5px 0 0;color:var(--ws-strong);line-height:1.35;overflow-wrap:anywhere}
.vf-project-inspect-layout>header button{width:36px;min-width:36px;height:36px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-panel);color:var(--ws-muted);font:inherit;font-size:24px;cursor:pointer}

.vf-project-inspect-content>p{margin:0 0 16px;color:var(--ws-text);font-size:13.5px;line-height:1.7}
.vf-project-inspect-content dl{margin:0;display:grid}
.vf-project-inspect-content dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--ws-line)}
.vf-project-inspect-content dt{color:var(--ws-muted);font-size:12.5px}
.vf-project-inspect-content dd{min-width:0;margin:0;color:var(--ws-strong);font-size:13.5px;line-height:1.6;overflow-wrap:anywhere}
.vf-project-inspect-content a{display:inline-flex;margin-left:7px;color:var(--ws-teal-deep);font-weight:650;text-decoration:none}
.vf-project-inspect-content a:hover{text-decoration:underline;text-underline-offset:3px}
.vf-project-inspect-layout>footer{display:flex;justify-content:flex-end;gap:8px;}
.vf-project-inspect-layout>footer button{min-height:38px;padding:0 14px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-panel);color:var(--ws-text);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.vf-project-inspect-layout>footer [data-project-inspect-edit]{border-color:var(--ws-teal);background:var(--ws-teal);color:white}
.vf-project-inspect-layout button:focus-visible,.vf-project-inspect-layout a:focus-visible{outline:2px solid var(--ws-teal);outline-offset:2px}
@media(max-width:760px){
  .vf-project-action-page .vf-project-view-tabs{flex-wrap:wrap;overflow:visible;gap:1px 6px}
  .vf-project-action-page .vf-project-viewbar{gap:8px}
  .vf-project-action-page .vf-project-action-card{padding:12px 5px}
  .vf-project-action-page .vf-project-action-card>footer{flex-wrap:wrap}
  .vf-project-action-page .vf-project-favorite-toggle,
  .vf-project-action-page .vf-project-inspect-action{min-width:44px;min-height:44px}
  .vf-project-inspect-layout>header,.vf-project-inspect-content{padding:16px}
  .vf-project-inspect-layout>footer{padding:12px 16px}
}
@media(max-width:390px){
  
  .vf-project-inspect-content dl>div{grid-template-columns:76px minmax(0,1fr);gap:10px}
}

/* P01 Projects · Vercel-style workbench, Linear-style in-place inspection.
   Uses existing canonical project records, owner permission gates, and actions. */
.vf-project-action-page .vf-project-hero{
  margin:0 0 14px;
  padding:10px 0 18px;
  align-items:center;
  gap:24px;
}
.vf-project-action-page .vf-project-hero .vf-subject-title>span{
  display:inline-block;
  margin-bottom:6px;
  color:var(--ws-teal-deep);
  font-size:10px;
  font-weight:750;
  letter-spacing:.06em;
}
.vf-project-action-page .vf-project-hero .vf-subject-title h1{font-size:30px;letter-spacing:-.035em}
.vf-project-action-page .vf-project-hero .vf-subject-title p{
  max-width:680px;
  margin-top:5px;
  font-size:13px;
  line-height:1.6;
}
.vf-project-action-page .vf-project-summary{
  gap:16px;
  align-items:center;
  font-variant-numeric:tabular-nums;
}
.vf-project-action-page .vf-project-summary span{
  padding:8px 0 8px 16px;
  border-left:1px solid var(--ws-line);
  font-size:12px;
}
.vf-project-action-page .vf-project-summary strong{font-size:18px;letter-spacing:-.025em}

/* A single view and filter command bar, including owner-only Git synchronization. */
.vf-project-action-page .vf-project-viewbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0 0 14px;
  padding:0 0 10px;
  border-bottom:1px solid var(--ws-line);
}
.vf-project-action-page .vf-project-view-tabs{
  min-width:0;
  max-width:100%;
  flex-wrap:wrap;
  overflow:visible;
  gap:3px 5px;
}
.vf-project-action-page .vf-project-view-tabs a{
  min-height:36px;
  padding:0 10px;
  border-radius:7px;
  border:1px solid transparent;
  font-size:12.5px;
  font-weight:650;
  white-space:nowrap;
}
.vf-project-action-page .vf-project-view-tabs a.active{
  border-color:color-mix(in srgb,var(--ws-teal) 20%,var(--ws-line));
  background:var(--ws-teal-soft);
  color:var(--ws-teal-deep);
}
.vf-project-action-page .vf-project-filter-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex:0 0 auto;
  margin-left:auto;
}
.vf-project-action-page .vf-project-source-trigger{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--ws-line);
  border-radius:7px;
  padding:0 12px;
  background:var(--ws-panel);
  color:var(--ws-text);
  font:inherit;
  font-size:12px;
  font-weight:680;
  white-space:nowrap;
  cursor:pointer;
}
.vf-project-action-page .vf-project-source-trigger:hover{border-color:var(--ws-teal);color:var(--ws-teal-deep)}
.vf-project-action-page .vf-project-source-trigger:focus-visible{
  outline:2px solid var(--ws-teal);
  outline-offset:2px;
}
.vf-project-action-page .vf-project-source-trigger span{
  display:inline-grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 4px;
  border-radius:10px;
  background:var(--ws-soft);
  color:var(--ws-muted);
  font-size:11px;
}
.vf-project-action-page .vf-project-source-fallback{text-align:right;margin:0 0 12px}
.vf-project-action-page .vf-project-filter-menu>summary{
  min-height:36px;
  border-radius:7px;
  font-size:12px;
}
.vf-project-action-page .vf-project-clear-filters{font-size:12px}
.vf-project-action-page .vf-project-filter-popover{z-index:30}

/* One bordered data surface; columns stay aligned across the entire result set. */
.vf-project-action-page .vf-project-empty{
  display:grid;
  justify-items:start;
  gap:10px;
  padding:32px 24px;
  background:var(--ws-panel);
}
.vf-project-action-page .vf-project-empty strong{
  color:var(--ws-strong);
  font-size:16px;
  font-weight:740;
  overflow-wrap:anywhere;
}
.vf-project-action-page .vf-project-empty p{
  max-width:620px;
  color:var(--ws-muted);
  font-size:13px;
  line-height:1.6;
}
.vf-project-action-page .vf-project-empty .vf-content-empty-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}
.vf-project-action-page .vf-project-grid-section{
  margin:0;
  padding:0;
  overflow:visible;
  border:1px solid var(--ws-line);
  border-radius:11px;
  background:var(--ws-panel);
  box-shadow:0 2px 14px rgba(15,35,29,.035);
}
.vf-project-action-page .vf-subject-section-head{
  display:flex;
  align-items:center;
  min-height:60px;
  padding:12px 19px;
  border-bottom:1px solid var(--ws-line);
}
.vf-project-action-page .vf-subject-section-head h2{
  font-size:15.5px;
  letter-spacing:-.012em;
}
.vf-project-action-page .vf-subject-section-head small{font-size:12px}
.vf-project-action-page .vf-project-list-head{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) 100px minmax(0,1.2fr) minmax(164px,.7fr);
  align-items:center;
  gap:12px;
  padding:10px 20px;
  border:0;
  border-bottom:1px solid var(--ws-line);
  background:var(--ws-soft);
  color:var(--ws-muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
}
.vf-project-action-page .vf-project-list-head span:last-child{text-align:right}
.vf-project-action-page .vf-project-action-grid{
  display:block;
  border:0;
  background:var(--ws-panel);
  border-radius:0 0 11px 11px;
}
.vf-project-action-page .vf-project-action-card{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) 100px minmax(0,1.2fr) minmax(164px,.7fr);
  grid-template-areas:"identity status meta actions" "alert alert alert alert";
  min-height:72px;
  gap:4px 12px;
  align-items:center;
  margin:0;
  padding:13px 20px;
  border:0;
  border-bottom:1px solid var(--ws-line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transform:none;
}
.vf-project-action-page .vf-project-action-card:last-child{border-bottom:0}
.vf-project-action-page .vf-project-action-card:hover{
  transform:none;
  box-shadow:none;
  background:color-mix(in srgb,var(--ws-soft) 68%,var(--ws-panel));
}
.vf-project-action-page .vf-project-action-card:focus-within{
  background:color-mix(in srgb,var(--ws-teal-soft) 22%,var(--ws-panel));
}
.vf-project-action-page .vf-project-action-card.has-attention{
  border-left:3px solid #d79a3a;
  padding-left:17px;
}
.vf-project-action-page .vf-project-action-card.has-attention:has(.vf-project-card-alert.critical){
  border-left-color:#dc6868;
}
.vf-project-action-page .vf-project-action-card>header{
  grid-area:identity;
  min-width:0;
  margin:0;
}
.vf-project-action-page .vf-project-identity{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.vf-project-action-page .vf-project-identity-line{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.vf-project-action-page .vf-project-code{
  display:inline-block;
  flex:0 0 auto;
  max-width:115px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:3px 6px;
  border:1px solid var(--ws-line);
  border-radius:5px;
  background:var(--ws-soft);
  color:var(--ws-muted);
  font-size:10px;
  line-height:1.3;
  font-weight:720;
}
.vf-project-action-page .vf-project-identity-line h3{
  flex:0 1 auto;
  min-width:0;
  margin:0;
  font-size:14px;
  line-height:1.4;
}
.vf-project-action-page .vf-project-inspect-action.vf-project-title-action{
  display:block;
  min-width:0;
  max-width:100%;
  min-height:26px;
  margin:0;
  padding:2px 0;
  overflow:hidden;
  border:0;
  border-radius:3px;
  background:transparent;
  color:var(--ws-strong);
  font:inherit;
  font-weight:745;
  line-height:1.35;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
  cursor:pointer;
}
.vf-project-action-page .vf-project-title-action:hover{
  color:var(--ws-teal-deep);
  text-decoration:underline;
  text-underline-offset:3px;
}
.vf-project-action-page .vf-project-title-action:focus-visible{
  outline:2px solid var(--ws-teal);
  outline-offset:2px;
}
.vf-project-action-page .vf-project-action-card>header p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  min-width:0;
  max-width:100%;
  margin:0;
  overflow:hidden;
  color:var(--ws-muted);
  font-size:12px;
  line-height:1.5;
}
.vf-project-action-page .vf-project-row-status{
  grid-area:status;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  min-width:0;
}
.vf-project-action-page .vf-project-state{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  padding:4px 8px;
  border:1px solid var(--ws-line);
  border-radius:5px;
  background:var(--ws-soft);
  color:var(--ws-muted);
  font-size:11px;
  font-weight:675;
  line-height:1.25;
}
.vf-project-action-page .vf-project-state.active{
  padding:4px 8px;
  border-color:color-mix(in srgb,var(--ws-teal) 20%,var(--ws-line));
  background:color-mix(in srgb,var(--ws-teal-soft) 50%,var(--ws-panel));
  color:var(--ws-teal-deep);
  font-weight:700;
}
.vf-project-action-page .vf-project-status-attention{
  color:#a85e24;
  font-size:10.5px;
  font-weight:680;
}
.vf-project-action-page .vf-project-facts{
  grid-area:meta;
  display:grid;
  gap:4px;
  min-width:0;
  margin:0;
}
.vf-project-action-page .vf-project-facts>div{
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  align-items:baseline;
  gap:6px;
  min-width:0;
}
.vf-project-action-page .vf-project-facts dt{
  color:var(--ws-muted-2);
  font-size:10.5px;
  font-weight:650;
  white-space:nowrap;
}
.vf-project-action-page .vf-project-facts dd{
  min-width:0;
  max-width:none;
  overflow:hidden;
  color:var(--ws-text);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.vf-project-action-page .vf-project-source-fact a{
  color:var(--ws-muted);
  text-decoration:none;
}
.vf-project-action-page .vf-project-source-fact a:hover{
  color:var(--ws-teal-deep);
  text-decoration:underline;
  text-underline-offset:2px;
}
.vf-project-action-page .vf-project-operational-fact{opacity:.82}
.vf-project-action-page .vf-project-action-card>footer{
  grid-area:actions;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:4px;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  white-space:nowrap;
}
.vf-project-action-page .vf-project-primary-slot{display:inline-flex;align-items:center;min-width:0;margin:0 3px 0 0}
.vf-project-action-page .vf-project-primary-action,
.vf-project-action-page .vf-project-action-card:not(.has-attention) a.vf-project-primary-action{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 7px;
  border-radius:6px;
  border:1px solid transparent;
  background:transparent;
  color:var(--ws-teal-deep);
  font-size:12px;
  font-weight:725;
  text-decoration:none;
}
.vf-project-action-page .vf-project-primary-action:hover,
.vf-project-action-page .vf-project-action-card:not(.has-attention) a.vf-project-primary-action:hover{
  border-color:color-mix(in srgb,var(--ws-teal) 22%,var(--ws-line));
  background:var(--ws-teal-soft);
}
.vf-project-action-page .vf-project-favorite-toggle,
.vf-project-action-page .vf-project-more>summary{
  display:inline-grid;
  place-items:center;
  min-width:34px;
  min-height:34px;
  border-radius:6px;
}
.vf-project-action-page .vf-project-more{
  opacity:.7;
  transition:opacity .16s ease;
}
.vf-project-action-page .vf-project-action-card:hover .vf-project-more,
.vf-project-action-page .vf-project-action-card:focus-within .vf-project-more,
.vf-project-action-page .vf-project-more[open]{opacity:1}
.vf-project-action-page .vf-project-card-alert{
  grid-area:alert;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 8px;
  margin:7px 0 0;
  padding:7px 10px;
  border-radius:5px;
  background:color-mix(in srgb,#fff5e6 62%,var(--ws-panel));
}
.vf-project-action-page .vf-project-card-alert.critical{
  background:color-mix(in srgb,#ffe9e9 65%,var(--ws-panel));
}
.vf-project-action-page .vf-project-card-alert b{font-size:11px}
.vf-project-action-page .vf-project-card-alert small{font-size:11px}

/* Native project detail sheet; retains the existing focus-restoration and edit actions. */
.vf-project-action-page .vf-project-inspect-dialog:not([open]){display:none!important}
.vf-project-action-page .vf-project-inspect-dialog{
  position:fixed;
  inset:0 0 0 auto;
  box-sizing:border-box;
  width:min(490px,100vw);
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  border:0;
  border-left:1px solid var(--ws-line);
  border-radius:14px 0 0 14px;
  background:var(--ws-panel);
  color:var(--ws-text);
  box-shadow:-20px 0 64px rgba(13,31,26,.18);
}
.vf-project-action-page .vf-project-inspect-dialog::backdrop{background:rgba(12,29,24,.38)}
.vf-project-action-page .vf-project-inspect-layout{
  display:flex;
  flex-direction:column;
  height:100%;
  max-height:none;
}
.vf-project-inspect-layout>header{
  flex:0 0 auto;
  padding:24px;
}
.vf-project-inspect-layout>header h2{font-size:22px}
.vf-project-inspect-content{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  padding:24px;
  overscroll-behavior:contain;
}
.vf-project-inspect-layout>footer{
  flex:0 0 auto;
  padding:16px 24px;
  border-top:1px solid var(--ws-line);
}

/* At tablet widths, each row becomes a stable two-column summary without horizontal overflow. */
@media(max-width:1100px){
  .vf-project-action-page .vf-project-list-head{display:none}
  .vf-project-action-page .vf-project-action-card{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"identity status" "meta actions" "alert alert";
    gap:7px 18px;
    min-height:84px;
    padding:13px 17px;
  }
  .vf-project-action-page .vf-project-action-card.has-attention{padding-left:14px}
  .vf-project-action-page .vf-project-row-status{align-items:flex-end}
  .vf-project-action-page .vf-project-action-card>footer{justify-content:flex-end;align-self:center}
  .vf-project-action-page .vf-project-facts{grid-column:1;gap:3px}
}
@media(max-width:768px){
  .vf-project-action-page .vf-project-hero{grid-template-columns:1fr;gap:8px}
  .vf-project-action-page .vf-project-summary{justify-content:flex-start;flex-wrap:wrap;gap:8px 16px}
  .vf-project-action-page .vf-project-summary span{padding:4px 0 4px 10px}
  .vf-project-action-page .vf-project-viewbar{align-items:stretch;gap:8px}
  .vf-project-action-page .vf-project-view-tabs{width:100%;flex:1 1 100%;flex-wrap:wrap}
  .vf-project-action-page .vf-project-filter-tools{width:100%;justify-content:flex-end;flex:1 1 100%;margin-left:0}
  .vf-project-action-page .vf-project-filter-popover{z-index:40}
  .vf-project-action-page .vf-project-action-card{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"identity status" "meta meta" "actions actions" "alert alert";
    gap:7px 12px;
    padding:13px 15px;
  }
  .vf-project-action-page .vf-project-action-card>footer{justify-content:flex-start}
  .vf-project-action-page .vf-project-facts{grid-column:auto}
  .vf-project-action-page .vf-project-favorite-toggle,
  .vf-project-action-page .vf-project-more>summary{min-width:44px;min-height:44px}
  .vf-project-action-page .vf-project-primary-action,
  .vf-project-action-page .vf-project-action-card:not(.has-attention) a.vf-project-primary-action{min-height:44px}
  .vf-project-action-page .vf-project-inspect-dialog{
    inset:auto 0 0 0;
    width:100vw;
    height:min(90dvh,900px);
    max-height:90dvh;
    border:0;
    border-top:1px solid var(--ws-line);
    border-radius:15px 15px 0 0;
    box-shadow:0 -15px 48px rgba(13,31,26,.22);
  }
}
@media(max-width:390px){
  .vf-project-action-page .vf-project-hero .vf-subject-title h1{font-size:27px}
  .vf-project-action-page .vf-project-summary span{font-size:11px}
  .vf-project-action-page .vf-project-view-tabs a{font-size:11.5px;min-height:36px;padding:0 8px}
  .vf-project-action-page .vf-project-filter-tools{flex-wrap:wrap}
  .vf-project-action-page .vf-project-action-card{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"identity" "status" "meta" "actions" "alert";
    padding:12px;
    gap:7px;
  }
  .vf-project-action-page .vf-project-action-card.has-attention{padding-left:9px}
  .vf-project-action-page .vf-project-identity-line{flex-wrap:wrap;gap:3px 7px}
  .vf-project-action-page .vf-project-identity-line h3{flex:1 1 160px}
  .vf-project-action-page .vf-project-inspect-action.vf-project-title-action{white-space:normal;overflow-wrap:anywhere}
  .vf-project-action-page .vf-project-row-status{align-items:flex-start;flex-direction:row}
  .vf-project-action-page .vf-project-facts>div{grid-template-columns:67px minmax(0,1fr)}
  .vf-project-action-page .vf-project-action-card>footer{justify-content:flex-start;flex-wrap:wrap;gap:5px}
  .vf-project-inspect-layout>header{padding:18px}
  .vf-project-inspect-content{padding:18px}
  .vf-project-inspect-layout>footer{padding:12px 18px}
}

/* Single-modal project stepping, scoped to currently visible result rows. */
.vf-project-action-page .vf-project-inspect-navigation{display:flex;align-items:center;gap:7px;margin-right:auto}
.vf-project-action-page .vf-project-inspect-navigation button{min-height:36px;padding:0 9px;border:1px solid var(--ws-line);border-radius:7px;background:var(--ws-panel);color:var(--ws-text);font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.vf-project-action-page .vf-project-inspect-navigation button:hover:not(:disabled){border-color:var(--ws-teal);color:var(--ws-teal-deep);background:var(--ws-teal-soft)}
.vf-project-action-page .vf-project-inspect-navigation button:focus-visible{outline:2px solid var(--ws-teal);outline-offset:2px}
.vf-project-action-page .vf-project-inspect-navigation button:disabled{opacity:.42;cursor:not-allowed}
.vf-project-action-page .vf-project-inspect-navigation span{min-width:43px;text-align:center;color:var(--ws-muted-2);font-size:11px;font-variant-numeric:tabular-nums}
@media(max-width:520px){.vf-project-action-page .vf-project-inspect-navigation{flex:1 1 100%;justify-content:space-between;margin-right:0}}
/* One reliable primary action in the native project detail sheet. */
.vf-project-action-page .vf-project-inspect-layout>footer{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
}
.vf-project-action-page .vf-project-inspect-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 15px;
  border:1px solid var(--ws-teal);
  border-radius:8px;
  background:var(--ws-teal);
  color:#fff;
  font-size:12.5px;
  font-weight:750;
  text-decoration:none;
}
.vf-project-action-page .vf-project-inspect-primary:hover{
  background:var(--ws-teal-deep);
  color:#fff;
}
.vf-project-action-page .vf-project-inspect-primary:focus-visible{
  outline:2px solid var(--ws-teal);
  outline-offset:3px;
}
.vf-project-action-page .vf-project-inspect-primary[hidden]{display:none!important}
@media(max-width:390px){
  .vf-project-action-page .vf-project-inspect-primary{flex:1 1 100%}
}

/* P01 Projects · canonical list/card layout.
   The table headings and rows share one grid definition. Cards use full-width
   vertical content flow: project identity is never squeezed by status/actions.
   This replaces the previous stacked display-mode and screenshot patch layers.
   Scope is deliberately confined to the Projects surface. */
/* Single workspace header: focused purpose, one-level summary, no repeated page pitch. */
body.vf-project-action-page .vf-project-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:12px 0 18px!important;
  margin:0 0 10px!important;
  border-bottom:1px solid var(--ws-line)!important;
}
body.vf-project-action-page .vf-project-hero .vf-subject-title h1{
  font-size:30px;
  line-height:1.2;
  letter-spacing:-.025em;
}
body.vf-project-action-page .vf-project-hero .vf-subject-title p{
  max-width:720px;
  margin-top:7px;
  font-size:13px;
}
body.vf-project-action-page .vf-project-hero .vf-project-summary{
  justify-self:end;
  gap:0;
  padding:0;
}
body.vf-project-action-page .vf-project-hero .vf-project-summary>span{
  min-height:42px;
  padding:0 15px;
  border-left:1px solid var(--ws-line);
}
body.vf-project-action-page .vf-project-viewbar{
  margin:0 0 14px;
  border-bottom:1px solid var(--ws-line);
}
@media(max-width:960px){
  body.vf-project-action-page .vf-project-hero{
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:12px;
  }
  body.vf-project-action-page .vf-project-hero .vf-project-summary{justify-self:start}
  body.vf-project-action-page .vf-project-hero .vf-project-summary>span:first-child{border-left:0;padding-left:0}
}
body.surface-projects.vf-project-action-page .vf-project-grid-section{
  padding:0!important;
  overflow:visible;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section>.vf-subject-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:64px!important;
  padding:14px 22px!important;
  margin:0!important;
  box-sizing:border-box;
}
body.vf-project-action-page .vf-project-grid-section>.vf-subject-section-head>div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  min-width:0;
}
body.vf-project-action-page .vf-project-grid-section>.vf-subject-section-head small{
  color:var(--ws-muted);
  overflow-wrap:anywhere;
}
body.vf-project-action-page .vf-project-layout-switch{
  flex:0 0 auto;
  display:inline-flex;
  gap:2px;
  padding:3px;
  border:1px solid var(--ws-line);
  border-radius:9px;
  background:var(--ws-soft);
}
body.vf-project-action-page .vf-project-layout-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 13px;
  border-radius:6px;
  color:var(--ws-muted);
  font-size:12px;
  font-weight:700;
  text-decoration:none;
}
body.vf-project-action-page .vf-project-layout-switch a:hover{color:var(--ws-teal-deep)}
body.vf-project-action-page .vf-project-layout-switch a.active{
  color:var(--ws-teal-deep);
  background:var(--ws-panel);
  box-shadow:0 1px 4px rgba(20,43,35,.1);
}
body.vf-project-action-page .vf-project-layout-switch a:focus-visible{
  outline:2px solid var(--ws-teal);
  outline-offset:2px;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section .vf-project-action-grid{
  min-width:0;
  border:0!important;
  border-radius:0 0 11px 11px!important;
  overflow:visible;
  background:var(--ws-panel)!important;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section .vf-project-facts{
  padding:0!important;
  border:0!important;
  min-width:0;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view{
  --vf-project-list-cols:minmax(260px,1.48fr) 104px minmax(260px,1.17fr) 184px;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-grid{
  display:block;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-list-head,
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card{
  box-sizing:border-box;
  width:100%;
}
@media(min-width:1101px){
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-list-head,
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card{
    display:grid;
    grid-template-columns:var(--vf-project-list-cols);
    column-gap:16px;
    padding-inline:22px!important;
  }
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card{
    grid-template-areas:"identity status meta actions" "alert alert alert alert";
  }
}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card{
  min-height:76px!important;
  padding-block:13px!important;
  margin:0;
  border:0!important;
  border-bottom:1px solid var(--ws-line)!important;
  border-radius:0;
  box-shadow:none;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card:last-child{
  border-bottom:0!important;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card>header,
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-row-status,
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-facts,
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card>footer{
  min-width:0;
  margin:0;
  justify-self:stretch;
  align-self:center;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-identity-line{
  flex-wrap:wrap;
  gap:4px 7px;
}

body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-facts>div{
  grid-template-columns:74px minmax(0,1fr);
  gap:8px;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-facts dd{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card>footer{
  display:grid;
  grid-template-columns:minmax(0,1fr) 34px 34px;
  align-items:center;
  justify-content:stretch;
  column-gap:5px;
  min-width:0;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-primary-slot{
  justify-self:start;
  min-width:0;
  margin:0;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-favorite-toggle,
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-more>summary{
  width:34px;
  min-width:34px;
  height:34px;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-facts{
  width:100%;
  justify-self:stretch;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-row-status{
  justify-self:stretch;
  align-items:flex-start;
  width:100%;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-list-head{
  padding-block:11px;
  font-size:11.5px;
}
body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-list-head span:last-child{
  text-align:left;
}

/* Cards are a full-width, content-led composition, not miniature table rows.
   The card title gets the entire width; state, provenance and actions each have
   their own horizontal band so long identifiers cannot collapse the title. */
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-list-head{display:none}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row;
  align-items:stretch;
  gap:16px;
  padding:16px;
  box-sizing:border-box;
  width:100%;
  background:var(--ws-soft)!important;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card{
  display:flex;
  flex-direction:column;
  grid-column:auto!important;
  width:auto;
  max-width:100%;
  min-width:0;
  min-height:0!important;
  margin:0;
  padding:18px!important;
  gap:10px;
  border:1px solid var(--ws-line)!important;
  border-radius:10px;
  background:var(--ws-panel);
  box-shadow:0 1px 6px rgba(15,35,29,.035);
  box-sizing:border-box;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card:hover{
  background:var(--ws-panel)!important;
  border-color:color-mix(in srgb,var(--ws-teal) 32%,var(--ws-line))!important;
  box-shadow:0 4px 16px rgba(15,35,29,.07);
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card:focus-within{
  border-color:var(--ws-teal);
}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card.has-attention{
  border-left:3px solid #d79a3a!important;
  padding-left:14px!important;
}
body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card.has-attention:has(.vf-project-card-alert.critical){
  border-left-color:#dc6868!important;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card>header{
  display:block;
  width:100%;
  min-width:0;
  flex:0 0 auto;
  margin:0;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-identity-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:6px 8px;
  width:100%;
  min-width:0;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-code{
  order:0;
  max-width:min(70%,190px);
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-identity-line .vf-visibility-badge{
  order:1;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-identity-line h3{
  order:2;
  flex:1 0 100%;
  width:100%;
  min-width:0;
  margin:3px 0 0;
  font-size:16px;
  line-height:1.35;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-inspect-action.vf-project-title-action{
  display:block;
  width:100%;
  max-width:100%;
  min-height:0;
  padding:0;
  overflow:visible;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
  line-height:1.35;
  text-align:left;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card>header p{
  margin-top:5px;
  -webkit-line-clamp:2;
  line-height:1.5;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-row-status{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  align-self:stretch;
  gap:8px;
  margin:0;
  width:100%;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-facts{
  display:grid;
  width:100%;
  gap:7px;
  margin:2px 0 0;
  padding-top:12px!important;
  border-top:1px solid var(--ws-line)!important;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-facts>div{
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  align-items:baseline;
  gap:8px;
  min-width:0;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-facts dd{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  overflow-wrap:normal;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-card-alert{
  width:100%;
  margin:0;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card>footer{
  display:flex;
  width:100%;
  flex:0 0 auto;
  align-items:center;
  align-self:stretch;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:8px;
  min-width:0;
  margin:auto 0 0;
  padding:12px 0 0;
  border:0;
  border-top:1px solid var(--ws-line);
  white-space:nowrap;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-primary-slot{
  flex:1 1 auto;
  min-width:0;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-primary-action{
  max-width:100%;
  white-space:normal;
  overflow-wrap:break-word;
}
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-favorite-toggle,
body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-more>summary{
  flex:0 0 34px;
  width:34px;
  height:34px;
}
@media(max-width:1100px){
  body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.surface-projects.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"identity status" "meta meta" "actions actions" "alert alert";
    padding-inline:16px!important;
    gap:8px 14px;
  }
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-row-status{
    justify-self:end;
    align-items:flex-end;
  }
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card>footer{
    display:flex;
    justify-content:flex-start;
    gap:8px;
  }
}
@media(max-width:720px){
  body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-grid{
    grid-template-columns:minmax(0,1fr)!important;
    padding:12px;
    gap:12px;
  }
  body.surface-projects.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"identity" "status" "meta" "actions" "alert";
    padding-inline:14px!important;
  }
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-row-status{
    justify-self:start;
    align-items:flex-start;
  }
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-action-card>footer{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  body.vf-project-action-page .vf-project-grid-section.is-list-view .vf-project-facts dd{
    white-space:normal;
    overflow-wrap:anywhere;
  }
}
@media(max-width:390px){
  body.vf-project-action-page .vf-project-grid-section>.vf-subject-section-head{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  body.vf-project-action-page .vf-project-layout-switch{margin-left:auto}
  body.surface-projects.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-action-card{
    padding:15px!important;
  }
  body.vf-project-action-page .vf-project-grid-section.is-card-view .vf-project-facts>div{
    grid-template-columns:66px minmax(0,1fr);
  }
}

/* Native Projects management: one parent scroll area, compact fixed task rail,
   consistent gutters in the existing canonical Git source task. */
@media(min-width:769px){
  body.vf-project-action-page #vf-local-management.vf-local-management-dialog{
    width:min(1000px,calc(100vw - 36px));
    max-height:min(86dvh,820px);
  }
  body.vf-project-action-page #vf-local-management .vf-local-management-layout{
    grid-template-columns:192px minmax(0,1fr);
  }
  body.vf-project-action-page #vf-local-management .vf-local-management-sidebar{
    min-height:0;
    padding:18px 10px;
  }
  body.vf-project-action-page #vf-local-management .vf-local-management-main .vf-local-management-header{
    padding:20px 24px 14px;
  }
  body.vf-project-action-page #vf-local-management .vf-local-management-main .vf-local-management-help{
    padding:12px 24px 16px;
  }
  body.vf-project-action-page #vf-local-management .vf-local-management-main>.vf-local-management-tasks,
  body.vf-project-action-page #vf-local-management .vf-local-management-main>.vf-local-management-items{
    margin-left:24px;
    margin-right:24px;
  }
  body.vf-project-action-page #vf-local-management .vf-local-management-main>.vf-local-management-footer{
    padding:12px 24px;
  }
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-header{
  padding:6px 0 12px;
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-body{
  padding:10px 0 4px;
  max-height:none!important;
  overflow:visible!important;
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-list li{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(90px,auto);
  align-items:center;
  gap:8px 16px;
  padding:11px 0;
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-list li span{
  min-width:0;
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-list li small{
  line-height:1.5;
  overflow-wrap:anywhere;
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-list li em{
  justify-self:end;
  white-space:nowrap;
}
@media(max-width:768px){
  body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-list li{
    grid-template-columns:minmax(0,1fr);
  }
  body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-list li em{
    justify-self:start;
  }
}

/* Keep transient favorite feedback away from the Add Project primary button. */
body.vf-project-action-page .vf-workspace-toasts{
  top:auto;
  right:20px;
  bottom:20px;
  max-width:min(360px,calc(100vw - 40px));
  pointer-events:none;
}
body.vf-project-action-page .vf-workspace-toasts .vf-workspace-toast{
  pointer-events:auto;
}

/* Projects owner source-review: progressive detail without a nested scroller.
   Keep the currently visible sample readable and announce the remaining rows. */
.vf-project-action-page .vf-project-git-dialog-list li[hidden]{display:none!important}
.vf-project-action-page .vf-project-git-dialog-more{
  display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:36px;
  margin:12px 0 10px;padding:8px 13px;
  border:1px solid var(--ws-line,#d6e6db);border-radius:9px;
  background:var(--ws-soft,#f5faf7);color:var(--ws-teal-deep,#087f6e);
  font:inherit;font-size:13px;font-weight:700;text-align:center;cursor:pointer;
}
.vf-project-action-page .vf-project-git-dialog-more:hover{
  border-color:var(--ws-teal,#07884f);background:#eef8f3;
}
.vf-project-action-page .vf-project-git-dialog-more:focus-visible{
  outline:2px solid var(--ws-teal,#07884f);outline-offset:2px;
}
.vf-project-action-page .vf-project-git-dialog-body form button:disabled{
  background:#eaf3ef;border-color:#d5e4dc;color:#426a5a;opacity:1;cursor:default;
}
body.vf-project-action-page #vf-local-management .vf-local-inline-source .vf-project-git-dialog-header p{
  margin-top:4px;
}


/* Project-only GitHub account registration remains in the current native dialog. */
.vf-project-action-page .vf-project-github-app{
  padding:16px 18px;margin:0 0 22px;
  border:1px solid var(--ws-line,#d6e6db);border-radius:12px;
  background:#f7faf9;color:var(--ws-text,#17352e);
}
.vf-project-action-page .vf-project-github-app header{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 10px;
}
.vf-project-action-page .vf-project-github-app h3{font-size:16px;margin:0}
.vf-project-action-page .vf-project-github-app header span,.vf-project-action-page .vf-project-github-app-foot{
  color:var(--ws-muted,#667d75);font-size:12px;
}
.vf-project-action-page .vf-project-github-app-state{font-size:13px;line-height:1.6;margin:0 0 12px}
.vf-project-action-page .vf-project-github-app-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vf-project-action-page .vf-project-github-app-primary,
.vf-project-action-page .vf-project-github-app-actions button{
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;
  padding:8px 13px;border-radius:8px;border:1px solid #cbded6;
  font:inherit;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none;
}
.vf-project-action-page .vf-project-github-app-primary{
  background:#087f6e;color:#fff;border-color:#087f6e;
}
.vf-project-action-page .vf-project-github-app-actions button{background:#fff;color:#145e51}
.vf-project-action-page .vf-project-github-app-actions button:disabled{opacity:.65;cursor:wait}
.vf-project-action-page .vf-project-github-app-foot{line-height:1.5;margin:12px 0 0}
.vf-project-action-page .vf-project-github-app-alert{
  border-radius:8px;padding:9px 11px;background:#e6f5ed;color:#176044;margin:0 0 11px;font-size:13px;
}
.vf-project-action-page .vf-project-github-app-alert.is-error{background:#fff3f1;color:#a4392c}
.vf-project-action-page [data-project-github-app-result]{margin-top:12px}
.vf-project-action-page [data-project-github-app-result] p{font-size:13px;margin:0 0 7px}
.vf-project-action-page [data-project-github-app-result] ul{list-style:none;padding:0;margin:0}
.vf-project-action-page [data-project-github-app-result] li{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  padding:9px 0;border-top:1px solid #dce9e3;font-size:13px;
}
.vf-project-action-page [data-project-github-app-result] li span{color:#667d75;font-size:12px}
@media(max-width:600px){
  .vf-project-action-page .vf-project-github-app{padding:13px}
  .vf-project-action-page .vf-project-github-app-actions{align-items:stretch;flex-direction:column}
  .vf-project-action-page .vf-project-github-app-primary,
  .vf-project-action-page .vf-project-github-app-actions button{width:100%}
}

.vf-project-action-page .vf-project-github-app [data-project-github-app-result] li button,
.vf-project-action-page .vf-project-github-confirm,
.vf-project-action-page .vf-project-github-confirm-step button{
  padding:8px 11px;min-height:35px;border-radius:8px;border:1px solid #cbded6;
  background:#fff;color:#145e51;font:inherit;font-size:12px;font-weight:700;cursor:pointer;
}
.vf-project-action-page .vf-project-github-app [data-project-github-app-result] button:disabled{
  opacity:.58;cursor:not-allowed;
}
.vf-project-action-page .vf-project-github-repo-list li{
  display:block;padding:9px 0;border-top:1px solid #dce9e3;
}
.vf-project-action-page .vf-project-github-repo-list label{
  display:flex;align-items:flex-start;gap:10px;cursor:pointer;min-width:0;
}
.vf-project-action-page .vf-project-github-repo-list label input{
  width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:#087f6e;
}
.vf-project-action-page .vf-project-github-repo-list label span{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
.vf-project-action-page .vf-project-github-repo-list small{color:#667d75;font-size:12px;line-height:1.5}
.vf-project-action-page .vf-project-github-confirm-step{
  border:1px solid #bbd9cb;background:#eef8f3;padding:12px;border-radius:9px;margin-top:12px;
}
.vf-project-action-page .vf-project-github-confirm-step p{margin-bottom:10px;font-size:13px;line-height:1.6}
.vf-project-action-page .vf-project-github-confirm-step button{margin-right:8px}
.vf-project-action-page .vf-project-github-confirm-step .vf-project-github-app-primary{
  background:#087f6e;color:#fff;border-color:#087f6e;
}
.vf-project-action-page [data-project-github-app-result] .is-error{color:#a4392c}
