/* Graphilence Team Hub 2.3.4
   Premium navigation, project trajectory, and project-card system.
   Every color continues to use the editable dashboard theme variables. */

/* Sidebar clarity */
.gth-nav:before{display:none!important;content:none!important}
.gth-nav-section-title{
  display:block;
  padding:0 13px 10px;
  color:var(--gth-sidebar-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
}
.gth-nav-item[data-view="overview"]:before{content:"▦"}
.gth-nav-item[data-view="my-day"]:before{content:"✓"}
.gth-nav-item[data-view="projects"]:before{content:"□"}
.gth-nav-item[data-view="attendance"]:before{content:"◷"}
.gth-nav-item[data-view="performance"]:before{content:"◇"}
.gth-nav-item[data-view="revenue"]:before{content:"$"}
.gth-nav-item[data-view="team"]:before{content:"♙"}
.gth-founder-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:22px;
  margin-left:auto;
  padding:4px 7px;
  border:1px solid color-mix(in srgb,var(--gth-sidebar-text) 20%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--gth-sidebar-text) 11%,transparent);
  color:var(--gth-sidebar-text)!important;
  font-size:12px!important;
  font-weight:800;
  letter-spacing:.035em!important;
  line-height:1;
  text-transform:none!important;
  white-space:nowrap;
}
.gth-founder-badge:before{
  content:"";
  width:5px;
  height:5px;
  border-radius:999px;
  background:var(--gth-accent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--gth-accent) 20%,transparent);
}

