/* Signed-in workspace: one page, one navigation hierarchy. */
.account-on #workbench { display:none !important; }
.account-on .deck-header { position:sticky; top:0; z-index:10; background:#0b121a; border-bottom:1px solid #253443; padding-block:18px; }
.account-on .header-actions { display:flex; align-items:center; gap:12px; }
.account-on #manage-workspace { order:1; }
.account-on #manage-agents { order:2; }
.account-on #manage-account { order:3; }
.account-on .header-actions .language-switch { order:4; }
.account-on .header-actions .selected { color:#38bdf8; background:#152736; }
.account-on #manage-dialog[open] { display:block !important; position:static !important; inset:auto !important; width:min(1080px,calc(100% - 64px)) !important; max-width:1080px !important; height:auto !important; max-height:none !important; overflow:visible !important; margin:36px auto 64px !important; padding:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; background:transparent !important; }
.account-on #manage-dialog > .dialog-heading { position:static; background:transparent; padding:0 0 24px; border:0; }
.account-on #manage-dialog > .dialog-heading h2 { font-size:30px; line-height:1.3; }
.account-on #manage-dialog .dialog-actions,.account-on .account-nav,.account-on .rail,.account-on .intro { display:none !important; }
.account-on #manage-dialog main { display:block; padding:0 !important; width:100%; max-width:none; margin:0; }
.account-on #manage-dialog .workspace { display:block !important; width:100%; }
.account-on #manage-dialog .main-panel { padding:0 !important; width:100%; border:0; background:transparent; }
.account-on #account-projects,.account-on #leave-repo,.account-on .repo-breadcrumb,.account-on #repo-tab-agent { display:none !important; }
.account-on .repo-heading { padding:0 0 20px; margin:0; border:0; }
.account-on #repo-title { display:none; }
.account-on .repo-nav { display:flex; gap:24px; padding:0; margin:0 0 28px; border-bottom:1px solid #293847; }
.account-on .repo-nav button { border:0; border-radius:0; background:none; padding:12px 0; }
.account-on .repo-nav button.selected { color:#38bdf8; border-bottom:2px solid #38bdf8; }
.account-on .repo-content { padding:0; }
.account-on .context-heading { margin-top:24px; }
.account-on #context-view { border:1px solid #2b3c4b; border-radius:12px; padding:24px 32px; background:#101b26; }
.account-on #context-view dd { white-space:pre-wrap; line-height:1.85; font-size:15px; }
.account-on #context-view dt { display:none; }
.account-on #imported-source,.account-on #version-history { margin-top:20px; border:1px solid #293847; border-radius:10px; padding:16px; }
.account-on #proposal-compose { margin-top:28px; border:1px solid #293847; border-radius:10px; padding:18px 24px; }
.account-on #proposal-compose > summary { cursor:pointer; color:#38bdf8; font-weight:600; }
.account-on #proposal-compose[open] > summary { margin-bottom:24px; }
.account-on details.proposal-group { margin-top:24px; padding:16px; border:1px solid #293847; border-radius:10px; }
.account-on details.proposal-group > summary { cursor:pointer; }
.account-on #account-panel { max-width:620px; }
.account-on #account-box { border:1px solid #293847; border-radius:12px; padding:24px; background:#101b26; }
.account-on #empty-state > .onboarding-logo,.account-on #empty-state > h2,.account-on #empty-state > .onboarding-description { display:none; }
.account-on #empty-state .import-panel { width:100%; max-width:680px; margin:0 auto; }
.account-on #empty-state { padding:0; }
.account-on #create-form > h2 { display:none; }
.account-on .context-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.account-on .context-card { padding:24px; }
.account-on .context-card-open { font-size:20px; }
.account-on .agent-context-picker { display:block; max-width:420px; margin-bottom:24px; }
.account-on #agent-section .section-heading { margin-bottom:20px; }
.account-on .agent-steps { margin-bottom:24px; }
.account-on[data-workspace-page="agent"] .repo-nav,.account-on[data-workspace-page="agent"] .repo-heading { display:none !important; }
.account-on[data-workspace-page="account"] #context-list-panel,.account-on[data-workspace-page="account"] #agent-hub-panel,.account-on[data-workspace-page="account"] #active-state,.account-on[data-workspace-page="account"] #empty-state { display:none !important; }
.account-on #version-distribution { margin-top:24px; border:1px solid #293847; border-radius:12px; }
.account-on #version-distribution > summary { display:list-item !important; padding:18px; cursor:pointer; }
.account-on #version-distribution .journey,.account-on #version-distribution .source-column,.account-on #version-distribution .wire,.account-on #version-distribution .change-card { display:none; }
.account-on #version-distribution .handoff-stage { display:block; padding:20px; }
.account-on #version-distribution .recipient-column { max-width:560px; }
.account-on #version-distribution .recipient-top,.account-on #version-distribution .recipient-role { display:none; }
.account-on #handoff-records-link { margin-top:20px; }
@media(max-width:700px) {
  .account-on .deck-header { position:static; flex-wrap:wrap; gap:16px; padding:16px 20px; }
  .account-on .header-actions { flex-wrap:wrap; gap:8px; width:100%; }
  .account-on #manage-dialog[open] { width:calc(100% - 40px) !important; margin:24px auto 40px !important; }
  .account-on #manage-dialog > .dialog-heading h2 { font-size:26px; }
  .account-on .context-cards { grid-template-columns:1fr; }
  .account-on #context-view { padding:20px; }
  .account-on #context-view dd { font-size:14px; overflow-wrap:anywhere; }
  .account-on .repo-heading-actions { flex-wrap:wrap; }
  .account-on .agent-steps { grid-template-columns:1fr; }
}
.account-on #manage-dialog .workspace { border:0 !important; border-radius:0; background:transparent !important; min-height:0 !important; overflow:visible; }
.account-on #context-view > div { display:block; padding:0; }
.account-on #context-view dd { margin:0; max-width:none; }
.account-on #context-list-panel { background:transparent; }
.account-on .repo-nav button.selected { box-shadow:none; }
.account-on .context-card small { color:#8fa6b9; font-size:12px; }

/* Wait for account identity before choosing the public demo or workspace. */
.auth-pending #workbench { display:none !important; }
.auth-pending #manage-workspace { visibility:hidden; }

.auth-pending #manage-dialog { visibility:hidden; }
.account-on.projects-pending #empty-state { display:none !important; }
