/* Exact Project deep-link form only. The existing dialog body scroll is retained. */
@media screen {
 .dash-editor[data-project-editor-compact] .sg-project-editor-top { flex:none;align-items:center;gap:6px;margin:0 0 8px;padding:0 0 6px }
 .dash-editor[data-project-editor-compact] .sg-project-editor-top .dash-editor-heading-main { gap:6px;min-width:0 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-top h2 { font-size:16px;line-height:1.3;margin:0 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-top .dash-primary-actions { gap:4px;flex:none;flex-wrap:nowrap }
 .dash-editor[data-project-editor-compact] .sg-project-editor-top .dash-primary-actions button { min-height:34px;padding:4px 8px;font-size:13px;white-space:nowrap }
 .dash-editor[data-project-editor-compact] .sg-project-editor-areas { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:start;min-width:0 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-area { min-width:0;border:1px solid #e0e6ee;border-radius:8px;margin:0;padding:8px }
 .dash-editor[data-project-editor-compact] :is(.sg-project-editor-area>legend,.sg-project-editor-area>h3) { font-size:13px;line-height:1.35;font-weight:600;margin:0 0 4px }
 .dash-editor[data-project-editor-compact] .sg-project-editor-attachment { grid-column:1/-1 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-areas .dash-form { gap:6px;grid-template-columns:repeat(2,minmax(0,1fr)) }
 .dash-editor[data-project-editor-compact] .sg-project-editor-areas .dash-form input,
 .dash-editor[data-project-editor-compact] .sg-project-editor-areas .dash-form select { min-height:34px;padding:5px 6px }
 .dash-editor[data-project-editor-compact] .sg-project-editor-notes { box-sizing:border-box;width:100%;min-height:84px;max-height:140px;padding:6px 8px;resize:vertical;overflow:auto;font:inherit }
 .dash-editor[data-project-editor-compact] .sg-project-editor-note-view { max-height:132px;overflow:auto;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-gutter:stable }
 .dash-editor[data-project-editor-compact] .sg-project-editor-facts { margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;line-height:1.35 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-facts div:first-child { grid-column:1/-1 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-facts dt { font-weight:600 }
 .dash-editor[data-project-editor-compact] .sg-project-editor-facts dd { margin:0;overflow-wrap:anywhere }
 .dash-editor[data-project-editor-compact] .sg-project-editor-attachment>.dashboard-attachments { margin:0 }
 .dash-editor[data-project-editor-compact] :is(.sg-project-editor-top button,.sg-project-editor-area textarea,.sg-project-editor-note-view):focus-visible { outline:2px solid #315d92;outline-offset:-2px }
}
@media screen and (max-width:600px) {
 .dash-editor[data-project-editor-compact] .sg-project-editor-areas { grid-template-columns:minmax(0,1fr) }
 .dash-editor[data-project-editor-compact] .sg-project-editor-top .dash-editor-icon { display:none }
 .dash-editor[data-project-editor-compact] .sg-project-editor-top .dash-primary-actions button { min-height:44px }
}