/* Delivery trajectory, replacing the circular chart */
.gth-progress-card.gth-progress-journey-card{
  min-height:360px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:
    linear-gradient(155deg,color-mix(in srgb,var(--gth-accent) 5%,transparent),transparent 46%),
    var(--gth-surface)!important;
}
.gth-progress-card.gth-progress-journey-card:before{
  width:160px;
  height:160px;
  right:-92px;
  top:-92px;
  border:24px solid color-mix(in srgb,var(--gth-accent) 7%,transparent);
  background:transparent;
}
.gth-progress-journey{
  display:flex;
  flex:1;
  flex-direction:column;
  min-height:0;
}
.gth-progress-journey-summary{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:9px 0 24px;
}
.gth-progress-journey-summary>div:first-child{min-width:0}
.gth-progress-journey-summary p{
  margin:9px 0 0!important;
  font-size:12px!important;
  color:var(--gth-muted)!important;
}
.gth-progress-score{
  flex:0 0 auto;
  display:flex;
  align-items:flex-end;
  gap:6px;
  color:var(--gth-heading);
}
.gth-progress-score strong{
  font-size:46px;
  font-weight:800;
  line-height:.82;
  letter-spacing:-.07em;
}
.gth-progress-score span{
  max-width:48px;
  padding-bottom:2px;
  color:var(--gth-muted);
  font-size:12px;
  font-weight:700;
  line-height:1.25;
  text-transform:uppercase;
}
.gth-progress-route{
  --gth-route-position:clamp(8px,calc(var(--gth-progress-value) * 1%),calc(100% - 8px));
  position:relative;
  height:76px;
  margin:3px 0 0;
}
.gth-progress-route-base{
  position:absolute;
  left:0;
  right:0;
  top:35px;
  height:10px;
  overflow:hidden;
  border:1px solid var(--gth-border);
  border-radius:999px;
  background:var(--gth-surface-3);
  box-shadow:inset 0 1px 2px rgba(var(--gth-shadow-rgb),.05);
}
.gth-progress-route-base i{
  display:block;
  width:calc(var(--gth-progress-value) * 1%);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--gth-accent),var(--gth-accent-2));
  box-shadow:0 0 18px rgba(var(--gth-accent-rgb),.24);
}
.gth-progress-route-marker{
  position:absolute;
  left:var(--gth-route-position);
  top:28px;
  z-index:3;
  transform:translateX(-50%);
}
.gth-progress-route-marker>i{
  display:block;
  width:24px;
  height:24px;
  border:6px solid var(--gth-surface);
  border-radius:999px;
  background:var(--gth-accent);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--gth-accent) 35%,var(--gth-border)),0 7px 17px rgba(var(--gth-shadow-rgb),.15);
}
.gth-progress-route-marker>b{
  position:absolute;
  left:50%;
  bottom:32px;
  transform:translateX(-50%);
  padding:5px 7px;
  border:1px solid var(--gth-border);
  border-radius:7px;
  background:var(--gth-surface);
  color:var(--gth-heading);
  box-shadow:var(--gth-shadow-xs);
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.gth-progress-route-marker>b:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-4px;
  width:7px;
  height:7px;
  transform:translateX(-50%) rotate(45deg);
  border-right:1px solid var(--gth-border);
  border-bottom:1px solid var(--gth-border);
  background:var(--gth-surface);
}
.gth-progress-route-stops{
  position:absolute;
  left:4px;
  right:4px;
  top:37px;
  z-index:2;
  display:flex;
  justify-content:space-between;
  pointer-events:none;
}
.gth-progress-route-stops i{
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--gth-surface);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--gth-border-strong) 80%,var(--gth-border));
}
.gth-progress-stage-labels{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
  margin-top:-7px;
  color:var(--gth-muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.gth-progress-stage-labels span:nth-child(2),.gth-progress-stage-labels span:nth-child(3){text-align:center}
.gth-progress-stage-labels span:last-child{text-align:right}
.gth-progress-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:auto;
  padding-top:19px;
  border-top:1px solid var(--gth-border);
}
.gth-progress-stat-grid>div{
  position:relative;
  min-width:0;
  padding:11px 10px;
  overflow:hidden;
  border:1px solid var(--gth-border);
  border-radius:12px;
  background:color-mix(in srgb,var(--gth-surface-2) 74%,var(--gth-surface));
}
.gth-progress-stat-grid span,.gth-progress-stat-grid strong{display:block}
.gth-progress-stat-grid span{font-size:12px;color:var(--gth-muted)}
.gth-progress-stat-grid strong{margin-top:4px;font-size:20px;letter-spacing:-.04em;color:var(--gth-heading)}
.gth-progress-stat-grid i{
  position:absolute;
  right:8px;
  top:9px;
  width:7px;
  height:7px;
  border-radius:999px;
}
.gth-progress-stat-grid .is-complete{background:var(--gth-success)}
.gth-progress-stat-grid .is-submitted{background:var(--gth-warning)}
.gth-progress-stat-grid .is-running{background:var(--gth-accent)}
.gth-progress-stat-grid .is-pending{background:var(--gth-border-strong)}

/* Premium project cards */
.gth-project-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.gth-project-card{
  --gth-project-priority-color:var(--gth-info);
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:0!important;
  overflow:hidden;
  border-radius:20px!important;
  background:linear-gradient(180deg,var(--gth-surface),color-mix(in srgb,var(--gth-surface-2) 54%,var(--gth-surface)))!important;
  box-shadow:0 9px 28px rgba(var(--gth-shadow-rgb),.055)!important;
}
.gth-project-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  z-index:2;
  background:var(--gth-project-priority-color);
}
.gth-project-card:after{
  content:"";
  position:absolute;
  right:-64px;
  top:-70px;
  width:170px;
  height:170px;
  border-radius:999px;
  background:color-mix(in srgb,var(--gth-project-priority-color) 6%,transparent);
  pointer-events:none;
}
.gth-project-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--gth-project-priority-color) 28%,var(--gth-border))!important;
  box-shadow:0 17px 42px rgba(var(--gth-shadow-rgb),.095)!important;
}
.gth-project-priority-low{--gth-project-priority-color:var(--gth-info)}
.gth-project-priority-medium{--gth-project-priority-color:var(--gth-warning)}
.gth-project-priority-high{--gth-project-priority-color:var(--gth-accent)}
.gth-project-priority-urgent{--gth-project-priority-color:var(--gth-danger)}
.gth-project-card-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:22px 22px 18px 25px;
}
.gth-project-heading{min-width:0}
.gth-project-topline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.gth-project-card .gth-code{
  min-height:23px;
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border:1px solid var(--gth-border)!important;
  border-radius:7px!important;
  background:var(--gth-surface-2)!important;
  color:var(--gth-muted)!important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}
