/* Shared reading typography and controls. The old Project corridor is not part of this application. */
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background){--work-gutter:24px;--work-gap:32px;--work-nav-size:18px;--work-nav-active-size:clamp(84px,8vw,128px);--work-header-space:calc(var(--work-nav-active-size)*1.1 + 48px);color-scheme:light;color:var(--vi-ink);background:var(--vi-surface);font-family:var(--vi-font-ui);font-synthesis:none}
html[data-case-active]{--work-gutter:24px;--work-gap:32px;--work-nav-size:18px;--work-nav-active-size:clamp(84px,8vw,128px);--work-header-space:calc(var(--work-nav-active-size)*1.1 + 48px);}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background),:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) *{box-sizing:border-box}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background){margin:0;-webkit-font-smoothing:antialiased}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) a{color:inherit;text-decoration:none}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) button{font:inherit;color:inherit}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background)[hidden],:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) [hidden]{display:none!important}
html[data-case-active]{scroll-padding-top:var(--work-header-space)}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .case-title:focus{outline:none}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-heading h1{text-wrap:balance}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-kicker{color:var(--vi-text-secondary)}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-media video{background:var(--vi-conversation)}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-image-link{cursor:zoom-in}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-media figcaption{align-items:baseline}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-media figcaption>span:first-child{font-variant-numeric:tabular-nums}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-duration{margin-left:auto;flex-shrink:0}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-statement{max-width:510px;font-weight:400}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-description h2{font-weight:500;line-height:1.4}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-facts{font-size:16px;line-height:1.5}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-facts-column{text-align:left}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-resources{line-height:20px}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-resources :is(a,button){display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:none;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-resources .vi-icon{width:16px;height:16px}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-resources:empty{display:none}
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-resources :is(a,button):hover{color:var(--vi-focus)}
@media(min-width:961px){:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) .work-resources :is(a,button){align-items:flex-end}}
@media(min-width:1700px){:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background){--work-gutter:32px;--work-gap:40px}
html[data-case-active]{--work-gutter:32px;--work-gap:40px}}
@media(max-width:960px){:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background){--work-gutter:22px;--work-nav-active-size:clamp(52px,8vw,76px)}
html[data-case-active]{--work-gutter:22px;--work-nav-active-size:clamp(52px,8vw,76px)}}
@media(max-width:679px){:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background){--work-nav-active-size:clamp(36px,8.8vw,56px);--work-nav-size:16px}
html[data-case-active]{--work-nav-active-size:clamp(36px,8.8vw,56px);--work-nav-size:16px}}
@media(prefers-reduced-motion:reduce){:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background),:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) *,
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) *::before,
:where(.case-view,.case-image-viewer,.document-preview,.case-loading,.tag-note,.case-bridge-background) *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
