/* Native-only layout adaptations. All anatomy colours and image geometry are shared. */
html{background:#101516;-webkit-text-size-adjust:100%}body{padding-bottom:12px}
.header{position:sticky;top:0;z-index:10;background:#101516;gap:24px;padding-left:18px;padding-right:18px;min-height:64px;height:auto}
.coronary-page .header{height:auto;min-height:64px}
.coronary-page .header nav{height:auto}
.header .brand{white-space:nowrap}.header nav{gap:2px;min-height:64px}
.header nav a.modality{min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 14px}
.native-about{color:#a8c8c3;margin-left:auto;font-size:12px;min-width:44px;min-height:44px;flex-shrink:0}
button,.quiet,.visibility,.iconbutton{min-height:44px}.iconbutton,.slice-counter button,.step-controls button{min-width:44px;min-height:44px}
select,input[type=search]{min-height:44px;font-size:16px!important}input[type=range]{min-height:28px;margin:4px 0}
#slice{touch-action:none}.slice-counter{margin-bottom:8px}.slice-tools{margin-top:12px}
.panelhead{min-height:64px;height:auto}.segmented button{min-width:44px;font-size:11px}
.source-dialog,dialog{max-height:85dvh;overflow:auto}.quiz-dialog{max-height:92dvh}
@media(max-width:600px){
 .header,.knee-page .header,.browse-page .header{padding:0 12px;gap:8px;flex-wrap:wrap}
 .header .brand{font-size:16px;gap:8px}.header nav a.modality,.knee-page .header nav a.modality,.browse-page .header nav a.modality{padding:10px;font-size:12px}
 .header .brand svg{width:22px}.native-about{font-size:11px}
 main{padding:20px 12px 0}.pageheading{align-items:flex-start}.titleline h1 small{display:block;margin:6px 0 0}
 .workspace,.knee-page .workspace{display:flex;flex-direction:column;height:auto;min-height:0}
 .slice-panel{order:0;border-right:0}.sidebar{order:1;border-right:0}.model-panel{order:2}
 .slice-view,.knee-page .slice-view{height:390px;min-height:320px;flex:none}
 #model{height:390px;min-height:320px;flex:none}
 .sidebar,.knee-page .sidebar{overflow:visible}.anatomy,.knee-page .anatomy{max-height:none!important;overflow:visible!important}
 .sidebar-bottom,.anatomy>a,.detail-fact{display:block}.sidebar-bottom{padding-top:14px}
 .sidebar #organ-list{display:block;max-height:280px;overflow:auto;flex:none}
 .organ-select{font-size:13px}.organ-select small{font-size:11px}
 .anatomy p,.anatomy em{font-size:13px;line-height:1.7}.anatomy p{margin-bottom:14px}
 .panelhead{padding:8px}.slice-controls{padding:12px}.slice-hint{font-size:9px;right:10px}
 .scan-position{left:10px}.atlas-meta{display:none}.case-navigation{gap:6px}
 .case-switch>button{min-width:94px}.case-switch img{display:none}
 .quiz-grid{display:block}.quiz-image canvas{max-height:38dvh}.quiz-dialog{padding:16px;width:calc(100vw - 20px)}
 .viewer-panel{height:600px}.zoom-tools{width:44px}.zoom-tools button{height:44px}
}
@media(max-width:365px){.header nav{order:3;width:100%;justify-content:space-around;min-height:44px}.header{padding-top:8px}}

.website-links{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding:24px 16px;color:#a8c8c3;font-size:12px}.website-links a{color:inherit;text-decoration:none;min-height:24px}