.gth-project-card .gth-priority{
  min-height:23px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 8px;
  border:1px solid color-mix(in srgb,var(--gth-project-priority-color) 28%,var(--gth-border))!important;
  border-radius:7px;
  background:color-mix(in srgb,var(--gth-project-priority-color) 9%,var(--gth-surface))!important;
  color:color-mix(in srgb,var(--gth-project-priority-color) 88%,var(--gth-heading))!important;
  font-size:12px;
  font-weight:800;
  line-height:1;
  text-transform:none;
  white-space:nowrap;
}
.gth-project-card .gth-priority i{
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--gth-project-priority-color);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--gth-project-priority-color) 12%,transparent);
}
.gth-project-card h3{
  margin:0 0 7px;
  font-size:20px;
  line-height:1.2;
  letter-spacing:-.03em;
}
.gth-project-heading>p{
  margin:0!important;
  overflow:hidden;
  color:var(--gth-muted)!important;
  font-size:12px!important;
  line-height:1.4;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.gth-project-progress-score{
  flex:0 0 auto;
  min-width:72px;
  padding:10px 11px;
  border:1px solid var(--gth-border);
  border-radius:13px;
  background:color-mix(in srgb,var(--gth-surface-2) 78%,var(--gth-surface));
  text-align:right;
}
.gth-project-progress-score span{display:block;margin-bottom:5px;color:var(--gth-muted);font-size:12px;font-weight:700;text-transform:uppercase}
.gth-project-progress-score strong{display:flex;align-items:flex-start;justify-content:flex-end;color:var(--gth-heading);font-size:25px;line-height:1;font-weight:800;letter-spacing:-.05em}
.gth-project-progress-score em{margin:2px 0 0 2px;color:var(--gth-project-priority-color);font-size:12px;font-style:normal;letter-spacing:0}
.gth-project-card .gth-project-progress{
  padding:0 22px 20px 25px;
}
.gth-project-card .gth-project-progress>div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:9px;
  color:var(--gth-muted);
  font-size:12px;
}
.gth-project-card .gth-project-progress>div:first-child strong{
  overflow:hidden;
  color:var(--gth-heading);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.gth-project-card .gth-progress{
  height:9px;
  overflow:hidden;
  border:1px solid var(--gth-border);
  border-radius:999px;
  background:var(--gth-surface-3)!important;
}
.gth-project-card .gth-progress i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--gth-project-priority-color),color-mix(in srgb,var(--gth-project-priority-color) 70%,var(--gth-accent-2)))!important;
  box-shadow:0 0 11px color-mix(in srgb,var(--gth-project-priority-color) 24%,transparent)!important;
}
.gth-project-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:0 22px 0 25px;
  overflow:hidden;
  border:1px solid var(--gth-border);
  border-radius:14px;
  background:color-mix(in srgb,var(--gth-surface-2) 66%,var(--gth-surface));
}
.gth-project-meta>div{
  min-width:0;
  padding:13px 12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.gth-project-meta>div+div{border-left:1px solid var(--gth-border)!important}
.gth-project-meta span,.gth-project-meta strong{display:block}
.gth-project-meta span{margin-bottom:6px;color:var(--gth-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.045em}
.gth-project-meta strong{overflow:hidden;color:var(--gth-heading);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.gth-project-status{display:flex!important;align-items:center;gap:6px}
.gth-project-status i{flex:0 0 auto;width:6px;height:6px;border-radius:999px;background:var(--gth-info)}
.gth-project-status-in-progress i,.gth-project-status-revision i{background:var(--gth-accent)}
.gth-project-status-submitted i{background:var(--gth-warning)}
.gth-project-status-completed i{background:var(--gth-success)}
.gth-project-status-blocked i{background:var(--gth-danger)}
.gth-project-status-on-hold i,.gth-project-status-not-started i{background:var(--gth-border-strong)}
.gth-project-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:10px;
  padding:18px 22px 0 25px;
}
.gth-project-detail{
  min-width:0;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:10px;
  padding:13px;
  border:1px solid var(--gth-border);
  border-radius:13px;
  background:var(--gth-surface);
}
.gth-project-detail-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:color-mix(in srgb,var(--gth-accent) 8%,var(--gth-surface-2));
  color:var(--gth-accent);
  font-size:13px;
  font-weight:800;
}
.gth-project-detail-selection .gth-project-detail-icon:before{content:"✓"}
.gth-project-detail-feedback .gth-project-detail-icon:before{content:"→"}
.gth-project-detail>div{min-width:0}
.gth-project-detail>div>span{
  display:block;
  margin-bottom:6px;
  color:var(--gth-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.gth-project-detail p{
  min-height:0!important;
  margin:0!important;
  color:var(--gth-text)!important;
  font-size:12px!important;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.gth-project-card .gth-private-project-value{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:12px 22px 0 25px;
  padding:12px 13px;
  border:1px solid color-mix(in srgb,var(--gth-accent) 23%,var(--gth-border));
  border-radius:12px;
  background:color-mix(in srgb,var(--gth-accent) 6%,var(--gth-surface));
}
.gth-private-project-value>div{min-width:0}
.gth-private-project-value>div>span{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--gth-heading);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.gth-private-project-value>div>span i{
  position:relative;
  width:12px;
  height:9px;
  border:1px solid var(--gth-accent);
  border-radius:3px;
}
.gth-private-project-value>div>span i:before{
  content:"";
  position:absolute;
  left:2px;
  top:-6px;
  width:6px;
  height:6px;
  border:1px solid var(--gth-accent);
  border-bottom:0;
  border-radius:5px 5px 0 0;
}
.gth-private-project-value small{display:block;margin-top:4px;color:var(--gth-muted);font-size:12px}
.gth-project-card .gth-private-project-value strong{flex:0 0 auto;color:var(--gth-heading);font-size:16px;letter-spacing:-.025em}
.gth-project-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:auto;
  padding:18px 22px 20px 25px!important;
  border-top:0!important;
}
.gth-project-file-actions,.gth-project-management-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.gth-project-actions a,.gth-project-actions button{
  min-height:31px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border:1px solid var(--gth-border)!important;
  border-radius:9px!important;
  background:var(--gth-surface-2)!important;
  color:var(--gth-text)!important;
  font-size:12px!important;
  font-weight:750;
  line-height:1;
  text-decoration:none;
  transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease;
}
.gth-project-actions a:hover,.gth-project-actions button:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--gth-accent) 35%,var(--gth-border))!important;
  background:color-mix(in srgb,var(--gth-accent) 7%,var(--gth-surface))!important;
  color:var(--gth-accent)!important;
}
.gth-project-management-actions button:first-child{
  background:var(--gth-heading)!important;
  border-color:var(--gth-heading)!important;
  color:var(--gth-surface)!important;
}
.gth-project-actions .is-danger{
  border-color:color-mix(in srgb,var(--gth-danger) 23%,var(--gth-border))!important;
  background:color-mix(in srgb,var(--gth-danger) 7%,var(--gth-surface))!important;
  color:var(--gth-danger)!important;
}

