/* One editor, with a readable identity that contracts when pinned. */
html body #deal-stage-nav{padding:12px 0 5px!important}
html body.salesdesk-sticky-mode #deal-stage-nav{transition:padding 200ms ease,box-shadow 200ms ease!important}
html body #deal-stage-nav .stage-nav-identity{display:block!important;min-width:0}
html body #deal-stage-nav .stage-nav-identity>strong{font-size:20px!important;font-weight:600!important;line-height:1.3!important;transition:font-size 200ms ease,line-height 200ms ease}
html body #deal-stage-nav .stage-nav-identity>small{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px;font-size:14px!important;font-weight:400!important;margin-top:4px!important;white-space:normal!important;transition:font-size 200ms ease,margin 200ms ease}
html body #deal-stage-nav .stage-nav-location::before{content:'·';margin-right:4px}
html body #deal-stage-nav.is-slim{padding:3px 0 1px!important}
html body #deal-stage-nav.is-slim .stage-nav-identity{display:flex!important;gap:4px 7px;align-items:center;flex-wrap:wrap}
html body #deal-stage-nav.is-slim .stage-nav-identity>strong,html body #deal-stage-nav.is-slim .stage-nav-identity>small{font-size:11px!important;font-weight:400!important;line-height:1.25!important;margin:0!important}
html body #deal-stage-nav.is-slim .stage-nav-identity>strong::after{content:'\00a0 ·';font-weight:400}
html body #deal-stage-nav .stage-nav-identity>small::before{content:none!important}
html body #deal-stage-nav[data-is-new=true] [data-view-stage]:disabled{opacity:1!important}
html body #deal-stage-nav[data-is-new=true] [data-view-stage]:disabled .stage-nav-node{background:var(--sd-canvas)!important;border:1px solid var(--sd-rule)!important;color:var(--sd-muted)!important;box-shadow:none!important;opacity:.55}
html body #deal-stage-nav[data-is-new=true] .stage-nav-arrows button:disabled{opacity:.3}
@media(prefers-reduced-motion:reduce){html body.salesdesk-sticky-mode #deal-stage-nav{transition:none!important}html body #deal-stage-nav .stage-nav-identity>strong,html body #deal-stage-nav .stage-nav-identity>small{transition:none}}

/* Keep assignment and document controls together; divide whole sections only. */
html body #deal-editor-content .documents-columns{align-items:start!important}
html body #deal-editor-content .document-column{justify-content:flex-start!important;gap:12px!important}
html body #deal-editor-content .document-column .documents-field{border:0!important;padding:0!important;margin:0!important;min-height:0!important}
html body #deal-editor-content .upload-permission{padding:10px 12px;margin:4px 0!important;background:var(--sd-stage);border-radius:8px}
html body #deal-editor-content [data-upload-permission][hidden]{display:none!important}
@media(max-width:600px){html body #deal-editor-content .document-column+.document-column{border-top:1px solid var(--sd-rule)!important;padding-top:20px!important;margin-top:8px!important}}
