/* Mobile Chromium highlights programmatic focus on section containers with a
   viewport-wide blue frame. The container is not a control; retain focus marks
   on all actual controls and the skip link. */
#scene-content:focus,#scene-content:focus-visible{outline:none}
#studio-app :is(.dock,.context-nav,.karya-index,.mast,.scene-copy) :is(button,a):focus-visible,
#studio-app .skip:focus-visible{outline:2px solid #edf2dc;outline-offset:3px}
#scene-panel .case-facts,#scene-panel .case-credits{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
#scene-panel :is(.case-facts,.case-credits)>div{min-width:0;border-top:1px solid var(--panel-line);padding:7px 0}
#scene-panel :is(.case-facts,.case-credits) dt{font:10px/1.3 Instrument,Arial,sans-serif;color:var(--panel-muted)}
#scene-panel :is(.case-facts,.case-credits) dd{margin:2px 0 0;font:500 13px/1.25 Instrument,Arial,sans-serif;overflow-wrap:anywhere}
#scene-panel .case-summary{margin:0;max-width:56ch}
#scene-panel .case-technical{display:grid;gap:9px}
#scene-panel .case-technical section+section{border-top:1px solid var(--panel-line);padding-top:9px}
#scene-panel .case-technical h3{font-size:clamp(14px,2vw,19px);margin:0 0 4px}
#scene-panel .case-technical p{font-size:12px;line-height:1.42;margin:0}
#scene-panel .editorial-drawing{min-height:37px;display:inline-flex;align-items:center;gap:8px;padding:5px 0;margin:4px 0 0;border:0;background:none;color:var(--panel-ink);text-decoration:underline;text-underline-offset:4px}
#scene-panel .editorial-drawing svg,#scene-panel .case-expand svg{width:18px;height:18px;aspect-ratio:1;flex:none}
#scene-panel .case-visual-launch{display:grid;align-items:center;position:relative;width:100%;flex:1;min-height:0;padding:0;border:0;border-radius:4px;background:#d0dccb;overflow:hidden;cursor:zoom-in}
#scene-panel .case-visual-launch img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
#scene-panel .case-expand{position:absolute;z-index:1;right:8px;bottom:8px;display:flex;align-items:center;gap:5px;border-radius:999px;padding:6px 10px;background:#16221de8;color:#f3f5eb;font:11px/1.15 Instrument,sans-serif}
#scene-panel .case-visual-figure{min-height:128px}
#scene-panel .case-visual-figure figcaption{padding:9px 0 0;color:var(--panel-ink)}
#scene-panel .case-visual-figure figcaption h3{margin:0 0 3px;font-size:clamp(13px,1.2vw,16px);line-height:1.25;font-weight:500}
#scene-panel .case-visual-figure figcaption p{margin:0;max-width:60ch;font-size:12px;line-height:1.36}
#scene-panel .case-visual-figure figcaption small{display:block;margin:4px 0 0;font-size:10px;line-height:1.25;color:var(--panel-muted)}
@media(max-height:480px){#scene-panel .case-visual-figure{min-height:111px}#scene-panel .case-visual-figure figcaption{padding-top:5px}#scene-panel .case-visual-figure figcaption p{font-size:11px}}
@media(max-width:410px){
 #scene-panel :is(.case-facts,.case-credits){gap:0 11px}
 #scene-panel :is(.case-facts,.case-credits)>div{padding-block:5px}
 #scene-panel :is(.case-facts,.case-credits) dd{font-size:12px}
 #scene-panel .case-visual-figure figcaption{font-size:10px}
 #scene-panel .case-technical{gap:7px}
 #scene-panel .case-expand{font-size:10px}
}
.mast-tools{display:flex;align-items:center;justify-content:end;gap:15px;min-width:0}
@media(max-width:760px){
 #studio-app>.mast{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}
 .mast-tools{gap:0}.mast-tools .mast-place{display:none}
 #studio-app .mast .route-label{font-size:8px;max-width:27vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.panel-tools{display:flex;align-items:center;align-self:start;gap:8px}
#scene-panel .panel-tools .language-switch{background:#536b4212;color:var(--panel-ink);border:0}
#scene-panel .panel-tools .language-switch button{color:var(--panel-muted)}
#scene-panel .panel-tools .language-switch button[aria-pressed=true]{color:var(--panel-ink);background:#536b4228}
#scene-panel[data-karya-detail=true] .panel-tabs{gap:9px}
#scene-panel .panel-tools .close-button{flex:none}
@media(max-width:385px){
 #scene-panel[data-karya-detail=true] .case-facts>div{padding-block:4px}
 #scene-panel[data-karya-detail=true] .case-facts dd{font-size:11px;line-height:1.27}
 #scene-panel[data-karya-detail=true] .case-summary{font-size:12px;line-height:1.4}
}

/* The active photograph and its editorial chapter travel on the same film rail. */
#studio-app[data-scene=project]>.scene-content,#studio-app>.roll-film[data-scene=project]>.scene-content{padding-bottom:clamp(10px,4.2dvh,52px)}
#studio-app .case-chapter{max-width:38rem;color:var(--ivory)}
#studio-app .case-chapter h1{margin:0 0 clamp(12px,3dvh,28px);font-size:clamp(33px,min(12cqi,9.3dvh),68px);text-align:left;text-wrap:wrap}
#studio-app .case-chapter .eyebrow{margin:0 0 8px;color:#d7e0cc}
#studio-app .case-chapter h2{margin:0 0 5px;font:500 clamp(17px,1.9vw,25px)/1.2 Instrument,Arial,sans-serif;letter-spacing:-.025em;text-wrap:pretty}
#studio-app .case-chapter .lead{margin:0;max-width:48ch;color:#ebeee4}
#studio-app .case-chapter>small{display:block;margin-top:8px;color:#ced8c7;font:400 10px/1.3 Instrument,Arial,sans-serif}
.case-chapter__links{display:flex;flex-wrap:wrap;gap:0 clamp(9px,1.5vw,22px);margin-top:clamp(4px,1.6dvh,16px)}
.case-chapter__link{display:inline-flex;align-items:center;gap:5px;min-height:40px;padding:0 0 2px;border:0;background:none;color:#ecf0e2;font:500 12px/1.25 Instrument,Arial,sans-serif;text-align:left}
.case-chapter__link:hover{text-decoration:underline;text-underline-offset:4px}
.case-chapter__link svg{width:15px;height:15px;flex:none;stroke-width:1.2px}
#studio-app[data-scene=project] .scene-meta :is(.visual-caption,#scene-number){display:none}
#studio-app[data-scene=project][data-single-image=true] .scene-meta .gesture-copy{display:none}
#studio-app[data-scene=project] .scene-meta .gesture-copy{grid-column:1/-1}
#studio-app[data-scene=project]>.stage>.shade,#studio-app>.roll-film[data-scene=project] .shade{background:linear-gradient(90deg,#101711ed 0%,#101711a8 30%,#10171121 65%,transparent 83%),linear-gradient(0deg,#101711dd,transparent 37%),linear-gradient(180deg,#10171188,transparent 20%)}
#scene-panel .case-technical{margin-top:3px}
#scene-panel .case-technical:empty{display:none}
@media(max-width:760px){
 #studio-app[data-scene=project]>.scene-content,#studio-app>.roll-film[data-scene=project]>.scene-content{padding-bottom:clamp(6px,2.2dvh,19px)}
 #studio-app .case-chapter h1{margin-bottom:10px;font-size:clamp(30px,min(11cqi,7.2dvh),49px)}
 #studio-app .case-chapter .eyebrow{margin-bottom:4px}
 #studio-app .case-chapter h2{font-size:clamp(15px,4.6vw,20px)}
 #studio-app .case-chapter>small{margin-top:5px;font-size:9px}
 .case-chapter__link{min-height:44px;font-size:11px;gap:2px}
 .case-chapter__link svg{width:13px;height:13px}
 #studio-app[data-scene=project]>.stage>.shade,#studio-app>.roll-film[data-scene=project] .shade{background:linear-gradient(0deg,#101711fa 0%,#101711ec 24%,#101711b9 38%,#10171124 64%,transparent 80%),linear-gradient(180deg,#10171188,transparent 17%)}
}
@media(max-height:430px) and (orientation:landscape){
 #studio-app .case-chapter h1{font-size:clamp(25px,8dvh,38px);margin-bottom:6px}
 #studio-app .case-chapter h2{font-size:15px;margin-bottom:3px}
 #studio-app .case-chapter .lead{font-size:12px;line-height:1.3}
 #studio-app .case-chapter>small{margin-top:3px;font-size:9px}
 .case-chapter__links{margin-top:0}.case-chapter__link{min-height:32px}
}
