.nd-project-workspace{display:flex;align-items:end;flex-wrap:wrap;gap:.5rem;width:100%;min-width:0;padding:.625rem .75rem;border-bottom:1px solid var(--nd-border,var(--line));background:var(--gz-rail,var(--nd-page,var(--bg)));color:var(--gz-ink,var(--nd-ink))}
.nd-project-current{display:flex;align-items:end;gap:.5rem;flex:1 1 15rem;min-width:0;width:100%}
.nd-project-choice{display:grid;gap:.25rem;flex:1 1 0;min-width:0;font-size:.875rem;color:var(--gz-muted,var(--nd-secondary,var(--muted)))}
.nd-project-choice select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;height:44px;font:inherit;font-size:1rem;color:var(--gz-ink,var(--nd-ink,var(--text)));background:var(--gz-card,var(--nd-control,var(--panel)));border:1px solid var(--gz-output-line,var(--nd-border,var(--line)));border-radius:.5rem;padding:.5rem}
.nd-project-quick{display:flex;gap:.5rem;flex-wrap:wrap;min-width:0}.nd-project-quick .btn{flex:1 1 auto}
.nd-project-workspace :is([data-project-save],[data-project-reload]){flex:1 0 100%}
.nd-project-workspace .btn{min-height:44px;min-width:44px;white-space:normal;max-width:100%;font-size:.875rem;line-height:1.5;background:var(--gz-card,var(--nd-control));color:var(--gz-ink,var(--nd-ink));border:1px solid var(--gz-soft-line,var(--nd-border));border-radius:.5rem}
.nd-project-workspace .nd-project-browse{flex:0 0 44px;min-width:44px;width:44px;height:44px;padding:.625rem;display:grid;place-items:center}.nd-project-browse svg{width:1.125rem;height:1.125rem}
.nd-project-browser{box-sizing:border-box;width:min(34rem,calc(100% - 1rem));max-width:calc(100% - 1rem);max-height:calc(100dvh - 1rem);padding:1rem;overflow:auto;border:1px solid var(--gz-output-line,var(--nd-border));border-radius:.875rem;color:var(--gz-ink,var(--nd-ink));background:var(--gz-rail,var(--nd-panel));box-shadow:0 .75rem 3rem #0004}
.nd-project-browser::backdrop{background:#0009}.nd-project-browser>header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.nd-project-browser h2{margin:0;font-size:1.25rem;line-height:1.4}.nd-project-browser .nd-project-browser-close{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;font-size:1.5rem;color:inherit;background:var(--gz-card,var(--nd-control));border:1px solid var(--gz-soft-line,var(--nd-border));border-radius:.5rem}
.nd-project-search{display:grid;gap:.5rem;font-size:.875rem;color:var(--gz-muted,var(--nd-secondary))}.nd-project-search input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:.625rem .75rem;font:inherit;font-size:1rem;color:var(--gz-ink,var(--nd-ink));background:var(--gz-card,var(--nd-control));border:1px solid var(--gz-output-line,var(--nd-border));border-radius:.5rem}
.nd-project-count{margin:.75rem 0;font-size:.875rem;color:var(--gz-muted,var(--nd-secondary));line-height:1.5}.nd-project-list{display:grid;gap:.5rem}.nd-project-list-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;box-sizing:border-box;min-width:0;min-height:44px;width:100%;padding:.625rem .75rem;text-align:left;font:inherit;font-size:1rem;line-height:1.5;color:var(--gz-ink,var(--nd-ink));background:var(--gz-card,var(--nd-control));border:1px solid var(--gz-soft-line,var(--nd-border));border-radius:.5rem;cursor:pointer}.nd-project-list-item>span{min-width:0;overflow-wrap:anywhere}.nd-project-list-item small{flex-shrink:0;font-size:.875rem;color:var(--gz-muted,var(--nd-secondary))}.nd-project-list-item[aria-current=true]{border-color:var(--gz-output-line,var(--nd-brand));box-shadow:inset 3px 0 0 var(--gz-output-line,var(--nd-brand))}.nd-project-list-empty{margin:.5rem 0;color:var(--gz-muted,var(--nd-secondary));line-height:1.5}.nd-project-list-item:disabled{opacity:.6;cursor:wait}
.nd-project-workspace :is(button,select):focus-visible,.nd-project-browser :is(button,input):focus-visible{outline:2px solid var(--gz-focus,var(--nd-brand));outline-offset:2px}.nd-project-list-item:hover:not(:disabled),.nd-project-workspace .btn:hover:not(:disabled){background:var(--gz-active,var(--nd-panel))}
.nd-project-name-dialog{width:min(28rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;border:1px solid var(--nd-border,var(--line));border-radius:.75rem;padding:1.25rem;color:var(--nd-ink,var(--text));background:var(--nd-panel,var(--bg))}
.nd-project-name-dialog::backdrop{background:#0009}
.nd-project-name-dialog form,.nd-project-name-dialog label{display:grid;gap:.75rem}.nd-project-name-dialog h2{font-size:1.25rem;margin:0 0 .5rem}.nd-project-name-dialog input[name=name]{box-sizing:border-box;min-height:44px;width:100%;font-size:1rem}.nd-project-name-dialog .nd-project-keep{display:flex;align-items:center;min-height:44px;font-size:.875rem;line-height:1.5}.nd-project-keep input{width:1.25rem;height:1.25rem;flex-shrink:0}.nd-project-name-dialog form>div{display:flex;justify-content:end;gap:.5rem;flex-wrap:wrap}.nd-project-name-dialog .btn{min-width:44px;min-height:44px}
.gen-submit-feedback.nd-system-status{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem .75rem;padding:.5rem .75rem;margin:.375rem 0;border:0;border-left:2px solid var(--nd-brand,var(--lime));border-radius:.375rem;background:var(--nd-control,var(--panel));font-size:.875rem;line-height:1.4;color:var(--nd-ink,var(--text));box-shadow:none}
.nd-system-status[hidden]{display:none!important}.nd-system-status>.nd-system-summary{min-width:0;flex:1 1 16rem;overflow-wrap:anywhere;font-weight:500}.nd-system-status>.gen-notice-close{position:static;flex-shrink:0;width:2.75rem;height:2.75rem;min-width:2.75rem;min-height:2.75rem}.nd-system-status details{min-width:0;max-width:100%;font-size:.875rem}.nd-system-status details[open]{flex-basis:100%}.nd-system-status details summary{cursor:pointer;min-height:2.75rem;display:flex;align-items:center;gap:.5rem}.nd-system-status details p,.nd-system-status details small{overflow-wrap:anywhere;margin:.375rem 0}.nd-system-status[data-tone=warning]{border-left-color:#e4b264}.nd-system-status[data-tone=info]{border-left-color:var(--nd-brand,var(--lime))}
@media(min-width:768px){.nd-project-workspace{gap:.5rem .75rem}.nd-project-current{flex:1 1 15rem}.nd-system-status>.nd-system-summary{flex-basis:20rem}}
/* Keep navigation controls physically44px in the public content density. */
html.nd-density-compact body.studio-shell[data-page="create"] #gen-project-workspace .btn,html.nd-density-compact .nd-project-choice select{min-height:55px!important;min-width:55px!important;font-size:1.09375rem!important}
html.nd-density-compact .nd-project-choice select{height:55px!important}
html.nd-density-compact .nd-project-workspace .nd-project-browse{flex-basis:55px;width:55px;height:55px}
html.nd-density-compact .nd-project-choice{font-size:1.09375rem}
/* Project management lives in one central dialog; the works column owns the
   compact trigger, with no persistent project bar above the result. */
html body.studio-shell[data-page="create"] #gen-project-workspace.nd-project-workspace{display:block!important;width:100%!important;padding:0!important;margin:0 0 .5rem!important;border:0!important;background:transparent!important;box-shadow:none!important;}
html body.studio-shell[data-page="create"] #gen-projects-toggle{display:flex!important;align-items:center;justify-content:center;gap:.5rem;width:100%!important;min-width:44px!important;min-height:44px!important;padding:.5rem!important;white-space:normal!important;overflow-wrap:anywhere;font-size:.875rem!important;color:var(--gz-ink,var(--nd-ink))!important;background:var(--gz-card,var(--nd-control))!important;border:1px solid var(--gz-soft-line,var(--nd-border))!important;border-radius:.5rem!important;}
html body.studio-shell[data-page="create"] #gen-projects-toggle svg{width:1.125rem;height:1.125rem;flex-shrink:0;}
.nd-project-browser .nd-project-dialog-controls{padding:0 0 1rem;margin:0 0 1rem;border:0;border-bottom:1px solid var(--gz-soft-line,var(--nd-border));background:transparent;}
.nd-project-browser .nd-project-dialog-controls .nd-project-choice{flex:1 0 100%;}.nd-project-browser .nd-project-dialog-controls .btn{min-height:44px;min-width:44px;font-size:.875rem;}.nd-project-browser .nd-project-dialog-controls [data-project-history-note]{flex:1 0 100%;margin:0;}
html.nd-density-compact body.studio-shell[data-page="create"] #gen-projects-toggle{min-height:55px!important;font-size:1.09375rem!important;}
html.nd-density-compact .nd-project-browser .nd-project-choice select{height:44px!important;min-height:44px!important;font-size:1rem!important;}.nd-project-browser .nd-project-count{font-size:.875rem;}