@media(max-width:1180px){
  .gth-project-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .gth-founder-badge{padding:4px 6px;font-size:12px!important}
  .gth-progress-score strong{font-size:39px}
  .gth-progress-stage-labels{font-size:12px}
  .gth-project-card-head{padding:19px 17px 16px 20px}
  .gth-project-card .gth-project-progress{padding:0 17px 17px 20px}
  .gth-project-meta{grid-template-columns:1fr;margin:0 17px 0 20px}
  .gth-project-meta>div+div{border-left:0!important;border-top:1px solid var(--gth-border)!important}
  .gth-project-detail-grid{grid-template-columns:1fr;padding:15px 17px 0 20px}
  .gth-project-card .gth-private-project-value{margin:11px 17px 0 20px}
  .gth-project-actions{align-items:stretch;flex-direction:column;padding:16px 17px 18px 20px!important}
  .gth-project-management-actions{justify-content:flex-end}
}
@media(max-width:440px){
  .gth-progress-journey-summary{align-items:flex-start;flex-direction:column}
  .gth-progress-stat-grid{grid-template-columns:1fr}
  .gth-progress-card.gth-progress-journey-card{min-height:450px}
  .gth-project-card-head{gap:12px}
  .gth-project-progress-score{min-width:64px;padding:9px}
  .gth-project-progress-score strong{font-size:22px}
}


