/* Six peer controls: equal columns and one centre line for circles and outcomes. */
html body #deal-stage-nav .stage-nav-timeline{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;align-items:center!important;gap:0!important;width:100%!important;padding:0!important;margin:0!important;min-height:44px!important}
html body #deal-stage-nav .stage-nav-timeline::before{left:8.333333%!important;right:8.333333%!important;top:50%!important;transform:translateY(-50%);height:1px!important}
html body #deal-stage-nav .stage-nav-timeline>button{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;min-width:0!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
html body #deal-stage-nav .stage-nav-node{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:0!important;line-height:1!important;position:relative;font-size:11px!important}
html body #deal-stage-nav .stage-nav-node.stage-nav-square{border-radius:5px!important}
/* Explicit full-page shell removes the former dual-pane layout contract. */
html body.deal-editor-page>.page{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:clamp(14px,2vw,28px)!important}
html body #deal-editor-shell{display:block!important;box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;grid-template-columns:none!important}
html body #deal-editor-content{display:block!important;box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;grid-column:auto!important}
html body #deal-editor-content>.form-panel,html body #deal-editor-content #deal-form{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html body #deal-editor-content #deal-form>details.stage-section{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:8px 0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body #deal-editor-content #deal-form>details.stage-section>.form-grid{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0 0 16px!important}
html body #deal-editor-content .documents-columns,html body #deal-editor-content .document-column{box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}
html body #deal-editor-content>.deal-stage-nav{margin-inline:0!important;padding-inline:0!important;width:100%!important}
html body #deal-editor-content>#attachments,html body #deal-editor-content>#updates{box-sizing:border-box;width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;border:0!important;border-top:1px solid var(--sd-rule)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html body #deal-editor-content .documents-field{padding-inline:0!important}
html body #deal-editor-content>#attachments h2,html body #deal-editor-content>#updates h2,html body #deal-editor-content .documents-field>strong{font-size:16px!important;color:var(--sd-purple)!important}
/* Shared navigation labels grow without altering the compact deal identity. */
html body .topbar .main-nav>a{font-size:15px!important}
html body #deal-editor-content .stage-nav-heading{gap:10px!important}
@media(max-width:600px){html body .topbar .main-nav>a{font-size:14px!important}html body #deal-editor-content .documents-columns{grid-template-columns:minmax(0,1fr)!important}}
