/* One final tablet geometry rule, after the older layout adapters. */
@media(min-width:760px) and (any-pointer:coarse){
 .editor-shell.editor-compact{--sc-timeline:clamp(240px,36dvh,320px)}
 .editor-shell.editor-compact .editor-workspace{
  grid-template-rows:minmax(0,1fr) var(--sc-timeline)!important;
 }
 /* This repeats the inspector action and consumed 44px above the timeline. */
 .editor-shell.editor-compact #editor-panel-timeline>button.shrink-0{display:none!important}
 .editor-shell.editor-compact [data-sc-timeline-toolbar]{
  height:48px!important;min-height:48px!important;gap:5px!important;
  padding:4px 8px!important;overflow-x:auto;overflow-y:hidden;flex-shrink:0;
 }
 .editor-shell.editor-compact #editor-panel-timeline [data-tour=timeline]{min-height:0;height:100%}
 .editor-shell.editor-compact [data-timeline-clip]{min-height:38px}
}
@media(max-width:759px){
 .editor-shell.editor-compact #editor-panel-timeline>button.shrink-0{display:none!important}
}

@media(min-width:760px) and (any-pointer:coarse){
 /* Old nth-child rules assumed the former, ungrouped control list. Their
    fixed + width/height:100% made Maximize a viewport-sized click blocker. */
 .editor-shell.editor-compact [data-preview-tools]{
  position:static!important;display:contents!important;
 }
 .editor-shell.editor-compact [data-preview-tools]::before{display:none!important}
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-mute,
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-aspect,
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-zoom,
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-view,
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-maximize{
  position:fixed!important;left:calc(var(--sc-left-edge) + 10px)!important;
  right:auto!important;bottom:auto!important;
  width:calc(var(--sc-left-width) - 20px)!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  min-width:0!important;max-width:calc(var(--sc-left-width) - 20px)!important;
  z-index:46!important;margin:0!important;
 }
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-mute{
  top:calc(var(--sc-work-top) + 110px)!important;width:44px!important;max-width:44px!important;
 }
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-aspect{
  top:calc(var(--sc-work-top) + 110px)!important;
  left:calc(var(--sc-left-edge) + 62px)!important;
  width:calc(var(--sc-left-width) - 72px)!important;
 }
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-zoom{top:calc(var(--sc-work-top) + 162px)!important}
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-view{top:calc(var(--sc-work-top) + 214px)!important}
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-maximize{
  top:calc(var(--sc-work-top) + 266px)!important;display:flex!important;align-items:center;justify-content:center;gap:7px;
 }
 .editor-shell.editor-compact .sc-preview-maximize::after{content:"Önizlemeyi büyüt";font-size:11px;font-weight:600;white-space:normal}
 html[lang=en] .editor-shell.editor-compact .sc-preview-maximize::after{content:"Large preview"}
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-view>summary{
  box-sizing:border-box;width:100%;height:44px;min-height:44px;
 }
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-aspect>button,
 .editor-shell.editor-compact [data-preview-tools]>.sc-preview-zoom>button{
  height:44px!important;min-height:44px!important;
 }
}

@media(min-width:760px) and (any-pointer:coarse){
 .editor-shell.editor-compact>.editor-workspace-tabs{
  top:calc(var(--sc-work-top) + 180px)!important;
  max-height:calc(var(--sc-stage-bottom) - var(--sc-work-top) - 192px)!important;
  padding-top:28px!important;box-sizing:border-box;
 }
 .editor-shell.editor-compact>.editor-workspace-tabs::before{top:0!important}
}