/* 2.3.1 refinement: clearer project identity and founder navigation */
.gth-nav-item[data-view="revenue"]{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  column-gap:9px;
}
.gth-nav-item[data-view="revenue"]:before{margin-right:0}
.gth-nav-item[data-view="revenue"]>span{min-width:0}
.gth-nav-item[data-view="revenue"] .gth-founder-badge{margin-left:10px;padding:4px 7px;font-size:12px!important}
.gth-progress-status.is-submitted{
  color:color-mix(in srgb,var(--gth-warning) 76%,var(--gth-heading));
  border-color:color-mix(in srgb,var(--gth-warning) 32%,var(--gth-border));
  background:color-mix(in srgb,var(--gth-warning) 9%,var(--gth-surface));
}
.gth-progress-status.is-submitted:before{background:var(--gth-warning)}
.gth-project-client{
  display:flex!important;
  align-items:baseline;
  gap:8px;
  margin:0!important;
  overflow:hidden;
  white-space:nowrap;
}
.gth-project-client span{
  flex:0 0 auto;
  color:var(--gth-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.gth-project-client strong{
  min-width:0;
  overflow:hidden;
  color:var(--gth-heading);
  font-size:14px;
  font-weight:750;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* 2.3.1 readable net-revenue interface */
.gth-revenue-title{align-items:flex-end}
.gth-revenue-retained-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border:1px solid color-mix(in srgb,var(--gth-success) 32%,var(--gth-border));
  border-radius:999px;
  background:color-mix(in srgb,var(--gth-success) 9%,var(--gth-surface));
  color:color-mix(in srgb,var(--gth-success) 78%,var(--gth-heading));
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.gth-revenue-kpi{min-height:145px;padding:20px!important}
.gth-revenue-kpi span{font-size:12px!important;font-weight:700}
.gth-revenue-kpi strong{margin:14px 0 8px!important;font-size:29px!important;line-height:1.05}
.gth-revenue-kpi small{font-size:12px!important;line-height:1.4}
.gth-revenue-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr)!important}
.gth-revenue-monthly-card,.gth-revenue-records-card{min-width:0}
.gth-revenue-month-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px;
  margin-top:8px;
}
.gth-revenue-month-card{
  min-width:0;
  padding:14px;
  border:1px solid var(--gth-border);
  border-radius:14px;
  background:color-mix(in srgb,var(--gth-surface-2) 70%,var(--gth-surface));
}
.gth-revenue-month-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.gth-revenue-month-heading>div{min-width:0}
.gth-revenue-month-heading span,.gth-revenue-month-heading small{display:block}
.gth-revenue-month-heading span{color:var(--gth-heading);font-size:12px;font-weight:800}
.gth-revenue-month-heading small{margin-top:4px;color:var(--gth-muted);font-size:12px}
.gth-revenue-month-heading>strong{
  flex:0 0 auto;
  color:var(--gth-heading);
  font-size:14px;
  font-weight:800;
  letter-spacing:-.025em;
  white-space:nowrap;
}
.gth-revenue-month-track{
  height:7px;
  margin-top:13px;
  overflow:hidden;
  border:1px solid var(--gth-border);
  border-radius:999px;
  background:var(--gth-surface-3);
}
.gth-revenue-month-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--gth-accent),var(--gth-accent-2));
}
.gth-revenue-list{gap:0!important}
.gth-revenue-list>div{padding:15px 0!important}
.gth-revenue-list strong{font-size:12px!important;line-height:1.35}
.gth-revenue-list small{font-size:12px!important;line-height:1.4}
.gth-revenue-list b{display:block;font-size:14px!important;text-align:right}
.gth-revenue-list b small{display:block;margin-top:4px;font-weight:500;white-space:nowrap}
.gth-revenue-table-card{margin-top:16px}
.gth-revenue-table-card .gth-table th,.gth-revenue-table-card .gth-table td{font-size:12px}
.gth-private-finance-fields label>small{display:block;margin-top:7px;color:var(--gth-muted);font-size:12px;line-height:1.4}

