﻿:root{color-scheme:light dark}
body[data-ryko-mobile] .mobile-demo{font-size:.76rem;color:var(--muted);padding:.25rem .65rem;border-bottom:1px solid var(--line)}
@media (max-width:900px), (pointer:coarse){
 body[data-ryko-mobile]{margin:0;max-width:100%;overscroll-behavior-x:none}
 body[data-ryko-mobile] main{width:100%;max-width:100%;padding-inline:max(.55rem,env(safe-area-inset-left));box-sizing:border-box}
 body[data-ryko-mobile] #ryko-topbar{position:sticky;top:0;z-index:30;max-width:100%;overflow:visible}
 body[data-ryko-mobile] #navigation{display:flex;max-width:100%;overflow:visible;flex-wrap:nowrap}
 body[data-ryko-mobile] .ryko-nav-family > summary{display:flex;align-items:center;min-height:36px}
 body[data-ryko-mobile] #navigation button{flex:0 0 auto;min-height:40px}
 body[data-ryko-mobile] :is(button,select,input,summary):focus-visible{outline-offset:2px}
 body[data-ryko-mobile] :is(input,select,textarea){max-width:100%;min-height:36px;font-size:16px;box-sizing:border-box}
 body[data-ryko-mobile] .panel{padding:.5rem;min-width:0}
 body[data-ryko-mobile] .chart-panel{max-width:100%;margin:0}
 body[data-ryko-mobile] .chart-menus{max-height:26dvh;overflow:auto;align-content:start}
 body[data-ryko-mobile].analysis-workspace #chart{min-height:0;touch-action:none}
 body[data-ryko-mobile] .scan-results{overflow-x:auto;max-width:100%;overscroll-behavior-inline:contain}
 body[data-ryko-mobile] .scan-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}
 body[data-ryko-mobile] :is(.workspace-actions,#scan-models,#advanced-alerts) fieldset{min-width:0}
 body[data-ryko-mobile] #study-dock{max-height:26dvh}
 body[data-ryko-mobile] #advanced-alerts textarea{width:min(100%,25rem)}
}
@media (orientation:landscape) and (max-height:550px){
 body[data-ryko-mobile].analysis-workspace .chart-menus{max-height:18dvh}
 body[data-ryko-mobile] #study-dock{max-height:21dvh}
}
