/* mobile.css — мобильный слой «ВВАП Mobile» (подключается ТОЛЬКО при ширине ≤820px через media у <link>; десктоп не затрагивается). Раскладка: одна панель на экран + нижняя навигация (mobile.js). */
html,body{height:100%;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%}
body{padding-bottom:calc(60px + env(safe-area-inset-bottom));padding-top:env(safe-area-inset-top)}
button,select,input{min-height:36px}
.seg button{padding:7px 12px} .chk{min-height:32px}
/* верх: компактно */
.hrow{padding:4px 8px;gap:6px} .hrow-a{flex-wrap:wrap;min-height:0} .ha-left{gap:2px 8px} .brand .muted{display:none}
#quotes{display:flex;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;scrollbar-width:none;max-width:100%;font-size:11.5px} #quotes::-webkit-scrollbar{display:none}
.clock,.hints{display:none} .ha-right{gap:4px}
#panelbar{min-height:0;gap:6px;padding:4px 8px} #presets,#viewSeg,.hg-panels,.hints,.hrow-b .spacer,#panelbar .hgroup:has(#presets),#panelbar .hgroup:has(#viewSeg){display:none!important}
.hg-search{flex:1} .search{width:100%} .search input{width:100%}
/* одна панель на экран */
#grid{display:block;padding:6px 6px 0;overflow:hidden;flex:1;min-height:0} #grid>*{display:none}
.split{display:none!important} #pBottom{display:none!important}
body[data-mtab="list"] #pLeft{display:flex;height:100%}
body[data-mtab="chart"] #pCenter{display:grid;height:100%;grid-template-rows:minmax(300px,56%) minmax(150px,1fr)!important}
body[data-mtab="sectors"] #pRight,body[data-mtab="feed"] #pRight{display:grid;height:100%;grid-template-rows:1fr!important}
body[data-mtab="sectors"] #pFeed,body[data-mtab="feed"] #pSectors{display:none}
/* таблица: горизонтальная прокрутка, плотные строки под палец */
.tablewrap{overflow:auto;-webkit-overflow-scrolling:touch} table.grid td,table.grid th{padding:7px 8px;white-space:nowrap}
.filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none} .filters::-webkit-scrollbar{display:none}
.phead{padding:6px 8px} #tabs{overflow-x:auto;max-width:100%}
/* кокпит */
.cockpit{padding:6px} .lane{grid-template-columns:1fr!important;gap:8px;padding:8px} .wheelbox{order:3} .cchart{min-height:190px}
.cktools{flex-wrap:wrap} .ckbar{flex-wrap:nowrap;overflow-x:auto} .dlg{min-width:0;width:94vw}
.realbar .rlog{max-height:120px} .realbar table.grid{font-size:10.5px}
#toast{bottom:calc(72px + env(safe-area-inset-bottom))}
/* нижняя навигация */
#mnav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:var(--chrome2);border-top:1px solid var(--chrome-line);padding-bottom:env(safe-area-inset-bottom)}
#mnav button{flex:1;border:0;border-radius:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:56px;font-size:10.5px;padding:4px 0}
#mnav button .i{font-size:19px;line-height:1} #mnav button.on{color:var(--text);background:var(--sel);box-shadow:inset 0 2px 0 var(--accent)}
#msheet{position:fixed;inset:0;z-index:70;display:none;background:rgba(0,0,0,.5)} #msheet.open{display:block}
#msheet .sh{position:absolute;left:0;right:0;bottom:0;background:var(--panel);border-top:1px solid var(--line2);border-radius:14px 14px 0 0;padding:10px 12px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}
#msheet .sh button{text-align:left;padding:12px;font-size:16px;min-height:48px} #msheet .sh .t{color:var(--muted);font-size:12px;padding:0 4px}
#msheet .sh button.real{background:var(--real);border-color:var(--real-hi);color:var(--real-fg);font-weight:700}
/* фильтры списка: каждая группа — одна строка с прокруткой вбок (иначе чипы съедают экран) */
.filters .fgroup{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px} .filters .fgroup::-webkit-scrollbar{display:none}
.filters .fgroup>*{flex:none} .filters .fgroup .lbl{min-width:0;position:sticky;left:0;background:var(--panel);padding-right:6px;z-index:1}
.filters{gap:4px;padding:6px 8px}
#tabs{display:flex;overflow-x:auto;scrollbar-width:none} #tabs button{white-space:nowrap;padding:6px 9px;font-size:12px}
.phead .spacer{display:none} #listInfo{width:100%}
.hg-tools button{padding:4px 8px}
.hg-tools{display:none!important} .ha-right{display:none}