@media(max-width:1200px){
  .gth-revenue-grid{grid-template-columns:1fr!important}
  .gth-revenue-month-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .gth-revenue-title{align-items:flex-start;flex-direction:column}
  .gth-revenue-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .gth-nav-item[data-view="revenue"] .gth-founder-badge{padding:4px 6px;font-size:12px!important}
  .gth-progress-stat-grid{grid-template-columns:repeat(2,1fr)}
  .gth-revenue-month-grid{grid-template-columns:1fr}
  .gth-revenue-kpi{min-height:125px}
}
@media(max-width:440px){
  .gth-progress-stat-grid{grid-template-columns:1fr 1fr}
  .gth-project-client{align-items:flex-start;flex-direction:column;gap:3px;white-space:normal}
  .gth-project-client strong{white-space:normal}
}

/* 2.3.2 monthly project reporting and simplified delivery flow */
.gth-kpi-grid-dashboard .gth-kpi-monthly{
  background:linear-gradient(145deg,color-mix(in srgb,var(--gth-accent-2) 7%,var(--gth-surface)),var(--gth-surface));
}
.gth-kpi-grid-dashboard .gth-kpi-completed{
  background:linear-gradient(145deg,color-mix(in srgb,var(--gth-success) 8%,var(--gth-surface)),var(--gth-surface));
}
.gth-kpi-grid-dashboard .gth-kpi-completed>i{
  color:var(--gth-success);
  border-color:color-mix(in srgb,var(--gth-success) 28%,var(--gth-border));
}

