
:root{--bg:#edf4fb;--panel:rgba(255,255,255,.93);--panel-soft:rgba(247,250,255,.92);--text:#102038;--muted:#60728e;--border:rgba(148,163,184,.22);--accent:#2563eb;--accent2:#0f766e;--shadow:0 24px 80px rgba(15,23,42,.10);--up:#0f9f6e;--down:#dc2626}html.dark{--bg:#050505;--panel:rgba(16,16,16,.92);--panel-soft:#151515;--text:#f5f5f5;--muted:#a3a3a3;--border:rgba(255,255,255,.10);--accent:#60a5fa;--accent2:#2dd4bf;--shadow:0 24px 70px rgba(0,0,0,.45);--up:#34d399;--down:#f87171}*{box-sizing:border-box}html,body{margin:0;padding:0;max-width:100%;overflow-x:hidden;font-family:'Manrope',Segoe UI,system-ui,sans-serif;background:radial-gradient(circle at top left,rgba(59,130,246,.14),transparent 28%),radial-gradient(circle at 85% 0,rgba(20,184,166,.11),transparent 24%),linear-gradient(180deg,#f7fbff,#eef3fa 38%,#f5f8fd);color:var(--text)}html.dark,html.dark body{background:radial-gradient(circle at top left,rgba(59,130,246,.16),transparent 26%),radial-gradient(circle at 85% 0,rgba(45,212,191,.12),transparent 22%),linear-gradient(180deg,#050505,#0b0b0b 42%,#101010)}body{min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.modal-open{overflow:hidden}button,input,select,textarea{font:inherit}.surface{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);backdrop-filter:blur(16px)}.app{max-width:1700px;margin:0 auto;padding:16px;min-width:0;overflow-x:clip}.hero{display:grid;gap:12px;border-radius:32px;padding:18px 20px;background:linear-gradient(135deg,rgba(37,99,235,.18),rgba(15,118,110,.08),rgba(255,255,255,.96));position:relative;overflow:visible;z-index:40}.hero:after{content:"";position:absolute;right:-90px;bottom:-120px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.18),transparent 65%);pointer-events:none}.row{display:flex;align-items:center;gap:12px;min-width:0}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.eyebrow{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}.title{margin:0;font-size:clamp(1.7rem,3vw,2.7rem);font-weight:800;letter-spacing:-.06em;line-height:.96}.app-switch{display:inline-flex;align-items:center;gap:4px;padding:5px;border:1px solid rgba(148,163,184,.24);border-radius:20px;background:rgba(255,255,255,.72);max-width:100%}.app-switch-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border-radius:15px;padding:0 12px;text-decoration:none;font-size:13px;font-weight:800;color:var(--muted)}.app-switch-link.active{background:rgba(37,99,235,.12);color:var(--accent)}.meta{display:flex;gap:8px;flex-wrap:wrap;min-width:0}.meta-pill{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.72);font-size:12px;color:var(--muted);max-width:100%}.live-dot{width:8px;height:8px;border-radius:999px;background:#10b981;box-shadow:0 0 0 6px rgba(16,185,129,.12)}.avatar-wrap{position:relative;z-index:20}.avatar-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;padding:4px;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(255,255,255,.92));cursor:pointer}.avatar-btn::after{content:"";position:absolute;right:1px;bottom:1px;width:16px;height:16px;border-radius:999px;background:var(--accent);border:2px solid rgba(255,255,255,.95)}.avatar-btn img{width:100%;height:100%;border-radius:999px;object-fit:cover}.menu{position:fixed;left:50%;top:50%;z-index:80;width:min(1280px,calc(100vw - 42px));max-height:calc(100vh - 44px);display:grid;gap:14px;padding:18px 18px 20px;border-radius:30px;background:rgba(255,255,255,.98);border:1px solid var(--border);box-shadow:0 30px 90px rgba(15,23,42,.22);overflow:auto;opacity:0;pointer-events:none;transform:translate(-50%,-46%) scale(.96);transform-origin:center center;transition:opacity .18s ease,transform .18s ease}.menu.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.menu-profile{display:flex;gap:12px;align-items:center;padding:4px 4px 12px;border-bottom:1px solid var(--border)}.menu-profile img{width:58px;height:58px;border-radius:999px;object-fit:cover}.menu-name{font-size:15px;font-weight:800}.menu-user{margin-top:4px;font-size:12px;color:var(--muted)}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.label{display:grid;gap:6px;font-size:12px;color:var(--muted);font-weight:700;min-width:0}.field{width:100%;border:1px solid var(--border);border-radius:18px;padding:12px 14px;background:#fff;color:var(--text);min-width:0}.filters{display:grid;gap:10px;margin-top:18px;padding:14px;border-radius:24px;background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.2);position:relative;z-index:1;overflow:hidden}.filters-row{display:grid;grid-template-columns:260px 220px 220px minmax(0,1fr);gap:10px;align-items:end}.range-box{display:grid;gap:8px}.range-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);font-weight:700}.range{width:100%;appearance:none;height:6px;border-radius:999px;background:linear-gradient(90deg,rgba(37,99,235,.18),rgba(15,118,110,.18));outline:none}.range::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:999px;background:#fff;border:2px solid var(--accent)}.range::-moz-range-thumb{width:18px;height:18px;border-radius:999px;background:#fff;border:2px solid var(--accent)}.content{display:grid;gap:14px;margin-top:14px;position:relative;z-index:1}.content-shell{position:relative;min-width:0;z-index:1}.grid-loader{position:absolute;inset:52px 0 0;z-index:9;display:flex;align-items:flex-start;justify-content:center;padding:18px 0 0;background:linear-gradient(180deg,rgba(237,244,251,.78),rgba(237,244,251,.32) 42%,rgba(237,244,251,0));pointer-events:none;opacity:1;transition:opacity .18s ease}.grid-loader.hidden{opacity:0}.grid-loader-card{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:999px;background:rgba(255,255,255,.96);border:1px solid var(--border);box-shadow:0 12px 32px rgba(15,23,42,.08);font-size:12px;font-weight:800;color:var(--muted)}.grid-loader-ring{width:18px;height:18px;border-radius:999px;border:3px solid rgba(37,99,235,.16);border-top-color:var(--accent);border-right-color:var(--accent2);animation:spin .9s linear infinite}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px}.pager-info{font-size:13px;color:var(--muted)}.pager-actions{display:flex;gap:8px}.btn{border:none;border-radius:18px;padding:11px 15px;font-weight:800;cursor:pointer}.btn-ghost{background:#fff;border:1px solid var(--border);color:var(--text)}.grid{display:grid;gap:14px}.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-6{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-9,.cols-12{grid-template-columns:repeat(3,minmax(0,1fr))}.card{border-radius:28px;padding:14px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,249,255,.92));border:1px solid rgba(148,163,184,.18);box-shadow:0 16px 42px rgba(15,23,42,.07);min-width:0}.card-top{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:start}.symbol{font-size:1.18rem;font-weight:800;letter-spacing:-.04em}.tags,.toolbar,.drawing-list{display:flex;flex-wrap:wrap;gap:8px}.tag,.drawing-chip{padding:7px 10px;border-radius:999px;font-size:11px;background:#fff;border:1px solid var(--border)}.drawing-chip.active{background:rgba(37,99,235,.08);border-color:rgba(37,99,235,.28)}.favorite-btn,.expand-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--border);background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px}.favorite-btn.active{background:rgba(37,99,235,.1);border-color:rgba(37,99,235,.24)}.toolbar button{border:1px solid var(--border);background:#fff;color:var(--text);padding:8px 10px;border-radius:12px;font-size:12px;font-weight:800;cursor:pointer}.toolbar button.active{background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 72%,var(--accent2) 28%));border-color:transparent;color:#fff}.chart-wrap{margin-top:10px;border-radius:22px;border:1px solid rgba(148,163,184,.16);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(241,247,255,.92));overflow:hidden;position:relative}.chart-canvas{width:100%;height:320px}.chart-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden}.chart-overlay svg{width:100%;height:100%;display:block;overflow:hidden}.empty{padding:18px;border-radius:22px;background:rgba(255,255,255,.78);border:1px solid var(--border);color:var(--muted)}.up{color:var(--up)}.down{color:var(--down)}.modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(7,14,28,.56);backdrop-filter:blur(7px)}.hidden{display:none!important}.modal-card{width:min(100%,1320px);max-height:calc(100vh - 24px);overflow:auto;border-radius:30px;padding:18px}.modal-head{position:sticky;top:-18px;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:-18px -18px 14px;padding:18px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,249,255,.95));border-bottom:1px solid rgba(148,163,184,.18)}.modal-chart .chart-canvas{height:72vh;min-height:420px}.loader{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(180deg,rgba(247,251,255,.96),rgba(238,243,250,.98));transition:opacity .26s ease,visibility .26s ease}.loader.hidden{opacity:0;visibility:hidden;pointer-events:none}.loader-card{width:min(100%,420px);display:grid;justify-items:center;gap:14px;padding:28px;border-radius:32px;background:rgba(255,255,255,.88);border:1px solid rgba(148,163,184,.22);box-shadow:var(--shadow)}.loader-mark{width:78px;height:78px;border-radius:24px;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(15,118,110,.10));display:grid;place-items:center}.loader-ring{width:48px;height:48px;border-radius:999px;border:4px solid rgba(37,99,235,.16);border-top-color:var(--accent);border-right-color:var(--accent2);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1320px){.filters-row{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-6,.cols-9,.cols-12,.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.app{padding:12px}.hero{padding:16px;border-radius:26px}.card-top{grid-template-columns:minmax(0,1fr) auto}.card-top .field{grid-column:1/-1}.filters-row,.grid-2{grid-template-columns:1fr}.cols-4,.cols-6,.cols-9,.cols-12{grid-template-columns:1fr}.chart-canvas{height:300px}.modal-card{padding:0;border-radius:26px}.modal-head{top:0;margin:0 0 12px;padding:16px;border-radius:26px 26px 0 0}.modal-chart .chart-canvas{height:58vh;min-height:320px}.menu{left:12px;right:12px;top:12px;bottom:12px;width:auto;max-height:none;padding:16px;border-radius:24px;transform:translateY(12px) scale(.98)}.menu.open{transform:translateY(0) scale(1)}}



.label-inline{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 18px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,249,255,.94));font-size:14px;font-weight:800;color:var(--text);box-shadow:0 8px 20px rgba(15,23,42,.05)}
.filters-row{grid-template-columns:minmax(240px,1.2fr) 260px 220px 220px 220px 220px}
.avatar-wrap{z-index:160}
.menu{z-index:220}
.header-settings-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border-radius:18px;border:1px solid color-mix(in srgb,var(--accent) 26%,var(--border));background:linear-gradient(135deg,rgba(37,99,235,.09),rgba(255,255,255,.94));box-shadow:0 12px 28px rgba(15,23,42,.08);font-size:13px;font-weight:800;color:var(--text)}
.header-settings-btn strong{display:block;font-size:13px;line-height:1.1}
.header-settings-btn span{display:block;font-size:11px;color:var(--muted);font-weight:700;line-height:1.2}
.community-sheet{width:min(100%,680px)!important;max-height:min(calc(100dvh - 20px),820px)!important;padding:0!important;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
.community-head{padding:22px 24px 14px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(15,118,110,.06),rgba(255,255,255,.98));border-bottom:1px solid rgba(148,163,184,.18)}
.community-body{display:grid;gap:14px;padding:20px 24px 24px;overflow:auto}
.community-copy{display:grid;gap:10px;font-size:14px;line-height:1.75;color:var(--text)}
.community-copy p{margin:0}
.community-points{display:grid;gap:8px;padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.72);border:1px solid var(--border)}
.community-points div{font-size:13px;color:var(--muted);line-height:1.55}
.community-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.community-toast{position:fixed;right:18px;bottom:18px;z-index:120;width:min(420px,calc(100vw - 24px));display:grid;gap:12px;padding:14px;border-radius:22px;background:rgba(255,255,255,.96);border:1px solid var(--border);box-shadow:0 24px 70px rgba(15,23,42,.18);opacity:0;pointer-events:none;transform:translateY(16px);transition:opacity .22s ease,transform .22s ease}
.community-toast.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.community-toast strong{display:block;font-size:14px}
.community-toast span{display:block;margin-top:4px;font-size:12px;line-height:1.45;color:var(--muted)}
.community-toast-form{display:grid;gap:10px}
.community-toast-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.avatar-wrap .menu{top:50%!important;right:auto!important;bottom:auto!important;left:50%!important;transform:translate(-50%,-46%) scale(.96)!important}
.avatar-wrap .menu.open{transform:translate(-50%,-50%) scale(1)!important}
.chart-tools{position:absolute;left:10px;top:112px;z-index:38;display:grid;gap:8px}
.chart-tool{width:30px;height:30px;border-radius:10px;border:1px solid var(--border);background:rgba(255,255,255,.95);display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.tool-icon{display:block;width:17px;height:17px;background:currentColor;pointer-events:none;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}
.chart-action-btn .tool-icon{width:16px;height:16px}
.favorite-btn .tool-icon,.expand-btn .tool-icon{width:15px;height:15px}
.chart-list-select{min-width:86px!important;max-width:96px!important;padding-right:16px!important}
.chart-tool.active{background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 72%,var(--accent2) 28%));border-color:transparent;color:#fff}
.chart-tool:disabled{opacity:.38;cursor:default}
.chart-status{position:absolute;right:12px;top:12px;z-index:3;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid var(--border);padding:6px 10px;font-size:11px;color:var(--muted)}
.chart-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(241,247,255,.9));z-index:2}.chart-placeholder-card{display:grid;justify-items:center;gap:10px;padding:16px 18px;border-radius:22px;background:rgba(255,255,255,.96);border:1px solid var(--border);box-shadow:0 12px 28px rgba(15,23,42,.08);text-align:center}.chart-placeholder-card .loader-ring{width:28px;height:28px;border-width:3px}.chart-placeholder-text{font-size:12px;font-weight:800;color:var(--muted);line-height:1.45}.consent-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:140;display:flex;justify-content:center;pointer-events:none}.consent-card{width:min(100%,760px);display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:16px 18px;border-radius:24px;background:rgba(255,255,255,.96);border:1px solid var(--border);box-shadow:0 22px 56px rgba(15,23,42,.16);pointer-events:auto}.consent-text{font-size:13px;line-height:1.5;color:var(--muted)}.consent-actions{display:flex;gap:10px;flex-wrap:wrap}.mini-note{font-size:11px;color:var(--muted)}
.label-inline input{width:20px;height:20px;accent-color:var(--accent)}
.search-box{display:grid;gap:6px}
.search-input{width:100%;border:1px solid var(--border);border-radius:18px;padding:12px 14px;background:#fff;color:var(--text)}
.telegram-box{display:grid;gap:10px;padding:12px;border-radius:20px;background:rgba(255,255,255,.78);border:1px solid var(--border)}.telegram-code{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:16px;background:#fff;border:1px solid var(--border);font-size:14px;font-weight:800;letter-spacing:.08em}
.card{padding:10px 10px 14px}
.chart-wrap{margin-top:0;min-height:0}
.chart-canvas{height:360px}
.chart-head{position:absolute;left:10px;right:10px;top:10px;z-index:44;display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:start;pointer-events:none;padding:0;background:transparent;backdrop-filter:none}
.chart-badges{position:absolute;left:10px;right:10px;bottom:10px;z-index:42;display:flex;flex-wrap:wrap;gap:6px;pointer-events:none}
.chart-pill,.chart-copy-btn,.chart-mini-select,.chart-action-btn,.favorite-btn,.expand-btn{pointer-events:auto}
.chart-pill{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.94);border:1px solid var(--border);font-size:11px;font-weight:800;color:var(--text);box-shadow:0 8px 18px rgba(15,23,42,.06)}
.chart-copy-btn{display:inline-flex;align-items:center;justify-self:start;min-height:32px;max-width:min(42%,150px);padding:0 12px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.96);font-size:14px;font-weight:900;color:var(--text);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.chart-action-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.96);font-size:11px;font-weight:900;color:var(--text);cursor:pointer;box-shadow:0 8px 18px rgba(15,23,42,.06);position:relative;z-index:46}
.chart-action-btn[data-snapshot]{max-width:168px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 12px}
.chart-mini-select{min-height:32px;max-width:84px;border:1px solid var(--border);border-radius:14px;padding:0 10px;background:rgba(255,255,255,.96);font-size:12px;font-weight:800;color:var(--text);box-shadow:0 8px 18px rgba(15,23,42,.06)}
.chart-overlay{position:absolute;inset:0;pointer-events:auto}
.chart-draw-layer{position:absolute;pointer-events:none;overflow:hidden}
.chart-overlay svg{display:block;width:100%;height:100%;pointer-events:none}
.chart-toast{position:absolute;left:50%;bottom:50%;transform:translate(-50%,50%);z-index:6;padding:10px 12px;border-radius:16px;background:rgba(16,32,56,.92);color:#fff;font-size:12px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.chart-draw-hint{position:absolute;right:28px;bottom:26px;z-index:5;display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid var(--border);font-size:10px;font-weight:800;color:var(--muted);pointer-events:none;box-shadow:0 8px 18px rgba(15,23,42,.06)}
.chart-toast.show{opacity:1;transform:translate(-50%,0)}
.filters.surface{padding:8px!important}
.filters-row{gap:6px!important;align-items:end!important}
.filters .label{gap:3px!important;font-size:10px!important;line-height:1.05!important}
.filters .field,.filters .search-input{min-height:28px!important;height:28px!important;border-radius:9px!important;padding:0 9px!important;font-size:14px!important}
.filters .label-inline{min-height:28px!important;height:28px!important;border-radius:9px!important;padding:0 9px!important;font-size:14px!important}
.filters .label-inline input{width:14px!important;height:14px!important}
.filters .range-head{font-size:10px!important;line-height:1!important}
.filters .range{height:4px!important}
.filters .range::-webkit-slider-thumb{width:14px!important;height:14px!important}
html.dark{
  --bg:#07090d;
  --panel:rgba(13,17,23,.94);
  --panel-soft:rgba(18,24,33,.92);
  --text:#eef3fb;
  --muted:#9ba8ba;
  --border:rgba(148,163,184,.20);
  --accent:#fb923c;
  --accent2:#22c55e;
  --screen-bg:#05070b;
  --chart-bg:#080b10;
  --chart-line:rgba(148,163,184,.16);
  --toolbar:rgba(16,23,34,.92);
  --toolbar-border:rgba(148,163,184,.20);
  --ink:#eef3fb;
  --subtle:#9ba8ba;
  --control:rgba(15,23,42,.82);
}
html.dark body{background:#05070b!important;color:#eef3fb!important}
html.dark .hero,
html.dark .filters,
html.dark .card,
html.dark .menu,
html.dark .modal-card,
html.dark .list-panel,
html.dark .surface{
  background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(8,13,22,.96))!important;
  border-color:rgba(148,163,184,.18)!important;
  color:#eef3fb!important;
}
html.dark .field,
html.dark .search-input,
html.dark select,
html.dark input,
html.dark textarea,
html.dark .label-inline,
html.dark .chart-copy-btn,
html.dark .chart-mini-select,
html.dark .chart-action-btn,
html.dark .favorite-btn,
html.dark .expand-btn,
html.dark .chart-pill,
html.dark .chart-tool{
  background:rgba(15,23,42,.88)!important;
  border-color:rgba(148,163,184,.22)!important;
  color:#eef3fb!important;
}
.alerts-box{display:grid;gap:10px;padding:12px;border-radius:20px;background:rgba(255,255,255,.78);border:1px solid var(--border)}
.alerts-list{display:grid;gap:8px;max-height:220px;overflow:auto}
.alert-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start;padding:10px 12px;border-radius:16px;background:#fff;border:1px solid var(--border)}
.alert-item-main{display:grid;gap:4px;min-width:0}
.alert-item-title{font-size:12px;font-weight:800;color:var(--text)}
.alert-item-meta{font-size:11px;color:var(--muted);line-height:1.4}
.alert-item button{border:none;border-radius:12px;padding:8px 10px;background:rgba(220,38,38,.08);color:#b91c1c;font-size:11px;font-weight:800;cursor:pointer}
.alert-feed{position:fixed;right:14px;bottom:14px;z-index:180;display:grid;gap:7px;pointer-events:none;max-width:min(330px,calc(100vw - 28px))}
.alert-feed-item{min-width:min(280px,calc(100vw - 28px));max-width:min(330px,calc(100vw - 28px));display:grid;gap:2px;padding:9px 11px;border-radius:10px;background:rgba(15,23,42,.92);color:#fff;border:1px solid rgba(255,255,255,.10);box-shadow:0 14px 38px rgba(15,23,42,.22);backdrop-filter:blur(12px)}
.alert-feed-item strong{font-size:12px;line-height:1.18;font-weight:850}
.alert-feed-item span{font-size:10.5px;line-height:1.35;color:rgba(255,255,255,.76)}
.trade-panel{position:static;z-index:1;width:100%;height:100%;min-height:0;max-height:var(--screener-list-chart-height,58vh);display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;border:1px solid var(--toolbar-border);border-radius:10px;background:var(--toolbar)!important;box-shadow:none;backdrop-filter:blur(18px);overflow:hidden}
.trade-panel.is-collapsed .trade-panel-body{display:grid}
.trade-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;background:transparent;color:var(--ink);border-bottom:1px solid var(--toolbar-border)}
.trade-panel-title{display:grid;gap:2px;font-size:11px;font-weight:900;color:var(--ink);letter-spacing:.08em;text-transform:uppercase}.trade-panel-title span{font-size:10px;color:var(--subtle);font-weight:800;letter-spacing:0;text-transform:none}
.trade-panel-toggle{display:none}
.trade-panel-body{display:grid;gap:8px;padding:10px;min-height:0;overflow:auto}.trade-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.trade-panel .field{min-height:34px;border-radius:10px;padding:8px 10px}
.trade-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.trade-actions .btn{position:relative;min-height:48px;border-radius:14px;padding:8px 10px;overflow:hidden;border:1px solid var(--toolbar-border);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 8px 18px rgba(15,23,42,.06);display:grid;place-items:center;gap:1px;letter-spacing:.01em;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.trade-actions .btn::before{content:"";position:absolute;inset:1px;border-radius:13px;background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,0));pointer-events:none}.trade-actions .btn:hover{transform:translateY(-1px);background:var(--panel-soft)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 12px 24px rgba(15,23,42,.09)}.trade-action-main{position:relative;font-size:13px;font-weight:950;line-height:1;text-transform:uppercase}.trade-action-sub{position:relative;font-size:9px;font-weight:850;line-height:1;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.trade-buy,.trade-sell{background:var(--toolbar)!important;border-color:var(--toolbar-border)!important;color:var(--ink)!important}
.trade-list{display:grid;gap:7px;max-height:220px;overflow:auto}.trade-row{padding:9px;border-radius:10px;background:rgba(248,250,252,.92);border:1px solid rgba(15,23,42,.08);display:grid;gap:3px;font-size:12px}
.trade-row strong{font-size:12px}.trade-row .up{color:#16a34a}.trade-row .down{color:#dc2626}.trade-summary{display:grid;gap:8px;padding:10px;border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.92));border:1px solid rgba(15,23,42,.08);box-shadow:0 8px 20px rgba(15,23,42,.06)}.trade-summary-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.trade-summary-label{font-size:9px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.trade-summary-account{font-size:12px;font-weight:950;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trade-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.trade-summary-metric{display:grid;gap:2px;padding:7px;border-radius:8px;background:rgba(15,23,42,.035)}.trade-summary-metric span{font-size:9px;font-weight:900;color:var(--muted);letter-spacing:.05em;text-transform:uppercase}.trade-summary-metric strong{font-size:13px;line-height:1.12;color:var(--ink)}.trade-summary-list{display:grid;gap:6px;max-height:none;overflow:visible;padding-top:2px}.trade-summary-position{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px;border-radius:8px;background:rgba(15,23,42,.035);border:1px solid rgba(15,23,42,.055)}.trade-summary-position-main{display:grid;gap:4px;min-width:0}.trade-summary-position-title{display:flex;align-items:center;gap:6px;min-width:0}.trade-summary-position-title strong{font-size:12px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}.trade-summary-position-meta{font-size:10px;color:var(--muted);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trade-summary-position-pnl{display:grid;justify-items:end;gap:3px;white-space:nowrap}.trade-summary-position-pnl strong{font-size:12px;line-height:1.05}.trade-summary-position-pnl span{font-size:9px;color:var(--muted);font-weight:900;letter-spacing:.05em;text-transform:uppercase}.trade-position-close{min-height:24px;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:900}
.trade-position-card{padding:10px;border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.9));border:1px solid rgba(15,23,42,.09);display:grid;gap:9px;box-shadow:0 10px 24px rgba(15,23,42,.07)}.trade-position-card[data-open-position]{cursor:pointer}.trade-position-card[data-open-position]:hover{border-color:rgba(37,99,235,.28);box-shadow:0 14px 30px rgba(15,23,42,.10)}.trade-position-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.trade-position-symbol{display:grid;gap:5px;min-width:0}.trade-position-label{width:max-content;border-radius:999px;padding:3px 7px;background:rgba(37,99,235,.1);color:var(--accent);font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.trade-position-title{display:flex;align-items:center;gap:7px;min-width:0}.trade-position-title strong{font-size:14px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trade-position-symbol span{font-size:10px;color:var(--muted);font-weight:800}.trade-side-pill,.trade-pnl-pill{border-radius:999px;padding:4px 7px;font-size:10px;font-weight:950;line-height:1;white-space:nowrap}.trade-side-pill.long,.trade-side-pill.short{background:rgba(15,23,42,.06);color:var(--ink);border:1px solid rgba(15,23,42,.08)}.trade-pnl-pill.up{background:rgba(22,163,74,.12);color:#15803d}.trade-pnl-pill.down{background:rgba(220,38,38,.12);color:#b91c1c}.trade-position-pnl{display:grid;justify-items:end;gap:5px}.trade-position-pnl strong{font-size:13px;line-height:1.05}.trade-position-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.trade-position-metric{display:grid;gap:2px;padding:7px;border-radius:8px;background:rgba(15,23,42,.035);min-width:0}.trade-position-metric span{font-size:9px;font-weight:900;color:var(--muted);letter-spacing:.05em;text-transform:uppercase}.trade-position-metric strong{font-size:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trade-position-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);font-weight:800}.trade-status{font-size:11px;color:var(--muted);line-height:1.35}.trade-position-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:18px;background:rgba(2,6,23,.56);backdrop-filter:blur(8px)}.trade-position-sheet{width:min(720px,calc(100vw - 24px));max-height:calc(100vh - 28px);overflow:auto;border-radius:18px;background:var(--panel);border:1px solid var(--border);box-shadow:0 30px 90px rgba(15,23,42,.28);padding:18px;display:grid;gap:14px}.trade-position-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.trade-position-sheet-title{display:grid;gap:6px}.trade-position-sheet-title strong{font-size:24px;line-height:1}.trade-position-sheet-title span{font-size:12px;color:var(--muted);font-weight:800}.trade-position-close-modal{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:var(--tool-bg,#fff);color:var(--ink);font-weight:950;cursor:pointer}.trade-position-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.trade-position-detail-card{display:grid;gap:4px;padding:12px;border-radius:12px;background:rgba(15,23,42,.035);border:1px solid rgba(15,23,42,.06)}.trade-position-detail-card span{font-size:10px;font-weight:950;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.trade-position-detail-card strong{font-size:16px;line-height:1.1;color:var(--ink)}.trade-position-detail-card.tp strong{color:#15803d}.trade-position-detail-card.sl strong{color:#b91c1c}.trade-position-detail-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@media(max-width:680px){.trade-position-detail-grid{grid-template-columns:1fr 1fr}.trade-position-sheet{padding:14px;border-radius:14px}.trade-position-sheet-title strong{font-size:20px}}
.trade-position-protection{display:grid;gap:10px;padding:12px;border-radius:12px;background:rgba(15,23,42,.035);border:1px solid rgba(15,23,42,.06)}
.trade-position-protection-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:10px;font-weight:950;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.trade-position-protection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.trade-position-protection-field{display:grid;gap:6px;min-width:0}
.trade-position-protection-field label{font-size:10px;font-weight:950;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.trade-position-protection-field input{width:100%;min-height:38px;border-radius:10px;border:1px solid var(--border);background:#fff;color:var(--ink);padding:0 10px;font-size:13px;font-weight:850;outline:none}
.trade-position-protection-field input:focus{border-color:rgba(37,99,235,.45);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.trade-position-field-note{font-size:11px;font-weight:850;color:var(--muted);line-height:1.25}
.trade-position-plan-pnl{font-size:12px;font-weight:950}
.trade-position-plan-pnl.up{color:#15803d}.trade-position-plan-pnl.down{color:#b91c1c}
.trade-position-protection-status{min-height:16px;font-size:11px;font-weight:800;color:var(--muted);line-height:1.35}
.trade-position-exchange-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:start;padding-bottom:12px;border-bottom:1px solid rgba(15,23,42,.08)}
.trade-position-exchange-title{display:grid;gap:7px;min-width:0}.trade-position-exchange-title-row{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.trade-position-exchange-title-row strong{font-size:22px;line-height:1;color:var(--ink)}.trade-position-exchange-meta{font-size:11px;font-weight:850;color:var(--muted)}
.trade-position-live-pnl{display:grid;justify-items:end;gap:4px;white-space:nowrap}.trade-position-live-pnl span{font-size:10px;font-weight:950;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.trade-position-live-pnl strong{font-size:20px;line-height:1}.trade-position-live-pnl small{font-size:11px;font-weight:900;color:var(--muted)}
.trade-position-metrics{display:grid;border:1px solid rgba(15,23,42,.08);border-radius:12px;overflow:hidden;background:rgba(255,255,255,.55)}
.trade-position-metric-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid rgba(15,23,42,.07)}.trade-position-metric-row:last-child{border-bottom:none}
.trade-position-metric-cell{display:grid;gap:4px;padding:10px 12px;min-width:0}.trade-position-metric-cell:nth-child(odd){border-right:1px solid rgba(15,23,42,.07)}.trade-position-metric-cell span{font-size:10px;font-weight:950;color:var(--muted);letter-spacing:.07em;text-transform:uppercase}.trade-position-metric-cell strong{font-size:14px;line-height:1.1;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trade-position-detail-actions{position:sticky;bottom:-18px;margin:0 -18px -18px;padding:12px 18px;background:linear-gradient(180deg,rgba(255,255,255,.82),var(--panel));border-top:1px solid rgba(15,23,42,.08);backdrop-filter:blur(12px)}.trade-position-detail-actions .btn{min-height:38px;border-radius:10px;transition:transform .14s ease,box-shadow .14s ease}.trade-position-detail-actions .btn:active{transform:scale(.98)}.trade-position-danger{background:rgba(220,38,38,.08)!important;color:#b91c1c!important;border-color:rgba(220,38,38,.18)!important}
.trade-summary-position{grid-template-columns:minmax(120px,1fr);align-items:start}
.trade-summary-position-meta{display:none}
.trade-summary-position-pnl{width:100%;grid-template-columns:auto 1fr auto auto;align-items:center;justify-items:start;gap:6px;white-space:normal}
.trade-summary-position-pnl strong{justify-self:start}
.trade-summary-position-pnl .trade-position-close{justify-self:end;white-space:nowrap}
.trade-position-pnl{grid-template-columns:auto auto;justify-items:end;align-items:center}
.trade-position-pnl .trade-pnl-pill,.trade-position-pnl strong{grid-column:1/-1}
.trade-position-pnl .trade-position-close{white-space:nowrap}
.trade-inline-pnl{margin-left:auto;font-size:12px!important;font-weight:950;line-height:1.05;white-space:nowrap}
.trade-inline-pnl.up{color:#15803d!important}.trade-inline-pnl.down{color:#b91c1c!important}
.trade-summary-position-pnl,.trade-position-pnl{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.trade-summary-position-pnl span,.trade-position-pnl .trade-pnl-pill,.trade-position-pnl strong{display:none}
.trade-position-close{font-size:9px;padding:4px 6px;max-width:100%;white-space:normal;line-height:1.05}
@media(max-width:680px){.trade-position-exchange-head{grid-template-columns:1fr}.trade-position-live-pnl{justify-items:start}.trade-position-metric-row{grid-template-columns:1fr}.trade-position-metric-cell:nth-child(odd){border-right:none;border-bottom:1px solid rgba(15,23,42,.07)}.trade-position-protection-grid{grid-template-columns:1fr}.trade-position-detail-actions{bottom:-14px;margin:0 -14px -14px;padding:10px 14px}.trade-position-detail-actions .btn{flex:1 1 100%}}
html.dark .trade-panel{background:rgba(15,23,42,.94);border-color:rgba(148,163,184,.18)}html.dark .trade-row{background:rgba(30,41,59,.78);border-color:rgba(148,163,184,.16)}html.dark .trade-summary,html.dark .trade-position-card{background:linear-gradient(180deg,rgba(30,41,59,.92),rgba(15,23,42,.86));border-color:rgba(148,163,184,.18);box-shadow:none}html.dark .trade-summary-metric,html.dark .trade-summary-position,html.dark .trade-position-metric,html.dark .trade-position-protection{background:rgba(148,163,184,.08);border-color:rgba(148,163,184,.12)}html.dark .trade-position-metrics{background:rgba(15,23,42,.55);border-color:rgba(148,163,184,.14)}html.dark .trade-position-metric-row,html.dark .trade-position-metric-cell:nth-child(odd),html.dark .trade-position-exchange-head,html.dark .trade-position-detail-actions{border-color:rgba(148,163,184,.14)}html.dark .trade-position-detail-actions{background:linear-gradient(180deg,rgba(15,23,42,.78),var(--panel))}html.dark .trade-position-protection-field input{background:rgba(15,23,42,.88);border-color:rgba(148,163,184,.22);color:#eef3fb}html.dark .trade-side-pill.long,html.dark .trade-side-pill.short{background:rgba(148,163,184,.1);border-color:rgba(148,163,184,.14);color:var(--ink)}
.pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.pager-info{justify-self:start}
.pager-actions{justify-self:center}
.pager-actions .btn{padding:7px 12px;min-height:34px;border-radius:14px}
@media(max-width:1320px){.filters-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.filters-row{grid-template-columns:1fr}.consent-card{display:grid;gap:12px;padding:14px 15px}.chart-head{grid-template-columns:minmax(0,1fr) auto auto}.chart-head .expand-btn{display:none}.chart-copy-btn{max-width:min(54%,148px)}.chart-canvas{height:300px}.header-settings-btn{min-height:44px;padding:0 12px}.header-settings-btn span{display:none}.community-head{padding:18px 18px 12px}.community-body{padding:16px 18px 18px}.avatar-wrap{position:static}.avatar-wrap .menu{left:8px!important;right:8px!important;top:8px!important;bottom:8px!important;width:auto!important;max-height:none!important;padding:14px!important;border-radius:18px!important;transform:translateY(10px) scale(.98)!important}.avatar-wrap .menu.open{transform:translateY(0) scale(1)!important}.grid-2{grid-template-columns:1fr}}
html.dark .menu,html.dark .filters,html.dark .meta-pill,html.dark .app-switch,html.dark .field,html.dark .btn-ghost,html.dark .card,html.dark .chart-wrap,html.dark .chart-pill,html.dark .chart-copy-btn,html.dark .chart-action-btn,html.dark .chart-mini-select,html.dark .label-inline,html.dark .grid-loader-card,html.dark .chart-placeholder-card,html.dark .consent-card,html.dark .favorite-btn,html.dark .expand-btn,html.dark .chart-tool,html.dark .alerts-box,html.dark .alert-item{background:rgba(16,16,16,.94)!important;color:var(--text)!important;border-color:var(--border)!important}html.dark .hero{background:linear-gradient(135deg,rgba(96,165,250,.16),rgba(45,212,191,.10),rgba(16,16,16,.96))}html.dark .chart-status{background:rgba(16,16,16,.9)!important;color:var(--muted)!important}



/* Scalpboard-like workspace: the chart is the product, controls stay quiet. */
:root{--screen-bg:#e9edf2;--chart-bg:#f3f5f7;--chart-line:#d9dee5;--toolbar:#eef1f5;--toolbar-border:#d3d9e2;--control:#f8fafc;--control-hover:#fff;--ink:#202936;--subtle:#6c7787}
html.dark{--screen-bg:#0b0d10;--chart-bg:#101317;--chart-line:#252b33;--toolbar:#12161c;--toolbar-border:#252b33;--control:#171c23;--control-hover:#202734;--ink:#f2f5f8;--subtle:#9aa4b2}
html{--tn-accent:#2563eb;--tn-accent-2:#0f766e;--tn-glow:rgba(37,99,235,.16);--tn-rgb:37,99,235}
html[data-palette="sunrise"]{--tn-accent:#ff6b35;--tn-accent-2:#ffd166;--tn-glow:rgba(255,107,53,.16);--tn-rgb:255,107,53}
html[data-palette="mint"]{--tn-accent:#86efac;--tn-accent-2:#2dd4bf;--tn-glow:rgba(134,239,172,.16);--tn-rgb:134,239,172}
html[data-palette="graphite"]{--tn-accent:#e5e7eb;--tn-accent-2:#94a3b8;--tn-glow:rgba(229,231,235,.14);--tn-rgb:229,231,235}
html[data-palette="berry"]{--tn-accent:#fb7185;--tn-accent-2:#c084fc;--tn-glow:rgba(251,113,133,.16);--tn-rgb:251,113,133}
html[data-palette="sand"]{--tn-accent:#facc15;--tn-accent-2:#fb923c;--tn-glow:rgba(250,204,21,.15);--tn-rgb:250,204,21}
html[data-palette="sky"]{--tn-accent:#7dd3fc;--tn-accent-2:#60a5fa;--tn-glow:rgba(125,211,252,.16);--tn-rgb:125,211,252}
html[data-palette]{--accent:var(--tn-accent);--accent2:var(--tn-accent-2)}
html,body{height:100%;background:var(--screen-bg)!important;color:var(--ink)}
.app{max-width:none;width:100%;padding:6px 8px 8px}
body.screener-live{overflow:hidden}
body.screener-live #app{height:var(--screener-app-height,100vh);display:flex;flex-direction:column;overflow:hidden}
body.screener-live #app>.hero,
body.screener-live #app>.filters{flex:0 0 auto}
body.screener-live #app>.content{height:var(--screener-content-height,auto);flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);overflow:hidden;align-content:stretch}
body.screener-live #app>.content>.pager{grid-column:1;grid-row:1;min-height:0}
body.screener-live #app>.content>#gridLoader,
body.screener-live #app>.content>#grid,
body.screener-live #app>.content>#listWorkspace,
body.screener-live #app>.content>#mobileScreenerLanding{grid-column:1;grid-row:2;min-height:0}
body.screener-live #grid{height:var(--screener-workspace-height,100%);min-height:0;overflow:auto;align-content:start;grid-auto-rows:var(--screener-grid-card-height,320px)}
body.screener-live #grid.hidden{display:none!important}
body.screener-live #grid>.card{height:var(--screener-grid-card-height,320px);min-height:0}
body.screener-live #grid>.card .chart-wrap{height:100%;min-height:0}
body.screener-live #grid>.card .chart-canvas{height:var(--screener-grid-chart-height,320px)!important;min-height:0!important}
body.screener-live #listWorkspace.active{display:grid;height:var(--screener-workspace-height,100%);min-height:0;overflow:hidden}
body.screener-live .list-main,
body.screener-live .list-sidebar,
body.screener-live .list-panel,
body.screener-live .list-symbols,
body.screener-live #listMainCard{min-height:0}
body.screener-live .list-main,
body.screener-live .list-sidebar,
body.screener-live #listMainCard{height:100%;overflow:hidden}
body.screener-live #chartModal{padding:6px;overflow:hidden;align-items:center}
body.screener-live #chartModal .modal-card{max-height:var(--screener-modal-height,calc(100vh - 12px));height:var(--screener-modal-height,calc(100vh - 12px));overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr)}
body.screener-live #chartModalBody{max-height:var(--screener-modal-body-height,calc(100vh - 96px));height:100%;min-height:0;overflow:hidden}
body.screener-live #chartModalBody>.card{height:100%;min-height:0;overflow:hidden}
body.screener-live #chartModalBody>.card .chart-wrap{height:100%;display:grid;grid-template-rows:minmax(0,1fr);min-height:0}
body.screener-live #chartModalBody>.card .chart-canvas{height:var(--screener-modal-chart-height,100%)!important;min-height:0!important}
.hero{position:sticky;top:0;z-index:90;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 8px;border-radius:0;background:linear-gradient(90deg,var(--toolbar),color-mix(in srgb,var(--toolbar) 88%,var(--tn-accent) 12%))!important;border-color:var(--toolbar-border);box-shadow:0 1px 0 rgba(0,0,0,.05),0 12px 42px var(--tn-glow);min-height:38px}
.hero:after,.eyebrow,.title{display:none!important}
.hero .row.between.wrap{width:100%;gap:8px}
.meta{gap:5px}.meta-pill{min-height:26px;padding:0 8px;border-radius:6px;background:transparent!important;border-color:transparent!important;font-size:11px}
.app-switch{min-height:28px;padding:2px;border-radius:7px;background:var(--control)!important;border-color:var(--toolbar-border)!important}
.app-switch-link{min-height:24px;border-radius:5px;padding:0 8px;font-size:11px}.app-switch-link.active{background:rgba(var(--tn-rgb),.16);color:var(--tn-accent)}
.avatar-btn{width:32px;height:32px;padding:2px;border-radius:8px}.avatar-btn::after{display:none}
.filters{margin-top:6px;padding:6px 8px;border-radius:0;background:var(--toolbar)!important;border-color:var(--toolbar-border);box-shadow:none}
.filters-row{grid-template-columns:minmax(220px,.9fr) 220px 160px 160px 160px 160px;gap:7px;align-items:center}
.label{gap:3px;font-size:10px;letter-spacing:.02em}.field,.search-input{min-height:30px;border-radius:6px;padding:5px 8px;background:var(--control);font-size:12px}
.label-inline{min-height:30px;border-radius:6px;padding:0 10px;background:var(--control);box-shadow:none;font-size:12px}.label-inline input{width:15px;height:15px}
.range-head{font-size:10px}.range{height:4px}.range::-webkit-slider-thumb{width:14px;height:14px}.range::-moz-range-thumb{width:14px;height:14px}
.content{margin-top:6px;gap:6px}.pager{min-height:28px}.pager-info{font-size:11px}.pager-actions .btn{min-height:26px;padding:4px 9px;border-radius:6px;font-size:11px}
.grid{gap:6px}.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-6,.cols-9,.cols-12{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{border-radius:0;padding:0;background:var(--chart-bg)!important;border:1px solid var(--chart-line);box-shadow:none;overflow:hidden}
.chart-wrap{border:0;border-radius:0;background:var(--chart-bg)!important;margin:0;overflow:hidden;padding-bottom:34px}
.chart-canvas{height:calc((100vh - 188px)/2);min-height:300px;background:var(--chart-bg)}
.chart-head{left:5px;right:5px;top:5px;grid-template-columns:auto auto auto auto;justify-content:start;gap:5px;z-index:44}
.chart-copy-btn,.chart-mini-select,.favorite-btn,.expand-btn,.chart-tool{min-height:24px;height:24px;border-radius:4px;background:rgba(248,250,252,.88);box-shadow:none;font-size:11px}
.chart-copy-btn{max-width:98px;padding:0 7px;font-weight:900}.chart-mini-select{max-width:58px;padding:0 4px}.favorite-btn,.expand-btn{width:26px;font-size:13px}
.chart-list-select{max-width:96px;min-width:72px}
.chart-tools{left:5px;top:128px;gap:3px;z-index:40}.chart-tool{width:24px;padding:0}.chart-tool.active{background:linear-gradient(135deg,var(--tn-accent),var(--tn-accent-2))!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),0 8px 22px var(--tn-glow)}
.chart-badges{left:5px;right:auto;top:34px;bottom:auto;gap:4px;z-index:42}.chart-pill{min-height:21px;padding:0 6px;border-radius:4px;background:rgba(248,250,252,.78);font-size:10px;box-shadow:none}
.chart-overlay{z-index:16;pointer-events:none}.chart-draw-layer{z-index:1}.chart-tools,.chart-tool{pointer-events:auto}.chart-drawing-active .chart-overlay{pointer-events:auto}.chart-toast{bottom:42px;border-radius:6px}
.favorite-btn,.expand-btn,.chart-copy-btn,.chart-mini-select,.chart-action-btn{position:relative;z-index:48}
.chart-head,.chart-badges,.candle-countdown{position:absolute;z-index:46}
.list-workspace{display:none;grid-template-columns:minmax(0,1fr) 290px;gap:8px;align-items:stretch}
.list-workspace.trade-attached{grid-template-columns:minmax(0,1fr) 290px}
.list-workspace.active{display:grid}
.list-main,.list-sidebar{min-width:0}
.list-main-grid{display:grid;gap:8px;height:100%;grid-auto-rows:var(--screener-list-card-height,320px)}
.list-main-grid.view-1{grid-template-columns:1fr}
.list-main-grid.view-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.list-main-grid.view-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.list-main .card{height:var(--screener-list-card-height,320px);min-height:0}
.list-main .card.list-slot-active{box-shadow:0 0 0 2px rgba(var(--tn-rgb),.28),0 16px 42px rgba(15,23,42,.07);border-color:rgba(var(--tn-rgb),.32)}
.list-main .chart-wrap{height:100%;min-height:0}
.list-main .chart-canvas{height:var(--screener-list-chart-height,320px)!important;min-height:0!important}
.list-sidebar{display:grid;grid-template-rows:minmax(220px,1fr) minmax(280px,42%);gap:8px;align-content:stretch;min-height:0;height:100%;max-height:none}
.list-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;height:100%;min-height:0;padding:8px;border-radius:10px;background:var(--toolbar)!important;border:1px solid var(--toolbar-border)}
.list-panel-head{display:grid;gap:6px}
.list-panel-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.list-panel-title{font-size:11px;font-weight:900;color:var(--ink);letter-spacing:.08em;text-transform:uppercase}
.list-panel-actions{display:flex;gap:4px;flex-wrap:wrap}
.list-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px;align-items:center}
.list-view-switch{display:inline-flex;align-items:center;gap:4px;padding:2px;border-radius:999px;border:1px solid var(--toolbar-border);background:rgba(255,255,255,.72)}
.list-view-btn{min-width:28px;height:24px;border-radius:999px;border:0;background:transparent;font-size:10px;font-weight:900;color:var(--subtle);cursor:pointer}
.list-view-btn.active{background:rgba(var(--tn-rgb),.12);color:var(--tn-accent)}
.list-quiet-btn{min-height:26px;padding:0 8px;border-radius:6px;border:1px solid var(--toolbar-border);background:var(--control);font-size:10px;font-weight:800;color:var(--ink);cursor:pointer}
.list-quiet-btn.danger{color:#b91c1c}
.list-counter{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:999px;background:rgba(var(--tn-rgb),.10);color:var(--tn-accent);font-size:10px;font-weight:900}
.list-symbols{display:grid;gap:2px;min-height:0;overflow:auto;padding-right:0}
.list-symbols-head{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:16px minmax(0,1fr) 64px 52px 22px;gap:6px;align-items:center;padding:0 6px 6px 8px;background:linear-gradient(180deg,var(--toolbar),color-mix(in srgb,var(--toolbar) 88%,transparent));border-bottom:1px solid var(--toolbar-border);font-size:9px;font-weight:900;color:var(--subtle);letter-spacing:.08em;text-transform:uppercase}
.list-symbol-row{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:6px;align-items:center;padding:6px 6px 6px 8px;border-radius:8px;background:transparent;border:1px solid transparent}
.list-symbol-row::before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:2px;border-radius:999px;background:transparent}
.list-symbol-row.active{background:rgba(var(--tn-rgb),.08);border-color:rgba(var(--tn-rgb),.18)}
.list-symbol-row.active::before{background:var(--tn-accent)}
.list-symbol-main{display:grid;grid-template-columns:minmax(0,1fr) 64px 52px;gap:6px;align-items:center;min-width:0;padding:0;border:0;background:transparent;text-align:left}
.list-symbol-drag{display:inline-flex;align-items:center;justify-content:center;width:14px;height:22px;border:0;background:transparent;color:var(--subtle);font-size:11px;cursor:grab;user-select:none}
.list-symbol-row.dragging{opacity:.45}
.list-symbol-row.drop-target{border-color:rgba(var(--tn-rgb),.55);box-shadow:0 0 0 2px rgba(var(--tn-rgb),.18) inset}
.list-symbol-name{display:grid;gap:1px;font-size:11px;font-weight:900;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.list-symbol-name small{font-size:8px;font-weight:850;color:var(--subtle);line-height:1;overflow:hidden;text-overflow:ellipsis}
.list-symbol-price{font-size:10px;font-weight:800;color:var(--ink);white-space:nowrap;text-align:right}
.list-symbol-change{font-size:10px;font-weight:900;white-space:nowrap;text-align:right}
.list-symbol-change.up{color:var(--up)}
.list-symbol-change.down{color:var(--down)}
.list-symbol-meta{font-size:10px;font-weight:800;color:var(--subtle);white-space:nowrap}
.list-symbol-actions{display:flex;gap:2px;opacity:.0;transition:opacity .14s ease}
.list-symbol-row:hover .list-symbol-actions,.list-symbol-row.active .list-symbol-actions{opacity:1}
.list-symbol-btn{width:22px;height:22px;border-radius:6px;border:1px solid var(--toolbar-border);background:#fff;color:var(--ink);font-size:11px;font-weight:900;cursor:pointer}
.list-add-box{display:none;gap:6px}
.list-add-box.active{display:grid}
.list-search-results{display:grid;gap:4px;max-height:160px;overflow:auto}
.list-search-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:8px;background:#fff;border:1px solid var(--toolbar-border)}
.list-search-item strong{font-size:11px}
.list-empty{padding:14px 10px;border-radius:10px;background:rgba(255,255,255,.72);border:1px dashed var(--toolbar-border);font-size:11px;color:var(--subtle);text-align:center}
@media(max-width:1100px){.list-workspace,.list-workspace.active,.list-workspace.trade-attached{grid-template-columns:1fr}.list-sidebar{grid-template-rows:auto auto}.list-main-grid.view-2,.list-main-grid.view-4{grid-template-columns:1fr}.list-main .chart-canvas,.list-main-grid.view-2 .chart-canvas,.list-main-grid.view-4 .chart-canvas{height:var(--screener-list-chart-height,58vh)!important;min-height:0!important}.list-panel{grid-template-rows:auto auto auto}.list-symbols{min-height:160px}.trade-panel{min-height:360px}}
.candle-countdown{display:none!important}
.candle-countdown.up{background:#089981;border-color:#089981}.candle-countdown.down{background:#f23645;border-color:#f23645}.countdown-price{font-size:11px;letter-spacing:.01em}.countdown-time{font-size:9px;opacity:.92}

.modal{z-index:300}.modal-card{border-radius:0;padding:8px}.modal-head{top:-8px;margin:-8px -8px 8px;padding:8px;border-radius:0}.modal-chart .chart-wrap{padding-bottom:36px}.modal-chart .chart-canvas{height:var(--screener-modal-chart-height,calc(100vh - 126px));min-height:0}
.menu{position:fixed;left:50%;top:50%;right:auto;border-radius:18px;width:min(1120px,calc(100vw - 28px));max-height:min(86vh,980px);overflow:auto;transform:translate(-50%,-46%) scale(.96)}
.menu.open{transform:translate(-50%,-50%) scale(1)}
body.menu-open{overflow:hidden}
body.menu-open::before{content:"";position:fixed;inset:0;z-index:79;background:rgba(7,14,28,.56);backdrop-filter:blur(7px)}
.menu-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.menu-section{display:grid;align-content:start;gap:10px;padding:14px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.72)}
.menu-section.full{grid-column:1/-1}
.menu-section-title{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.menu-fields{display:grid;gap:10px}
.menu-fields.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.menu-fields.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.settings-textarea{min-height:108px;resize:vertical}
.settings-note{font-size:11px;color:var(--muted);line-height:1.45}
@media(max-width:1320px){.menu-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.menu{left:12px;right:12px;top:12px;bottom:12px;width:auto;max-height:none;padding:16px;border-radius:24px;transform:translateY(12px) scale(.98)}.menu.open{transform:translateY(0) scale(1)}}
.login-gate{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px;background:radial-gradient(circle at top,#dbeafe 0,#f8fbff 48%,#edf4fb 100%)}
.login-card{width:min(100%,420px);padding:24px;border-radius:28px;display:grid;gap:12px}
.guest-auth-card{width:min(560px,calc(100vw - 24px));display:grid;gap:14px}.guest-auth-lead{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.guest-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.guest-benefits li{padding:9px 10px;border:1px solid rgba(37,99,235,.12);border-radius:12px;background:rgba(239,246,255,.7);font-size:12px;font-weight:800;color:var(--text);line-height:1.35}.guest-auth-actions{display:flex;gap:10px;flex-wrap:wrap}.guest-auth-actions .btn{flex:1 1 150px}.guest-auth-context{padding:10px 12px;border-radius:14px;background:rgba(255,247,237,.9);border:1px solid rgba(251,146,60,.22);font-size:12px;font-weight:800;color:#9a3412;line-height:1.45}html.dark .guest-benefits li{background:rgba(15,23,42,.82);border-color:rgba(148,163,184,.22)}html.dark .guest-auth-context{background:rgba(124,45,18,.28);border-color:rgba(251,146,60,.25);color:#fed7aa}@media(max-width:620px){.guest-benefits{grid-template-columns:1fr}.guest-auth-actions .btn{flex-basis:100%}}
@media(max-width:1100px){.filters-row{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-6,.cols-9,.cols-12{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.app{padding:4px}.hero{min-height:42px;align-items:flex-start}.filters-row{grid-template-columns:1fr 1fr}.search-box{grid-column:1/-1}.cols-4,.cols-6,.cols-9,.cols-12{grid-template-columns:1fr}.chart-canvas{height:320px;min-height:280px}.chart-badges{top:34px;bottom:auto;padding:0;background:transparent}.chart-head{grid-template-columns:auto auto auto;right:44px}.filters{border-radius:10px}.menu{position:fixed;left:8px;right:8px;top:8px;bottom:8px;border-radius:18px;max-height:none;padding:14px;transform:translateY(10px) scale(.98)}.menu.open{transform:translateY(0) scale(1)}.login-card{padding:20px;border-radius:24px}.modal{padding:6px;align-items:flex-end}.community-sheet{width:min(100%,calc(100vw - 12px))!important;max-height:calc(100dvh - 12px)!important;border-radius:22px!important}.community-head{padding:18px 16px 12px}.community-body{padding:16px 16px 18px}.community-copy{font-size:14px;line-height:1.65}.community-points{padding:12px}.community-actions{display:grid;grid-template-columns:1fr;justify-content:stretch}.community-actions .btn{width:100%}}



#profileMenu.menu:not(.open){display:none!important}
#profileMenu.menu.open{display:grid!important}
#profileMenu.menu{z-index:520!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;width:min(1040px,calc(100vw - 128px))!important;max-height:min(78vh,760px)!important;transform:translate(-50%,-46%) scale(.96)!important}
body.menu-open::before{z-index:510!important}
#profileMenu.menu.menu-modal{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:min(1040px,calc(100vw - 128px))!important;max-height:min(78vh,760px)!important;transform:none!important;opacity:1!important;pointer-events:auto!important;margin:auto}
#profileMenu.menu.open{transform:translate(-50%,-50%) scale(1)!important}
#profileMenuOverlay:not(.hidden){position:fixed!important;inset:0!important;z-index:515!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;background:rgba(15,23,42,.34)!important;backdrop-filter:blur(10px)!important;overflow:auto!important}
#profileMenuOverlay #profileMenu.menu.menu-modal,
#profileMenuOverlay #profileMenu.menu.menu-modal.open{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;display:grid!important;width:min(1040px,calc(100vw - 48px))!important;max-height:min(82vh,780px)!important;margin:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
@media (max-width:900px){
  #profileMenu.menu{left:8px!important;right:8px!important;top:8px!important;bottom:8px!important;width:auto!important;max-height:none!important;transform:translateY(10px) scale(.98)!important}
  #profileMenu.menu.open{transform:translateY(0) scale(1)!important}
  #profileMenuOverlay #profileMenu.menu.menu-modal,
  #profileMenuOverlay #profileMenu.menu.menu-modal.open{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}
}
@media (max-width:767px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden!important;
  }
  body.screener-live{
    height:100dvh!important;
    overflow:hidden!important;
    touch-action:pan-y;
  }
  body.screener-live #app{
    height:100dvh!important;
    min-height:100dvh!important;
    padding:6px 6px 92px!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  body.screener-live .hero{
    position:relative!important;
    top:auto!important;
    min-height:38px!important;
    padding:6px!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  body.screener-live .filters{
    max-height:118px!important;
    overflow:auto!important;
    border-radius:12px!important;
  }
  body.screener-live .filters .search-box{
    display:none!important;
  }
  body.screener-live:not(.modal-open) #app > .content{
    display:none!important;
  }
  body.screener-live.modal-open #app > .content{
    min-height:0!important;
    height:0!important;
    overflow:hidden!important;
  }
  body.screener-live #grid,
  body.screener-live #listWorkspace.active{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body.screener-live #grid{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  body.screener-live #grid > .card:not(:first-child){
    display:none!important;
  }
  body.screener-live .list-workspace,
  body.screener-live .list-workspace.active{
    grid-template-columns:1fr!important;
  }
  body.screener-live .list-sidebar{
    display:none!important;
  }
  body.screener-live .list-main-grid{
    grid-template-columns:1fr!important;
    height:100%!important;
    grid-auto-rows:1fr!important;
  }
  body.screener-live .list-main .card:not(:first-child),
  body.screener-live .list-main-grid .card:not(:first-child){
    display:none!important;
  }
  body.screener-live .card,
  body.screener-live .list-main .card{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body.screener-live .chart-wrap{
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    touch-action:none!important;
  }
  body.screener-live .chart-canvas,
  body.screener-live .list-main .chart-canvas{
    height:100%!important;
    min-height:0!important;
    touch-action:none!important;
  }
  body.screener-live .chart-overlay{
    touch-action:none!important;
  }
  body.screener-live .chart-tools.hidden{
    display:grid!important;
  }
  body.screener-live .chart-tools{
    top:132px!important;
    left:6px!important;
    max-height:calc(100% - 164px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  body.screener-live .chart-head{
    max-width:calc(100% - 14px)!important;
  }
  body.screener-live .chart-head .tf-select{
    display:none!important;
  }
  body.screener-live .chart-badges{
    top:38px!important;
    max-width:calc(100% - 10px)!important;
    pointer-events:none;
  }
  body.screener-live .modal{
    padding:0!important;
    overflow:hidden!important;
  }
  body.screener-live #chartModal .modal-card{
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    overflow:hidden!important;
  }
  body.screener-live #chartModalBody{
    height:calc(100dvh - 56px)!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  body.screener-live .menu,
  body.screener-live #profileMenu.menu{
    left:8px!important;
    right:8px!important;
    top:8px!important;
    bottom:8px!important;
    width:auto!important;
    max-width:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    touch-action:pan-y!important;
  }
  body.screener-live .mobile-screener-dock{
    display:grid!important;
  }
}
.mobile-screener-dock{
  position:fixed;
  left:8px;
  right:8px;
  bottom:8px;
  z-index:260;
  display:none;
  grid-template-columns:minmax(0,1fr) 82px 82px;
  gap:8px;
  padding:8px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 44px rgba(15,23,42,.18);
  backdrop-filter:blur(18px);
}
.mobile-screener-landing{
  display:none;
  margin-top:8px;
  padding:14px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 42px rgba(15,23,42,.12);
}
@media (max-width:767px){
  body.screener-live .mobile-screener-landing{
    display:grid!important;
    gap:10px;
    align-content:center;
    min-height:var(--screener-workspace-height,320px);
  }
  body.screener-live .mobile-screener-dock,
  body.screener-live .mobile-control-sheet,
  body.screener-live .mobile-drawing-actions{display:none!important}
  body.screener-live:not(.modal-open) #grid{display:none!important}
  body.screener-live:not(.modal-open) #listWorkspace{display:none!important}
  body.screener-live.modal-open .mobile-screener-landing{
    display:none!important;
  }
}
.mobile-screener-landing-title{
  font-size:16px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.03em;
  color:var(--ink);
}
.mobile-screener-landing-note{
  font-size:12px;
  line-height:1.45;
  color:var(--muted);
}
.mobile-screener-landing-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.mobile-screener-landing-actions button{
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.28);
  background:#fff;
  color:var(--ink);
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}
.mobile-screener-landing-actions a{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.28);
  background:#fff;
  color:var(--ink);
  font-size:13px;
  font-weight:950;
  text-decoration:none;
}
.mobile-screener-landing-actions [data-mobile-open-chart],
.mobile-screener-dock [data-mobile-open-chart]{
  background:linear-gradient(135deg,#f97316,#fb923c);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 24px rgba(249,115,22,.22);
}
@media (max-width:767px){
  .mobile-screener-landing [data-mobile-open-chart]{
    display:none!important;
  }
}
.mobile-drawing-actions{
  position:fixed;
  left:auto;
  right:10px;
  bottom:86px;
  width:auto;
  z-index:261;
  display:none;
  grid-template-columns:44px 44px;
  gap:6px;
  padding:6px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:16px;
  background:rgba(255,255,255,.94);
  box-shadow:0 14px 34px rgba(15,23,42,.16);
  backdrop-filter:blur(18px);
}
@media (max-width:767px){
  body.screener-live .mobile-drawing-actions.is-visible{
    display:grid!important;
  }
  body.screener-live #chartModal .modal-head{
    min-height:54px!important;
    padding:8px 10px!important;
    gap:8px!important;
    align-items:center!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid rgba(148,163,184,.22)!important;
    backdrop-filter:blur(18px)!important;
  }
  body.screener-live #chartModalClose{
    min-height:38px!important;
    border-radius:13px!important;
    padding:0 14px!important;
    background:linear-gradient(135deg,#f97316,#fb923c)!important;
    border:0!important;
    color:#fff!important;
    font-weight:900!important;
    box-shadow:0 10px 24px rgba(249,115,22,.22)!important;
  }
  body.screener-live #modalTitle{
    max-width:46vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}
.mobile-drawing-actions button{
  width:44px;
  height:38px;
  min-height:38px;
  border-radius:13px;
  border:1px solid rgba(148,163,184,.32);
  background:#fff;
  color:var(--ink);
  font-size:12px;
  font-weight:900;
}
.mobile-screener-dock select,
.mobile-screener-dock button{
  min-width:0;
  min-height:42px;
  border-radius:13px;
  border:1px solid rgba(148,163,184,.32);
  background:#fff;
  color:var(--ink);
  font-size:13px;
  font-weight:900;
}
.mobile-control-sheet{
  position:fixed;
  left:8px;
  right:8px;
  bottom:76px;
  z-index:270;
  display:none;
  max-height:min(56dvh,460px);
  overflow:hidden;
  border:1px solid rgba(148,163,184,.28);
  border-radius:20px;
  background:rgba(255,255,255,.97);
  box-shadow:0 20px 54px rgba(15,23,42,.2);
  backdrop-filter:blur(20px);
}
@media (max-width:767px){
  body.screener-live .mobile-control-sheet.is-open{
    display:grid!important;
  }
}
.mobile-control-sheet-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
  border-bottom:1px solid rgba(148,163,184,.22);
  font-size:12px;
  font-weight:900;
}
.mobile-control-sheet-list{
  display:grid;
  gap:4px;
  overflow:auto;
  padding:8px;
  -webkit-overflow-scrolling:touch;
}
.mobile-control-sheet-list button{
  min-height:38px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.22);
  background:#fff;
  color:var(--ink);
  font-size:12px;
  font-weight:900;
  text-align:left;
  padding:0 12px;
}
.mobile-control-sheet-list button.active{
  background:linear-gradient(135deg,#f97316,#fb923c);
  border-color:transparent;
  color:#fff;
}
.mobile-tf-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.mobile-tf-grid button{
  text-align:center;
}
.mobile-sheet-close{
  width:auto!important;
  min-height:30px!important;
  padding:0 10px!important;
  font-size:11px!important;
}
.mobile-screener-dock .mobile-tf-row{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:6px;
}
.mobile-screener-dock button.active{
  background:linear-gradient(135deg,#f97316,#fb923c);
  color:#fff;
  border-color:transparent;
}
html.dark #profileMenu,
html.dark #profileMenu.menu,
html.dark #profileMenu .menu-section,
html.dark #profileMenu .telegram-box,
html.dark #profileMenu .alerts-box,
html.dark #profileMenu .alert-item{
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(5,10,18,.98))!important;
  border-color:rgba(148,163,184,.22)!important;
  color:#eef3fb!important;
  box-shadow:0 28px 90px rgba(0,0,0,.48)!important;
}
html.dark #profileMenu .field,
html.dark #profileMenu input,
html.dark #profileMenu select,
html.dark #profileMenu textarea,
html.dark #profileMenu .label-inline,
html.dark #profileMenu .telegram-code{
  background:rgba(2,6,23,.88)!important;
  border-color:rgba(148,163,184,.24)!important;
  color:#eef3fb!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
html.dark #profileMenu input::placeholder,
html.dark #profileMenu textarea::placeholder{color:rgba(203,213,225,.58)!important}
html.dark #profileMenu option{background:#0f172a!important;color:#eef3fb!important}
html.dark #profileMenu input[type="checkbox"]{accent-color:#fb923c}
html.dark #profileMenu input[type="range"]{background:linear-gradient(90deg,rgba(251,146,60,.35),rgba(34,197,94,.22))!important}
html.dark #profileMenu input[type="color"]{padding:3px!important;background:rgba(15,23,42,.94)!important}
#profileMenu .screener-settings-layout{display:grid;grid-template-columns:218px minmax(0,1fr);gap:0;min-height:520px;margin-top:8px;border:1px solid var(--border);border-radius:22px;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(248,250,252,.9))}
#profileMenu .screener-settings-nav{display:grid;align-content:start;gap:8px;padding:14px;border-right:1px solid var(--border);background:linear-gradient(180deg,rgba(255,247,237,.82),rgba(255,255,255,.62))}
#profileMenu .screener-settings-nav-title{font-size:11px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:2px 4px 6px}
#profileMenu .screener-settings-nav button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid rgba(226,232,240,.88);border-radius:13px;background:rgba(255,255,255,.72);padding:10px 11px;color:var(--text);font-size:12px;font-weight:850;text-align:left;cursor:pointer}
#profileMenu .screener-settings-nav button:hover{border-color:rgba(251,146,60,.42);background:#fff7ed;transform:translateX(2px)}
#profileMenu .screener-settings-nav button::after{content:'›';color:var(--muted);font-size:16px;line-height:1}
#profileMenu .screener-settings-layout .menu-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:min(70vh,720px);overflow:auto;padding:14px}
#profileMenu .screener-settings-layout .menu-section{border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 14px 34px rgba(15,23,42,.06)}
#profileMenu .screener-settings-layout .menu-section-title{padding-bottom:8px;border-bottom:1px solid rgba(226,232,240,.72);color:#9a3412}
#profileMenu .settings-range-row{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:10px;align-items:center}
#profileMenu .settings-range-value{font-size:12px;font-weight:950;color:#ea580c;text-align:right;font-variant-numeric:tabular-nums}
#profileMenu input.settings-range{height:8px;border:0!important;padding:0!important;accent-color:#f97316;background:linear-gradient(90deg,rgba(249,115,22,.34),rgba(20,184,166,.22))!important}
.fullscreen-btn{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.78);color:var(--text);box-shadow:0 10px 24px rgba(15,23,42,.07);cursor:pointer;transition:.18s ease}
.fullscreen-btn:hover{transform:translateY(-1px);border-color:rgba(249,115,22,.45);background:#fff7ed;color:#c2410c}
.fullscreen-btn.active{background:#0f172a;color:#fff;border-color:#0f172a}
.fullscreen-btn svg{width:19px;height:19px;stroke:currentColor;stroke-width:2.1;fill:none;stroke-linecap:round;stroke-linejoin:round}
html.dark #profileMenu .screener-settings-layout{background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(2,6,23,.98));border-color:rgba(148,163,184,.22)}
html.dark #profileMenu .screener-settings-nav{background:linear-gradient(180deg,rgba(30,41,59,.92),rgba(15,23,42,.72));border-color:rgba(148,163,184,.2)}
html.dark #profileMenu .screener-settings-nav button{background:rgba(15,23,42,.78);border-color:rgba(148,163,184,.2);color:#eef3fb}
html.dark #profileMenu .screener-settings-nav button:hover{background:rgba(124,45,18,.5);border-color:rgba(251,146,60,.34)}
html.dark #profileMenu .settings-range-value{color:#fdba74}
@media(max-width:860px){#profileMenu .screener-settings-layout{grid-template-columns:1fr}#profileMenu .screener-settings-nav{display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--border)}#profileMenu .screener-settings-nav-title{display:none}#profileMenu .screener-settings-nav button{min-width:138px}#profileMenu .screener-settings-layout .menu-sections{grid-template-columns:1fr;max-height:none}}

/* Mobile screener board: compact ScalpBoard-like list instead of the old placeholder. */
@media (max-width:1024px), (pointer:coarse){
  body #mobileScreenerGlobalPlaceholder{display:none!important}
  body{overflow:auto!important}
  body #loader:not(.hidden){display:flex!important}
  body:not(.screener-live) #loginGate:not(.hidden){display:flex!important}
  body.screener-live #app:not(.hidden){display:flex!important}
  body.screener-live #chartModal:not(.hidden){display:flex!important}
  body.screener-live #mobileScreenerLanding{display:grid!important}
  body.screener-live #mobileScreenerDock{display:grid!important}
  body.screener-live #mobileSymbolSheet.is-open,
  body.screener-live #mobileTfSheet.is-open{display:grid!important}
  body.screener-live #mobileDrawingActions.is-visible{display:grid!important}
}
@media (max-width:767px){
  body.screener-live #app{
    display:flex!important;
    height:100dvh!important;
    padding:6px 6px 92px!important;
    overflow:auto!important;
    background:var(--screen-bg)!important;
  }
  body.screener-live:not(.modal-open) #app > .content{
    display:grid!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.screener-live:not(.modal-open) #grid,
  body.screener-live:not(.modal-open) #listWorkspace,
  body.screener-live:not(.modal-open) .pager,
  body.screener-live:not(.modal-open) #gridLoader{display:none!important}
  body.screener-live .filters{
    max-height:none!important;
    overflow:visible!important;
  }
  body.screener-live .filters-row{
    grid-template-columns:1fr 1fr!important;
  }
  body.screener-live .filters .search-box{
    display:grid!important;
    grid-column:1/-1;
  }
  body.screener-live .mobile-screener-landing.mobile-market-board{
    display:grid!important;
    gap:10px;
    min-height:0!important;
    margin-top:0;
    padding:10px;
    border-radius:14px;
    background:var(--toolbar)!important;
    border-color:var(--toolbar-border);
    box-shadow:none;
  }
}
.mobile-board-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mobile-board-kicker{font-size:10px;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:var(--subtle)}
.mobile-board-refresh{min-height:34px;padding:0 11px;border-radius:10px;border:1px solid var(--toolbar-border);background:var(--control);color:var(--ink);font-size:12px;font-weight:900}
.mobile-board-summary{display:flex;gap:6px;overflow:auto;padding-bottom:2px;color:var(--subtle)}
.mobile-board-summary span{flex:0 0 auto;min-height:24px;display:inline-flex;align-items:center;padding:0 8px;border-radius:7px;background:var(--control);border:1px solid var(--toolbar-border);font-size:10px;font-weight:900}
.mobile-board-list{display:grid;gap:5px}
.mobile-board-row{width:100%;display:grid;grid-template-columns:minmax(74px,.78fr) minmax(86px,.82fr);gap:6px;align-items:center;padding:8px;border:1px solid var(--chart-line);border-radius:12px;background:var(--chart-bg);color:var(--ink);text-align:left;box-shadow:none;animation:mobileBoardIn .24s ease both;animation-delay:calc(min(var(--i),12) * 16ms)}
.mobile-board-row.active{border-color:rgba(var(--tn-rgb),.46);background:color-mix(in srgb,var(--chart-bg) 82%,var(--tn-accent) 18%)}
.mobile-board-symbol,.mobile-board-price{display:grid;gap:2px;min-width:0}
.mobile-board-symbol strong,.mobile-board-price strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.05;font-weight:950}
.mobile-board-symbol small,.mobile-board-price small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.1;font-weight:850;color:var(--subtle)}
.mobile-board-price{justify-items:end;text-align:right}
.mobile-board-metrics{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.mobile-board-metrics span{display:grid;gap:2px;padding:6px;border-radius:8px;background:var(--control);border:1px solid var(--toolbar-border);min-width:0}
.mobile-board-metrics em{font-style:normal;font-size:9px;font-weight:950;letter-spacing:.06em;color:var(--subtle)}
.mobile-board-metrics strong{font-size:11px;line-height:1.05;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobile-board-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 42px;gap:6px}
.mobile-board-open,.mobile-board-fav{min-height:34px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--toolbar-border);background:var(--control);font-size:12px;font-weight:950}
.mobile-board-open{background:linear-gradient(135deg,#f97316,#fb923c);border-color:transparent;color:#fff}
.mobile-board-fav.active{background:rgba(var(--tn-rgb),.16);border-color:rgba(var(--tn-rgb),.32);color:var(--tn-accent)}
.mobile-board-empty{padding:14px;border:1px solid var(--toolbar-border);border-radius:12px;background:var(--control);color:var(--subtle);font-size:13px;font-weight:850}
@keyframes mobileBoardIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
html.dark .mobile-screener-dock,
html.dark .mobile-control-sheet,
html.dark .mobile-drawing-actions,
html.dark .mobile-board-refresh,
html.dark .mobile-board-summary span,
html.dark .mobile-board-metrics span,
html.dark .mobile-board-open,
html.dark .mobile-board-fav,
html.dark .mobile-board-empty{background:#101010!important;border-color:rgba(255,255,255,.12)!important;color:#f4f4f5!important}



@media (max-width:1024px), (pointer:coarse){
  body #loader,
  body #loginGate,
  body #app,
  body #chartModal,
  body #mobileScreenerDock,
  body #mobileSymbolSheet,
  body #mobileTfSheet,
  body #mobileDrawingActions,
  body #mobileScreenerLanding,
  body .mobile-screener-dock,
  body .mobile-control-sheet,
  body .mobile-drawing-actions{display:none!important}
  body #mobileScreenerGlobalPlaceholder{display:grid!important;min-height:100dvh}
  body{overflow:hidden!important}
}
#mobileScreenerGlobalPlaceholder{display:none;place-items:center;padding:18px;min-height:100dvh;background:radial-gradient(circle at 18% 0,rgba(249,115,22,.18),transparent 30%),linear-gradient(180deg,#f8fafc,#eef3fa)}
.mobile-placeholder-card{width:min(100%,420px);display:grid;gap:14px;padding:22px;border-radius:28px;background:rgba(255,255,255,.94);border:1px solid rgba(148,163,184,.24);box-shadow:0 24px 70px rgba(15,23,42,.14);text-align:left}
.mobile-placeholder-card h1{margin:0;font-size:1.35rem;letter-spacing:-.04em;color:#102038}
.mobile-placeholder-card p{margin:0;color:#64748b;line-height:1.55;font-size:14px}
.mobile-placeholder-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mobile-placeholder-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:16px;text-decoration:none;font-weight:900;color:#fff;background:linear-gradient(135deg,#f97316,#fb923c)}
.mobile-placeholder-actions a.secondary{background:#fff;color:#0f172a;border:1px solid rgba(148,163,184,.28)}



.header-settings-btn{min-height:42px;padding:0 12px;border-radius:14px;border:1px solid rgba(148,163,184,.24);background:rgba(255,255,255,.9);box-shadow:none;color:#111827;transition:background .16s ease,border-color .16s ease,color .16s ease}
.header-settings-btn:hover{background:#fff;border-color:rgba(148,163,184,.42)}
.header-settings-btn strong{color:inherit}
.header-settings-btn span{color:#64748b}
#profileMenu.menu{width:min(1120px,calc(100vw - 56px))!important;max-height:min(84vh,820px)!important;padding:0!important;overflow:hidden!important;gap:0!important;border-radius:20px!important;background:#f8fafc!important}
#profileMenu .screener-settings-layout{height:min(84vh,820px)!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#f8fafc!important}
#profileMenu .screener-settings-nav{overflow:auto;background:#f1f5f9!important;border-right:1px solid rgba(148,163,184,.24)!important}
#profileMenu .screener-settings-profile{display:flex;gap:10px;align-items:center;margin:0 0 12px;padding:10px;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:rgba(255,255,255,.72)}
#profileMenu .screener-settings-profile img{width:42px;height:42px}
#profileMenu .screener-settings-profile .menu-name{font-size:13px;line-height:1.15}
#profileMenu .screener-settings-profile .menu-user{font-size:11px;line-height:1.2;word-break:break-word}
#profileMenu .screener-settings-layout .menu-sections{height:100%!important;max-height:none!important;overflow:auto!important;padding:14px!important}
#profileMenu .screener-settings-layout .menu-section{background:rgba(255,255,255,.82)!important}
#profileMenu .screener-settings-nav button{background:rgba(255,255,255,.72)!important;border-color:rgba(148,163,184,.24)!important;color:#111827!important;box-shadow:none!important}
#profileMenu .screener-settings-nav button:hover{background:#fff!important;border-color:rgba(148,163,184,.42)!important;transform:none!important}
#profileMenu .screener-settings-layout .menu-section-title{color:#111827!important}
html.dark{--bg:#050505;--panel:rgba(12,12,12,.96);--panel-soft:#111;--text:#f4f4f5;--muted:#a1a1aa;--border:rgba(255,255,255,.11);--accent:#e5e7eb;--accent2:#9ca3af;--shadow:0 24px 70px rgba(0,0,0,.55);--screen-bg:#050505;--chart-bg:#070707;--chart-line:rgba(255,255,255,.10);--toolbar:rgba(12,12,12,.94);--toolbar-border:rgba(255,255,255,.12);--ink:#f4f4f5;--subtle:#a1a1aa;--control:#101010}
html.dark,html.dark body{background:#050505!important;color:#f4f4f5!important}
html.dark .hero,html.dark .filters,html.dark .card,html.dark .menu,html.dark .modal-card,html.dark .list-panel,html.dark .surface,html.dark .trade-panel{background:#0b0b0b!important;border-color:rgba(255,255,255,.11)!important;color:#f4f4f5!important;box-shadow:0 24px 70px rgba(0,0,0,.46)!important}
html.dark .hero:after{display:none!important}
html.dark .field,html.dark .search-input,html.dark select,html.dark input,html.dark textarea,html.dark .label-inline,html.dark .chart-copy-btn,html.dark .chart-mini-select,html.dark .chart-action-btn,html.dark .favorite-btn,html.dark .expand-btn,html.dark .chart-pill,html.dark .chart-tool,html.dark .btn-ghost,html.dark .telegram-code{background:#101010!important;border-color:rgba(255,255,255,.12)!important;color:#f4f4f5!important;box-shadow:none!important}
html.dark input::placeholder,html.dark textarea::placeholder{color:rgba(244,244,245,.42)!important}
html.dark option{background:#101010!important;color:#f4f4f5!important}
html.dark .app-switch,html.dark .meta-pill,html.dark .tag,html.dark .drawing-chip,html.dark .telegram-box,html.dark .alerts-box,html.dark .alert-item,html.dark .trade-row,html.dark .trade-summary,html.dark .trade-position-card{background:#111!important;border-color:rgba(255,255,255,.11)!important;color:#f4f4f5!important;box-shadow:none!important}
html.dark .app-switch-link.active,html.dark .favorite-btn.active,html.dark .drawing-chip.active{background:#1a1a1a!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}
html.dark .chart-wrap,html.dark .chart-canvas{background:#070707!important;border-color:rgba(255,255,255,.10)!important}
html.dark .chart-placeholder{background:#080808!important}
html.dark .chart-placeholder-card,html.dark .grid-loader-card,html.dark .loader-card,html.dark .consent-card{background:#111!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 20px 56px rgba(0,0,0,.42)!important}
html.dark .modal-head,html.dark .community-head{background:#0d0d0d!important;border-color:rgba(255,255,255,.11)!important}
html.dark .header-settings-btn{background:#111!important;border-color:rgba(255,255,255,.14)!important;color:#f4f4f5!important;box-shadow:none!important}
html.dark .header-settings-btn:hover{background:#171717!important;border-color:rgba(255,255,255,.22)!important}
html.dark .header-settings-btn span{color:#a1a1aa!important}
html.dark .avatar-btn{background:#111!important;border-color:rgba(255,255,255,.14)!important;box-shadow:none!important}
html.dark .avatar-btn::after{background:#22c55e;border-color:#0b0b0b}
html.dark #profileMenu,html.dark #profileMenu.menu{background:#090909!important;border-color:rgba(255,255,255,.12)!important}
html.dark #profileMenu .screener-settings-layout{background:#090909!important;border-color:rgba(255,255,255,.10)!important}
html.dark #profileMenu .screener-settings-nav{background:#0d0d0d!important;border-color:rgba(255,255,255,.11)!important}
html.dark #profileMenu .screener-settings-profile,html.dark #profileMenu .menu-section{background:#111!important;border-color:rgba(255,255,255,.11)!important;color:#f4f4f5!important;box-shadow:none!important}
html.dark #profileMenu .screener-settings-nav button{background:#141414!important;border-color:rgba(255,255,255,.11)!important;color:#f4f4f5!important}
html.dark #profileMenu .screener-settings-nav button:hover{background:#1b1b1b!important;border-color:rgba(255,255,255,.2)!important}
html.dark #profileMenu .screener-settings-layout .menu-section-title,html.dark #profileMenu .settings-range-value{color:#f4f4f5!important}
html.dark #profileMenu input[type="range"],html.dark .range{background:#242424!important;accent-color:#d4d4d8}
html.dark .toolbar button.active,html.dark .chart-tool.active{background:#e5e7eb!important;color:#090909!important;border-color:#e5e7eb!important}
html.dark .fullscreen-btn{background:#111!important;border-color:rgba(255,255,255,.14)!important;color:#f4f4f5!important;box-shadow:none!important}
html.dark .fullscreen-btn:hover{background:#171717!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;transform:none!important}

/* Keep this after the legacy coarse-pointer placeholder block. */
@media (max-width:1024px), (pointer:coarse){
  body #mobileScreenerGlobalPlaceholder{display:none!important}
  body{overflow:auto!important}
  body #loader:not(.hidden){display:flex!important}
  body:not(.screener-live) #loginGate:not(.hidden){display:flex!important}
  body.screener-live #app:not(.hidden){display:flex!important}
  body.screener-live #chartModal:not(.hidden){display:flex!important}
  body.screener-live #mobileScreenerLanding{display:grid!important}
  body.screener-live #mobileScreenerDock{display:grid!important}
  body.screener-live #mobileSymbolSheet.is-open,
  body.screener-live #mobileTfSheet.is-open{display:grid!important}
  body.screener-live #mobileDrawingActions.is-visible{display:grid!important}
}
html.dark .fullscreen-btn.active{background:#1f1f1f!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important}
html.dark .list-view-switch{background:#101010!important;border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}
html.dark .list-view-btn{background:transparent!important;color:#a1a1aa!important;box-shadow:none!important}
html.dark .list-view-btn:hover{background:#171717!important;color:#f4f4f5!important}
html.dark .list-view-btn.active{background:#2a2a2a!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important;box-shadow:none!important}
html.dark .chart-draw-hint{background:#111!important;border-color:rgba(255,255,255,.12)!important;color:#a1a1aa!important;box-shadow:none!important}
@media(max-width:860px){#profileMenu.menu{width:auto!important;max-height:none!important;inset:12px!important}#profileMenu .screener-settings-layout{height:100%!important;grid-template-rows:auto minmax(0,1fr)}#profileMenu .screener-settings-nav{display:flex!important;gap:8px;overflow:auto!important;padding:10px!important}#profileMenu .screener-settings-profile{min-width:180px;margin:0}#profileMenu .screener-settings-layout .menu-sections{padding:10px!important}}



#settingsMenuBtn.header-settings-btn{
  gap:8px;
  min-height:36px;
  padding:0 10px;
  border-radius:8px;
  border-color:rgba(148,163,184,.28);
  background:var(--control)!important;
  color:var(--ink);
  box-shadow:none;
}
#settingsMenuBtn.header-settings-btn:hover{
  background:var(--control-hover)!important;
  border-color:rgba(100,116,139,.38);
  transform:none;
}
.settings-gear{
  position:relative;
  width:16px;
  height:14px;
  border-top:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  opacity:.72;
  flex:0 0 auto;
}
.settings-gear::before{
  content:"";
  position:absolute;
  left:1px;
  top:50%;
  width:14px;
  height:1.6px;
  border-radius:999px;
  background:currentColor;
  transform:translateY(-50%);
}
.settings-gear::after{
  content:"";
  position:absolute;
  left:3px;
  top:-3.3px;
  width:4px;
  height:4px;
  border-radius:999px;
  background:currentColor;
  box-shadow:7px 6px 0 currentColor,3px 12px 0 currentColor;
  opacity:.9;
}
#profileMenu.menu{
  border-radius:12px!important;
  background:#f6f7f9!important;
  border-color:rgba(148,163,184,.32)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.18)!important;
}
#profileMenu .screener-settings-layout{
  grid-template-columns:208px minmax(0,1fr)!important;
  background:#f6f7f9!important;
}
#profileMenu .screener-settings-nav{
  gap:2px!important;
  padding:12px!important;
  background:#eef1f4!important;
  border-right:1px solid rgba(148,163,184,.24)!important;
}
#profileMenu .screener-settings-profile{
  margin:0 0 10px!important;
  padding:9px!important;
  border-radius:9px!important;
  background:#f8fafc!important;
  border-color:rgba(148,163,184,.26)!important;
}
#profileMenu .screener-settings-nav-title{
  margin:2px 4px 8px!important;
  color:#6b7280!important;
  letter-spacing:.10em!important;
}
#profileMenu .screener-settings-nav button{
  position:relative;
  min-height:34px;
  padding:0 9px 0 20px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#273244!important;
  font-size:12px!important;
  font-weight:760!important;
  box-shadow:none!important;
}
#profileMenu .screener-settings-nav button::before{
  content:"";
  position:absolute;
  left:8px;
  top:50%;
  width:4px;
  height:4px;
  border-radius:999px;
  background:#9ca3af;
  transform:translateY(-50%);
}
#profileMenu .screener-settings-nav button::after{
  content:"";
  width:6px;
  height:6px;
  border-top:1px solid currentColor;
  border-right:1px solid currentColor;
  transform:rotate(45deg);
  opacity:.35;
}
#profileMenu .screener-settings-nav button:hover{
  background:#ffffff!important;
  border-color:transparent!important;
}
#profileMenu .screener-settings-layout .menu-sections{
  padding:12px 14px!important;
  background:#f6f7f9;
}
#profileMenu .screener-settings-layout .menu-section{
  display:grid;
  gap:10px;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
#profileMenu .screener-settings-layout .menu-section + .menu-section{
  margin-top:16px;
  padding-top:16px!important;
  border-top:1px solid rgba(148,163,184,.26)!important;
}
#profileMenu .screener-settings-layout .menu-section-title,
#profileMenu .alerts-box .eyebrow,
#profileMenu .telegram-box .eyebrow{
  padding:0 0 2px!important;
  border:0!important;
  color:#111827!important;
  font-size:13px!important;
  font-weight:850!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
#profileMenu .screener-settings-layout .menu-fields{
  gap:8px!important;
}
#profileMenu .screener-settings-layout .label{
  gap:5px!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:720!important;
}
#profileMenu .screener-settings-layout .field,
#profileMenu .screener-settings-layout select,
#profileMenu .screener-settings-layout input,
#profileMenu .screener-settings-layout textarea,
#profileMenu .screener-settings-layout .telegram-code{
  min-height:34px!important;
  border-radius:7px!important;
  border-color:rgba(148,163,184,.28)!important;
  background:#fff!important;
  color:#182230!important;
  box-shadow:none!important;
}
#profileMenu .screener-settings-layout input[type="color"]{
  padding:4px!important;
}
#profileMenu .screener-settings-layout input[type="checkbox"]{
  width:15px!important;
  height:15px!important;
  min-height:15px!important;
  accent-color:#525866!important;
}
#profileMenu .screener-settings-layout .label-inline{
  min-height:34px!important;
  border-radius:7px!important;
  border-color:rgba(148,163,184,.24)!important;
  background:#fff!important;
  color:#273244!important;
  font-size:12px!important;
  font-weight:720!important;
  box-shadow:none!important;
}
#profileMenu .settings-range-row{
  grid-template-columns:minmax(0,1fr) 40px!important;
}
#profileMenu .settings-range-value{
  color:#525866!important;
  font-size:11px!important;
  font-weight:820!important;
}
#profileMenu input.settings-range,
#profileMenu input[type="range"].settings-range{
  height:5px!important;
  min-height:5px!important;
  background:#d7dce3!important;
  accent-color:#525866!important;
}
#profileMenu .telegram-box,
#profileMenu .alerts-box{
  display:grid;
  gap:8px;
  padding:10px!important;
  border-radius:9px!important;
  background:#fff!important;
  border-color:rgba(148,163,184,.24)!important;
  box-shadow:none!important;
}
#profileMenu .btn{
  min-height:34px;
  border-radius:7px!important;
  box-shadow:none!important;
}
#profileMenu .btn-primary{
  background:#2f3846!important;
  color:#fff!important;
  border:1px solid #2f3846!important;
}
#profileMenu .btn-ghost{
  background:#fff!important;
  color:#273244!important;
  border-color:rgba(148,163,184,.28)!important;
}
#profileMenu .settings-note,
#profileMenu .mini-note{
  color:#667085!important;
}
html.dark #settingsMenuBtn.header-settings-btn{
  background:#111!important;
  border-color:rgba(255,255,255,.13)!important;
  color:#f4f4f5!important;
}
html.dark #settingsMenuBtn.header-settings-btn:hover{
  background:#181818!important;
  border-color:rgba(255,255,255,.22)!important;
}
html.dark #profileMenu.menu,
html.dark #profileMenu .screener-settings-layout{
  background:#090909!important;
}
html.dark #profileMenu .screener-settings-nav{
  background:#0d0d0d!important;
  border-color:rgba(255,255,255,.10)!important;
}
html.dark #profileMenu .screener-settings-profile,
html.dark #profileMenu .telegram-box,
html.dark #profileMenu .alerts-box{
  background:#111!important;
  border-color:rgba(255,255,255,.10)!important;
}
html.dark #profileMenu .screener-settings-nav button{
  color:#e4e4e7!important;
}
html.dark #profileMenu .screener-settings-nav button::before{
  background:#71717a;
}
html.dark #profileMenu .screener-settings-nav button:hover{
  background:#171717!important;
}
html.dark #profileMenu .screener-settings-layout .menu-sections{
  background:#090909!important;
}
html.dark #profileMenu .screener-settings-layout .menu-section + .menu-section{
  border-top-color:rgba(255,255,255,.10)!important;
}
html.dark #profileMenu .screener-settings-layout .menu-section-title,
html.dark #profileMenu .alerts-box .eyebrow,
html.dark #profileMenu .telegram-box .eyebrow{
  color:#f4f4f5!important;
}
html.dark #profileMenu .screener-settings-layout .label{
  color:#a1a1aa!important;
}
html.dark #profileMenu .screener-settings-layout .field,
html.dark #profileMenu .screener-settings-layout select,
html.dark #profileMenu .screener-settings-layout input,
html.dark #profileMenu .screener-settings-layout textarea,
html.dark #profileMenu .screener-settings-layout .label-inline,
html.dark #profileMenu .screener-settings-layout .telegram-code{
  background:#121212!important;
  border-color:rgba(255,255,255,.12)!important;
  color:#f4f4f5!important;
}
html.dark #profileMenu .btn-primary{
  background:#e5e7eb!important;
  color:#090909!important;
  border-color:#e5e7eb!important;
}
html.dark #profileMenu .btn-ghost{
  background:#121212!important;
  color:#f4f4f5!important;
  border-color:rgba(255,255,255,.12)!important;
}
html.dark #profileMenu input.settings-range,
html.dark #profileMenu input[type="range"].settings-range{
  background:#2a2a2a!important;
  accent-color:#d4d4d8!important;
}
@media(max-width:860px){
  #profileMenu .screener-settings-layout{
    grid-template-columns:1fr!important;
  }
  #profileMenu .screener-settings-nav{
    padding:10px!important;
  }
  #profileMenu .screener-settings-nav button{
    min-width:132px;
  }
}



#profileMenu.menu{
  width:min(1040px,calc(100vw - 56px))!important;
  border-radius:8px!important;
  background:#eceff2!important;
}
#profileMenu .screener-settings-layout{
  grid-template-columns:184px minmax(0,1fr)!important;
  background:#eceff2!important;
}
#profileMenu .screener-settings-nav{
  padding:8px!important;
  gap:1px!important;
  background:#e2e6eb!important;
}
#profileMenu .screener-settings-profile{
  padding:7px!important;
  border-radius:6px!important;
  background:#edf0f4!important;
}
#profileMenu .screener-settings-profile img{
  width:34px!important;
  height:34px!important;
}
#profileMenu .screener-settings-profile .menu-name{
  font-size:12px!important;
  font-weight:820!important;
}
#profileMenu .screener-settings-profile .menu-user{
  font-size:10px!important;
}
#profileMenu .screener-settings-nav-title{
  margin:4px 5px 7px!important;
  font-size:9px!important;
  font-weight:820!important;
  color:#6d7480!important;
}
#profileMenu .screener-settings-nav button{
  min-height:29px!important;
  padding:0 7px 0 18px!important;
  border-radius:4px!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:720!important;
  color:#2f3744!important;
}
#profileMenu .screener-settings-nav button::before{
  left:7px!important;
  width:3px!important;
  height:3px!important;
}
#profileMenu .screener-settings-layout .menu-sections{
  counter-reset:settings-section;
  padding:10px 12px!important;
  background:#eceff2!important;
}
#profileMenu .screener-settings-layout .menu-section{
  counter-increment:settings-section;
  gap:0!important;
  border-top:1px solid rgba(38,47,61,.18)!important;
}
#profileMenu .screener-settings-layout .menu-section:first-child{
  border-top:0!important;
}
#profileMenu .screener-settings-layout .menu-section + .menu-section{
  margin-top:10px!important;
  padding-top:10px!important;
}
#profileMenu .screener-settings-layout .menu-section-title,
#profileMenu .alerts-box .eyebrow,
#profileMenu .telegram-box .eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:24px;
  margin:0 0 4px!important;
  color:#1f2937!important;
  font-size:11px!important;
  font-weight:820!important;
}
#profileMenu .screener-settings-layout .menu-section-title::before{
  content:counter(settings-section,decimal-leading-zero);
  min-width:20px;
  color:#8a93a2;
  font:800 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace;
}
#profileMenu .screener-settings-layout .menu-fields,
#profileMenu .screener-settings-layout .menu-fields[class*="cols-"]{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:0!important;
}
#profileMenu .screener-settings-layout .label{
  display:grid!important;
  grid-template-columns:minmax(150px,210px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:38px!important;
  padding:4px 0!important;
  border-bottom:1px solid rgba(148,163,184,.22);
  color:#5e6673!important;
  font-size:11px!important;
  line-height:1.2!important;
}
#profileMenu .screener-settings-layout .label > span:first-child{
  color:#4b5563!important;
  font-weight:760!important;
}
#profileMenu .screener-settings-layout .label:last-child,
#profileMenu .screener-settings-layout .label-inline:last-child{
  border-bottom:0;
}
#profileMenu .screener-settings-layout .field,
#profileMenu .screener-settings-layout select,
#profileMenu .screener-settings-layout input:not([type="checkbox"]):not([type="range"]),
#profileMenu .screener-settings-layout textarea,
#profileMenu .screener-settings-layout .telegram-code{
  justify-self:stretch;
  min-height:28px!important;
  border-radius:4px!important;
  padding:4px 8px!important;
  background:#f8fafc!important;
  border-color:rgba(83,94,110,.22)!important;
  font-size:12px!important;
}
#profileMenu .screener-settings-layout select{
  cursor:pointer;
}
#profileMenu .screener-settings-layout input[type="color"]{
  width:42px!important;
  min-width:42px!important;
  height:24px!important;
  min-height:24px!important;
  justify-self:start!important;
  padding:2px!important;
}
#profileMenu .screener-settings-layout .label-inline{
  display:flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:0!important;
  border:0!important;
  border-bottom:1px solid rgba(148,163,184,.22)!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:11px!important;
  color:#374151!important;
}
#profileMenu .screener-settings-layout .label-inline[style*="grid-column"]{
  grid-column:auto!important;
}
#profileMenu .settings-range-row{
  grid-template-columns:minmax(0,1fr) 36px!important;
  width:100%;
}
#profileMenu input.settings-range,
#profileMenu input[type="range"].settings-range{
  height:3px!important;
  min-height:3px!important;
  padding:0!important;
  background:#c8ced6!important;
}
#profileMenu .settings-range-value{
  color:#596273!important;
  font-size:10px!important;
}
#profileMenu .settings-note,
#profileMenu .mini-note{
  font-size:10.5px!important;
  line-height:1.45!important;
}
#profileMenu .telegram-box,
#profileMenu .alerts-box{
  padding:0!important;
  border:0!important;
  border-top:1px solid rgba(148,163,184,.22)!important;
  border-radius:0!important;
  background:transparent!important;
}
#profileMenu .telegram-box:first-of-type{
  border-top:0!important;
}
#profileMenu .consent-actions{
  gap:6px!important;
}
#profileMenu .btn{
  min-height:28px!important;
  padding:0 9px!important;
  border-radius:4px!important;
  font-size:11px!important;
  font-weight:760!important;
}
#profileMenu .btn-primary{
  background:#303946!important;
  border-color:#303946!important;
}
#profileMenu .btn-ghost{
  background:#f8fafc!important;
  border-color:rgba(83,94,110,.22)!important;
}
#profileMenu .alerts-list{
  gap:0!important;
  border-top:1px solid rgba(148,163,184,.22);
}
#profileMenu .alert-item{
  border:0!important;
  border-bottom:1px solid rgba(148,163,184,.22)!important;
  border-radius:0!important;
  background:transparent!important;
}
html.dark #profileMenu.menu,
html.dark #profileMenu .screener-settings-layout,
html.dark #profileMenu .screener-settings-layout .menu-sections{
  background:#0b0b0b!important;
}
html.dark #profileMenu .screener-settings-nav{
  background:#111!important;
}
html.dark #profileMenu .screener-settings-profile{
  background:#151515!important;
}
html.dark #profileMenu .screener-settings-layout .menu-section,
html.dark #profileMenu .screener-settings-layout .menu-section + .menu-section,
html.dark #profileMenu .telegram-box,
html.dark #profileMenu .alerts-box{
  border-top-color:rgba(255,255,255,.11)!important;
}
html.dark #profileMenu .screener-settings-layout .label,
html.dark #profileMenu .screener-settings-layout .label-inline,
html.dark #profileMenu .alerts-list,
html.dark #profileMenu .alert-item{
  border-bottom-color:rgba(255,255,255,.10)!important;
}
html.dark #profileMenu .screener-settings-layout .label,
html.dark #profileMenu .screener-settings-layout .label > span:first-child,
html.dark #profileMenu .screener-settings-layout .label-inline{
  color:#d4d4d8!important;
}
html.dark #profileMenu .screener-settings-layout .field,
html.dark #profileMenu .screener-settings-layout select,
html.dark #profileMenu .screener-settings-layout input:not([type="checkbox"]):not([type="range"]),
html.dark #profileMenu .screener-settings-layout textarea{
  background:#121212!important;
  border-color:rgba(255,255,255,.12)!important;
}
html.dark #profileMenu .btn-ghost{
  background:#121212!important;
}
@media(max-width:860px){
  #profileMenu.menu{
    width:auto!important;
  }
  #profileMenu .screener-settings-layout .label{
    grid-template-columns:1fr!important;
    gap:5px!important;
    align-items:start!important;
  }
}



