/* One surface for a menu; project rows have one continuous outer boundary. */
html[data-theme] .agent-work{border:0!important;border-radius:0!important}
html[data-theme] :is(.canvas-project-row,.agent-project-row){display:flex;align-items:center;flex-wrap:nowrap;border-radius:7px;overflow:visible}
html[data-theme] :is(.canvas-project-row,.agent-project-row)>:is(.canvas-project-select,.agent-project-select){flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:inherit;margin:0}
html[data-theme] :is(.canvas-project-row,.agent-project-row):has(:focus-visible){outline:2px solid var(--oa-accent-2);outline-offset:2px}
.project-actions-anchor{display:inline-flex;flex:none;align-items:center;justify-content:center}
html[data-theme] .project-actions-trigger{display:grid;place-items:center;flex:none;width:30px;min-width:30px;height:32px;padding:0!important;margin:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important;border-radius:5px;cursor:pointer}
html[data-theme] .project-actions-trigger:hover{background:var(--oa-hover)!important}
.project-actions-popover,.project-name-popover{position:fixed;z-index:10010;box-sizing:border-box;margin:0;background:var(--oa-panel);color:var(--oa-text);border:1px solid var(--oa-border-strong);border-radius:9px;box-shadow:0 10px 28px #0004;font-family:inherit;font-size:12px}
.project-actions-popover{width:172px;padding:5px}
html[data-theme] .project-actions-popover>button{display:flex;align-items:center;gap:9px;box-sizing:border-box;width:100%;height:34px;padding:0 10px;margin:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;color:var(--oa-text);border-radius:5px;font:inherit;text-align:left;cursor:pointer}
html[data-theme] .project-actions-popover>button:hover,html[data-theme] .project-actions-popover>button:focus-visible{background:var(--oa-hover)!important;color:var(--oa-text)}
html[data-theme] .project-actions-popover>.is-danger{color:var(--oa-accent)}
.project-name-popover{width:270px;padding:13px}
.project-name-popover>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.project-name-popover>header>b{font-size:13px}
html[data-theme] .project-name-popover>header>button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0!important;background:transparent;color:var(--oa-muted);box-shadow:none;font-size:20px;cursor:pointer}
.project-name-popover>label{display:grid;gap:5px;font-size:11px;color:var(--oa-muted)}
html[data-theme] .project-name-popover input{box-sizing:border-box;width:100%;height:36px;padding:5px 0;color:var(--oa-text);background:transparent!important;border:0!important;border-bottom:1px solid var(--oa-border-strong)!important;border-radius:0!important;outline:0!important;box-shadow:none!important;font:inherit;font-size:13px}
html[data-theme] .project-name-popover input:focus{border-bottom-color:var(--oa-accent-2)!important}
.project-name-popover>footer{display:flex;justify-content:flex-end;gap:7px;margin-top:13px}
html[data-theme] .project-name-popover>footer>button{padding:6px 11px;border:0!important;border-radius:5px;background:transparent;color:var(--oa-muted);font:inherit;cursor:pointer}
html[data-theme] .project-name-popover>footer>.project-name-save{background:var(--brand-primary);color:#fff}
.project-name-popover button:disabled,.project-name-popover input:disabled{opacity:.5;cursor:default}
.project-name-popover>p{margin:8px 0 0;color:var(--oa-text);font-size:11px;line-height:1.5}
html[data-theme] :is(.canvas-project-row,.agent-project-row){box-shadow:none!important;border-width:1px;border-style:solid}
.project-actions-popover,.project-name-popover{max-width:calc(100vw - 16px)}
