/* Scoped to the native New Project panel. No global form, theme, or navigation changes. */
#newPanel{padding:clamp(16px,2vw,26px);box-sizing:border-box}
#newPanel>h2{margin:0 0 20px;line-height:1.25}
#newPanel #newForm{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start!important;gap:16px 20px!important;width:100%;min-width:0;margin:0}
#newPanel #newForm>label,#newPanel #newForm #dg2434NewLegalFields>label{display:flex;flex-direction:column;gap:7px;min-width:0;width:100%;margin:0!important;line-height:1.4}
#newPanel #newForm>label:has(select[name="mode"]){grid-column:1/-1}
#newPanel #newForm input,#newPanel #newForm select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0!important}
#newPanel #newForm #dg2434NewLegalFields,#newPanel #newForm #dg2442ITIntro{grid-column:1/-1;min-width:0;margin:0!important;padding:16px;border:1px solid rgba(136,164,205,.28);border-radius:12px;background:rgba(6,13,28,.2);overflow-wrap:anywhere}
#newPanel #newForm #dg2434NewLegalFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;align-items:start}
#newPanel #newForm #dg2434NewLegalFields>p,#newPanel #newForm #dg2434NewLegalFields>[data-dg2434-attorney]{grid-column:1/-1;margin:0!important}
#newPanel #newForm .dg2442-actions{display:flex;grid-column:1/-1;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:4px}
#newPanel #newForm .dg2442-actions button{min-height:44px;min-width:88px;margin:0!important}
#newPanel #newForm [hidden]{display:none!important}
@media(max-width:620px){#newPanel #newForm,#newPanel #newForm #dg2434NewLegalFields{grid-template-columns:minmax(0,1fr)}#newPanel #newForm .dg2442-actions button{flex:1 1 0}}
