/* Keep the technical reader and engineering controls usable on narrow and short displays. */
.longhorn-patent-experience :is(.lp-main,.lp-source-layout,.lp-catalog-grid,.lp-feature-copy,.lp-pdf-reader,.lp-hero-lower,.lp-deep-step),.lhiv-showcase,.lhil-scroll-container,.lhil-film {min-width:0}
.longhorn-patent-experience :is(a,button,input,select,summary):focus-visible,.lhil-scroll-home :focus-visible,.lhiv-showcase :focus-visible {outline:3px solid #8ccdde;outline-offset:3px}
@media(max-width:820px) {
 .lh6 :is(.lh6-button,.lh6-text-link,.lh6-more-projects,.lh6-dialog-close,.lh6-project-search,.lh6-exhibit-link) {min-height:44px}
 .lh6 :is(.lh6-project-search,select) {box-sizing:border-box;max-width:100%;font-size:16px}
 .longhorn-patent-experience :is(.lp-catalog-tools,.lp-pdf-toolbar,.lp-pdf-links,.lp-actions,.lp-reviewed-model-controls),.lhil-pdf-toolbar,.lhiv-heading {display:flex;align-items:center;flex-wrap:wrap;gap:8px}
 .longhorn-patent-experience :is(.lp-catalog-tools button,.lp-catalog-tools select,.lp-pdf-toolbar button,.lp-reviewed-model-controls button,.lp-pdf-links a),.lhil-pdf-toolbar :is(a,button,input),.lhiv-controls button,.lhil-scroll-chips a {min-height:44px}
 .longhorn-patent-experience :is(input[type=search],input[type=text],select),.lhil-pdf-toolbar input {font-size:16px;max-width:100%}
 .longhorn-patent-experience :is(.lp-patent-header,.lp-pdf-heading,.lp-source-ledger) {min-width:0;overflow-wrap:break-word}
 .longhorn-patent-experience .lp-pdf-viewport,.lhil-pdf-paper {height:clamp(190px,64svh,720px);min-height:0;overflow:auto;overscroll-behavior:contain}
 .lhil-pdf-paper object {min-height:100%}
 .lhil-scroll-home .lhil-scroll-actions,.lhil-scroll-home .lhil-scroll-hero-links {flex-wrap:wrap;gap:8px}
 .lhiv-track {overscroll-behavior-x:contain}
 .lhiv-showcase .lhiv-card {min-width:0;max-width:none;flex:0 0 min(82vw,350px)}
}
@media(max-width:520px) {
 .longhorn-patent-experience .lp-catalog-grid,.longhorn-patent-experience .lp-source-layout {grid-template-columns:minmax(0,1fr)}
 .longhorn-patent-experience .lp-catalog-tools>* {min-width:0;max-width:100%}
 .longhorn-patent-experience .lp-catalog-tools .lp-search {width:100%}
 .longhorn-patent-experience .lp-patent-header h1,.lhil-scroll-hero h1 {font-size:clamp(34px,10vw,54px);line-height:1.02;overflow-wrap:break-word}
 .lhil-catalog-detail .lhil-catalog-breakdown {padding:14px;gap:14px}
 .lhil-pdf .lhil-pdf-toolbar {align-items:flex-start;gap:6px}
 .lhil-pdf .lhil-pdf-toolbar>div {flex-wrap:wrap;max-width:100%}
 .lhil-scroll-container {padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .longhorn-patent-experience .lp-drawing-grid {grid-template-columns:repeat(auto-fit,minmax(min(125px,100%),1fr))}
 .lhil-builder :is(.form-table,fieldset,input,select,textarea),.lhil-builder .button {box-sizing:border-box;max-width:100%}
 .lhil-builder :is(input:not([type=checkbox]):not([type=radio]),select,.button) {min-height:44px}
}
@media(orientation:landscape) and (max-height:500px) {
 .lhil-film {--film-height:clamp(220px,75svh,400px)}
 .lhil-scroll-home .lhil-scroll-stage {position:relative;top:auto;height:auto;min-height:0}
 .lhil-pdf .lhil-pdf-paper,.longhorn-patent-experience .lp-pdf-viewport {height:58svh;min-height:120px}
}
@media(prefers-reduced-motion:reduce) {
 html:has(body.lhil-site-page),.lhiv-track,.lhil-scroll-home,.longhorn-patent-experience .lp-pdf-viewport {scroll-behavior:auto!important}
}
@media(forced-colors:active) {
 .lhil-pdf-toolbar :is(a,button),.lhiv-controls button,.longhorn-patent-experience .lp-button {border:1px solid ButtonText}
}
