.fc-lead-compact-nav{display:flex!important;align-items:center;gap:8px;overflow:visible!important;flex-wrap:wrap!important}
#fcLeadSectionSelect{min-width:min(320px,100%);min-height:38px;padding:7px 34px 7px 11px;border:1px solid #d8c9b7;border-radius:10px;background:#fff;color:#3f3026;font:650 13px system-ui}
@media(max-width:760px){.fc-lead-compact-nav>[data-lead-section]{display:none!important}#fcLeadSectionSelect{display:block;width:100%}}
@media(min-width:761px){.fc-lead-compact-nav>[data-lead-section]{display:none!important}}
#view-door-designer .card:has(#ddGraphic){display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
#view-door-designer #ddGraphic{min-height:min(68vh,720px);display:grid;place-items:center;overflow:hidden}
#view-door-designer #ddGraphic svg,#view-door-designer #ddGraphic>img{width:100%!important;height:min(68vh,720px)!important;max-height:none!important;object-fit:contain}
#view-door-designer #ddGraphic+*{margin-top:8px}
#view-door-designer #ddGraphic~small{font-size:11px}
#view-door-designer #ddGraphic~* .btn{min-height:34px;padding:7px 10px}
@media(min-width:1000px){#view-door-designer{max-width:none!important}#view-door-designer .dd-controls{grid-template-columns:repeat(3,minmax(0,1fr))!important}#view-door-designer .card:has(#ddGraphic){padding:12px!important}}

/* Desktop: half-screen, full-height door preview with vertical view controls. */
@media (min-width:1024px){
  #view-door-designer .dd-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;min-height:0}
  #view-door-designer .dd-live-preview{display:grid!important;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:auto minmax(0,1fr) auto;gap:8px 10px;height:100%;min-height:0;padding:10px!important}
  #view-door-designer .dd-preview-head{display:contents!important}
  #view-door-designer .dd-preview-head>div:first-child{grid-column:1;grid-row:1;align-self:center}
  #view-door-designer .dd-preview-head>div:has(#ddFrontBtn){grid-column:2;grid-row:1 / 4;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:7px!important;overflow:visible!important}
  #view-door-designer .dd-preview-head>div:has(#ddFrontBtn) button{width:100%;min-height:36px!important;padding:7px 8px!important;white-space:normal!important;text-align:center}
  #view-door-designer #ddGraphic{grid-column:1;grid-row:2;width:100%;height:100%;min-height:0!important;margin:0!important}
  #view-door-designer #ddGraphic svg,#view-door-designer #ddGraphic>img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
  #view-door-designer .dd-live-preview>p,#view-door-designer .dd-live-preview>small{grid-column:1;margin:0!important}
}
