/* Short landscape screens retain the phone controls, regardless of width. */
@media(orientation:landscape) and (max-height:540px){
 body.landscape-layout{--jb-header:52px}
 body.landscape-layout>header{height:52px!important;min-height:52px!important;padding-block:0!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
 body.landscape-layout.model-view #focus{left:50%!important;right:auto!important;top:auto!important;bottom:max(12px,env(safe-area-inset-bottom))!important;transform:translate(-50%,var(--sheet-drag,0px))!important;width:336px!important;min-width:0!important;max-width:calc(100vw - 32px)!important;min-height:100px!important;max-height:112px!important;padding:14px 18px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:0 12px!important;overflow:hidden!important;background:#f2f2f2!important;border:1px solid #d1d2c8!important;border-radius:0!important}
 body.landscape-layout.model-view #focus[data-sheet=hidden]{opacity:0;pointer-events:none;transform:translate(-50%,calc(100% + 40px))!important}
 body.landscape-layout.model-view #focus #number{grid-column:1;grid-row:1;font-size:12px;line-height:1.3;margin:0 0 4px}
 body.landscape-layout.model-view #focus h1{grid-column:1;grid-row:2;font-size:20px!important;line-height:1.15;margin:0 0 5px!important;padding:0!important;letter-spacing:-.5px}
 body.landscape-layout.model-view #focus #category{grid-column:1;grid-row:3;font-size:11px;line-height:1.3;margin:0}
 body.landscape-layout.model-view #focus #more{grid-column:2;grid-row:2;align-self:center;min-height:36px!important;width:auto!important;min-width:0;padding:0 9px!important;margin:0;font-size:12px!important;gap:7px;background:#fff;border:0}
 body.landscape-layout.model-view #focus :is(.project-story,#area){display:none!important}
 body.landscape-layout.model-view #back{left:auto!important;right:max(16px,env(safe-area-inset-right))!important;top:62px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:grid!important;place-items:center;border:0;border-radius:50%;background:#f1f1f1}
 body.landscape-layout.model-view #back .back-label{display:none}
 body.landscape-layout.model-view #back .back-cross{display:block}
 body.landscape-layout #main-nav{top:52px!important}
}

/* Compact model information without changing desktop camera controls. */
body.model-view #focus{width:320px!important;max-width:calc(100vw - 32px)!important;padding:12px 16px!important;min-height:0!important}
body.model-view #focus h1{font-size:20px!important;line-height:1.2!important}
body.model-view #focus #more{min-height:40px!important;font-size:12px!important;padding:0 10px!important}