:root{
  --screen-bg:#e6e9ed;
  --chart-bg:#f1f2f4;
  --chart-line:#d2d6dc;
  --toolbar:#dfe3e8;
  --toolbar-border:#c5cbd3;
  --control:#f7f8fa;
  --control-hover:#ffffff;
  --ink:#202630;
  --subtle:#687281;
  --accent:#2f3742;
  --accent2:#5d6674;
  --tn-accent:#2f3742;
  --tn-accent-2:#6b7280;
  --tn-glow:rgba(31,41,55,.12);
  --tn-rgb:47,55,66;
}
html.dark{
  --screen-bg:#0c0c0c;
  --chart-bg:#111;
  --chart-line:#252525;
  --toolbar:#151515;
  --toolbar-border:#292929;
  --control:#1a1a1a;
  --control-hover:#202020;
  --ink:#e8e8e8;
  --subtle:#9a9a9a;
  --accent:#d4d4d8;
  --accent2:#a1a1aa;
  --tn-accent:#d4d4d8;
  --tn-accent-2:#a1a1aa;
  --tn-glow:rgba(0,0,0,.35);
  --tn-rgb:212,212,216;
}
html,body{
  background:var(--screen-bg)!important;
}
.app{
  padding:3px!important;
}
.hero{
  min-height:30px!important;
  padding:2px 5px!important;
  border:0!important;
  border-bottom:1px solid var(--toolbar-border)!important;
  background:var(--toolbar)!important;
  box-shadow:none!important;
}
.hero .row.between.wrap{
  gap:5px!important;
}
.meta{
  gap:2px!important;
}
.meta-pill{
  min-height:22px!important;
  padding:0 5px!important;
  border-radius:3px!important;
  font-size:10px!important;
  color:var(--subtle)!important;
}
.live-dot{
  width:6px!important;
  height:6px!important;
  box-shadow:none!important;
}
.app-switch{
  min-height:24px!important;
  padding:1px!important;
  border-radius:3px!important;
}
.app-switch-link{
  min-height:20px!important;
  border-radius:2px!important;
  padding:0 6px!important;
  font-size:10px!important;
}
.app-switch-link.active{
  background:var(--ink)!important;
  color:var(--screen-bg)!important;
}
.feedback-link{
  border:0;
  background:linear-gradient(135deg,#0891b2,#0e7490)!important;
  color:#ecfeff!important;
  box-shadow:0 8px 22px rgba(8,145,178,.24);
}
.feedback-link:hover{background:linear-gradient(135deg,#06b6d4,#0891b2)!important;color:#fff!important}
.feedback-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:950;line-height:1}
.feedback-sheet{width:min(100%,520px);padding:0;overflow:hidden}
.feedback-sheet .modal-head{padding:16px 18px;border-bottom:1px solid var(--border)}
.feedback-form{display:grid;gap:10px;padding:14px 18px 18px}
.feedback-replies{display:grid;gap:8px;max-height:220px;overflow:auto;padding:14px 18px 0}
.feedback-reply{padding:10px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.62);font-size:12px;color:var(--ink)}
.feedback-reply-note{margin:0;color:var(--muted);font-size:11px;line-height:1.45}
.feedback-reply-answer{margin:7px 0 0;line-height:1.55}
.feedback-reply-head{display:flex;justify-content:space-between;gap:8px}
.feedback-reply-hide{min-height:24px;border:1px solid var(--border);border-radius:8px;background:var(--control);color:var(--muted);font-weight:900}
.feedback-submit{background:linear-gradient(135deg,#0891b2,#0e7490)!important;color:#ecfeff!important;box-shadow:0 12px 28px rgba(8,145,178,.22)!important}
.thanks-sheet{width:min(100%,380px);padding:22px;text-align:center}
html.dark .feedback-reply{background:rgba(255,255,255,.055)}
#settingsMenuBtn.header-settings-btn,
.fullscreen-btn,
.avatar-btn,
#logoutBtn{
  min-height:24px!important;
  height:24px!important;
  border-radius:3px!important;
  padding:0 7px!important;
  font-size:10px!important;
  background:var(--control)!important;
  border-color:var(--toolbar-border)!important;
  color:var(--ink)!important;
}
#settingsMenuBtn.header-settings-btn span:not(.settings-gear){
  display:none!important;
}
.settings-gear{
  width:14px!important;
  height:12px!important;
}
.filters{
  margin-top:3px!important;
  padding:3px 5px!important;
  border-top:0!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:1px solid var(--toolbar-border)!important;
  background:var(--toolbar)!important;
}
.filters-row{
  grid-template-columns:minmax(180px,.82fr) 178px 132px 132px 132px!important;
  gap:4px!important;
}
.filters .label,
.filters .range-head{
  font-size:9px!important;
  color:var(--subtle)!important;
}
.filters .mini-note{
  display:none!important;
}
.filters .field,
.filters .search-input,
.filters .label-inline{
  min-height:24px!important;
  height:24px!important;
  border-radius:3px!important;
  padding:0 6px!important;
  font-size:11px!important;
  background:var(--control)!important;
  border-color:var(--toolbar-border)!important;
}
.content{
  margin-top:3px!important;
  gap:3px!important;
}
.pager{
  min-height:24px!important;
  padding:0 2px!important;
}
.pager-info{
  font-size:10px!important;
}
.pager-actions .btn{
  min-height:22px!important;
  padding:0 8px!important;
  border-radius:3px!important;
  font-size:10px!important;
}
.grid,
.list-main-grid,
.list-workspace{
  gap:3px!important;
}
.card{
  border-color:var(--chart-line)!important;
  background:var(--chart-bg)!important;
}
.chart-wrap{
  background:var(--chart-bg)!important;
  padding-bottom:24px!important;
}
.chart-canvas{
  background:var(--chart-bg)!important;
}
.chart-head{
  left:3px!important;
  top:3px!important;
  gap:3px!important;
}
.chart-copy-btn,
.chart-mini-select,
.chart-action-btn,
.favorite-btn,
.expand-btn,
.chart-tool{
  min-height:20px!important;
  height:20px!important;
  border-radius:2px!important;
  background:color-mix(in srgb,var(--control) 88%,transparent)!important;
  border-color:var(--toolbar-border)!important;
  color:var(--ink)!important;
  box-shadow:none!important;
  font-size:10px!important;
}
.chart-copy-btn{
  max-width:84px!important;
  padding:0 5px!important;
}
.chart-mini-select{
  max-width:52px!important;
}
.favorite-btn,
.expand-btn,
.chart-tool{
  width:20px!important;
}
.tool-icon{
  width:13px!important;
  height:13px!important;
}
.chart-tool.active,
.toolbar button.active{
  background:var(--ink)!important;
  border-color:var(--ink)!important;
  color:var(--screen-bg)!important;
  box-shadow:none!important;
}
.chart-tools{
  left:3px!important;
  top:112px!important;
  gap:2px!important;
}
.chart-badges{
  left:3px!important;
  top:26px!important;
  gap:2px!important;
}
.chart-pill{
  min-height:18px!important;
  padding:0 5px!important;
  border-radius:2px!important;
  font-size:9px!important;
  background:color-mix(in srgb,var(--control) 82%,transparent)!important;
}
.list-workspace{
  grid-template-columns:minmax(0,1fr) 270px!important;
}
.list-panel,
.trade-panel{
  border-radius:0!important;
  border-color:var(--toolbar-border)!important;
  background:var(--toolbar)!important;
  box-shadow:none!important;
}
.list-panel{
  padding:6px!important;
}
.list-symbol-row{
  min-height:25px!important;
  padding:3px 5px!important;
  border-radius:2px!important;
}
.list-symbol-row.active{
  background:color-mix(in srgb,var(--ink) 7%,transparent)!important;
  border-color:color-mix(in srgb,var(--ink) 16%,transparent)!important;
}
.list-quiet-btn,
.list-symbol-btn,
.list-view-switch,
.list-search-item{
  border-radius:3px!important;
  background:var(--control)!important;
  border-color:var(--toolbar-border)!important;
  box-shadow:none!important;
}
#profileMenu.menu{
  width:min(1180px,calc(100vw - 48px))!important;
  background:#e7eaee!important;
}
#profileMenu .screener-settings-layout{
  grid-template-columns:176px minmax(0,1fr)!important;
  background:#e7eaee!important;
}
#profileMenu .screener-settings-nav{
  padding:7px!important;
  background:#dfe3e8!important;
}
#profileMenu .screener-settings-layout .menu-sections{
  padding:8px 10px!important;
  background:#e7eaee!important;
}
#profileMenu .screener-settings-layout .menu-section + .menu-section{
  margin-top:7px!important;
  padding-top:7px!important;
}
#profileMenu .screener-settings-layout .menu-section-title,
#profileMenu .alerts-box .eyebrow,
#profileMenu .telegram-box .eyebrow{
  min-height:20px!important;
  margin-bottom:2px!important;
  font-size:10.5px!important;
}
#profileMenu .screener-settings-layout .menu-fields,
#profileMenu .screener-settings-layout .menu-fields[class*="cols-"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:18px!important;
  row-gap:0!important;
}
#profileMenu .screener-settings-layout .menu-section.full .menu-fields,
#profileMenu #densityExchangeChecks,
#profileMenu #drawingToolChecks{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  column-gap:12px!important;
}
#profileMenu #fiboLevelChecks{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
#profileMenu .screener-settings-layout .label{
  grid-template-columns:minmax(96px,34%) minmax(0,1fr)!important;
  gap:7px!important;
  min-height:31px!important;
  padding:2px 0!important;
  font-size:10.5px!important;
}
#profileMenu .screener-settings-layout .field,
#profileMenu .screener-settings-layout select,
#profileMenu .screener-settings-layout input:not([type="checkbox"]):not([type="range"]),
#profileMenu .screener-settings-layout textarea,
#profileMenu .screener-settings-layout .telegram-code{
  min-height:24px!important;
  height:24px!important;
  padding:2px 6px!important;
  font-size:11px!important;
}
#profileMenu .screener-settings-layout input[type="color"]{
  width:34px!important;
  min-width:34px!important;
  height:20px!important;
  min-height:20px!important;
}
#profileMenu .screener-settings-layout .label-inline{
  min-height:28px!important;
  font-size:10.5px!important;
}
#profileMenu .settings-range-row{
  grid-template-columns:minmax(0,1fr) 32px!important;
}
#profileMenu .settings-note{
  grid-column:1/-1;
  margin:0 0 4px!important;
  font-size:10px!important;
}
#profileMenu .telegram-box,
#profileMenu .alerts-box{
  grid-column:1/-1;
}
html.dark #profileMenu.menu,
html.dark #profileMenu .screener-settings-layout,
html.dark #profileMenu .screener-settings-layout .menu-sections{
  background:#0c0c0c!important;
}
html.dark #profileMenu .screener-settings-nav{
  background:#111!important;
}
@media(max-width:1100px){
  .filters-row{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .list-workspace{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:860px){
  #profileMenu .screener-settings-layout .menu-fields,
  #profileMenu .screener-settings-layout .menu-fields[class*="cols-"],
  #profileMenu .screener-settings-layout .menu-section.full .menu-fields,
  #profileMenu #densityExchangeChecks,
  #profileMenu #drawingToolChecks,
  #profileMenu #fiboLevelChecks{
    grid-template-columns:1fr!important;
  }
}



.chart-pill.signal-hot{border-color:rgba(34,197,94,.36)!important;background:rgba(22,163,74,.10)!important;color:#166534!important}
.chart-pill.signal-warm{border-color:rgba(245,158,11,.34)!important;background:rgba(245,158,11,.10)!important;color:#92400e!important}
.chart-pill.signal-cold{border-color:rgba(148,163,184,.30)!important;background:rgba(148,163,184,.08)!important;color:var(--subtle)!important}
.chart-pill.signal-down{border-color:rgba(220,38,38,.34)!important;background:rgba(220,38,38,.10)!important;color:#991b1b!important}
.chart-pill.corr-strong{border-color:rgba(37,99,235,.34)!important;background:rgba(37,99,235,.10)!important;color:#1d4ed8!important}
.chart-pill.corr-weak{border-color:rgba(245,158,11,.34)!important;background:rgba(245,158,11,.10)!important;color:#92400e!important}
.chart-pill.corr-inverse{border-color:rgba(220,38,38,.34)!important;background:rgba(220,38,38,.10)!important;color:#991b1b!important}
.chart-pill.source-pill{border-color:rgba(15,23,42,.12)!important;background:rgba(248,250,252,.92)!important;color:#475569!important}
.density-tape{position:absolute;right:3px;top:50px;z-index:47;display:grid;gap:2px;min-width:92px;pointer-events:none}
.density-tape-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px;align-items:center;min-height:18px;padding:0 5px;border:1px solid var(--toolbar-border);border-left-width:3px;border-radius:2px;background:color-mix(in srgb,var(--control) 86%,transparent);font-size:9px;font-weight:850;color:var(--ink);white-space:nowrap}
.density-tape-row span:last-child{overflow:hidden;text-overflow:ellipsis;text-align:right}
.chart-pill[data-tip]{
  position:relative;
  cursor:help;
}
.chart-pill[data-tip]::before{
  content:attr(data-tip);
  position:absolute;
  left:0;
  top:calc(100% + 7px);
  z-index:120;
  width:max-content;
  max-width:260px;
  padding:8px 9px;
  border-radius:4px;
  border:1px solid var(--toolbar-border);
  background:#111827;
  color:#f8fafc;
  font-size:11px;
  font-weight:650;
  line-height:1.35;
  white-space:normal;
  box-shadow:0 12px 30px rgba(15,23,42,.22);
  opacity:0;
  pointer-events:none;
  transform:translateY(-3px);
  transition:opacity .12s ease,transform .12s ease;
}
.chart-pill[data-tip]::after{
  content:"";
  position:absolute;
  left:12px;
  top:calc(100% + 2px);
  border:5px solid transparent;
  border-bottom-color:#111827;
  opacity:0;
  pointer-events:none;
  transition:opacity .12s ease;
}
.chart-pill[data-tip]:hover::before,
.chart-pill[data-tip]:focus-visible::before,
.chart-pill[data-tip]:hover::after,
.chart-pill[data-tip]:focus-visible::after{
  opacity:1;
  transform:translateY(0);
}
html.dark .chart-pill[data-tip]::before{
  background:#f4f4f5;
  color:#111;
  border-color:rgba(255,255,255,.18);
  box-shadow:0 16px 34px rgba(0,0,0,.45);
}
html.dark .chart-pill[data-tip]::after{
  border-bottom-color:#f4f4f5;
}
html.dark .chart-pill.signal-hot{color:#86efac!important}
html.dark .chart-pill.signal-warm{color:#fcd34d!important}
html.dark .chart-pill.signal-down{color:#fca5a5!important}
html.dark .chart-pill.corr-strong{color:#93c5fd!important}
html.dark .chart-pill.corr-weak{color:#fcd34d!important}
html.dark .chart-pill.corr-inverse{color:#fca5a5!important}



.indicator-manager{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;overflow:visible;padding:0 2px 34px 0;margin-bottom:16px}
.indicator-row{display:grid;grid-template-columns:12px minmax(0,1fr) 18px 18px;gap:4px;align-items:center;min-height:23px;padding:2px 4px;border:1px solid var(--toolbar-border,var(--border));border-radius:4px;background:var(--control,rgba(255,255,255,.72))}
.indicator-row input{width:12px;height:12px;margin:0}
.indicator-row span{font-size:9.5px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.indicator-row button{width:18px;height:18px;border:1px solid var(--toolbar-border,var(--border));border-radius:4px;background:var(--toolbar,#fff);color:var(--ink,var(--text));font-size:9px;font-weight:900;cursor:pointer}
.indicator-row button:disabled{opacity:.32;cursor:default}
.focus-mode-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--toolbar-border,var(--border));border-radius:6px;background:var(--control,rgba(255,255,255,.72))}
.focus-mode-switch button{min-width:30px;height:28px;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:12px;font-weight:900;cursor:pointer}
.focus-mode-switch button.active{background:var(--tn-accent,#2563eb);color:#fff}
.focus-grid{display:grid;gap:8px;height:100%;min-height:0}
.focus-grid.focus-cols-1{grid-template-columns:1fr}
.focus-grid.focus-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.focus-grid.focus-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.focus-grid .card{height:100%;min-height:0;overflow:hidden}
.focus-grid .chart-wrap{height:100%;display:grid;grid-template-rows:minmax(0,1fr);min-height:0}
.focus-grid .chart-canvas{height:100%!important;min-height:0!important}
.focus-tf-select{position:relative;z-index:90;width:58px;height:24px;border:1px solid var(--toolbar-border,var(--border));border-radius:4px;background:var(--control,rgba(255,255,255,.78));font-size:11px;font-weight:950;color:var(--ink,var(--text));padding:0 4px;pointer-events:auto}
.focus-grid .chart-head{z-index:90;pointer-events:none}
#chartModal.focus-modal .modal-tf-label{display:none!important}
html.dark .indicator-row,html.dark .focus-mode-switch,html.dark .focus-tf-badge{background:#101010;border-color:rgba(255,255,255,.12)}
html.dark .focus-tf-select{background:#101010;border-color:rgba(255,255,255,.12);color:#f4f4f5}
@media(max-width:900px){.indicator-manager{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:40px}.focus-grid.focus-cols-2,.focus-grid.focus-cols-4{grid-template-columns:1fr}.focus-grid.focus-cols-4{overflow:auto}.focus-grid.focus-cols-4 .card{min-height:300px}}



.list-workspace{position:relative}
.list-workspace.trade-attached{grid-template-columns:minmax(0,1fr) minmax(360px,420px)}
.list-workspace.sidebar-hidden{grid-template-columns:minmax(0,1fr)!important}
.list-workspace.sidebar-hidden .list-sidebar{display:block!important;position:absolute;right:10px;top:8px;width:auto;height:auto;z-index:58}
.list-workspace.sidebar-hidden .list-sidebar>:not(.list-panel){display:none!important}
.list-workspace.sidebar-hidden .list-panel{display:block!important;padding:0;border:0;background:transparent!important}
.list-workspace.sidebar-hidden .list-panel>:not(.list-panel-head){display:none!important}
.list-workspace.sidebar-hidden .list-panel-head{display:block!important}
.list-workspace.sidebar-hidden .list-panel-head>:not(.list-panel-top){display:none!important}
.list-workspace.sidebar-hidden .list-panel-top{display:block!important}
.list-workspace.sidebar-hidden .list-panel-title,.list-workspace.sidebar-hidden .list-panel-actions>:not(.list-sidebar-toggle){display:none!important}
.list-sidebar-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:78px;min-height:28px;border:1px solid var(--toolbar-border);border-radius:8px;background:var(--toolbar);color:var(--ink);font-size:11px;font-weight:900;padding:0 9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.42);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.list-sidebar-toggle::before{content:"";width:7px;height:7px;border-radius:999px;background:var(--tn-accent);box-shadow:0 0 0 3px rgba(var(--tn-rgb),.12)}
.list-sidebar-toggle::after{content:"";width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);opacity:.7}
.list-workspace.sidebar-hidden .list-sidebar-toggle{width:auto;min-width:140px;background:var(--tool-bg);border-color:rgba(var(--tn-rgb),.28);box-shadow:0 12px 26px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.52)}
.list-workspace.sidebar-hidden .list-sidebar-toggle::after{transform:rotate(225deg)}
.list-sidebar-toggle:hover{transform:translateY(-1px);border-color:rgba(var(--tn-rgb),.38)}
.list-sidebar-toggle:active{transform:translateY(0) scale(.99)}
.list-sidebar{grid-template-rows:minmax(260px,1.2fr) minmax(330px,.8fr)}
.trade-panel{min-height:0;max-height:none;border-radius:16px}
.trade-panel-head{min-height:42px;padding:10px 12px}
.trade-panel-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border:1px solid var(--tool-border);border-radius:9px;background:var(--tool-bg);color:var(--ink);font-size:11px;font-weight:900;padding:0 9px}
.trade-panel-body{gap:10px;padding:12px}
.trade-grid.trade-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.trade-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px;border-radius:12px;background:rgba(15,23,42,.04);border:1px solid rgba(148,163,184,.18)}
.trade-preview-item{display:grid;gap:3px;min-width:0}
.trade-preview-item span{font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:var(--subtle)}
.trade-preview-item strong{font-size:12px;font-weight:950;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trade-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:12px;background:rgba(15,23,42,.06);border:1px solid rgba(148,163,184,.16)}
.trade-mode-switch button{min-height:32px;border:0;border-radius:9px;background:transparent;color:var(--subtle);font-size:11px;font-weight:950}
.trade-mode-switch button.active{background:var(--tool-bg);color:var(--ink);box-shadow:0 8px 18px rgba(15,23,42,.08)}
.trade-range-value{float:right;color:var(--tn-accent);font-size:11px;font-weight:950}
.trade-range{width:100%;accent-color:var(--tn-accent);margin-top:7px}
.trade-manual-input{margin-top:5px;min-height:32px!important;padding:6px 9px!important}
.trade-help-note{padding:9px 10px;border-radius:12px;background:rgba(var(--tn-rgb),.08);border:1px solid rgba(var(--tn-rgb),.14);color:var(--subtle);font-size:11px;line-height:1.35}
.trade-mode-margin #tradeRisk{opacity:.45}
.trade-mode-margin #tradeRisk.closest-label{display:none}
.trade-margin-size-field{display:none}
.trade-mode-margin .trade-margin-size-field{display:grid}
#tradeAccount{
  min-height:34px!important;
  height:34px!important;
  width:100%;
  max-width:100%;
  border-radius:10px!important;
  padding:0 34px 0 11px!important;
  appearance:none;
  -webkit-appearance:none;
  background-color:rgba(255,255,255,.94)!important;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.95) 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:34px 100%,14px 14px;
  background-position:right top,right 10px center;
  color:var(--ink);
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62),0 1px 2px rgba(15,23,42,.05)!important;
  transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .12s ease;
}
#tradeAccount:hover{
  border-color:rgba(var(--tn-rgb),.28)!important;
  background-color:#fff!important;
}
#tradeAccount:focus{
  outline:0;
  border-color:rgba(var(--tn-rgb),.46)!important;
  box-shadow:0 0 0 3px rgba(var(--tn-rgb),.11),inset 0 1px 0 rgba(255,255,255,.7)!important;
}
#tradeAccount:active{transform:scale(.995)}
#tradeAccount option{
  font-size:12px;
  font-weight:800;
  color:#0f172a;
  background:#fff;
}
html.dark #tradeAccount{
  background-color:#101010!important;
  background-image:
    linear-gradient(90deg,rgba(16,16,16,0),rgba(16,16,16,.95) 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color:#f4f4f5!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
html.dark #tradeAccount option{
  color:#f4f4f5;
  background:#101010;
}
html.dark .trade-preview{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09)}
html.dark .trade-mode-switch{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09)}
html:not(.dark) .trade-buy{
  background:linear-gradient(180deg,#16a34a,#15803d)!important;
  border-color:#15803d!important;
  color:#fff!important;
}
html:not(.dark) .trade-sell{
  background:linear-gradient(180deg,#dc2626,#b91c1c)!important;
  border-color:#b91c1c!important;
  color:#fff!important;
}
html:not(.dark) .trade-buy *,
html:not(.dark) .trade-sell *{
  color:#fff!important;
}
html:not(.dark) .trade-actions .trade-buy:hover{
  background:linear-gradient(180deg,#15803d,#166534)!important;
}
html:not(.dark) .trade-actions .trade-sell:hover{
  background:linear-gradient(180deg,#b91c1c,#991b1b)!important;
}
html:not(.dark) .tn-terminal-tab.active{
  background:#fff!important;
  color:#050505!important;
}
html:not(.dark) .tn-terminal-tab.active *{
  color:#050505!important;
}
@media(max-width:1100px){.list-sidebar-toggle{display:none}.list-workspace.trade-attached{grid-template-columns:1fr}.list-sidebar{grid-template-rows:auto auto}.trade-grid.trade-grid-3{grid-template-columns:1fr 1fr}.trade-preview{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:640px){.trade-grid.trade-grid-3,.trade-preview{grid-template-columns:1fr}}
.trade-notice{position:fixed;right:18px;bottom:18px;z-index:320;width:min(460px,calc(100vw - 24px));display:grid;gap:10px;padding:14px 16px;border-radius:14px;background:var(--panel);border:1px solid var(--border);box-shadow:0 28px 80px rgba(15,23,42,.24);color:var(--ink);opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .18s ease,transform .18s ease}.trade-notice.show{opacity:1;pointer-events:auto;transform:translateY(0)}.trade-notice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.trade-notice-title{font-size:14px;font-weight:950;line-height:1.2}.trade-notice-body{font-size:13px;line-height:1.45;color:var(--muted);white-space:pre-wrap}.trade-notice-close{width:28px;height:28px;border-radius:8px;border:1px solid var(--border);background:var(--tool-bg,#fff);color:var(--ink);font-weight:950;cursor:pointer}.trade-notice.error{border-color:rgba(220,38,38,.32)}.trade-notice.success{border-color:rgba(22,163,74,.34)}
.trade-confirm-backdrop{position:fixed;inset:0;z-index:330;display:grid;place-items:center;padding:18px;background:rgba(2,6,23,.54);backdrop-filter:blur(7px)}.trade-confirm-card{width:min(520px,calc(100vw - 24px));display:grid;gap:14px;padding:18px;border-radius:16px;background:var(--panel);border:1px solid var(--border);box-shadow:0 34px 90px rgba(15,23,42,.32);color:var(--ink)}.trade-confirm-title{font-size:18px;font-weight:950;line-height:1.15}.trade-confirm-body{font-size:13px;line-height:1.5;color:var(--muted);white-space:pre-wrap}.trade-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.trade-confirm-actions .btn{border-radius:12px}
html.dark .trade-notice{box-shadow:0 28px 80px rgba(0,0,0,.5)}

/* Final mobile placeholder override. Must stay at the end of the bundle. */
@media (max-width:1024px), (pointer:coarse){
  body #mobileScreenerGlobalPlaceholder{display:none!important}
  body{overflow:auto!important}
  body #loader:not(.hidden){display:flex!important}
  body:not(.screener-live) #loginGate:not(.hidden){display:flex!important}
  body.screener-live #app:not(.hidden){display:flex!important}
  body.screener-live #chartModal:not(.hidden){display:flex!important}
  body.screener-live #mobileScreenerLanding{display:grid!important}
  body.screener-live #mobileScreenerDock{display:grid!important}
  body.screener-live #mobileSymbolSheet.is-open,
  body.screener-live #mobileTfSheet.is-open{display:grid!important}
  body.screener-live #mobileDrawingActions.is-visible{display:grid!important}
}
@media (max-width:767px){
  body.screener-live:not(.modal-open) #app > .content{display:grid!important;height:auto!important;overflow:visible!important}
  body.screener-live:not(.modal-open) #grid,
  body.screener-live:not(.modal-open) #listWorkspace,
  body.screener-live:not(.modal-open) .pager,
  body.screener-live:not(.modal-open) #gridLoader{display:none!important}
  body.screener-live .mobile-screener-landing.mobile-market-board{display:grid!important}
  body.tn-terminal:not(.tn-mode-market) #mobileScreenerDock,
  body.tn-terminal:not(.tn-mode-market) #mobileSymbolSheet,
  body.tn-terminal:not(.tn-mode-market) #mobileTfSheet,
  body.tn-terminal:not(.tn-mode-market) #mobileScreenerLanding,
  body.screener-live.modal-open #mobileScreenerDock,
  body.screener-live.modal-open #mobileSymbolSheet,
  body.screener-live.modal-open #mobileTfSheet,
  body.screener-live.modal-open #mobileScreenerLanding{display:none!important}
  body.tn-terminal.tn-mode-market:not(.modal-open) #mobileScreenerDock{display:grid!important}
  body.tn-terminal.tn-mode-market:not(.modal-open) #mobileScreenerLanding{display:grid!important}
  body.tn-terminal.tn-mode-my #app{padding-bottom:8px!important;overflow:auto!important}
  body.tn-terminal.tn-mode-my #listWorkspace,
  body.tn-terminal.tn-mode-my #listWorkspace.active{display:grid!important;grid-template-columns:1fr!important;height:auto!important;min-height:0!important;overflow:visible!important}
  body.tn-terminal.tn-mode-my .list-main-grid,
  body.tn-terminal.tn-mode-my .list-main-grid.view-2,
  body.tn-terminal.tn-mode-my .list-main-grid.view-4{grid-template-columns:1fr!important;grid-template-rows:none!important;grid-auto-rows:auto!important}
  body.tn-terminal.tn-mode-my .list-main .card:not(:first-child),
  body.tn-terminal.tn-mode-my .list-main-grid .card:not(:first-child){display:none!important}
  body.tn-terminal.tn-mode-my .list-main .card{height:min(56dvh,470px)!important;min-height:360px!important}
  body.tn-terminal.tn-mode-my .list-sidebar{display:grid!important;grid-template-rows:auto auto!important;height:auto!important;overflow:visible!important}
  body.tn-terminal.tn-mode-my #tradePanel{position:static!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important}
  body.tn-terminal.tn-mode-my .list-view-switch{display:none!important}
  body.tn-terminal.tn-mode-demo #grid{grid-template-columns:1fr!important;grid-template-rows:1fr!important}
  body.tn-terminal.tn-mode-demo #grid>.card:not(:first-child){display:none!important}
}

@media (max-width:760px){
  body.tn-terminal #tnTerminalBar{
    position:sticky!important;
    top:0!important;
    z-index:190!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:6px!important;
    padding:6px!important;
    border-radius:0 0 12px 12px!important;
  }
  body.tn-terminal .tn-terminal-brand{gap:0!important}
  body.tn-terminal .tn-terminal-brand>div:not(.tn-terminal-mark){display:none!important}
  body.tn-terminal .tn-terminal-mark{width:36px!important;height:36px!important;border-radius:10px!important;font-size:14px!important}
  body.tn-terminal .tn-terminal-nav{
    display:flex!important;
    gap:4px!important;
    min-width:0!important;
    overflow-x:auto!important;
    padding-bottom:0!important;
    scrollbar-width:none!important;
  }
  body.tn-terminal .tn-terminal-nav::-webkit-scrollbar{display:none!important}
  body.tn-terminal .tn-terminal-tab{
    flex:0 0 auto!important;
    min-height:34px!important;
    padding:0 9px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.tn-terminal .tn-terminal-right{
    grid-column:1/-1!important;
    display:flex!important;
    gap:4px!important;
    min-width:0!important;
    overflow-x:auto!important;
    justify-content:flex-start!important;
    scrollbar-width:none!important;
  }
  body.tn-terminal .tn-terminal-right::-webkit-scrollbar{display:none!important}
  body.tn-terminal .tn-terminal-link,
  body.tn-terminal .tn-terminal-account{display:none!important}
  body.tn-terminal .tn-terminal-profile img{width:22px!important;height:22px!important}
  body.tn-terminal #app{gap:6px!important}
  body:has(#chartModal:not(.hidden)) #mobileScreenerDock,
  body:has(#chartModal:not(.hidden)) #mobileSymbolSheet,
  body:has(#chartModal:not(.hidden)) #mobileTfSheet,
  body:has(#chartModal:not(.hidden)) #mobileScreenerLanding{display:none!important}
}

/* Mobile screener placeholder rollback. Keep this as the last mobile rule. */
@media (max-width:1024px), (pointer:coarse){
  body{overflow:auto!important}
  body #mobileScreenerGlobalPlaceholder{
    display:grid!important;
    place-items:center!important;
    min-height:100dvh!important;
    padding:18px!important;
  }
  body #loader,
  body #app,
  body #loginGate,
  body #chartModal,
  body #mobileScreenerDock,
  body #mobileScreenerLanding,
  body #mobileSymbolSheet,
  body #mobileTfSheet,
  body #mobileDrawingActions{display:none!important}
}
