/* Dragon | DAW v0.7.23.6 — wide editorial workspace (presentation-only). */
@media (min-width: 1050px){
 main{max-width:min(98vw,2340px)!important;width:100%!important;padding-inline:clamp(12px,1vw,24px)!important}
 #filmPanel .film-workspace,#filmPanel .am-shell,#dgsbBoard{min-width:0}
}
#filmPanel .am-sources{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));align-items:stretch;max-height:none;overflow:visible}
#filmPanel .am-source{min-width:0;overflow-wrap:anywhere}
#filmPanel .am-source .am-source-title{display:flex;flex-direction:column;gap:2px}
#filmPanel .am-source .am-assign-form select{min-width:0;width:100%;max-width:100%}
#filmPanel .am-source .am-assign-form{align-items:stretch}
#filmPanel .am-source .am-source-tools{display:flex;flex-wrap:wrap;gap:4px}
#dgsbBoard .dgsb-scenegrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:12px}
#dgsbBoard .dgsb-scene{min-width:0}
#dgsbBoard .dgsb-poster{aspect-ratio:16/9;overflow:hidden}
#dgsbBoard .dgsb-card-content{padding:11px;gap:7px}
#dgsbBoard .dgsb-card-content h4{font-size:15px;overflow-wrap:anywhere}
#dgsbBoard .dgsb-shot{grid-template-columns:1fr;gap:6px}
#dgsbBoard .dgsb-visual{width:100%;max-height:175px}
#filmPanel .dgnav-catalog-filter label:first-child{flex:1 1 280px}
#filmPanel .dgnav-catalog-filter label:first-child input{width:100%;max-width:none}
#filmPanel #dgnavCatalogCount{flex:1 1 230px;text-align:right}
/* Keep theatrical poster art in project settings; condense only while editing a project. */
body:has(#editorPanel:not([hidden])) #projectList{grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));gap:9px}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-project{grid-template-columns:minmax(135px,210px) minmax(0,1fr);grid-template-rows:repeat(4,auto);padding:9px;column-gap:12px;min-height:120px}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-cardposter{min-height:0;max-height:120px;height:120px;align-self:start;aspect-ratio:16/9;grid-row:1/span 5}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-cardposter img{height:120px;width:100%;aspect-ratio:16/9;object-fit:cover}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-blank{min-height:0;aspect-ratio:16/9;padding:7px;gap:2px}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-cardcopy{padding:10px 5px 4px;bottom:18px}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-cardcopy strong{font-size:12px;line-height:1.1}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-cardcopy p,body:has(#editorPanel:not([hidden])) #projectList .dg7221-cardcopy small{display:none}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-project>h3{font-size:16px;margin:0 0 3px}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-project>p{display:none}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-project .actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px;margin:5px 0 0}
body:has(#editorPanel:not([hidden])) #projectList .dg7221-project .actions button{font-size:12px;padding:5px 8px}
@media(min-width:1870px){#dgsbBoard .dgsb-scenegrid{grid-template-columns:repeat(6,minmax(0,1fr))}#filmPanel .am-sources{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:900px){#filmPanel .am-sources,#dgsbBoard .dgsb-scenegrid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}}
@media(max-width:560px){#filmPanel .am-sources,#dgsbBoard .dgsb-scenegrid{grid-template-columns:minmax(0,1fr)}#filmPanel #dgnavCatalogCount{text-align:left}body:has(#editorPanel:not([hidden])) #projectList .dg7221-project{grid-template-columns:36% minmax(0,1fr)}}
