:root {
  --bg: #050811;
  --bg-elev: rgba(11, 17, 32, 0.86);
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-hover: rgba(30, 41, 59, 0.75);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --border-glow: rgba(56, 189, 248, 0.25);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --cyan: #38bdf8;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #f43f5e;
  --purple: #a78bfa;
  --radius: 13px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% -12%, rgba(14, 165, 233, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 35% at 88% 8%, rgba(16, 185, 129, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }
.text-ok { color: var(--ok); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }
.text-cyan { color: var(--cyan); }

/* SHELL */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 244px; flex-shrink: 0;
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(14px);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 18px 14px;
  position: sticky; top: 0; height: 100vh;
}
.sidebar-brand, .brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #03101d; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; letter-spacing: -0.5px;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}
.brand-title { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: var(--muted); }
.nav-list { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; border: 1px solid transparent; background: transparent;
  color: var(--muted); padding: 9px 11px; border-radius: 9px;
  cursor: pointer; text-align: left; font-size: 13.2px; font-weight: 500;
  transition: all 0.15s ease;
}
.nav-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.16), rgba(16, 185, 129, 0.08));
  border-color: var(--border-glow);
  color: var(--cyan);
}
.nav-ico { width: 16px; text-align: center; opacity: 0.9; }
.kbd {
  font-family: var(--font-mono); font-size: 10px; color: #64748b;
  background: rgba(148, 163, 184, 0.1); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px;
}
.shortcut-hint { padding: 2px 6px; font-size: 11px; }
.sidebar-footer { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.sse-pill { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 4px 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot-warn { background: var(--warn); }
.dot-err { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

.main-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 8, 17, 0.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; min-width: 0; }
.topbar h2 { margin: 0; font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .btn, .topbar .badge, .topbar .meta-chip { white-space: nowrap; flex-shrink: 0; }
.meta-chip {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 4px 8px; border-radius: 8px; display: flex; gap: 6px; align-items: baseline; font-size: 12px;
}

.mobile-nav {
  display: none; gap: 6px; padding: 8px 12px; overflow-x: auto;
  background: rgba(8, 12, 24, 0.94); border-bottom: 1px solid var(--border);
}
.mob-btn {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  border-radius: 8px; padding: 5px 10px; font-size: 12px; white-space: nowrap; cursor: pointer;
}
.mob-btn.active { background: rgba(56, 189, 248, 0.16); border-color: var(--border-glow); color: var(--cyan); }

.content { padding: 18px 22px 42px; max-width: 1600px; width: 100%; margin: 0 auto; }
.view { display: none; flex-direction: column; gap: 16px; }
.view.active { display: flex; }

/* CARDS & GLASSMORPHISM */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 15px 18px;
}
.glass-card {
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 13px; flex-wrap: wrap;
}
.card-head h3 { margin: 0; font-size: 14.5px; font-weight: 650; }
.sub-head { margin: 8px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.sub-divider {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cyan);
  border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; font-weight: 600;
}

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-card { display: flex; flex-direction: column; gap: 5px; }
.kpi-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kpi-spark { width: 84px; height: 32px; flex-shrink: 0; opacity: 0.92; }
.kpi-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.kpi-value { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.kpi-sub { font-size: 11.8px; }

/* PROP EXECUTION & ALPHA STACK STRIP */
.prop-strip-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.strip-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.exec-metrics-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.exec-tile {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px;
  padding: 7px 9px; display: flex; flex-direction: column; gap: 2px;
}
.exec-tile strong { font-size: 13.5px; }
.alpha-pills-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.alpha-pill {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 10px; font-size: 11.5px; font-weight: 600; color: var(--muted);
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.15s ease;
}
.alpha-pill:hover { border-color: var(--cyan); color: var(--text); }
.alpha-pill.on {
  background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.38); color: #a7f3d0;
}
.alpha-pill.warn {
  background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.42); color: #fcd34d;
}

.ws-monitor-card { padding: 12px 16px; }
.ws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ws-pill {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 11px; display: flex; flex-direction: column; gap: 5px; min-width: 0;
}
.ws-pill-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ws-pill-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; }
@media (max-width: 980px) { .ws-grid { grid-template-columns: 1fr; } }

.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stack-col { display: flex; flex-direction: column; gap: 16px; }

.candle-box { position: relative; height: 320px; width: 100%; border-radius: 9px; overflow: hidden; background: #04070e; border: 1px solid var(--border); }
.cusum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; }
.cusum-tile {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 11.8px;
}
.v7-pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v7-pillar-tile {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px;
}
.pos-row-click { cursor: pointer; }
.pos-row-click:hover { background: rgba(56, 189, 248, 0.08) !important; }

