/* Actual text fit, not scrollbar concealment. The film viewport alone clips
   off-screen scenes, while the reading surface has neither scroll axis. */
#studio-app .scene-app:not([data-scene=karya])>.scene-content>.scene-copy,
#studio-app:not([data-scene=karya])>.scene-content>.scene-copy{
 width:min(100%,clamp(350px,43vw,605px));max-height:none;min-width:0;
 margin-top:0;padding-inline-end:10px;overflow:visible;container-type:inline-size;
}
.scene-copy :is(h1,.lead,.eyebrow,.deliverable,.case-kind){max-inline-size:100%;overflow-wrap:anywhere}
#studio-app .scene-app:not([data-scene=karya])>.scene-content>.scene-copy h1,
#studio-app:not([data-scene=karya])>.scene-content>.scene-copy h1{
 font-size:clamp(31px,min(5.6vw,9.3dvh),73px);
 font-size:clamp(31px,min(12.6cqi,9.3dvh),73px);
 line-height:.98;text-wrap:balance;letter-spacing:-.061em;
}
#studio-app .console-controls{min-inline-size:0;max-inline-size:100%}
#studio-app :is(.context-nav,.dock){max-inline-size:100%;flex-wrap:wrap;overflow:visible}
#studio-app .panel :is(h2,h3,p,dd,label,.panel-tabs button){overflow-wrap:anywhere;min-inline-size:0}
#studio-app .panel .panel-body{overflow-x:hidden}
#studio-app .panel .panel-tabs:not([hidden]){overflow:visible;min-width:0}
@media(max-width:760px){
 #studio-app .scene-app:not([data-scene=karya])>.scene-content>.scene-copy,
 #studio-app:not([data-scene=karya])>.scene-content>.scene-copy{width:min(100%,440px);padding-inline-end:5px}
 #studio-app .scene-app:not([data-scene=karya])>.scene-content>.scene-copy h1,
 #studio-app:not([data-scene=karya])>.scene-content>.scene-copy h1{
  font-size:clamp(27px,min(10.6vw,8.5dvh),53px);
  font-size:clamp(27px,min(13.1cqi,8.5dvh),53px);
 }
}
@media(max-height:600px){
 #studio-app .scene-app:not([data-scene=karya])>.scene-content,
 #studio-app:not([data-scene=karya])>.scene-content{padding-bottom:clamp(6px,2.8dvh,18px)}
 .scene-copy .lead{line-height:1.4}
}
@media(max-height:380px) and (orientation:landscape){
 #studio-app .scene-app:not([data-scene=karya])>.scene-content>.scene-copy,
 #studio-app:not([data-scene=karya])>.scene-content>.scene-copy{width:min(100%,455px)}
 #studio-app .scene-app:not([data-scene=karya])>.scene-content>.scene-copy h1,
 #studio-app:not([data-scene=karya])>.scene-content>.scene-copy h1{font-size:clamp(25px,7dvh,36px)}
}
