.access-tabs{display:flex;gap:4px;padding:4px;margin:20px 0;border-radius:10px;background:var(--surface-alt);border:1px solid var(--border);}
.access-tabs button{flex:1;padding:8px 12px;min-height:34px;border-radius:7px;color:var(--muted);font-size:13px;}
.access-tabs button.selected{background:var(--surface);color:var(--primary);box-shadow:0 1px 4px #0000000d;font-weight:600;}
.access-code-row{display:flex;gap:8px;align-items:center;min-width:0;}
.access-code-row input{flex:1;min-width:0;}
.access-code,.invitation-code{font-family:Consolas,monospace;letter-spacing:.04em;overflow-wrap:anywhere;}
.invitation-code{font-size:12px;}
.project-card-actions .row-actions{flex-wrap:wrap;justify-content:flex-end;}
.project-delete-button{color:#d65063;}
.project-delete-button:hover:not(:disabled){border-color:#d65063;}
.project-heading.compact-project-heading{min-height:34px;gap:10px;}
.compact-project-heading .project-title-group{flex:1;min-width:0;}
.compact-project-heading .project-title-group>div{flex:1;min-width:0;}
.compact-project-heading h1{font-size:17px;max-width:32vw;}
.compact-project-heading .pill{max-width:240px;overflow:hidden;text-overflow:ellipsis;display:inline-block;line-height:1.6;}
.compact-project-heading .stage-picker{max-width:175px;min-width:0;min-height:30px;height:30px;padding:3px 24px 3px 8px;font-size:12px;border-radius:7px;flex-shrink:0;background:var(--surface);}
.compact-project-heading .row-actions{gap:3px;}
.project-main:has(.compact-project-heading){gap:4px;padding-top:10px;}
.compact-project-heading+.workflow-chat .chat-pane{padding-top:0;}
.compact-project-heading .save-indicator{max-width:90px;white-space:nowrap;}
@media(max-width:900px){.compact-project-heading .pill{max-width:160px;}.compact-project-heading h1{max-width:24vw;}.compact-project-heading .stage-picker{max-width:145px;}}
@media(max-width:720px){
  .project-heading.compact-project-heading{flex-wrap:wrap;gap:4px 8px;}
  .compact-project-heading .project-title-group{flex:1 1 50%;}
  .compact-project-heading .project-title-group>div{flex-direction:row;align-items:center;gap:7px;}
  .compact-project-heading h1{font-size:15px;max-width:45vw;}
  .compact-project-heading .pill{display:none;}
  .compact-project-heading .stage-picker{max-width:130px;}
  .compact-project-heading .row-actions{margin-left:auto;}
  .compact-project-heading .save-indicator{max-width:65px;}
  .access-code-row{flex-wrap:wrap;}
}