.chart-box-lg { position: relative; height: 240px; width: 100%; }
.chart-box-md { position: relative; height: 250px; width: 100%; }
.chart-box-sm { position: relative; height: 110px; width: 100%; margin-top: 10px; }

/* TIMEFRAME ZOOM PILLS */
.zoom-pills {
  display: inline-flex; background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 8px; padding: 2px; gap: 2px;
}
.zoom-btn {
  border: none; background: transparent; color: var(--muted);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 6px; cursor: pointer; transition: all 0.12s ease;
}
.zoom-btn:hover { color: var(--text); }
.zoom-btn.active { background: rgba(56, 189, 248, 0.2); color: var(--cyan); }

/* GAUGES & PILLS */
.gauge-list { display: flex; flex-direction: column; gap: 10px; }
.gauge-row { display: flex; justify-content: space-between; align-items: center; }
.gauge-title { font-size: 13px; font-weight: 500; }
.gauge-val { font-size: 13.5px; font-weight: 700; }
.gauge-bar { height: 6px; background: rgba(148,163,184,0.14); border-radius: 99px; overflow: hidden; }
.gauge-fill { height: 100%; border-radius: 99px; transition: width 0.3s ease; }
.fill-ok { background: linear-gradient(90deg, #059669, #10b981); }
.fill-cyan { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.fill-warn { background: linear-gradient(90deg, #d97706, #f59e0b); }
.fill-danger { background: linear-gradient(90deg, #e11d48, #f43f5e); }

.pill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feed-pill {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center;
  gap: 8px; font-size: 12px; min-width: 0;
}
.feed-pill > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-pill .badge { flex-shrink: 0; }

/* BADGES & BUTTONS */
.badge {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-ok { background: rgba(16, 185, 129, 0.16); color: var(--ok); border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-warn { background: rgba(245, 158, 11, 0.16); color: var(--warn); border: 1px solid rgba(245, 158, 11, 0.35); }
.badge-danger { background: rgba(244, 63, 94, 0.16); color: var(--danger); border: 1px solid rgba(244, 63, 94, 0.35); }
.badge-cyan { background: rgba(56, 189, 248, 0.16); color: var(--cyan); border: 1px solid rgba(56, 189, 248, 0.35); }
.badge-muted { background: rgba(148, 163, 184, 0.14); color: var(--muted); border: 1px solid var(--border); }

.btn {
  border: 1px solid var(--border-strong); border-radius: 8px;
  padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--text); background: var(--bg-hover); transition: all 0.15s ease;
}
.btn:hover { filter: brightness(1.12); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, #0284c7, #0ea5e9); border-color: #38bdf8; color: #fff; }
.btn-secondary { background: var(--bg-elev); border-color: var(--border-strong); }
.btn-warn { background: rgba(245, 158, 11, 0.18); border-color: rgba(245, 158, 11, 0.45); color: #fcd34d; }
.btn-danger { background: rgba(244, 63, 94, 0.2); border-color: rgba(244, 63, 94, 0.5); color: #fda4af; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

/* TABLES */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12.6px; }
th, td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
tbody tr:hover { background: rgba(148, 163, 184, 0.05); }
.table-compact { font-size: 11.8px; }
.table-compact th, .table-compact td { padding: 6px 6px; }
.table-compact .badge { padding: 2px 6px; font-size: 10px; }
.err-cell { white-space: normal; word-break: break-word; max-width: 240px; min-width: 120px; line-height: 1.35; }

/* TOOLBARS & FORMS */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-group { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
input[type="text"], input[type="password"], input[type="number"], select {
  background: var(--bg-elev); border: 1px solid var(--border-strong);
  color: var(--text); border-radius: 8px; padding: 7px 10px; font-size: 13px; outline: none;
}
input:focus, select:focus { border-color: var(--cyan); }
.compact-select { padding: 5px 8px; font-size: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 12.2px; color: var(--muted); min-width: 0; }
.field input, .field select { min-width: 0; width: 100%; }
.form-stack { display: flex; flex-direction: column; gap: 11px; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.switch-row, .check-inline { display: flex; align-items: center; gap: 8px; font-size: 12.8px; cursor: pointer; }
.inline-label { display: flex; align-items: center; gap: 7px; font-size: 12.2px; color: var(--muted); }
.toggle-group { display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px; }
.group-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
.toggle-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p6-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; border-top: 1px dashed var(--border); }
.source-chips { display: flex; gap: 5px; flex-wrap: wrap; padding-top: 4px; }
.form-error { background: rgba(244, 63, 94, 0.14); border: 1px solid rgba(244, 63, 94, 0.4); color: #fda4af; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; }

/* HEATMAP, PILLARS, OPTIONS, ACCOUNTS, LOGS */
.heatmap-wrap { overflow-x: auto; width: 100%; }
.hm-table { width: 100%; table-layout: auto; }
.hm-table th, .hm-table td { text-align: center; padding: 4px 2px; font-family: var(--font-mono); font-size: 10.5px; }
.hm-cell { border-radius: 4px; font-weight: 600; padding: 3px 2px; min-width: 34px; }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pillar-tile {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px; padding: 11px;
  display: flex; flex-direction: column; gap: 5px;
}
.inspector-body { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.cs2-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.greeks-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cs2-stat { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 9px; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; }

.account-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.acc-card { display: flex; flex-direction: column; gap: 12px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.acc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12.5px; background: var(--bg-elev); padding: 10px; border-radius: 8px; border: 1px solid var(--border); }
.acc-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.recon-strip, .slip-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.backup-list, .alert-history { display: flex; flex-direction: column; gap: 6px; max-height: 195px; overflow-y: auto; }
.list-item {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px;
}
.log-box {
  background: #03060c; border: 1px solid var(--border); border-radius: 9px;
  padding: 12px; height: 270px; overflow-y: auto; font-size: 12px; line-height: 1.55;
}
.log-line { display: flex; gap: 10px; padding: 2px 0; border-bottom: 1px solid rgba(148,163,184,0.06); }
.log-ts { color: #64748b; flex-shrink: 0; }
.log-lvl { width: 58px; font-weight: 700; flex-shrink: 0; }

/* OVERLAYS & MODALS */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2, 6, 15, 0.84); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px;
}
.login-card {
  width: 100%; max-width: 390px; background: var(--bg-card);
  border: 1px solid var(--border-strong); border-radius: 16px; padding: 26px;
}
.login-card h1 { margin: 0; font-size: 18px; }
.login-foot { text-align: center; font-size: 11.5px; margin-top: 14px; margin-bottom: 0; }
.modal-card {
  width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto;
  background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 14px; padding: 20px;
}
.modal-sm { max-width: 420px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.danger-box {
  background: rgba(244, 63, 94, 0.1); border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 9px; padding: 12px; display: flex; flex-direction: column; gap: 8px;
}

/* TOASTS */
.toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: rgba(15, 23, 42, 0.94); border: 1px solid var(--border-strong);
  border-left: 3px solid var(--cyan); border-radius: 9px;
  padding: 10px 14px; font-size: 13px; box-shadow: 0 12px 28px rgba(0,0,0,0.48);
  max-width: 360px;
}
.toast-ok { border-left-color: var(--ok); }
.toast-err { border-left-color: var(--danger); }
.toast-warn { border-left-color: var(--warn); }

@media (max-width: 1240px) {
  .prop-strip-grid { grid-template-columns: 1fr; }
  .greeks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .topbar { flex-wrap: wrap; }
  .topbar-left, .topbar-right { flex-wrap: wrap; }
}
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2-1, .grid-2, .grid-3, .v7-pillars-grid { grid-template-columns: 1fr; }
  .cusum-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exec-metrics-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media print {
  .sidebar, .topbar, .mobile-nav, .toolbar button, .zoom-pills { display: none !important; }
  body, .card { background: #fff !important; color: #111 !important; box-shadow: none !important; }
}
@media (max-width: 780px) {
  .sidebar { display: none; }
  .mobile-nav { display: flex; }
  .kpi-grid, .form-row-2, .form-row-3, .cs2-box, .greeks-grid { grid-template-columns: 1fr; }
}

/* Read-Only Viewer Portal Mode (enforced server-side + clean UI) */
body.readonly-mode #btn-run-cycle,
body.readonly-mode #btn-toggle-pause,
body.readonly-mode #btn-panic-flatten,
body.readonly-mode #btn-add-account,
body.readonly-mode #btn-sync-all,
body.readonly-mode #btn-save-p6-jump,
body.readonly-mode #btn-save-exec,
body.readonly-mode #btn-save-options,
body.readonly-mode #btn-save-cms,
body.readonly-mode #btn-save-unlock-cfg,
body.readonly-mode #btn-run-replay,
body.readonly-mode #btn-backup-now,
body.readonly-mode #btn-tg-test,
body.readonly-mode #strategy-form button[type="submit"],
body.readonly-mode #unlock-add-form,
body.readonly-mode #telegram-form,
body.readonly-mode #accounts-grid .btn,
body.readonly-mode #ov-accounts-body .btn {
  display: none !important;
}