.gth-monthly-project-card{
  min-height:390px!important;
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--gth-accent-2) 4%,transparent),transparent 46%),
    var(--gth-surface)!important;
}
.gth-monthly-project-card .gth-card-head{
  align-items:flex-start;
}
.gth-month-report-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:7px 10px;
  border:1px solid color-mix(in srgb,var(--gth-accent-2) 24%,var(--gth-border));
  border-radius:999px;
  background:color-mix(in srgb,var(--gth-accent-2) 7%,var(--gth-surface));
  color:var(--gth-heading);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.gth-month-report-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-bottom:16px;
}
.gth-month-report-summary>div{
  position:relative;
  min-width:0;
  padding:13px 12px;
  overflow:hidden;
  border:1px solid var(--gth-border);
  border-radius:13px;
  background:color-mix(in srgb,var(--gth-surface-2) 76%,var(--gth-surface));
}
.gth-month-report-summary span,.gth-month-report-summary strong{display:block}
.gth-month-report-summary span{
  color:var(--gth-muted);
  font-size:12px;
  font-weight:600;
  line-height:1.25;
}
.gth-month-report-summary strong{
  margin-top:7px;
  color:var(--gth-heading);
  font-size:24px;
  font-weight:800;
  letter-spacing:-.05em;
  line-height:1;
}
.gth-month-report-summary i{
  position:absolute;
  right:10px;
  top:10px;
  width:7px;
  height:7px;
  border-radius:999px;
}
.gth-month-report-summary .is-created{background:var(--gth-info)}
.gth-month-report-summary .is-submitted{background:var(--gth-warning)}
.gth-month-report-summary .is-revision{background:var(--gth-danger)}
.gth-month-report-summary .is-completed{background:var(--gth-success)}
.gth-month-history{
  overflow-x:auto;
  border:1px solid var(--gth-border);
  border-radius:14px;
  background:var(--gth-surface);
}
.gth-month-history-head,.gth-month-history-row{
  min-width:560px;
  display:grid;
  grid-template-columns:minmax(150px,1.35fr) repeat(4,minmax(74px,.65fr));
  align-items:center;
  gap:8px;
}
.gth-month-history-head{
  padding:9px 12px;
  border-bottom:1px solid var(--gth-border);
  background:var(--gth-surface-2);
  color:var(--gth-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.gth-month-history-head span:not(:first-child),.gth-month-history-row>span{text-align:center}
.gth-month-history-row{
  min-height:39px;
  padding:8px 12px;
  border-bottom:1px solid color-mix(in srgb,var(--gth-border) 76%,transparent);
  color:var(--gth-text);
  font-size:12px;
}
.gth-month-history-row:last-child{border-bottom:0}
.gth-month-history-row strong{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:var(--gth-heading);
  font-size:12px;
  font-weight:750;
}
.gth-month-history-row strong small{
  display:inline-flex;
  align-items:center;
  padding:3px 6px;
  border-radius:999px;
  background:color-mix(in srgb,var(--gth-success) 10%,var(--gth-surface));
  color:color-mix(in srgb,var(--gth-success) 78%,var(--gth-heading));
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.gth-month-history-row.is-current{
  background:linear-gradient(90deg,color-mix(in srgb,var(--gth-accent-2) 6%,var(--gth-surface)),var(--gth-surface));
}
.gth-month-history-row>span{
  color:var(--gth-heading);
  font-size:12px;
  font-weight:750;
}

.gth-progress-card.gth-progress-journey-card.gth-delivery-flow-card{
  min-height:360px;
}
.gth-delivery-flow{
  display:flex;
  flex:1;
  min-height:0;
  flex-direction:column;
}
.gth-delivery-flow-summary{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding:7px 0 20px;
}
.gth-delivery-flow-summary p{
  margin:8px 0 0!important;
  color:var(--gth-muted)!important;
  font-size:12px!important;
  line-height:1.45;
}
.gth-delivery-complete-total{
  flex:0 0 auto;
  display:flex;
  align-items:flex-end;
  gap:6px;
}
.gth-delivery-complete-total strong{
  color:var(--gth-heading);
  font-size:42px;
  font-weight:800;
  letter-spacing:-.07em;
  line-height:.82;
}
.gth-delivery-complete-total span{
  padding-bottom:2px;
  color:var(--gth-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
.gth-delivery-stage-track{
  display:grid;
  grid-template-columns:minmax(70px,1fr) 24px minmax(70px,1fr) 24px minmax(70px,1fr);
  align-items:center;
  gap:5px;
  padding:15px 0 21px;
}
.gth-delivery-stage{
  min-width:0;
  text-align:center;
}
.gth-delivery-stage-number{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  margin:0 auto 10px;
  border:1px solid var(--gth-border);
  border-radius:16px;
  background:var(--gth-surface);
  color:var(--gth-heading);
  box-shadow:0 8px 20px rgba(var(--gth-shadow-rgb),.07);
  font-size:20px;
  font-weight:800;
  letter-spacing:-.04em;
}
.gth-delivery-stage.is-submitted .gth-delivery-stage-number{
  border-color:color-mix(in srgb,var(--gth-warning) 35%,var(--gth-border));
  background:color-mix(in srgb,var(--gth-warning) 8%,var(--gth-surface));
}
.gth-delivery-stage.is-revision .gth-delivery-stage-number{
  border-color:color-mix(in srgb,var(--gth-danger) 30%,var(--gth-border));
  background:color-mix(in srgb,var(--gth-danger) 7%,var(--gth-surface));
}
.gth-delivery-stage.is-complete .gth-delivery-stage-number{
  border-color:color-mix(in srgb,var(--gth-success) 32%,var(--gth-border));
  background:color-mix(in srgb,var(--gth-success) 8%,var(--gth-surface));
}
.gth-delivery-stage strong,.gth-delivery-stage small{display:block}
.gth-delivery-stage strong{
  color:var(--gth-heading);
  font-size:12px;
  font-weight:800;
}
.gth-delivery-stage small{
  margin-top:4px;
  color:var(--gth-muted);
  font-size:12px;
  line-height:1.35;
}
.gth-delivery-connector{
  position:relative;
  height:1px;
  margin-top:-28px;
  background:linear-gradient(90deg,var(--gth-border-strong),color-mix(in srgb,var(--gth-accent-2) 48%,var(--gth-border-strong)));
}
.gth-delivery-connector:after{
  content:"";
  position:absolute;
  right:-1px;
  top:50%;
  width:5px;
  height:5px;
  transform:translateY(-50%) rotate(45deg);
  border-top:1px solid var(--gth-accent-2);
  border-right:1px solid var(--gth-accent-2);
}
.gth-delivery-flow-footer{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid var(--gth-border);
}
.gth-delivery-flow-footer>div{
  min-width:0;
  padding:10px;
  border:1px solid var(--gth-border);
  border-radius:11px;
  background:color-mix(in srgb,var(--gth-surface-2) 70%,var(--gth-surface));
}
.gth-delivery-flow-footer span,.gth-delivery-flow-footer strong{display:block}
.gth-delivery-flow-footer span{color:var(--gth-muted);font-size:12px}
.gth-delivery-flow-footer strong{margin-top:5px;color:var(--gth-heading);font-size:17px;letter-spacing:-.04em}

@media(max-width:900px){
  .gth-monthly-project-card{min-height:auto!important}
}
@media(max-width:680px){
  .gth-month-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gth-monthly-project-card .gth-card-head{gap:10px;align-items:flex-start;flex-direction:column}
  .gth-progress-card.gth-progress-journey-card.gth-delivery-flow-card{min-height:auto}
  .gth-delivery-flow-summary{align-items:flex-start}
  .gth-delivery-stage-track{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .gth-delivery-connector{display:none}
  .gth-delivery-stage-number{width:44px;height:44px;border-radius:14px;font-size:18px}
}
@media(max-width:440px){
  .gth-month-report-summary{grid-template-columns:1fr 1fr}
  .gth-delivery-flow-summary{flex-direction:column;align-items:flex-start}
  .gth-delivery-stage-track{grid-template-columns:1fr;padding-top:8px}
  .gth-delivery-stage{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;text-align:left;align-items:center}
  .gth-delivery-stage-number{grid-row:1 / span 2;margin:0}
  .gth-delivery-stage small{margin-top:2px}
  .gth-delivery-flow-footer{grid-template-columns:1fr 1fr 1fr}
}
.gth-month-history{max-height:300px;overflow:auto}

/* 2.3.3 status filtering, month rollover clarity, and readable type floor */
.gth-app [hidden]{display:none!important}
.gth-project-card[hidden]{display:none!important}

.gth-month-report-badge{font-size:12px}
.gth-month-report-summary span{font-size:12px;line-height:1.35}
.gth-month-history-head{font-size:12px;line-height:1.3}
.gth-month-history-row,.gth-month-history-row strong{font-size:12px}
.gth-month-history-row strong small{font-size:12px}
.gth-month-history-row>span{font-size:12px}

.gth-delivery-flow-summary p{font-size:12px!important;line-height:1.55}
.gth-delivery-complete-total span{font-size:12px;line-height:1.2}
.gth-delivery-stage strong{font-size:12px;line-height:1.35}
.gth-delivery-stage small{font-size:12px;line-height:1.45}
.gth-delivery-flow-footer span{font-size:12px;line-height:1.35}
.gth-delivery-flow-footer strong{font-size:19px}

.gth-project-card .gth-code,.gth-project-card .gth-priority,
.gth-project-progress-score span,.gth-project-card .gth-project-progress>div:first-child,
.gth-project-card .gth-project-progress>div:first-child strong,.gth-project-meta span,
.gth-project-detail>div>span,.gth-private-project-value>div>span,
.gth-private-project-value small,.gth-project-actions a,.gth-project-actions button{font-size:12px!important}

@media(max-width:680px){
  .gth-nav-item[data-view="revenue"] .gth-founder-badge{font-size:12px!important}
}


/* 2.3.4 minimum readable type and bulk activity management */
.gth-app .gth-font-min-12{font-size:12px!important}
.gth-activity-card-head{align-items:flex-start;gap:16px}
.gth-delete-all-activity{
  flex:0 0 auto;
  min-height:34px;
  padding:7px 11px;
  border:1px solid color-mix(in srgb,var(--gth-danger) 34%,var(--gth-border));
  border-radius:9px;
  background:color-mix(in srgb,var(--gth-danger) 6%,var(--gth-surface));
  color:var(--gth-danger);
  font-family:inherit;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  cursor:pointer;
}
.gth-delete-all-activity:hover{background:color-mix(in srgb,var(--gth-danger) 11%,var(--gth-surface))}
.gth-delete-all-activity:focus-visible{outline:3px solid color-mix(in srgb,var(--gth-danger) 22%,transparent);outline-offset:2px}
.gth-delete-all-activity:disabled{opacity:.55;cursor:wait}
@media(max-width:440px){
  .gth-activity-card-head{flex-direction:column}
  .gth-delete-all-activity{width:100%}
}
