    :root {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
      color-scheme: dark;
      --yellow:#F0B90B;
      --bg:#071018;
      --bg2:#0b1824;
      --surface:rgba(11, 24, 36, 0.78);
      --surface2:rgba(15, 32, 48, 0.92);
      --surface3:rgba(8, 18, 30, 0.96);
      --border:#104c62;
      --border-soft:#0b3344;
      --text:#ECF6FF;
      --muted:#8DA6B8;
      --green:#19E5C5;
      --red:#FF5D73;
      --blue:#4DD8FF;
      --cyan:#15E0FF;
      --amber:#F0B90B;
      --shadow:0 12px 28px rgba(0,0,0,.32);
      --glow:0 0 0 1px rgba(31, 224, 255, .10), 0 0 24px rgba(31, 224, 255, .08);
    }
    * { box-sizing:border-box; }
    html { background:var(--bg); }
    body {
      margin:0;
      color:var(--text);
      background:
        radial-gradient(circle at 18% 0%, rgba(32, 201, 255, .16), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(25, 229, 197, .11), transparent 26%),
        radial-gradient(circle at 52% 42%, rgba(46, 101, 255, .08), transparent 34%),
        linear-gradient(180deg, #061018 0%, #07111b 34%, #08121c 100%);
    }
    body.state-modal-open {
      overflow:hidden;
      overscroll-behavior:none;
    }
    body::before {
      content:"";
      position:fixed;
      inset:0;
      pointer-events:none;
      background:
        linear-gradient(rgba(255,255,255,.015), rgba(255,255,255,0)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 120px);
      opacity:.35;
    }
    ::-webkit-scrollbar { width:10px; height:10px; }
    ::-webkit-scrollbar-track { background:#09131d; }
    ::-webkit-scrollbar-thumb {
      background:linear-gradient(180deg, #11475b, #0b2f40);
      border:2px solid #09131d;
      border-radius:999px;
    }

    .wrap { max-width:1240px; margin:0 auto; padding:20px 16px 34px; position:relative; z-index:1; }
    .header { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
    .title {
      font-size:25px;
      font-weight:900;
      letter-spacing:-.02em;
      color:#f2f7fb;
      text-shadow:0 0 18px rgba(15, 224, 255, .06);
    }
    .title span {
      color:var(--cyan);
      text-shadow:0 0 16px rgba(21, 224, 255, .34);
    }
    .header-right { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
    .dual-clock,.badge {
      border:1px solid var(--border);
      background:linear-gradient(180deg, rgba(10, 26, 40, .92), rgba(7, 18, 30, .96));
      border-radius:12px;
      box-shadow:var(--glow);
      backdrop-filter:blur(8px);
    }
    .dual-clock { min-width:272px; padding:8px 12px; }
    .clock-row { display:grid; grid-template-columns:74px 1fr; gap:8px; font-size:11px; }
    .clock-row + .clock-row { border-top:1px solid rgba(77, 216, 255, .14); margin-top:4px; padding-top:4px; }
    .clock-city { color:#79DFFF; font-size:10px; letter-spacing:.08em; font-weight:800; }
    .clock-value { text-align:right; font-weight:800; color:#F5FBFF; }
    .badge {
      padding:10px 13px;
      color:var(--amber);
      font-size:12px;
      font-weight:900;
      position:relative;
    }
    .badge::before {
      content:"⬡";
      margin-right:7px;
      color:var(--amber);
    }

    .monitor-card,.card {
      background:linear-gradient(180deg, rgba(11, 24, 36, .88), rgba(7, 18, 29, .95));
      border:1px solid var(--border);
      border-radius:14px;
      box-shadow:var(--shadow), var(--glow);
      backdrop-filter:blur(10px);
    }
    .monitor-card { padding:12px 14px; margin-bottom:12px; position:relative; overflow:hidden; }
    .monitor-card::after,
    .strategy-card::after {
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
      background:linear-gradient(90deg, transparent 0%, rgba(34, 204, 255, .04) 42%, transparent 76%);
      opacity:.9;
    }
    .monitor-header { display:flex; justify-content:space-between; gap:10px; margin-bottom:10px; position:relative; z-index:1; }
    .monitor-title { font-size:13px; font-weight:900; }
    .monitor-meta { color:var(--muted); font-size:10px; }
    .scheduler-summary { display:flex; align-items:center; gap:7px; font-size:11px; margin-bottom:2px; position:relative; z-index:1; }
    .strategy-control-summary { display:grid;gap:3px;justify-items:start;font-size:11px;position:relative;z-index:1; }
    .strategy-control-summary-main { display:flex;align-items:center;gap:7px;min-width:0; }
    .strategy-control-summary-line { display:block;padding-left:14px;line-height:1.4; }
    .strategy-control-table { margin-top:10px;position:relative;z-index:1;overflow-x:hidden; }
    .strategy-control-table-head,
    .strategy-control-row {
      display:grid;
      grid-template-columns:72px minmax(190px,1.45fr) 64px 72px 84px 86px 50px 92px minmax(145px,1fr) 68px;
      gap:8px;
      align-items:center;
      min-width:1030px;
    }
    .strategy-control-table-head { padding:0 9px 6px;color:#71879a;font-size:8px;font-weight:950;letter-spacing:.075em;text-transform:uppercase; }
    .strategy-control-table-head > div { min-width:0;white-space:nowrap; }
    .strategy-control-table-head .center { text-align:center; }
    .strategy-control-list { display:grid;gap:6px;position:relative;z-index:1;min-width:1030px; }
    .strategy-control-row { padding:8px 9px;border:1px solid rgba(77,216,255,.14);border-radius:9px;background:rgba(6,17,28,.72);cursor:pointer;transition:border-color .14s ease,background .14s ease; }
    .strategy-control-row:hover { border-color:rgba(77,216,255,.36);background:rgba(10,27,41,.9); }
    .strategy-control-symbol { font-size:12px;font-weight:950;color:#f5fbff; }
    .strategy-control-name-wrap { min-width:0;display:grid;gap:4px; }
    .strategy-control-name { min-width:0;color:#c9d9e5;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
    .strategy-control-risk-wrap,
    .strategy-control-engine-wrap { display:contents; }
    .strategy-control-risk-chip { display:inline-flex;justify-content:center;align-items:center;width:100%;min-height:22px;padding:2px 5px;border-radius:999px;border:1px solid rgba(240,185,11,.4);background:rgba(240,185,11,.05);color:#ffe07b;font-size:8px;font-weight:600;letter-spacing:.015em;white-space:nowrap;box-sizing:border-box; }
    .strategy-control-risk-chip.allocation { border-color:rgba(77,216,255,.4);background:rgba(77,216,255,.05);color:#8deaff; }
    .strategy-control-risk-label { display:none; }
    .strategy-control-small { color:var(--muted);font-size:9px;font-weight:800;line-height:1.3; }
    .strategy-control-monitor-value { display:grid;gap:1px;line-height:1.15; }
    .strategy-control-monitor-sep { display:none; }
    .strategy-control-engine { color:#a9c8da;font-size:8px;font-weight:950;letter-spacing:.045em;text-align:center;white-space:nowrap; }
    .strategy-control-jobs { color:#c6d5df;font-size:9px;font-weight:900;text-align:center;white-space:nowrap; }
    .strategy-control-jobs::after { content:attr(data-desktop-jobs); }
    .strategy-control-jobs { font-size:0; }
    .strategy-control-jobs::after { font-size:9px; }
    .strategy-control-next { color:#d7e7f2;font-size:9px;font-weight:800;white-space:nowrap; }
    .strategy-control-next-value { display:grid;gap:1px;min-width:0; }
    .strategy-control-next-date { color:#d7e7f2;font-weight:900; }
    .strategy-control-next-time { color:#9eb6c7;font-size:8px;font-weight:800; }
    .strategy-control-status { display:inline-flex;justify-content:center;align-items:center;width:100%;min-height:22px;padding:2px 5px;border-radius:999px;border:1px solid rgba(77,216,255,.2);font-size:8px;font-weight:950;letter-spacing:.015em;box-sizing:border-box; }
    .strategy-control-status.running { color:var(--green);border-color:rgba(25,229,197,.4);background:rgba(25,229,197,.05); }
    .strategy-control-status.stopped { color:var(--amber);border-color:rgba(240,185,11,.4);background:rgba(240,185,11,.05); }
    .strategy-control-status.missing,.strategy-control-status.error { color:var(--red);border-color:rgba(255,93,115,.4);background:rgba(255,93,115,.05); }
    .strategy-control-mobile-label { display:none; }
    .strategy-control-action { min-height:26px;padding:4px 8px;border-radius:999px;background:transparent;font-size:9px;color:#d9c0ff;border-color:rgba(178,116,255,.42);box-shadow:none; }
    .strategy-control-action.start { color:var(--green);border-color:rgba(25,229,197,.38); }
    .strategy-control-action.stop { color:#ff8fa1;border-color:rgba(255,93,115,.38); }
    .strategy-control-empty { color:var(--muted);font-size:10px;padding:8px 2px; }
    .strategy-card { scroll-margin-top:12px; }
    .dot { width:7px; height:7px; border-radius:50%; background:#697586; box-shadow:0 0 8px currentColor; }
    .dot.running { background:var(--green); color:var(--green); }
    .scheduler-jobs { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:6px; }
    .signal-cache-card { margin-top:12px; }
    .signal-cache-summary { display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 10px; }
    .signal-cache-header-actions { display:flex; align-items:center; gap:8px; }
    .signal-cache-settings-btn { min-height:34px; padding:7px 16px; border-radius:999px; background:rgba(77,216,255,.06); border:1px solid rgba(77,216,255,.36); color:#9fe9ff; font-size:10px; font-weight:400; letter-spacing:0; box-shadow:none; }
    .signal-cache-settings { margin:0 0 10px; padding:12px 13px; border:1px solid rgba(77,216,255,.14); border-radius:10px; background:rgba(7,18,28,.82); }
    .signal-cache-settings-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; color:#dff7ff; font-size:11px; font-weight:800; }
    .signal-cache-policy-list { display:grid; gap:8px; }
    .signal-cache-policy-row { display:grid; grid-template-columns:minmax(240px,1.8fr) 92px 112px; gap:10px; align-items:center; padding:10px 11px; border:1px solid rgba(77,216,255,.12); border-radius:9px; background:rgba(5,15,24,.78); }
    .signal-cache-policy-name strong { display:block; color:#edf8ff; font-size:10px; line-height:1.35; }
    .signal-cache-policy-name span { display:block; margin-top:3px; color:#86a4b4; font-size:9px; line-height:1.35; overflow-wrap:anywhere; }
    .signal-cache-policy-interval { color:#c1d6e1; font-size:9px; font-weight:800; white-space:nowrap; }
    .signal-cache-policy-input { min-width:0; }
    .signal-cache-policy-row input { width:100%; min-width:0; box-sizing:border-box; padding:7px 9px; border-radius:7px; border:1px solid rgba(77,216,255,.24); background:#08131d; color:#eef9ff; font-size:10px; font-weight:700; }
    .signal-cache-policy-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:10px; }
    .signal-cache-policy-actions button { min-height:34px; padding:7px 14px; border-radius:9px; font-size:10px; font-weight:600; letter-spacing:0; box-shadow:none; }
    .signal-cache-policy-close { border:1px solid rgba(131,162,181,.30); background:linear-gradient(180deg, rgba(22, 39, 57, .98), rgba(12, 24, 37, .98)); color:#d8eaf3; }
    .signal-cache-policy-close:hover { border-color:rgba(131,162,181,.52); background:linear-gradient(180deg, rgba(28, 52, 74, .98), rgba(16, 32, 47, .98)); color:#eef8fc; transform:none; filter:none; box-shadow:none; }
    .signal-cache-policy-save { border:1px solid rgba(240,185,11,.55); background:linear-gradient(180deg,#ffd34f,#e4af09); color:#061019; }
    .signal-cache-policy-save:hover { transform:none; box-shadow:0 6px 18px rgba(240,185,11,.18); }
    @media(max-width:760px){ .signal-cache-policy-row { grid-template-columns:1fr 78px 94px; } }
    .signal-cache-count { padding:4px 7px; border:1px solid rgba(77,216,255,.14); border-radius:999px; background:rgba(8,22,34,.75); color:#9cb6c5; font-size:8px; font-weight:900; }
    .signal-cache-scroll { width:100%; overflow-x:auto; overflow-y:hidden; border-radius:9px; -webkit-overflow-scrolling:touch; scrollbar-gutter:stable; }
    .signal-cache-table { min-width:1420px; border:1px solid rgba(77,216,255,.12); border-radius:9px; overflow:hidden; }
    .signal-cache-head,.signal-cache-row { display:grid; grid-template-columns:minmax(160px,1.1fr) minmax(76px,.55fr) 82px 62px minmax(160px,1.05fr) 82px 108px 148px minmax(150px,1.05fr) minmax(230px,1.7fr); align-items:center; gap:8px; }
    .signal-cache-head { padding:7px 9px; background:rgba(9,27,40,.92); color:#71dfff; font-size:8px; font-weight:900; letter-spacing:.045em; text-transform:uppercase; }
    .signal-cache-row { padding:8px 9px; border-top:1px solid rgba(77,216,255,.09); background:rgba(7,18,28,.66); color:#dbe9f1; font-size:9px; min-width:0; }
    .signal-cache-row:first-child { border-top:0; }
    .signal-cache-name { min-width:0; }
    .signal-cache-name strong { display:block; color:#f0f8fc; font-size:10px; overflow-wrap:anywhere; }
    .signal-cache-name span,.signal-cache-muted { display:block; margin-top:2px; color:#718d9e; font-size:8px; overflow-wrap:anywhere; }
    .signal-cache-origin { margin-top:3px !important; color:#7898aa !important; font-size:8px !important; font-weight:800; letter-spacing:.018em; }
    .signal-cache-miss-count { font-weight:850; color:#c8d9e3; white-space:nowrap; }
    .signal-cache-details { color:#a8beca; line-height:1.42; overflow-wrap:anywhere; }
    .signal-cache-value { font-size:11px; font-weight:900; color:#f6fbff; }
    .signal-cache-status { display:inline-flex; align-items:center; justify-content:center; width:max-content; min-width:64px; padding:4px 6px; border-radius:999px; border:1px solid rgba(137,162,177,.26); font-size:8px; font-weight:950; letter-spacing:.035em; }
    .signal-cache-status.fresh { color:var(--green); border-color:rgba(67,220,155,.34); background:rgba(67,220,155,.07); }
    .signal-cache-status.cached { color:var(--amber); border-color:rgba(240,180,41,.38); background:rgba(240,180,41,.08); }
    .signal-cache-status.stale,.signal-cache-status.unavailable { color:var(--red); border-color:rgba(255,93,115,.36); background:rgba(255,93,115,.07); }
    .signal-cache-consumers { color:#91a9b8; line-height:1.45; overflow-wrap:anywhere; }
    .signal-cache-consumer-group { display:block; }
    .signal-cache-consumer-group + .signal-cache-consumer-group { margin-top:5px; }
    .signal-cache-consumer-line { display:block; }
    .signal-cache-consumer-line + .signal-cache-consumer-line { margin-top:2px; }
    .signal-cache-empty { padding:15px; text-align:center; color:var(--muted); font-size:9px; }
    @media(max-width:760px){
      .signal-cache-table { min-width:1320px; }
      .signal-cache-head,.signal-cache-row { padding:7px; }
      .signal-cache-value { font-size:10px; }
    }
    .scheduler-job { background:#12161c; border:1px solid var(--border); border-radius:8px; padding:7px 8px; font-size:10px; }
    .job-line { display:flex; align-items:center; justify-content:space-between; gap:8px; }
    .job-symbol { font-size:11px; font-weight:850; }
    .job-time { color:#d7dde7; font-weight:750; }
    .job-next { color:var(--muted); margin-top:4px; overflow-wrap:anywhere; }
    .log {
      height:180px;
      overflow:auto;
      margin:0;
      background:linear-gradient(180deg, rgba(4, 10, 17, .96), rgba(7, 14, 24, .98));
      border:1px solid var(--border-soft);
      border-radius:10px;
      padding:10px;
      color:#cae7f5;
      font:10px/1.5 Consolas,monospace;
      white-space:pre-wrap;
      position:relative;
      z-index:1;
    }

    .grid { display:grid; grid-template-columns:1fr; gap:12px; }
    .card { padding:12px; min-width:0; }
    .name { font-size:16px; font-weight:850; }
    .id { color:var(--muted); font-size:10px; margin-top:3px; }
    .config { margin-top:9px; }
    .row {
      display:flex;
      justify-content:space-between;
      gap:10px;
      padding:6px 0;
      border-bottom:1px solid rgba(77, 216, 255, .10);
      font-size:12px;
    }
    .row:last-child { border-bottom:0; }
    .row span { color:#94aaba; }
    .row strong { text-align:right; overflow-wrap:anywhere; color:#f5fbff; }
    .live { color:var(--amber); }
    .side-long { color:var(--green) !important; }
    .side-short { color:var(--red) !important; }
    .last-updated { color:var(--amber) !important; }
    .monitor-active { color:var(--green) !important; }
    .monitor-error,
    .monitor-inactive { color:var(--red) !important; }
    .monitor-updating { color:var(--red) !important; }
    .freshness { display:inline-flex; align-items:center; gap:5px; }
    .freshness-dot { width:6px; height:6px; border-radius:50%; background:currentColor; }
    .button-row { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
    button {
      border:1px solid rgba(240, 185, 11, .48);
      border-radius:9px;
      padding:9px 12px;
      font-size:11px;
      font-weight:600;
      cursor:pointer;
      background:linear-gradient(180deg, #ffd34f, #e4af09);
      color:#111;
      box-shadow:0 3px 14px rgba(240, 185, 11, .18);
      transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
    }
    button:hover { transform:translateY(-1px); filter:brightness(1.04); box-shadow:0 8px 20px rgba(240, 185, 11, .22); }
    button:disabled {
      cursor:not-allowed;
      opacity:.45;
      transform:none;
      filter:none;
      box-shadow:none;
    }
    button.secondary {
      background:linear-gradient(180deg, rgba(22, 39, 57, .98), rgba(12, 24, 37, .98));
      color:var(--text);
      border:1px solid rgba(77, 216, 255, .22);
      box-shadow:none;
    }
    .result { margin-top:10px; min-height:58px; background:#101319; border:1px solid var(--border-soft); border-radius:10px; padding:8px; }
    .waiting { color:var(--muted); font-size:11px; padding:4px; }

    .position-flow { display:grid; grid-template-columns:1fr auto 1fr; gap:6px; align-items:center; }
    .position-item,.panel,.metric {
      border:1px solid rgba(77, 216, 255, .18);
      background:linear-gradient(180deg, rgba(12, 28, 42, .96), rgba(8, 19, 31, .96));
      border-radius:9px;
      padding:8px;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
    }
    .position-item { text-align:center; }
    .label { color:var(--muted); font-size:8px; letter-spacing:.08em; margin-bottom:3px; }
    .value { font-size:15px; font-weight:850; }
    .arrow { color:#79cfe6; font-size:15px; }
    .result-grid { display:grid; gap:7px; margin-top:7px; }
    .metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
    .metric .value { font-size:12px; }
    .panel-title { font-size:11px; font-weight:850; margin-bottom:5px; color:#eff7ff; }
    .reason {
      border-left:3px solid #4c6c82;
      background:linear-gradient(180deg, rgba(13, 25, 37, .98), rgba(10, 18, 28, .98));
      padding:7px 8px;
      border-radius:7px;
      color:#d2e3ef;
      font-size:10px;
      line-height:1.45;
    }
    .paper {
      border:1px solid rgba(27, 218, 170, .28);
      background:linear-gradient(180deg, rgba(13, 45, 39, .96), rgba(9, 26, 22, .96));
      color:#9ee2d8;
      padding:7px 8px;
      border-radius:7px;
      font-size:10px;
    }
    .error { color:#ffb1b1; font-size:11px; }

    .scheduler-jobs { display:none; }

    .job-card-head {
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:10px;
      padding-bottom:10px;
      margin-bottom:8px;
      border-bottom:1px solid rgba(77, 216, 255, .12);
      position:relative;
      z-index:1;
    }
    .job-card-left { min-width:0; }
    .job-symbol-main {
      font-size:18px;
      font-weight:900;
      letter-spacing:.01em;
      color:#f6fbff;
    }
    .job-strategy-name {
      margin-top:4px;
      color:#d8e4ee;
      font-size:11px;
      font-weight:700;
      overflow-wrap:anywhere;
    }
    .job-id {
      margin-top:2px;
      color:var(--muted);
      font-size:9px;
      overflow-wrap:anywhere;
    }
    .job-top-btn,
    .job-refresh-btn,
    .job-run-details-btn,
    .job-manage-state-btn,
    .job-lifecycle-btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:22px;
      padding:3px 9px;
      border-radius:999px;
      border:1px solid rgba(178,116,255,.42);
      background:rgba(151,82,226,.09);
      color:#d6b4ff;
      font-size:10px;
      font-weight:600;
      letter-spacing:.025em;
      white-space:nowrap;
      box-shadow:0 0 14px rgba(151,82,226,.08);
    }
    .job-top-btn:hover,
    .job-refresh-btn:hover,
    .job-manage-state-btn:hover,
    .job-run-details-btn:hover,
    .job-lifecycle-btn:hover {
      border-color:rgba(194,143,255,.68);
      background:rgba(151,82,226,.15);
      color:#eadcff;
      transform:none;
    }

    .job-run-details-btn {
      border-color:rgba(255,95,202,.52);
      background:rgba(255,95,202,.08);
      color:#ff8fd8;
      box-shadow:0 0 14px rgba(255,95,202,.09);
    }
    .job-run-details-btn:hover {
      border-color:rgba(255,130,216,.82);
      background:rgba(255,95,202,.15);
      color:#ffd2ee;
    }

    .job-top-btn {
      border-color:rgba(255,142,66,.66);
      background:rgba(255,142,66,.10);
      color:#ffb57f;
      box-shadow:0 0 14px rgba(255,142,66,.10);
    }
    .job-top-btn:hover {
      border-color:rgba(255,169,102,.92);
      background:rgba(255,142,66,.19);
      color:#ffe0c7;
    }
    .job-top-btn:disabled,
    .job-refresh-btn:disabled,
    .job-manage-state-btn:disabled,
    .job-run-details-btn:disabled,
    .job-lifecycle-btn:disabled { opacity:.45; cursor:not-allowed; }
    .job-lifecycle-btn.stop {
      border-color:rgba(255,93,115,.38);
      background:rgba(255,93,115,.07);
      color:#ff8fa1;
    }
    .job-lifecycle-btn.start {
      border-color:rgba(25,229,197,.38);
      background:rgba(25,229,197,.07);
      color:var(--green);
    }

    .job-risk-badges {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:6px;
      flex-wrap:nowrap;
      margin:0;
    }
    .job-risk-badge {
      display:inline-flex;
      align-items:center;
      min-height:22px;
      padding:3px 8px;
      border-radius:999px;
      border:1px solid rgba(240,185,11,.38);
      background:rgba(240,185,11,.08);
      color:#ffd766;
      font-size:10px;
      font-weight:600;
      letter-spacing:.02em;
      white-space:nowrap;
    }
    .job-risk-badge.allocation {
      border-color:rgba(77,216,255,.32);
      background:rgba(77,216,255,.07);
      color:#82ddff;
    }
    .job-card-right { flex:0 0 auto; text-align:right; }
    .job-card-right-top {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:7px;
      flex-wrap:nowrap;
    }
    .job-status {
      display:inline-flex;
      align-items:center;
      gap:5px;
      padding:5px 9px;
      border:1px solid rgba(77, 216, 255, .22);
      border-radius:999px;
      background:rgba(7, 23, 35, .88);
      color:var(--muted);
      font-size:9px;
      font-weight:900;
      letter-spacing:.04em;
      box-shadow:0 0 0 1px rgba(77,216,255,.03);
    }
    .job-status.running {
      color:var(--green);
      border-color:rgba(25, 229, 197, .44);
      box-shadow:0 0 18px rgba(25, 229, 197, .14);
    }
    .job-status.stopped {
      color:#f0b90b;
      border-color:rgba(240,185,11,.42);
      box-shadow:0 0 16px rgba(240,185,11,.10);
    }
    .job-status.missing {
      color:var(--red);
      border-color:rgba(255, 93, 115, .42);
      box-shadow:0 0 16px rgba(255, 93, 115, .10);
    }
    .job-status-dot {
      width:6px;
      height:6px;
      border-radius:50%;
      background:currentColor;
      box-shadow:0 0 8px currentColor;
    }
    .job-next-run {
      margin-top:8px;
      color:var(--muted);
      font-size:10px;
      font-weight:800;
      line-height:1.35;
      white-space:nowrap;
    }

    .strategy-card {
      width:100%;
      padding:0;
      overflow:hidden;
      position:relative;
    }
    .strategy-card .job-card-head {
      padding:12px 14px;
      margin:0;
      background:linear-gradient(180deg, rgba(8, 24, 38, .94), rgba(10, 20, 31, .96));
    }
    .strategy-body {
      display:grid;
      grid-template-columns:
        minmax(280px, 0.9fr)
        minmax(420px, 1.35fr);
      gap:12px;
      padding:12px;
      align-items:stretch;
      position:relative;
      z-index:1;
    }
    .strategy-section {
      min-width:0;
      border:1px solid rgba(77, 216, 255, .22);
      border-radius:12px;
      background:linear-gradient(180deg, rgba(10, 25, 38, .92), rgba(8, 18, 30, .96));
      overflow:hidden;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02), 0 0 0 1px rgba(77, 216, 255, .03);
    }
    .strategy-section-head {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      padding:10px 11px;
      border-bottom:1px solid rgba(77, 216, 255, .16);
      background:linear-gradient(180deg, rgba(16, 38, 56, .9), rgba(11, 25, 39, .92));
    }
    .strategy-section-title {
      font-size:11px;
      font-weight:900;
      letter-spacing:.025em;
      color:#f3fbff;
      display:flex;
      align-items:center;
      gap:7px;
    }
    .strategy-section-title::before {
      color:var(--cyan);
      opacity:.92;
      font-size:12px;
    }
    .properties-panel .strategy-section-title::before { content:"☷"; }
    .current-panel .strategy-section-title::before { content:"∿"; }
    .trading-panel .strategy-section-title::before { content:"▣"; }
    .strategy-section-meta {
      color:#6fdcf7;
      font-size:9px;
      white-space:nowrap;
      letter-spacing:.03em;
    }
    .strategy-section-body { padding:10px; min-height:260px; }
    .properties-panel .config { margin-top:0; }
    .strategy-card .row { padding:6px 0; }
    .current-panel .button-row { margin:0 0 10px; }
    .current-panel .result {
      margin-top:0;
      min-height:190px;
      border:0;
      padding:0;
      background:transparent;
    }
    .run-summary {
      margin-top:12px;
      padding-top:10px;
      border-top:1px solid rgba(77,216,255,.15);
    }
    .run-summary-label {
      margin-bottom:7px;
      color:#6fdcf7;
      font-size:9px;
      font-weight:900;
      letter-spacing:.06em;
      text-transform:uppercase;
    }
    .run-summary-grid {
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:7px;
    }
    .run-summary-item {
      min-width:0;
      padding:8px 9px;
      border:1px solid rgba(77,216,255,.14);
      border-radius:9px;
      background:rgba(5,18,29,.58);
    }
    .run-summary-key { color:var(--muted); font-size:8px; font-weight:800; letter-spacing:.04em; }
    .run-summary-value { margin-top:4px; color:#eaf7ff; font-size:10px; font-weight:900; overflow-wrap:anywhere; }
    .run-status-success { color:#8ff0bd !important; }
    .run-status-warning { color:#ffd477 !important; }
    .run-status-error { color:#ff9b9b !important; }
    .run-status-neutral { color:#9fb7c6 !important; }
    .run-summary-key-line {
      display:flex;
      align-items:center;
      gap:5px;
    }
    .run-status-info-btn {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:17px;
      height:17px;
      min-width:17px;
      padding:0;
      border:1px solid rgba(77,216,255,.28);
      border-radius:50%;
      background:rgba(77,216,255,.07);
      color:#8fe7ff;
      font-size:10px;
      font-weight:950;
      line-height:1;
      cursor:pointer;
    }
    .run-status-info-btn:hover {
      border-color:rgba(77,216,255,.58);
      background:rgba(77,216,255,.14);
      color:#d9f8ff;
    }
    .run-status-help {
      margin:10px;
      padding:11px;
      border:1px solid rgba(77,216,255,.16);
      border-radius:10px;
      background:rgba(5,18,29,.7);
    }
    .run-status-help-title {
      color:#eaf7ff;
      font-size:10px;
      font-weight:950;
    }
    .run-status-help-text {
      margin-top:6px;
      color:#a9c2d1;
      font-size:10px;
      line-height:1.55;
    }
    .run-status-help-action {
      margin-top:8px;
      padding-top:8px;
      border-top:1px dashed rgba(77,216,255,.17);
      color:#dcecf5;
      font-size:10px;
      line-height:1.55;
    }
    .status-guide-list {
      display:grid;
      gap:8px;
    }
    .status-guide-row {
      padding:10px;
      border:1px solid rgba(77,216,255,.14);
      border-radius:10px;
      background:rgba(5,18,29,.62);
    }
    .status-guide-head {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
    }
    .status-guide-code {
      font-size:10px;
      font-weight:950;
      letter-spacing:.035em;
    }
    .status-guide-desc, .status-guide-action {
      margin-top:6px;
      color:#a9c2d1;
      font-size:10px;
      line-height:1.5;
    }
    .status-guide-action {
      color:#dcecf5;
    }
    .run-details-json {
      margin:8px 0 0;
      max-height:260px;
      overflow:auto;
      padding:10px;
      border:1px solid rgba(77,216,255,.14);
      border-radius:9px;
      background:#06111b;
      color:#bcd4e2;
      font:10px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
      white-space:pre-wrap;
      overflow-wrap:anywhere;
    }
    .current-panel .position-flow { grid-template-columns:minmax(130px,1fr) auto minmax(130px,1fr); }
    .current-panel .metrics { grid-template-columns:repeat(3,minmax(95px,1fr)); }
    .decision-preview-block {
      margin:10px 0 12px;
      padding:10px;
      border:1px solid rgba(77,216,255,.18);
      border-radius:11px;
      background:linear-gradient(180deg,rgba(8,26,40,.84),rgba(6,18,30,.9));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
    }
    .decision-flow-grid {
      display:grid;
      grid-template-columns:minmax(105px,1fr) auto minmax(150px,1.2fr) auto minmax(105px,1fr);
      gap:7px;
      align-items:stretch;
    }
    .decision-node {
      min-width:0;
      display:flex;
      flex-direction:column;
      justify-content:center;
      min-height:62px;
      padding:8px 9px;
      border:1px solid rgba(118,153,175,.22);
      border-radius:9px;
      background:rgba(7,19,30,.88);
      text-align:center;
    }
    .decision-node.decision-action {
      border-width:1px;
      box-shadow:0 0 18px rgba(77,216,255,.06);
    }
    .decision-label {
      color:#7899ac;
      font-size:8px;
      font-weight:900;
      letter-spacing:.075em;
    }
    .decision-value {
      margin-top:5px;
      color:#f6fbff;
      font-size:13px;
      font-weight:950;
      line-height:1.25;
      overflow-wrap:anywhere;
    }
    .decision-entry-allocation {
      display:inline-flex;
      align-self:center;
      margin-top:6px;
      padding:2px 7px;
      border:1px solid rgba(25,229,197,.24);
      border-radius:999px;
      color:#9ff4e5;
      background:rgba(8,48,42,.52);
      font-size:8px;
      font-weight:900;
      letter-spacing:.035em;
      line-height:1.35;
      white-space:normal;
      text-align:center;
    }
    .decision-arrow {
      align-self:center;
      color:#62cce8;
      font-size:15px;
      font-weight:900;
    }
    .decision-long .decision-value,
    .decision-action-enter .decision-value { color:var(--green); }
    .decision-short .decision-value { color:#ff8c9c; }
    .decision-action-exit .decision-value { color:var(--amber); }
    .decision-action-hold .decision-value,
    .decision-flat .decision-value,
    .decision-neutral .decision-value,
    .decision-action-neutral .decision-value { color:#dbe9f2; }
    .decision-action-enter { border-color:rgba(25,229,197,.34); background:rgba(9,44,39,.58); }
    .decision-action-exit { border-color:rgba(240,185,11,.38); background:rgba(52,42,11,.45); }
    .decision-action-hold { border-color:rgba(125,151,168,.24); }
    .decision-run-box {
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
      margin-top:9px;
      padding-top:8px;
      border-top:1px dashed rgba(77,216,255,.20);
    }
    .decision-run-label {
      color:#6fdcf7;
      font-size:8px;
      font-weight:900;
      letter-spacing:.075em;
    }
    .decision-run-value {
      margin-top:3px;
      color:#f5fbff;
      font-size:10px;
      font-weight:900;
    }
    .decision-run-time-line + .decision-run-time-line {
      margin-top:3px;
    }
    .decision-run-time-line.secondary {
      color:#9ec0d3;
      font-size:9px;
      font-weight:850;
    }
    .decision-preview-disclaimer {
      max-width:310px;
      color:#7893a4;
      font-size:8px;
      font-weight:750;
      line-height:1.4;
      text-align:right;
      letter-spacing:.02em;
    }
    .ibs-current .result { min-height:0; }
    .ibs-current .button-row { margin:10px 0 0; }
    .three-day-current .result { min-height:0; }
    .three-day-current .button-row { margin:10px 0 0; }
    .ibs-status-config,
    .three-day-status-config { margin-top:0; }
    .status-subsection {
      margin-top:12px;
      padding-top:10px;
      border-top:1px dashed rgba(77, 216, 255, .26);
    }
    .status-subsection-title {
      margin-bottom:3px;
      color:var(--cyan);
      font-size:10px;
      font-weight:900;
      letter-spacing:.025em;
    }
    .trading-log-body {
      height:100%;
      max-height:430px;
      overflow-y:auto;
      padding:8px;
    }
    .trade-empty {
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:220px;
      color:var(--muted);
      font-size:12px;
      text-align:center;
    }
    .trade-event {
      margin-bottom:8px;
      padding:10px 10px;
      border:1px solid rgba(77, 216, 255, .16);
      border-left:3px solid #596273;
      border-radius:10px;
      background:linear-gradient(180deg, rgba(11, 23, 35, .96), rgba(7, 18, 28, .98));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.015);
    }
    .trade-event:last-child { margin-bottom:0; }
    .trade-event.scheduled_check { border-left-color:#54c6ff; }
    .trade-event.manual_refresh { border-left-color:#2ad6ff; }
    .trade-event.paper_test,
    .trade-event.paper_manual_execution,
    .trade-event.paper_execution { border-left-color:var(--amber); }
    .trade-event.error { border-left-color:var(--red); }
    .trade-event-top {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      margin-bottom:5px;
    }
    .trade-event-title {
      font-size:11px;
      font-weight:900;
      letter-spacing:.025em;
      color:#f6fbff;
    }
    .trade-event-time { color:var(--muted); font-size:9px; white-space:nowrap; }
    /* Match Trading Log body text to Current Status .row content (12px). */
    .trade-event-summary { color:#d5dbe4; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
    .trade-event-action {
      display:inline-block;
      margin-top:5px;
      padding:2px 6px;
      border:1px solid rgba(77, 216, 255, .18);
      border-radius:999px;
      color:#b7cedb;
      font-size:10px;
      font-weight:800;
      background:rgba(10, 24, 36, .9);
    }
    .detailed-log-card { margin-top:12px; }
    .detailed-log-tools { display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; }
    .detailed-log-tools .monitor-meta { text-align:right; }
    .log-copy-btn {
      width:30px;
      height:30px;
      min-width:30px;
      padding:0;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:8px;
      border:1px solid rgba(77,216,255,.28);
      background:linear-gradient(180deg, rgba(16,38,55,.96), rgba(9,24,37,.98));
      color:#cbefff;
      box-shadow:none;
    }
    .log-copy-btn svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; }
    .log-copy-btn:hover {
      transform:none;
      filter:brightness(1.08);
      border-color:rgba(77,216,255,.55);
      box-shadow:0 0 14px rgba(77,216,255,.12);
    }
    .log-copy-btn.copied {
      color:var(--green);
      border-color:rgba(33,226,179,.55);
      box-shadow:0 0 14px rgba(33,226,179,.12);
    }
    .log-copy-btn.copy-error {
      color:var(--red);
      border-color:rgba(255,77,109,.55);
    }
    @media(max-width:1100px){
      .strategy-body { grid-template-columns:1fr 1fr; }
    }

    /* Intermediate desktop/tablet width: keep the three-step decision flow horizontal,
       but let every node shrink evenly and stack the run-time note below it. */
    @media(min-width:761px) and (max-width:1100px){
      /* Keep the Strategy Control Center fully contained at narrow desktop/tablet widths.
         The desktop table remains visible, but columns shrink proportionally instead of
         forcing a horizontal scrollbar. */
      .strategy-control-table-head,
      .strategy-control-row {
        grid-template-columns:
          minmax(42px,.50fr)
          minmax(100px,1.60fr)
          minmax(40px,.46fr)
          minmax(44px,.52fr)
          minmax(62px,.72fr)
          minmax(58px,.70fr)
          minmax(30px,.34fr)
          minmax(60px,.72fr)
          minmax(100px,1.18fr)
          minmax(48px,.58fr);
        gap:4px;
        min-width:0;
      }
      .strategy-control-list { min-width:0; }
      .strategy-control-table-head { padding-inline:6px;font-size:7px;letter-spacing:.045em; }
      .strategy-control-row { padding-inline:6px; }
      .strategy-control-name { font-size:9px; }
      .strategy-control-risk-chip { padding-inline:3px;font-size:7px; }
      .strategy-control-status { padding-inline:3px;font-size:7px; }
      .strategy-control-engine { font-size:7px;letter-spacing:.02em; }
      .strategy-control-jobs::after { font-size:8px; }
      .strategy-control-small { font-size:8px; }
      .strategy-control-next { font-size:8px; }
      .strategy-control-next-time { font-size:7px; }
      .strategy-control-action { padding-inline:5px;font-size:8px; }

      .decision-flow-grid {
        grid-template-columns:minmax(0,1fr) 14px minmax(0,1.15fr) 14px minmax(0,1fr);
        gap:4px;
      }
      .decision-node {
        min-width:0;
        min-height:58px;
        padding:7px 6px;
      }
      .decision-label {
        font-size:7px;
        letter-spacing:.05em;
      }
      .decision-value {
        font-size:12px;
      }
      .decision-arrow {
        font-size:13px;
      }
      .decision-run-box {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        align-items:start;
        gap:6px;
      }
      .decision-preview-disclaimer {
        max-width:none;
        text-align:left;
      }
    }
    @media(max-width:760px){
      .monitor-header { align-items:flex-start; }
      .strategy-control-summary { row-gap:4px; }
      .strategy-control-summary-line { padding-left:14px; }
      .strategy-control-table { overflow:visible; }
      .strategy-control-table-head { display:none; }
      .strategy-control-list { min-width:0;gap:8px; }
      .strategy-control-row {
        min-width:0;
        grid-template-columns:minmax(0,1fr) auto auto auto;
        grid-template-areas:
          "symbol risk action status"
          "name name name name"
          "engine engine engine engine"
          "next next next next"
          "monitor monitor monitor monitor";
        gap:7px 5px;
        align-items:center;
        padding:10px;
      }
      .strategy-control-symbol { grid-area:symbol;font-size:13px; }
      .strategy-control-name-wrap { grid-area:name; }
      .strategy-control-name { white-space:normal;line-height:1.3;font-size:10px; }
      .strategy-control-status { grid-area:status;width:auto;min-width:68px;min-height:23px;padding-inline:7px; }
      .strategy-control-engine-wrap { grid-area:engine;display:flex;align-items:center;gap:6px;min-width:0;padding-top:1px; }
      .strategy-control-engine { text-align:left;font-size:9px;color:#a9c8da; }
      .strategy-control-jobs { text-align:left;font-size:9px;color:#7f97a9; }
      .strategy-control-jobs::after { content:none; }
      .strategy-control-jobs:not(:empty)::before { content:"· ";color:#526a7c; }
      .strategy-control-next { grid-area:next;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:0;white-space:normal;font-size:10px; }
      .strategy-control-next-value { display:flex;align-items:baseline;gap:5px;min-width:0;white-space:nowrap; }
      .strategy-control-next-date { font-size:10px; }
      .strategy-control-next-time { font-size:9px; }
      .strategy-control-risk-wrap { grid-area:risk;display:flex;align-items:center;gap:4px;min-width:0; }
      .strategy-control-risk-wrap .strategy-control-risk-chip { width:auto;min-width:0;min-height:23px;padding:2px 7px;font-size:8px;gap:3px; }
      .strategy-control-risk-label { display:inline;color:#6f8799;font-size:7px;font-weight:950;letter-spacing:.045em; }
      .strategy-control-monitor { grid-area:monitor;display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:center;min-width:0;padding:7px 8px;border:1px solid rgba(77,216,255,.10);border-radius:7px;background:rgba(6,17,28,.55); }
      .strategy-control-monitor-value { display:flex;align-items:center;gap:4px;white-space:nowrap;line-height:1.3; }
      .strategy-control-monitor-sep { display:inline; }
      .strategy-control-mobile-label { display:inline;color:#6f8799;font-size:7px;font-weight:950;letter-spacing:.075em;white-space:nowrap; }
      .strategy-control-action { grid-area:action;justify-self:end;min-width:54px;min-height:23px;padding:3px 7px;margin:0; }
      .detailed-log-tools { gap:6px; }
      .detailed-log-tools .monitor-meta { max-width:240px; line-height:1.35; }
      /* Mobile strategy header: never let the right-side controls squeeze the title column. */
      .strategy-card .job-card-head {
        flex-direction:column;
        align-items:stretch;
        gap:10px;
      }
      .job-card-left {
        width:100%;
        min-width:0;
      }
      .job-symbol-main,
      .job-strategy-name,
      .job-id {
        max-width:100%;
        overflow-wrap:break-word;
        word-break:normal;
      }
      .job-card-right {
        width:100%;
        min-width:0;
        text-align:left;
      }
      .job-card-right-top {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        width:100%;
      }
      /* Let Leverage / Allocation become direct grid items between Refresh and Running. */
      .job-risk-badges { display:contents; }
      .job-top-btn,
      .job-manage-state-btn,
      .job-refresh-btn,
      .job-run-details-btn,
      .job-lifecycle-btn,
      .job-risk-badge,
      .job-status {
        width:100%;
        min-width:0;
        min-height:34px;
        justify-content:center;
        text-align:center;
        box-sizing:border-box;
      }
      .job-top-btn,
      .job-manage-state-btn,
      .job-refresh-btn,
      .job-run-details-btn,
      .job-lifecycle-btn { padding:6px 8px; }
      .run-summary-grid { grid-template-columns:1fr; }
      .decision-flow-grid {
        grid-template-columns:1fr;
        gap:6px;
      }
      .decision-arrow {
        transform:rotate(90deg);
        justify-self:center;
        line-height:1;
      }
      .decision-node { min-height:52px; }
      .decision-run-box {
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
      }
      .decision-preview-disclaimer {
        max-width:none;
        text-align:left;
      }
      .job-risk-badge { padding:6px 7px; }
      .job-status { padding:6px 8px; }
      .job-next-run {
        margin-top:9px;
        white-space:normal;
        overflow-wrap:anywhere;
        line-height:1.45;
      }
      .strategy-body { grid-template-columns:1fr; }
      .current-panel .metrics { grid-template-columns:1fr; }
    }

    .app-tabs {
      display:flex;
      gap:8px;
      margin:0 0 12px;
      padding:5px;
      width:max-content;
      max-width:100%;
      border:1px solid rgba(77,216,255,.20);
      border-radius:12px;
      background:rgba(7,18,29,.88);
      box-shadow:var(--glow);
    }
    .app-tab {
      min-width:118px;
      padding:9px 18px;
      border-radius:9px;
      border:1px solid transparent;
      background:transparent;
      color:#8fa9ba;
      box-shadow:none;
      font-size:12px;
      font-weight:600;
      letter-spacing:.025em;
      white-space:nowrap;
    }
    .app-tab:hover {
      transform:none;
      filter:none;
      box-shadow:none;
      color:#eaf8ff;
    }
    .app-tab.active {
      color:#061019;
      border-color:rgba(240,185,11,.55);
      background:linear-gradient(180deg,#ffd34f,#e4af09);
      box-shadow:0 4px 18px rgba(240,185,11,.18);
    }
    .tab-page { display:none; }
    .tab-page.active { display:block; }

    .market-topbar {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:4px;
    }
    .market-title {
      font-size:15px;
      font-weight:900;
      letter-spacing:.025em;
    }
    .market-subtitle {
      color:var(--muted);
      font-size:10px;
      margin-top:3px;
      line-height:1.45;
    }
    .market-actions {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:10px;
      min-width:0;
    }
    .market-runtime {
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:7px;
      min-width:0;
      flex-wrap:wrap;
    }
    .market-status {
      display:inline-flex;
      align-items:center;
      gap:6px;
      font-size:10px;
      font-weight:900;
      color:var(--muted);
      white-space:nowrap;
    }
    .market-status.available { color:var(--green); }
    .market-status.partial { color:#ffe18a; }
    .market-status.error { color:var(--red); }
    .market-status-dot {
      width:7px;
      height:7px;
      border-radius:50%;
      background:currentColor;
      box-shadow:0 0 8px currentColor;
    }
    .market-runtime-meta {
      display:inline-flex;
      align-items:center;
      min-height:25px;
      padding:0 8px;
      border:1px solid rgba(77,216,255,.13);
      border-radius:7px;
      background:rgba(7,18,29,.48);
      color:#8faaba;
      font-size:9px;
      font-weight:800;
      letter-spacing:.015em;
      white-space:nowrap;
    }
    .market-policy {
      display:flex;
      align-items:center;
      gap:7px;
      flex-wrap:wrap;
      margin-top:10px;
      padding:9px 10px;
      border:1px solid rgba(77,216,255,.13);
      border-radius:9px;
      background:rgba(7,18,29,.46);
    }
    .market-policy-label {
      color:#7395a8;
      font-size:8px;
      font-weight:950;
      letter-spacing:.09em;
      text-transform:uppercase;
      white-space:nowrap;
    }
    .market-policy-chip {
      display:inline-flex;
      align-items:center;
      min-height:23px;
      padding:0 8px;
      border:1px solid rgba(77,216,255,.11);
      border-radius:999px;
      background:rgba(77,216,255,.035);
      color:#91abba;
      font-size:8px;
      font-weight:800;
      letter-spacing:.025em;
      white-space:nowrap;
    }
    .market-policy-chip strong {
      margin-left:4px;
      color:#cbe8f5;
      font-weight:950;
    }
    .market-error {
      display:none;
      margin-top:8px;
      color:#ff8f9f;
      font-size:9px;
      font-weight:800;
      line-height:1.45;
    }
    .market-error.visible { display:block; }
    .market-section { margin-top:12px; }
    .market-section-head {
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:10px;
      margin-bottom:7px;
      padding:0 2px;
    }
    .market-section-title {
      color:#dff6ff;
      font-size:11px;
      font-weight:950;
      letter-spacing:.07em;
      text-transform:uppercase;
    }
    .market-grid {
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:9px;
    }
    .market-card {
      min-width:0;
      min-height:116px;
      padding:12px;
      border:1px solid rgba(77,216,255,.16);
      border-radius:12px;
      background:linear-gradient(180deg,rgba(10,25,38,.94),rgba(6,17,27,.96));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
    }
    .market-card.unavailable { border-color:rgba(255,93,115,.28); }
    .market-card-head {
      display:flex;
      align-items:flex-start;
      justify-content:flex-start;
      gap:8px;
    }
    .market-card-label {
      color:#e7f8ff;
      font-size:12px;
      font-weight:950;
      letter-spacing:.02em;
    }
    .market-card-meta { margin-top:3px; }
    .market-card-symbol {
      color:#7b99ab;
      font:8px/1.35 Consolas,monospace;
      overflow-wrap:anywhere;
    }
    .market-card-source-inline {
      margin-top:2px;
      color:#5f8093;
      font-size:7px;
      font-weight:800;
      letter-spacing:.02em;
      line-height:1.3;
      text-transform:uppercase;
      overflow-wrap:anywhere;
    }
    .market-card-value {
      margin-top:13px;
      color:#f7fcff;
      font-size:23px;
      font-weight:950;
      letter-spacing:-.025em;
      white-space:nowrap;
    }
    .market-card-change {
      margin-top:4px;
      font-size:11px;
      font-weight:900;
      color:#8ca7b7;
    }
    .market-card-change.positive { color:var(--green); }
    .market-card-change.negative { color:var(--red); }
    .market-card-foot {
      margin-top:10px;
      color:#678293;
      font-size:8px;
      font-weight:700;
      line-height:1.35;
      overflow-wrap:anywhere;
    }
    @media(max-width:1100px){
      .market-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    }
    @media(max-width:760px){
      .market-topbar { align-items:flex-start;flex-direction:column; }
      .market-actions { width:100%;justify-content:space-between;align-items:flex-start; }
      .market-runtime { justify-content:flex-start; }
      .market-policy { align-items:flex-start; }
      .market-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
      .market-card { min-height:112px;padding:10px; }
      .market-card-value { font-size:20px; }
    }
    @media(max-width:460px){
      .market-actions { gap:7px; }
      .market-runtime { gap:5px; }
      .market-runtime-meta { min-height:22px;padding:0 6px;font-size:7px; }
      .market-policy { gap:5px;padding:8px; }
      .market-policy-label { width:100%; }
      .market-policy-chip { min-height:21px;padding:0 6px;font-size:7px; }
      .market-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:6px; }
      .market-card { min-height:102px;padding:8px; }
      .market-card-head { gap:4px; }
      .market-card-label { font-size:10px; }
      .market-card-symbol { font-size:7px; }
      .market-card-source-inline { font-size:6px; }
      .market-card-value { margin-top:12px;font-size:17px; }
      .market-card-change { margin-top:3px;font-size:9px; }
    }

    .market-calendar-section { margin-top:18px; }
    .market-calendar-card {
      border:1px solid rgba(77,216,255,.16);
      border-radius:12px;
      background:linear-gradient(180deg,rgba(10,25,38,.92),rgba(6,17,27,.96));
      overflow:hidden;
    }
    .market-calendar-toolbar {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:10px 12px;
      border-bottom:1px solid rgba(77,216,255,.11);
      color:#dff6ff;
      font-size:10px;
      font-weight:900;
    }
    .market-calendar-list { display:block; }
    .market-calendar-head,
    .market-calendar-row {
      display:grid;
      grid-template-columns:92px 74px minmax(220px,1fr) 72px;
      align-items:center;
      gap:10px;
      padding:9px 12px;
    }
    .market-calendar-head {
      color:#668496;
      font-size:8px;
      font-weight:900;
      letter-spacing:.06em;
      border-bottom:1px solid rgba(77,216,255,.08);
      background:rgba(77,216,255,.025);
    }
    .market-calendar-row {
      min-height:58px;
      border-bottom:1px solid rgba(77,216,255,.07);
      color:#d9edf6;
      font-size:10px;
    }
    .market-calendar-row:last-child { border-bottom:0; }
    .market-calendar-date { font-size:12px; font-weight:800; color:#dff6ff; line-height:1.25; }
    .market-calendar-time { font:800 12px/1.2 Consolas,monospace;color:#8edfff; }
    .market-calendar-event { min-width:0; }
    .market-calendar-event strong { display:block;color:#f3fbff;font-size:12px; line-height:1.42; font-weight:500; }
    .market-calendar-event small { display:none; }
    .market-calendar-impact {
      justify-self:start;
      padding:4px 7px;
      border:1px solid rgba(255,184,77,.24);
      border-radius:5px;
      color:#ffd28a;
      background:rgba(255,184,77,.06);
      font-size:8px;
      font-weight:950;
    }
    .market-calendar-relative { color:#7e9aaa;font-size:8px;font-weight:850; }
    .market-calendar-empty { padding:18px 12px;color:#7d98a8;font-size:10px;text-align:center; }
    @media(max-width:760px){
      .market-calendar-toolbar { align-items:flex-start;flex-direction:column; }
      .market-calendar-head { display:none; }
      .market-calendar-row {
        grid-template-columns:78px 62px minmax(0,1fr) 58px;
        gap:7px;
        padding:10px;
      }
      .market-calendar-event strong { font-size:11px; font-weight:500; }
    }
    @media(max-width:460px){
      .market-calendar-row { grid-template-columns:72px 58px minmax(0,1fr); }
      .market-calendar-impact { display:none; }
    }

    .trade-topbar {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-bottom:10px;
    }
    .trade-page-title {
      font-size:15px;
      font-weight:900;
      letter-spacing:.025em;
    }
    .trade-page-meta {
      color:var(--muted);
      font-size:10px;
      margin-top:3px;
    }
    .trade-connection {
      display:inline-flex;
      align-items:center;
      gap:6px;
      font-size:10px;
      font-weight:900;
      color:var(--muted);
    }
    .trade-connection.available { color:var(--green); }
    .trade-connection.error { color:var(--red); }
    .trade-connection-dot {
      width:7px;
      height:7px;
      border-radius:50%;
      background:currentColor;
      box-shadow:0 0 8px currentColor;
    }
    .trade-summary-grid {
      display:grid;
      grid-template-columns:repeat(6,minmax(135px,1fr));
      gap:9px;
      margin-top:10px;
    }
    .trade-summary-card {
      padding:12px;
      border:1px solid rgba(77,216,255,.18);
      border-radius:11px;
      background:linear-gradient(180deg,rgba(12,28,42,.96),rgba(8,19,31,.96));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
    }
    .trade-summary-label {
      color:#8ca7b8;
      font-size:9px;
      font-weight:800;
      letter-spacing:.055em;
      text-transform:uppercase;
    }
    .trade-summary-value {
      margin-top:6px;
      color:#f7fbff;
      font-size:18px;
      font-weight:900;
      overflow-wrap:anywhere;
    }
    .trade-summary-value.positive { color:var(--green); }
    .trade-summary-value.negative { color:var(--red); }
    .monitor-card.manual-order-card { overflow:visible; z-index:4; }
    .manual-order-shell {
      position:relative;
      z-index:2;
      padding:12px;
      border:1px solid rgba(77,216,255,.16);
      border-radius:12px;
      background:linear-gradient(180deg,rgba(11,25,38,.96),rgba(8,19,31,.98));
    }
    .manual-order-form {
      display:grid;
      grid-template-columns:minmax(0,1.35fr) minmax(150px,.8fr) minmax(150px,.8fr);
      gap:11px 12px;
    }
    .manual-field { min-width:0; }
    .manual-field.symbol-field { grid-column:span 2; }
    .manual-field.limit-field { grid-column:span 2; }
    .manual-field-label {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      margin-bottom:6px;
      color:#90a9b9;
      font-size:9px;
      font-weight:900;
      letter-spacing:.05em;
      text-transform:uppercase;
    }
    .manual-field-label .required { color:var(--red); font-size:8px; letter-spacing:0; }
    .manual-control {
      width:100%;
      min-width:0;
      height:38px;
      border:1px solid rgba(77,216,255,.22);
      border-radius:9px;
      padding:0 10px;
      outline:none;
      background:linear-gradient(180deg,rgba(15,32,48,.98),rgba(9,21,33,.98));
      color:#f4f9fc;
      font:inherit;
      font-size:11px;
      font-weight:800;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
    }
    .manual-control:focus {
      border-color:rgba(77,216,255,.60);
      box-shadow:0 0 0 2px rgba(77,216,255,.08);
    }
    /* Native select popup menus can be rendered on a light OS surface (notably Windows/Chromium).
       Give option rows an explicit light background + dark text so every item remains readable. */
    select.manual-control option {
      background:#f4f7fa;
      color:#102433;
      font-weight:800;
    }
    .manual-control:disabled {
      cursor:not-allowed;
      opacity:.42;
      background:#0b1722;
    }
    .manual-symbol-picker { position:relative; }
    .manual-symbol-trigger {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      cursor:pointer;
      text-align:left;
    }
    .manual-symbol-trigger-text {
      min-width:0;
      flex:1;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .manual-symbol-chevron {
      color:#7f9aac;
      font-size:10px;
      transition:transform .16s ease;
    }
    .manual-symbol-trigger[aria-expanded="true"] .manual-symbol-chevron { transform:rotate(180deg); }
    .manual-symbol-menu {
      position:absolute;
      z-index:80;
      top:calc(100% + 5px);
      left:0;
      right:0;
      overflow:hidden;
      border:1px solid rgba(77,216,255,.34);
      border-radius:9px;
      background:#f7f9fb;
      box-shadow:0 16px 35px rgba(0,0,0,.42);
    }
    .manual-symbol-menu[hidden] { display:none !important; }
    .manual-symbol-search-wrap {
      padding:7px;
      border-bottom:1px solid #d5dde4;
      background:#fff;
    }
    .manual-symbol-search {
      width:100%;
      height:34px;
      border:1px solid #93b7ff;
      border-radius:0;
      padding:0 10px;
      outline:none;
      background:#fff;
      color:#152431;
      font:inherit;
      font-size:11px;
      font-weight:750;
    }
    .manual-symbol-search:focus {
      border-color:#6398ff;
      box-shadow:0 0 0 1px rgba(76,130,255,.18);
    }
    .manual-symbol-menu-meta {
      display:flex;
      justify-content:space-between;
      gap:8px;
      padding:5px 10px;
      border-bottom:1px solid #e1e6eb;
      background:#f4f6f8;
      color:#73808a;
      font-size:8px;
      font-weight:800;
      letter-spacing:.035em;
      text-transform:uppercase;
    }
    .manual-symbol-list {
      max-height:300px;
      overflow:auto;
      overscroll-behavior:contain;
      background:#fff;
      scrollbar-color:#8e969c #f1f3f5;
    }
    .manual-symbol-option {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      width:100%;
      min-height:36px;
      padding:7px 12px;
      border:0;
      border-bottom:1px solid #eef1f3;
      background:#fff;
      color:#27313a;
      text-align:left;
      cursor:pointer;
      font:inherit;
      font-size:11px;
    }
    .manual-symbol-option:hover,
    .manual-symbol-option:focus {
      outline:none;
      background:#eaf2ff;
    }
    .manual-symbol-option.selected {
      background:#7fa9ee;
      color:#fff;
    }
    .manual-symbol-option-main {
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      font-weight:800;
    }
    .manual-symbol-option-meta {
      flex:none;
      color:#7b8790;
      font-size:8px;
      font-weight:750;
      white-space:nowrap;
    }
    .manual-symbol-option.selected .manual-symbol-option-meta { color:rgba(255,255,255,.82); }
    .manual-symbol-empty {
      padding:18px 12px;
      color:#7d8992;
      text-align:center;
      font-size:10px;
      font-weight:750;
    }
    .manual-symbol-caption {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      margin-top:5px;
      color:#6f8b9d;
      font-size:8px;
      line-height:1.35;
    }
    .manual-symbol-caption.error { color:#ff8e9c; }
    .manual-input-wrap { position:relative; }
    .manual-input-suffix {
      position:absolute;
      right:11px;
      top:50%;
      transform:translateY(-50%);
      color:#6f8b9d;
      font-size:9px;
      font-weight:900;
      pointer-events:none;
    }
    .manual-input-wrap .manual-control { padding-right:38px; }
    .manual-order-divider {
      height:1px;
      margin:13px 0;
      background:linear-gradient(90deg,transparent,rgba(77,216,255,.20),transparent);
    }
    .manual-preview-head {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      margin-bottom:8px;
    }
    .manual-preview-title { font-size:10px; font-weight:900; color:#dff7ff; letter-spacing:.04em; }
    .manual-preview-meta { color:var(--muted); font-size:8px; }
    .manual-preview-grid {
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:8px;
    }
    .manual-preview-card {
      padding:9px 10px;
      border:1px solid rgba(77,216,255,.13);
      border-radius:9px;
      background:rgba(6,17,27,.66);
      min-width:0;
    }
    .manual-preview-label { color:#7998aa; font-size:8px; font-weight:850; letter-spacing:.045em; text-transform:uppercase; }
    .manual-preview-value { margin-top:4px; color:#f5fbff; font-size:12px; font-weight:900; overflow-wrap:anywhere; }
    .manual-preview-sub { margin-top:4px; color:#7893a4; font-size:8px; font-weight:700; line-height:1.4; }
    .manual-preparation-grid {
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:8px;
    }
    .manual-preview-value.readiness-ready { color:var(--green); }
    .manual-preview-value.readiness-prepare { color:var(--amber); }
    .manual-preview-value.readiness-blocked { color:var(--red); }
    .manual-preview-value.readiness-stale { color:#91a8b7; }
    .manual-order-buttons { display:flex; gap:8px; flex:none; }
    #manual-order-check { min-width:120px; }
    .manual-order-actions {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      margin-top:12px;
    }
    .manual-order-status { color:var(--muted); font-size:11px; line-height:1.6; }
    .manual-order-submit { min-width:170px; }
    .manual-order-note { margin-top:10px; color:var(--muted); font-size:11px; line-height:1.65; }

    .trade-section { margin-top:12px; }
    .trade-table-wrap {
      overflow-y:auto;
      overflow-x:auto;
      max-height:360px;
      padding:0;
    }
    .trade-table {
      width:100%;
      border-collapse:collapse;
      min-width:900px;
      font-size:11px;
    }
    .trade-table th {
      position:sticky;
      top:0;
      z-index:1;
      padding:9px 10px;
      text-align:right;
      color:#78dfff;
      background:#0b1c2a;
      border-bottom:1px solid rgba(77,216,255,.24);
      font-size:9px;
      letter-spacing:.055em;
      white-space:nowrap;
    }
    .trade-table th:first-child,
    .trade-table th:nth-child(2) { text-align:left; }
    .trade-table td {
      padding:9px 10px;
      text-align:right;
      border-bottom:1px solid rgba(77,216,255,.10);
      color:#dceaf2;
      white-space:nowrap;
    }
    .trade-table td:first-child,
    .trade-table td:nth-child(2) { text-align:left; }
    .trade-table tr:last-child td { border-bottom:0; }

    /* Narrow desktop/tablet Trade view: keep Open Positions fully contained in the card.
       IMPORTANT: this override intentionally lives after the base trade-table rules so
       min-width:900px / overflow-x:auto cannot win through source-order cascade. */
    @media(min-width:761px) and (max-width:1100px){
      .trade-table-wrap { overflow-x:hidden; }
      .trade-table {
        min-width:0;
        table-layout:fixed;
        font-size:9px;
      }
      .trade-table th {
        padding:7px 4px;
        font-size:7px;
        line-height:1.15;
        white-space:normal;
        overflow-wrap:anywhere;
      }
      .trade-table td {
        padding:8px 4px;
        font-size:9px;
        overflow:hidden;
        text-overflow:ellipsis;
      }
      .trade-table th:nth-child(1), .trade-table td:nth-child(1) { width:11%; }
      .trade-table th:nth-child(2), .trade-table td:nth-child(2) { width:8%; }
      .trade-table th:nth-child(3), .trade-table td:nth-child(3) { width:8%; }
      .trade-table th:nth-child(4), .trade-table td:nth-child(4) { width:11%; }
      .trade-table th:nth-child(5), .trade-table td:nth-child(5) { width:11%; }
      .trade-table th:nth-child(6), .trade-table td:nth-child(6) { width:10%; }
      .trade-table th:nth-child(7), .trade-table td:nth-child(7) { width:8%; }
      .trade-table th:nth-child(8), .trade-table td:nth-child(8) { width:10%; }
      .trade-table th:nth-child(9), .trade-table td:nth-child(9) { width:13%; }
      .trade-table th:nth-child(10), .trade-table td:nth-child(10) { width:10%; }
    }
    .position-side-long { color:var(--green) !important; font-weight:900; }
    .position-side-short { color:var(--red) !important; font-weight:900; }
    .pnl-positive { color:var(--green) !important; font-weight:850; }
    .pnl-negative { color:var(--red) !important; font-weight:850; }
    .trade-account-message {
      padding:18px;
      color:var(--muted);
      text-align:center;
      font-size:11px;
    }
    .unified-log-tools {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      padding:10px 10px 0;
      flex-wrap:wrap;
    }
    .unified-log-filters {
      display:flex;
      align-items:center;
      gap:7px;
      flex-wrap:wrap;
      min-width:0;
      flex:1 1 auto;
    }
    .unified-log-filter,
    .unified-log-search {
      min-height:32px;
      border:1px solid rgba(77,216,255,.24);
      border-radius:8px;
      background:#081725;
      color:#dcecf5;
      font-size:10px;
      font-weight:800;
      outline:none;
    }
    .unified-log-filter {
      padding:0 28px 0 9px;
      min-width:130px;
    }
    .unified-log-search {
      width:min(260px,100%);
      padding:0 10px;
      font-weight:700;
    }
    .unified-log-filter:focus,
    .unified-log-search:focus { border-color:rgba(77,216,255,.58); box-shadow:0 0 0 2px rgba(77,216,255,.07); }
    .unified-trading-log {
      max-height:560px;
      overflow:auto;
      padding:10px;
    }
    .unified-log-columns,
    .unified-trade-event {
      display:grid;
      grid-template-columns:118px 145px 185px minmax(0,1fr) 90px;
      gap:12px;
      align-items:start;
    }
    .unified-log-columns {
      position:sticky;
      top:0;
      z-index:3;
      margin:0 0 6px;
      padding:7px 12px;
      border:1px solid rgba(77,216,255,.12);
      border-radius:8px;
      background:rgba(7,20,31,.97);
      color:#7899ad;
      font-size:8px;
      font-weight:950;
      letter-spacing:.055em;
    }
    .unified-trade-event {
      margin-bottom:8px;
      padding:11px 12px;
      border:1px solid rgba(77,216,255,.16);
      border-left:3px solid #596273;
      border-radius:10px;
      background:linear-gradient(180deg,rgba(11,23,35,.96),rgba(7,18,28,.98));
      cursor:pointer;
    }
    .unified-trade-event:last-child { margin-bottom:0; }
    .unified-trade-event.level-info { border-left-color:#54c6ff; }
    .unified-trade-event.level-success { border-left-color:var(--green); }
    .unified-trade-event.level-warning { border-left-color:var(--amber); }
    .unified-trade-event.level-error { border-left-color:var(--red); }
    .unified-event-timebox { min-width:0; }
    .unified-event-date { color:#dcecf5; font-size:11px; font-weight:900; white-space:nowrap; }
    .unified-event-clock { margin-top:3px; color:var(--muted); font-size:10px; font-weight:800; white-space:nowrap; }
    .unified-event-strategy { min-width:0; }
    .unified-event-symbol { color:#f5fbff; font-size:12px; font-weight:900; }
    .unified-event-id { margin-top:3px; color:var(--muted); font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
    .unified-event-name { min-width:0; }
    .unified-event-title { color:#f6fbff; font-size:11px; font-weight:900; line-height:1.4; }
    .unified-event-type { margin-top:3px; color:#7899ad; font-size:8px; font-weight:850; letter-spacing:.025em; overflow-wrap:anywhere; }
    .unified-event-detail { min-width:0; }
    .unified-event-summary { color:#d5dbe4; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
    .unified-event-metrics { display:flex; flex-wrap:wrap; gap:5px 14px; margin-top:7px; }
    .unified-event-metric { color:#d7e3eb; font-size:10px; line-height:1.45; white-space:nowrap; }
    .unified-event-metric-label { margin-right:4px; color:#7899ad; font-size:8px; font-weight:900; letter-spacing:.35px; }
    .unified-event-metric-value { color:#f3f9fc; font-weight:900; }
    .unified-event-result { display:flex; justify-content:flex-end; min-width:0; }
    .unified-result-badge {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:70px;
      min-height:25px;
      padding:3px 8px;
      border:1px solid rgba(118,153,175,.32);
      border-radius:999px;
      color:#b8cad5;
      background:rgba(9,24,36,.82);
      font-size:8px;
      font-weight:950;
      letter-spacing:.04em;
      white-space:nowrap;
    }
    .unified-result-badge.level-success { color:var(--green); border-color:rgba(33,226,179,.44); background:rgba(8,47,42,.54); }
    .unified-result-badge.level-warning { color:#ffd86b; border-color:rgba(240,185,11,.46); background:rgba(53,42,8,.52); }
    .unified-result-badge.level-error { color:#ff94a5; border-color:rgba(255,77,109,.48); background:rgba(55,13,24,.52); }
    .unified-result-badge.level-info { color:#9bdff4; border-color:rgba(77,216,255,.34); }
    .unified-event-expanded {
      display:none;
      grid-column:1 / -1;
      margin-top:2px;
      padding-top:9px;
      border-top:1px dashed rgba(77,216,255,.18);
    }
    .unified-trade-event.expanded .unified-event-expanded { display:block; }
    .unified-event-expanded-grid {
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:6px 12px;
      margin-bottom:7px;
    }
    .unified-event-expanded-item span { display:block; color:#7899ad; font-size:8px; font-weight:900; letter-spacing:.04em; }
    .unified-event-expanded-item strong { display:block; margin-top:2px; color:#dcecf5; font-size:10px; overflow-wrap:anywhere; }
    .unified-event-details-json {
      margin:0;
      max-height:180px;
      overflow:auto;
      padding:8px;
      border:1px solid rgba(77,216,255,.12);
      border-radius:7px;
      background:#06111b;
      color:#a9c6d5;
      font:9px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
      white-space:pre-wrap;
      overflow-wrap:anywhere;
    }
    .unified-log-day-separator {
      margin:10px 0 6px;
      color:#7899ad;
      font-size:8px;
      font-weight:950;
      letter-spacing:.08em;
    }

    @media(max-width:1150px){
      .trade-summary-grid { grid-template-columns:repeat(3,1fr); }
      .manual-order-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .manual-field.symbol-field,
      .manual-field.limit-field { grid-column:span 1; }
      .manual-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .manual-preparation-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    }
    /* Intermediate desktop/tablet width: keep the three-step decision flow horizontal,
       but let every node shrink evenly and stack the run-time note below it. */
    @media(min-width:761px) and (max-width:1100px){
      /* Keep the Strategy Control Center fully contained at narrow desktop/tablet widths.
         The desktop table remains visible, but columns shrink proportionally instead of
         forcing a horizontal scrollbar. */
      .strategy-control-table-head,
      .strategy-control-row {
        grid-template-columns:
          minmax(42px,.50fr)
          minmax(100px,1.60fr)
          minmax(40px,.46fr)
          minmax(44px,.52fr)
          minmax(62px,.72fr)
          minmax(58px,.70fr)
          minmax(30px,.34fr)
          minmax(60px,.72fr)
          minmax(100px,1.18fr)
          minmax(48px,.58fr);
        gap:4px;
        min-width:0;
      }
      .strategy-control-list { min-width:0; }
      .strategy-control-table-head { padding-inline:6px;font-size:7px;letter-spacing:.045em; }
      .strategy-control-row { padding-inline:6px; }
      .strategy-control-name { font-size:9px; }
      .strategy-control-risk-chip { padding-inline:3px;font-size:7px; }
      .strategy-control-status { padding-inline:3px;font-size:7px; }
      .strategy-control-engine { font-size:7px;letter-spacing:.02em; }
      .strategy-control-jobs::after { font-size:8px; }
      .strategy-control-small { font-size:8px; }
      .strategy-control-next { font-size:8px; }
      .strategy-control-next-time { font-size:7px; }
      .strategy-control-action { padding-inline:5px;font-size:8px; }

      .decision-flow-grid {
        grid-template-columns:minmax(0,1fr) 14px minmax(0,1.15fr) 14px minmax(0,1fr);
        gap:4px;
      }
      .decision-node {
        min-width:0;
        min-height:58px;
        padding:7px 6px;
      }
      .decision-label {
        font-size:7px;
        letter-spacing:.05em;
      }
      .decision-value {
        font-size:12px;
      }
      .decision-arrow {
        font-size:13px;
      }
      .decision-run-box {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        align-items:start;
        gap:6px;
      }
      .decision-preview-disclaimer {
        max-width:none;
        text-align:left;
      }
    }
    @media(max-width:760px){
      .app-tabs {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
        gap:6px;
        box-sizing:border-box;
      }
      .app-tab {
        width:100%;
        min-width:0;
        min-height:40px;
        padding:9px 8px;
        font-size:11px;
        white-space:nowrap;
      }
      .trade-summary-grid { grid-template-columns:repeat(2,1fr); }
      .manual-order-form { grid-template-columns:1fr; }
      .manual-field.symbol-field,
      .manual-field.limit-field { grid-column:auto; }
      .manual-preview-grid { grid-template-columns:1fr; }
      .manual-preparation-grid { grid-template-columns:1fr; }
      .manual-order-actions { align-items:stretch; flex-direction:column; }
      .manual-order-buttons { width:100%; }
      #manual-order-check, .manual-order-submit { width:100%; }
      .unified-log-tools { padding:9px 8px 0; }
      .unified-log-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
      .unified-log-filter { width:100%; min-width:0; }
      .unified-log-search { grid-column:1 / -1; width:100%; }
      .unified-log-columns { display:none; }
      .unified-trade-event {
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-areas:
          "time result"
          "strategy strategy"
          "event event"
          "detail detail"
          "expanded expanded";
        gap:7px 10px;
        padding:11px 12px;
      }
      .unified-event-timebox { grid-area:time; display:flex; align-items:center; gap:5px; }
      .unified-event-date, .unified-event-clock { margin:0; font-size:10px; }
      .unified-event-date::after { content:""; }
      .unified-event-strategy { grid-area:strategy; }
      .unified-event-name { grid-area:event; }
      .unified-event-detail { grid-area:detail; }
      .unified-event-result { grid-area:result; }
      .unified-event-expanded { grid-area:expanded; }
      .unified-event-expanded-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    }

    .state-modal-backdrop {
      position:fixed;
      inset:0;
      z-index:1200;
      display:flex;
      align-items:center;
      justify-content:center;
      width:var(--state-modal-vw,100vw);
      height:var(--state-modal-vh,100dvh);
      max-height:var(--state-modal-vh,100dvh);
      transform:translate(var(--state-modal-left,0px),var(--state-modal-top,0px));
      padding:18px;
      overflow:hidden;
      background:rgba(1,7,12,.78);
      backdrop-filter:blur(5px);
      overscroll-behavior:contain;
    }
    .state-modal-backdrop[hidden] { display:none; }
    .state-modal {
      width:min(760px,100%);
      max-height:calc(var(--state-modal-vh,100dvh) - 36px);
      overflow:auto;
      overscroll-behavior:contain;
      -webkit-overflow-scrolling:touch;
      border:1px solid rgba(77,216,255,.38);
      border-radius:15px;
      background:linear-gradient(180deg,#0b1f2e,#071521);
      box-shadow:0 24px 70px rgba(0,0,0,.55),0 0 30px rgba(77,216,255,.08);
      scroll-padding-top:70px;
    }
    .state-modal-head {
      position:sticky;
      top:0;
      z-index:4;
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:14px;
      padding:15px 17px;
      border-bottom:1px solid rgba(77,216,255,.18);
      background:linear-gradient(180deg,rgba(11,31,46,.99),rgba(9,27,41,.98));
      box-shadow:0 8px 18px rgba(2,10,16,.20);
    }
    .state-modal-title { color:#f6fbff; font-size:15px; font-weight:900; }
    .state-modal-subtitle { margin-top:4px; color:var(--muted); font-size:10px; }
    .state-modal-close {
      width:31px; height:31px; padding:0; border-radius:8px;
      border:1px solid rgba(77,216,255,.22); background:#0b2130; color:#cde8f4;
    }
    .state-modal-body { padding:16px 17px; }
    .state-manager-meta {
      display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-bottom:14px;
    }
    .state-meta-card, .state-exchange-card {
      border:1px solid rgba(77,216,255,.18); border-radius:10px; padding:10px;
      background:rgba(7,20,31,.72);
    }
    .state-meta-label { color:#7899ad; font-size:8px; font-weight:900; letter-spacing:.5px; text-transform:uppercase; }
    .state-meta-value { margin-top:5px; color:#f1f8fc; font-size:11px; font-weight:900; overflow-wrap:anywhere; }
    .state-manager-section { margin-top:14px; padding-top:14px; border-top:1px dashed rgba(77,216,255,.22); }
    .state-manager-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
    .state-manager-section-title { color:#bdeefe; font-size:11px; font-weight:900; }
    .state-manager-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px; }
    .state-field label { display:block; margin-bottom:5px; color:#8ca8b9; font-size:9px; font-weight:900; letter-spacing:.35px; text-transform:uppercase; }
    .state-control {
      width:100%; min-height:38px; box-sizing:border-box; border-radius:9px;
      border:1px solid rgba(77,216,255,.24); background:#091d2c; color:#f1f8fc;
      padding:8px 10px; font-size:12px; font-weight:800; outline:none;
    }
    select.state-control option { background:#f4f7fa; color:#102433; font-weight:800; }
    .state-control:focus { border-color:rgba(77,216,255,.72); box-shadow:0 0 0 2px rgba(77,216,255,.08); }
    .state-exchange-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
    .state-exchange-note { margin-top:9px; color:#89a9bb; font-size:10px; line-height:1.55; }
    .state-manager-actions {
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      margin-top:16px; padding-top:14px; border-top:1px solid rgba(77,216,255,.18);
    }
    .state-manager-status { color:#90adbe; font-size:10px; line-height:1.5; }
    .state-manager-buttons { display:flex; gap:8px; }
    .state-manager-buttons button, .state-load-btn { min-height:34px; padding:7px 12px; border-radius:9px; font-size:10px; font-weight:600; }
    .state-load-btn { border:1px solid rgba(77,216,255,.42); background:rgba(77,216,255,.08); color:#8ce6ff; }
    .state-save-btn { border:1px solid rgba(240,185,11,.55); background:linear-gradient(180deg,#ffd34f,#e4af09); color:#061019; }
    .state-cancel-btn { border:1px solid rgba(131,162,181,.3); background:#0b2130; color:#c7dce7; }
    /* Intermediate desktop/tablet width: keep the three-step decision flow horizontal,
       but let every node shrink evenly and stack the run-time note below it. */
    @media(min-width:761px) and (max-width:1100px){
      /* Keep the Strategy Control Center fully contained at narrow desktop/tablet widths.
         The desktop table remains visible, but columns shrink proportionally instead of
         forcing a horizontal scrollbar. */
      .strategy-control-table-head,
      .strategy-control-row {
        grid-template-columns:
          minmax(42px,.50fr)
          minmax(100px,1.60fr)
          minmax(40px,.46fr)
          minmax(44px,.52fr)
          minmax(62px,.72fr)
          minmax(58px,.70fr)
          minmax(30px,.34fr)
          minmax(60px,.72fr)
          minmax(100px,1.18fr)
          minmax(48px,.58fr);
        gap:4px;
        min-width:0;
      }
      .strategy-control-list { min-width:0; }
      .strategy-control-table-head { padding-inline:6px;font-size:7px;letter-spacing:.045em; }
      .strategy-control-row { padding-inline:6px; }
      .strategy-control-name { font-size:9px; }
      .strategy-control-risk-chip { padding-inline:3px;font-size:7px; }
      .strategy-control-status { padding-inline:3px;font-size:7px; }
      .strategy-control-engine { font-size:7px;letter-spacing:.02em; }
      .strategy-control-jobs::after { font-size:8px; }
      .strategy-control-small { font-size:8px; }
      .strategy-control-next { font-size:8px; }
      .strategy-control-next-time { font-size:7px; }
      .strategy-control-action { padding-inline:5px;font-size:8px; }

      .decision-flow-grid {
        grid-template-columns:minmax(0,1fr) 14px minmax(0,1.15fr) 14px minmax(0,1fr);
        gap:4px;
      }
      .decision-node {
        min-width:0;
        min-height:58px;
        padding:7px 6px;
      }
      .decision-label {
        font-size:7px;
        letter-spacing:.05em;
      }
      .decision-value {
        font-size:12px;
      }
      .decision-arrow {
        font-size:13px;
      }
      .decision-run-box {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        align-items:start;
        gap:6px;
      }
      .decision-preview-disclaimer {
        max-width:none;
        text-align:left;
      }
    }
    /* Manage JSON State: mobile / foldable browser viewport safety.
       100vh can include browser chrome on Android; JS supplies VisualViewport dimensions. */
    @media(max-width:760px){
      .state-modal-backdrop {
        align-items:flex-start;
        justify-content:center;
        padding:max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom));
      }
      .state-modal {
        width:100%;
        max-height:calc(var(--state-modal-vh,100dvh) - 20px - env(safe-area-inset-bottom));
        border-radius:12px;
      }
      .state-modal-head { padding:12px 13px; }
      .state-modal-title { font-size:13px; line-height:1.35; }
      .state-modal-subtitle { font-size:9px; }
      .state-modal-close { width:34px; height:34px; flex:0 0 34px; }
      .state-modal-body { padding:12px 13px 14px; }
      .state-manager-meta, .state-exchange-grid { grid-template-columns:1fr; }
      .state-manager-grid { grid-template-columns:1fr; }
      .state-manager-section { margin-top:12px; padding-top:12px; }
      .state-manager-actions { align-items:stretch; flex-direction:column; }
      .state-manager-buttons { width:100%; }
      .state-manager-buttons button { flex:1; min-height:40px; }
      .state-load-btn { min-height:38px; }
    }
    /* Galaxy Z Fold unfolded and similarly wide mobile viewports: use available width
       instead of unnecessarily stacking every card into one long column. */
    @media(min-width:560px) and (max-width:760px){
      .state-modal-backdrop { padding-left:16px; padding-right:16px; }
      .state-modal { width:min(720px,100%); }
      .state-manager-meta { grid-template-columns:repeat(3,minmax(0,1fr)); }
      .state-manager-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
      .state-exchange-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
      .state-manager-actions { align-items:center; flex-direction:row; }
      .state-manager-buttons { width:auto; flex:0 0 auto; }
      .state-manager-buttons button { flex:0 0 auto; }
    }


    @media(max-width:720px){
      .header { align-items:flex-start; flex-direction:column; }
      .header-right { width:100%; justify-content:space-between; }
      .dual-clock { min-width:0; flex:1; }
      .grid { grid-template-columns:1fr; }
      .metrics { grid-template-columns:1fr; }
    }


    /* Admin configuration panel */
    .admin-shell { display:grid; gap:12px; }
    .admin-section {
      background:linear-gradient(180deg, rgba(11,24,36,.88), rgba(7,18,29,.95));
      border:1px solid var(--border);
      border-radius:14px;
      box-shadow:var(--shadow), var(--glow);
      padding:14px;
    }
    .admin-section-head { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px; }
    .admin-section-title { font-size:15px;font-weight:900;color:#f4fbff; }
    .admin-section-meta { margin-top:3px;color:var(--muted);font-size:11px;line-height:1.5; }
    .admin-control {
      width:100%; min-height:32px; border:1px solid rgba(77,216,255,.22); border-radius:8px;
      background:rgba(5,17,27,.94); color:var(--text); padding:7px 9px; font-size:12px; line-height:1.3; outline:none;
    }
    .admin-control:focus { border-color:rgba(77,216,255,.58); box-shadow:0 0 0 2px rgba(77,216,255,.08); }
    .admin-control[readonly] { color:#9db4c1;background:rgba(11,24,34,.72);border-style:dashed;cursor:not-allowed; }
    .admin-message { padding:9px 10px;border-radius:9px;border:1px solid rgba(77,216,255,.18);background:rgba(7,18,29,.7);color:#cce4f0;font-size:12px;line-height:1.5; }
    .admin-message.warning { border-color:rgba(240,185,11,.34);color:#ffe18a;background:rgba(240,185,11,.06); }
    .admin-message.error { border-color:rgba(255,93,115,.38);color:#ffbdc6;background:rgba(255,93,115,.06); }
    .admin-message.success { border-color:rgba(25,229,197,.34);color:#98f2df;background:rgba(25,229,197,.06); }
    .admin-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
    .admin-system-card { border:1px solid rgba(77,216,255,.16);background:rgba(7,20,31,.84);border-radius:10px;padding:10px; }
    .admin-system-label { color:var(--muted);font-size:10px;letter-spacing:.06em;text-transform:uppercase; }
    .admin-system-value { margin-top:5px;font-size:14px;font-weight:850;color:#f2f9ff;overflow-wrap:anywhere; }
    .admin-system-detail { margin-top:4px;color:#8faabd;font-size:10px;font-weight:800;line-height:1.35;overflow-wrap:anywhere; }
    .admin-resource-actions { display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end; }
    .admin-resource-updated { color:#7592a4;font-size:9px;font-weight:800;letter-spacing:.035em;white-space:nowrap; }
    .admin-resource-card { min-height:76px; box-sizing:border-box; }
    .admin-resource-card .admin-system-value { font-variant-numeric:tabular-nums; }
    .admin-system-value.good { color:var(--green); }
    .admin-system-value.bad { color:var(--red); }
    .admin-system-value.warn { color:#ffe18a; }
    .admin-field-groups { display:grid;gap:12px; }
    .admin-field-group { border:1px solid rgba(77,216,255,.14);border-radius:11px;padding:11px;background:rgba(5,15,24,.58); }
    .admin-field-group-title { font-size:11px;font-weight:900;color:#80ddff;margin-bottom:8px;letter-spacing:.04em;text-transform:uppercase; }
    .admin-fields { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
    .admin-field { min-width:0; }
    .admin-field label { display:block;color:#b8ceda;font-size:10px;font-weight:800;margin-bottom:5px;line-height:1.35; }
    .admin-field-key { display:block;width:max-content;max-width:100%;margin-top:3px;padding:2px 5px;border:1px solid rgba(77,216,255,.10);border-radius:5px;background:rgba(77,216,255,.035);color:#7897a9;font-size:10px;font-weight:600;font-family:Consolas,monospace;line-height:1.25;letter-spacing:.01em;overflow-wrap:anywhere; }
    .admin-check-row { min-height:34px;display:flex;align-items:center;gap:8px;border:1px solid rgba(77,216,255,.18);border-radius:8px;background:rgba(5,17,27,.7);padding:7px 9px;font-size:12px; }
    .admin-check-row input { width:17px;height:17px;accent-color:#28d5ff; }
    .admin-unit-wrap { position:relative; }
    .admin-unit-wrap .admin-control { padding-right:48px; }
    .admin-unit { position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:10px;pointer-events:none; }
    .admin-secret-status { margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4; }
    .admin-actions { display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px; }
    .admin-strategy-toolbar { display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-bottom:10px; }
    .admin-strategy-toolbar .admin-field { min-width:min(360px,100%);flex:1; }
    .admin-strategy-toolbar-actions { display:flex;gap:6px;flex-wrap:wrap; }
    button.danger { background:linear-gradient(180deg,rgba(115,32,46,.96),rgba(73,20,30,.98));color:#ffdce2;border-color:rgba(255,93,115,.42);box-shadow:none; }
    .admin-subtabs { display:flex;gap:6px;margin-bottom:10px; }
    .admin-subtab { background:rgba(12,27,40,.9);color:#b7ccda;border-color:rgba(77,216,255,.2);box-shadow:none; }
    .admin-subtab.active { color:#111;background:linear-gradient(180deg,#6ce8ff,#28bede);border-color:#75edff; }
    .admin-strategy-form { display:grid;gap:12px; }
    .admin-raw-editor { width:100%;min-height:520px;resize:vertical;font:12px/1.5 Consolas,monospace;white-space:pre;tab-size:2; }
    .admin-hidden { display:none !important; }
    @media (max-width:900px){ .admin-grid,.admin-fields{grid-template-columns:repeat(2,minmax(0,1fr));} }
    @media (max-width:620px){ .admin-grid,.admin-fields{grid-template-columns:1fr;} .admin-section-head{flex-direction:column;} .admin-actions button{flex:1;} }

    /* Operator Cockpit v3.0.23 */
    .cockpit-status-bar{
      display:grid;
      grid-template-columns:repeat(6,minmax(0,1fr));
      gap:12px;
      margin-bottom:14px;
    }
    .cockpit-status-card{
      min-width:0;
      border:1px solid rgba(77,216,255,.16);
      border-radius:14px;
      background:linear-gradient(180deg,rgba(11,24,36,.92),rgba(7,18,29,.96));
      box-shadow:var(--shadow), var(--glow);
      padding:14px 15px;
      display:flex;
      flex-direction:column;
      gap:8px;
      position:relative;
      overflow:hidden;
    }
    .cockpit-status-card::after{
      content:"";
      position:absolute;
      inset:auto 0 0 0;
      height:2px;
      background:linear-gradient(90deg,transparent,rgba(77,216,255,.28),transparent);
    }
    .cockpit-status-card.compact{justify-content:space-between;}
    .cockpit-status-head,.cockpit-metric-head{display:flex;align-items:center;gap:7px;justify-content:space-between;}
    .cockpit-status-head{justify-content:flex-start;}
    .cockpit-status-dot,.cockpit-status-icon{
      width:9px;height:9px;border-radius:999px;background:#59758a;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
      box-shadow:0 0 0 4px rgba(89,117,138,.12);
    }
    .cockpit-status-icon{width:auto;height:auto;border-radius:0;background:none;box-shadow:none;color:#9fdfff;font-size:13px;}
    .cockpit-status-label{font-size:11px;font-weight:900;letter-spacing:.08em;color:#e9f7ff;text-transform:uppercase;}
    .cockpit-status-sub{color:#92aec0;font-size:11px;line-height:1.5;min-height:32px;}
    .cockpit-next-run-time{font-size:24px;font-weight:900;color:#f4fbff;line-height:1.1;letter-spacing:.01em;}
    .cockpit-status-card.tone-good{border-color:rgba(25,229,197,.28);}
    .cockpit-status-card.tone-good .cockpit-status-dot{background:var(--green);box-shadow:0 0 0 4px rgba(25,229,197,.16);}
    .cockpit-status-card.tone-warn{border-color:rgba(240,185,11,.30);}
    .cockpit-status-card.tone-warn .cockpit-status-dot{background:#f0b90b;box-shadow:0 0 0 4px rgba(240,185,11,.14);}
    .cockpit-status-card.tone-bad{border-color:rgba(255,93,115,.28);}
    .cockpit-status-card.tone-bad .cockpit-status-dot{background:var(--red);box-shadow:0 0 0 4px rgba(255,93,115,.14);}
    .cockpit-status-card.accent-clock{background:linear-gradient(180deg,rgba(12,29,44,.96),rgba(8,19,31,.98));}
    .cockpit-progress{height:6px;border-radius:999px;background:rgba(77,216,255,.09);overflow:hidden;}
    .cockpit-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,rgba(25,229,197,.9),rgba(77,216,255,.95));border-radius:999px;transition:width .25s ease;}
    .cockpit-main-grid{display:grid;grid-template-columns:1.35fr 1fr 1.05fr;gap:14px;margin-bottom:14px;align-items:start;}
    .cockpit-panel{padding:14px;}
    .cockpit-table{display:grid;gap:8px;}
    .cockpit-table-head,.cockpit-table-row{
      display:grid;align-items:center;gap:10px;
      border-radius:10px;
      min-width:0;
    }
    .cockpit-queue-table .cockpit-table-head,.cockpit-queue-table .cockpit-table-row{grid-template-columns:46px minmax(180px,2fr) 82px 115px 160px 185px 86px;}
    .cockpit-signal-table .cockpit-table-head,.cockpit-signal-table .cockpit-table-row{grid-template-columns:minmax(180px,1.6fr) 110px 76px minmax(110px,1fr);}
    .cockpit-table-head{padding:0 10px;color:#7896a8;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;}
    .cockpit-table-row{padding:11px 10px;border:1px solid rgba(77,216,255,.12);background:rgba(8,22,34,.68);font-size:12px;}
    .cockpit-table-row[data-cockpit-target-id]{cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease;}
    .cockpit-table-row[data-cockpit-target-id]:hover{transform:translateY(-1px);border-color:rgba(77,216,255,.28);background:rgba(9,27,41,.82);}
    .cockpit-rank{font-size:18px;font-weight:900;color:#d7edf8;}
    .cockpit-strategy-name strong,.cockpit-signal-name strong{display:block;color:#f4fbff;font-size:12px;line-height:1.35;}
    .cockpit-strategy-name span,.cockpit-signal-name span,.cockpit-mini-meta{display:block;color:#7c98aa;font-size:10px;line-height:1.4;margin-top:3px;overflow-wrap:anywhere;}
    .cockpit-market-pill,.cockpit-status-pill,.cockpit-badge{
      display:inline-flex;align-items:center;justify-content:center;gap:4px;
      padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;
      border:1px solid rgba(77,216,255,.18);background:rgba(77,216,255,.06);color:#d9eef8;
    }
    .cockpit-status-pill.good{border-color:rgba(25,229,197,.25);background:rgba(25,229,197,.10);color:#98f2df;}
    .cockpit-status-pill.warn{border-color:rgba(240,185,11,.25);background:rgba(240,185,11,.10);color:#ffe18a;}
    .cockpit-status-pill.bad{border-color:rgba(255,93,115,.25);background:rgba(255,93,115,.10);color:#ffbec6;}
    .cockpit-action-cell,.cockpit-runtime-cell{font-size:11px;line-height:1.45;color:#c6dde9;}
    .cockpit-control-btn{min-width:72px;padding:7px 10px;border-radius:9px;border:1px solid rgba(77,216,255,.2);background:rgba(13,31,45,.94);color:#d4e8f3;font-size:11px;font-weight:900;cursor:pointer;}
    .cockpit-control-btn.start{border-color:rgba(25,229,197,.34);color:#9ef0de;background:rgba(25,229,197,.08);}
    .cockpit-control-btn.stop{border-color:rgba(255,93,115,.34);color:#ffc0c9;background:rgba(255,93,115,.08);}
    .cockpit-empty{padding:18px 12px;border:1px dashed rgba(77,216,255,.18);border-radius:10px;background:rgba(8,21,32,.52);color:#8eaab9;font-size:12px;line-height:1.6;text-align:center;}
    .cockpit-position-summary{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:10px;margin-bottom:12px;}
    .cockpit-position-metric{border:1px solid rgba(77,216,255,.14);background:rgba(8,21,33,.7);border-radius:12px;padding:12px;display:grid;gap:8px;align-content:start;}
    .cockpit-position-metric.emphasis{background:linear-gradient(180deg,rgba(12,30,46,.92),rgba(8,21,33,.86));}
    .cockpit-position-label{color:#a5c1d1;font-size:11px;font-weight:800;line-height:1.45;}
    .cockpit-position-label span{font-size:10px;color:#6f8b9d;}
    .cockpit-position-value{color:#f3fbff;font-size:28px;font-weight:900;line-height:1.1;letter-spacing:.01em;}
    .cockpit-position-value.small{font-size:22px;}
    .cockpit-position-sub{color:#88a5b8;font-size:11px;}
    .cockpit-subsection{margin-top:10px;display:grid;gap:8px;}
    .cockpit-subsection-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#dcedf7;font-size:12px;font-weight:900;}
    .cockpit-mini-table-wrap{overflow:auto;}
    .cockpit-mini-table{width:100%;border-collapse:separate;border-spacing:0 7px;min-width:520px;}
    .cockpit-mini-table th{padding:0 10px 4px;color:#7695a7;font-size:10px;font-weight:900;text-align:left;letter-spacing:.06em;}
    .cockpit-mini-table td{padding:10px;border-top:1px solid rgba(77,216,255,.11);border-bottom:1px solid rgba(77,216,255,.11);background:rgba(9,24,37,.68);font-size:12px;vertical-align:top;}
    .cockpit-mini-table td:first-child{border-left:1px solid rgba(77,216,255,.11);border-radius:10px 0 0 10px;}
    .cockpit-mini-table td:last-child{border-right:1px solid rgba(77,216,255,.11);border-radius:0 10px 10px 0;}
    .cockpit-exception-panel{padding:14px;margin-bottom:14px;}
    .cockpit-exception-grid{display:grid;grid-template-columns:minmax(260px,.9fr) 2fr;gap:12px;align-items:stretch;}
    .cockpit-exception-main{border:1px solid rgba(77,216,255,.14);border-radius:14px;padding:14px;background:rgba(8,21,32,.7);display:flex;gap:12px;align-items:flex-start;}
    .cockpit-exception-main.tone-good{border-color:rgba(25,229,197,.28);background:rgba(25,229,197,.06);}
    .cockpit-exception-main.tone-warn{border-color:rgba(240,185,11,.28);background:rgba(240,185,11,.06);}
    .cockpit-exception-main.tone-bad{border-color:rgba(255,93,115,.28);background:rgba(255,93,115,.06);}
    .cockpit-exception-icon{width:34px;height:34px;border-radius:10px;background:rgba(77,216,255,.09);display:flex;align-items:center;justify-content:center;color:#ecf8ff;font-size:18px;font-weight:900;flex:0 0 auto;}
    .cockpit-exception-title{color:#f3fbff;font-size:18px;font-weight:900;line-height:1.25;}
    .cockpit-exception-sub{color:#91adbf;font-size:12px;line-height:1.55;margin-top:5px;}
    .cockpit-exception-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
    .cockpit-exception-chip{border:1px solid rgba(77,216,255,.12);background:rgba(8,21,32,.62);border-radius:12px;padding:12px;display:grid;gap:5px;min-width:0;}
    .cockpit-exception-chip span{color:#7f9bac;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
    .cockpit-exception-chip strong{color:#f3fbff;font-size:18px;font-weight:900;line-height:1.1;}
    .cockpit-exception-chip em{color:#8aa7b8;font-size:11px;font-style:normal;line-height:1.45;}
    .cockpit-exception-chip.tone-good{border-color:rgba(25,229,197,.20);}
    .cockpit-exception-chip.tone-good strong{color:#99f2df;}
    .cockpit-exception-chip.tone-warn{border-color:rgba(240,185,11,.20);}
    .cockpit-exception-chip.tone-warn strong{color:#ffe18a;}
    .cockpit-exception-chip.tone-bad{border-color:rgba(255,93,115,.20);}
    .cockpit-exception-chip.tone-bad strong{color:#ffbec6;}
    .cockpit-workspace{padding:14px;margin-bottom:14px;}
    .cockpit-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px;}
    .cockpit-workspace-tabs{display:flex;gap:8px;flex-wrap:wrap;}
    .cockpit-workspace-tab{padding:8px 12px;border-radius:10px;border:1px solid rgba(77,216,255,.18);background:rgba(10,24,36,.88);color:#b7ceda;font-size:11px;font-weight:900;letter-spacing:.04em;cursor:pointer;}
    .cockpit-workspace-tab.active{background:linear-gradient(180deg,#70e8ff,#25bddd);color:#0d1a23;border-color:#83efff;}
    .cockpit-workspace-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
    .cockpit-workspace-panel{display:none;}
    .cockpit-workspace-panel.active{display:block;}
    .cockpit-two-col{display:grid;grid-template-columns:1.55fr 1fr;gap:12px;}
    .cockpit-inner-card{border:1px solid rgba(77,216,255,.14);border-radius:13px;background:rgba(8,21,32,.64);padding:12px;min-width:0;}
    .cockpit-inner-card.full{width:100%;}
    .cockpit-inner-title{font-size:13px;font-weight:900;color:#eaf8ff;margin-bottom:10px;}
    .cockpit-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    .cockpit-calendar-list{display:grid;gap:7px;}
    .cockpit-calendar-head,.market-calendar-row{display:grid;grid-template-columns:112px 68px minmax(0,1fr) 72px;gap:10px;align-items:start;}
    .cockpit-calendar-head{padding:0 8px 2px;color:#7895a7;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;}
    .cockpit-cache-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
    .cockpit-cache-card{border:1px solid rgba(77,216,255,.12);background:rgba(8,21,33,.66);border-radius:12px;padding:12px;display:grid;gap:8px;min-width:0;}
    .cockpit-cache-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;}
    .cockpit-cache-card-head strong{color:#f4fbff;font-size:12px;line-height:1.4;}
    .cockpit-cache-card-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;color:#8ba8b9;font-size:11px;}
    .cockpit-cache-card-row strong{color:#dceef7;font-size:11px;text-align:right;overflow-wrap:anywhere;}
    .cockpit-log-list{display:grid;gap:8px;}
    .cockpit-log-row{display:grid;grid-template-columns:110px 1fr auto;gap:12px;align-items:center;border:1px solid rgba(77,216,255,.12);background:rgba(8,21,33,.66);border-radius:12px;padding:11px 12px;}
    .cockpit-log-row.level-error{border-color:rgba(255,93,115,.22);}
    .cockpit-log-row.level-warning{border-color:rgba(240,185,11,.22);}
    .cockpit-log-time strong{display:block;color:#f2fbff;font-size:13px;}
    .cockpit-log-time span{display:block;color:#7d99ab;font-size:10px;margin-top:2px;}
    .cockpit-log-title{color:#eef9ff;font-size:12px;font-weight:900;line-height:1.4;}
    .cockpit-log-sub{color:#8ca7b8;font-size:11px;line-height:1.55;margin-top:3px;}
    .cockpit-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
    .cockpit-diagnostics-disclosure{margin-bottom:14px;border:1px solid rgba(77,216,255,.12);border-radius:14px;background:rgba(7,18,29,.72);overflow:hidden;}
    .cockpit-diagnostics-disclosure > summary{cursor:pointer;list-style:none;padding:14px 16px;font-size:13px;font-weight:900;color:#eaf8ff;letter-spacing:.03em;display:flex;align-items:center;justify-content:space-between;}
    .cockpit-diagnostics-disclosure > summary::-webkit-details-marker{display:none;}
    .cockpit-diagnostics-disclosure > summary::after{content:"＋";font-size:16px;color:#7fdef7;}
    .cockpit-diagnostics-disclosure[open] > summary::after{content:"－";}
    .cockpit-diagnostics-body{padding:0 0 2px;display:grid;gap:14px;}

    @media (max-width:1500px){
      .cockpit-status-bar{grid-template-columns:repeat(3,minmax(0,1fr));}
      .cockpit-main-grid{grid-template-columns:1fr 1fr;}
      .cockpit-position-panel{grid-column:1 / -1;}
      .cockpit-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    }
    @media (max-width:1180px){
      .cockpit-main-grid,.cockpit-two-col,.cockpit-exception-grid{grid-template-columns:1fr;}
      .cockpit-exception-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
      .cockpit-position-summary{grid-template-columns:1fr;}
      .cockpit-market-grid,.cockpit-cache-grid{grid-template-columns:1fr;}
    }
    @media (max-width:920px){
      .cockpit-status-bar{grid-template-columns:repeat(2,minmax(0,1fr));}
      .cockpit-queue-table .cockpit-table-head,.cockpit-queue-table .cockpit-table-row,
      .cockpit-signal-table .cockpit-table-head,.cockpit-signal-table .cockpit-table-row{grid-template-columns:1fr;}
      .cockpit-table-head{display:none;}
      .cockpit-table-row{gap:7px;padding:12px;}
      .cockpit-runtime-cell,.cockpit-action-cell{padding-top:3px;}
      .cockpit-calendar-head{display:none;}
      .cockpit-calendar-head,.market-calendar-row{grid-template-columns:1fr;}
      .cockpit-log-row{grid-template-columns:1fr;align-items:flex-start;}
      .cockpit-resource-grid,.cockpit-exception-cards{grid-template-columns:1fr;}
    }
    @media (max-width:620px){
      .cockpit-status-bar{grid-template-columns:1fr;}
      .cockpit-workspace-head{flex-direction:column;}
      .cockpit-workspace-tabs{width:100%;}
      .cockpit-workspace-tab{flex:1 1 calc(50% - 8px);text-align:center;}
      .cockpit-mini-table{min-width:460px;}
    }

    /* v3.0.24 Operator Cockpit layout optimization */
    .wrap{max-width:1580px;}
    #tab-dashboard{--cockpit-panel-height:650px;}
    .cockpit-status-bar{gap:10px;margin-bottom:12px;}
    .cockpit-status-card{padding:12px 13px;gap:6px;min-height:108px;}
    .cockpit-status-sub{font-size:10px;line-height:1.42;min-height:28px;}
    .cockpit-next-run-time{font-size:22px;white-space:nowrap;}
    .cockpit-main-grid{
      grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(440px,1.2fr);
      gap:12px;
      align-items:stretch;
      margin-bottom:12px;
    }
    .cockpit-queue-panel,.cockpit-position-panel,.cockpit-center-stack{height:var(--cockpit-panel-height);min-height:0;}
    .cockpit-center-stack{display:grid;grid-template-rows:minmax(0,1.02fr) minmax(0,.98fr);gap:12px;}
    .cockpit-center-stack > .monitor-card{margin:0;min-height:0;}
    .cockpit-panel{padding:12px;}
    .cockpit-queue-panel,.cockpit-position-panel,.cockpit-signal-panel,.cockpit-exception-panel{overflow:hidden;}
    .cockpit-queue-table{min-height:0;}
    .cockpit-queue-table .cockpit-table-head,
    .cockpit-queue-table .cockpit-table-row{
      grid-template-columns:34px minmax(210px,1fr) 104px minmax(145px,.82fr) 64px;
      gap:8px;
    }
    .cockpit-queue-table .cockpit-table-head{padding-inline:7px;}
    #cockpit-strategy-queue{max-height:566px;overflow-y:auto;overflow-x:hidden;padding-right:3px;scrollbar-gutter:stable;}
    .cockpit-queue-table .cockpit-table-row{padding:8px 7px;min-height:48px;}
    .cockpit-rank{font-size:16px;}
    .cockpit-strategy-name strong{font-size:11px;line-height:1.25;}
    .cockpit-strategy-meta{display:flex!important;align-items:center;gap:6px;min-width:0;margin-top:3px!important;}
    .cockpit-strategy-meta > span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    .cockpit-market-pill{padding:3px 6px;font-size:8px;flex:0 0 auto;}
    .cockpit-status-pill{padding:4px 7px;font-size:9px;white-space:nowrap;}
    .cockpit-action-runtime{display:grid;gap:2px;min-width:0;}
    .cockpit-action-runtime strong{font-size:10px;color:#e9f6fd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-action-runtime span{font-size:9px;color:#839eaf;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-control-btn{min-width:58px;padding:6px 7px;font-size:9px;}

    .cockpit-signal-panel .cockpit-table-head{display:none;}
    .cockpit-signal-table{min-height:0;}
    #cockpit-signal-health{display:grid;gap:7px;max-height:266px;overflow-y:auto;padding-right:3px;scrollbar-gutter:stable;}
    .cockpit-signal-row{border:1px solid rgba(77,216,255,.12);border-radius:10px;background:rgba(8,22,34,.68);padding:9px 10px;display:grid;gap:7px;}
    .cockpit-signal-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}
    .cockpit-signal-name{min-width:0;}
    .cockpit-signal-name strong{font-size:11px;line-height:1.3;}
    .cockpit-signal-name span{font-size:9px;line-height:1.3;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-signal-bottom{display:flex;justify-content:space-between;gap:10px;border-top:1px solid rgba(77,216,255,.08);padding-top:6px;color:#7897a9;font-size:9px;}
    .cockpit-signal-bottom span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-signal-bottom strong{color:#cfe4ef;font-weight:800;}

    .cockpit-exception-panel{padding:11px 12px;}
    .cockpit-exception-panel .monitor-header{margin-bottom:8px;}
    .cockpit-exception-grid{grid-template-columns:1fr;gap:8px;}
    .cockpit-exception-main{padding:10px 11px;border-radius:11px;gap:9px;align-items:center;}
    .cockpit-exception-icon{width:29px;height:29px;border-radius:9px;font-size:15px;}
    .cockpit-exception-title{font-size:14px;}
    .cockpit-exception-sub{font-size:10px;margin-top:3px;line-height:1.4;}
    .cockpit-exception-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
    .cockpit-exception-chip{padding:8px 9px;border-radius:9px;gap:2px;}
    .cockpit-exception-chip span{font-size:8px;}
    .cockpit-exception-chip strong{font-size:14px;}
    .cockpit-exception-chip em{font-size:9px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

    .cockpit-position-panel{display:flex;flex-direction:column;min-width:0;}
    .cockpit-position-panel .monitor-header{flex:0 0 auto;}
    .cockpit-position-summary{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1fr);gap:7px;margin-bottom:9px;flex:0 0 auto;}
    .cockpit-position-metric{padding:10px;gap:6px;min-width:0;overflow:hidden;}
    .cockpit-position-label{font-size:10px;}
    .cockpit-position-label span{font-size:9px;}
    .cockpit-position-value{font-size:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-position-value.small{font-size:19px;}
    .cockpit-position-sub{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-position-panel .cockpit-subsection{min-height:0;margin-top:7px;}
    .cockpit-position-panel .cockpit-subsection:nth-of-type(1){flex:1 1 50%;}
    .cockpit-position-panel .cockpit-subsection:nth-of-type(2){flex:1 1 50%;}
    .cockpit-subsection-head{font-size:11px;}
    .cockpit-mini-table-wrap{overflow:auto;min-height:0;max-height:190px;scrollbar-gutter:stable;}
    .cockpit-mini-table{min-width:0;width:100%;table-layout:fixed;border-spacing:0 5px;}
    .cockpit-mini-table th{padding:0 6px 3px;font-size:8px;white-space:nowrap;}
    .cockpit-mini-table td{padding:7px 6px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    .cockpit-mini-table strong{font-size:10px;}
    .cockpit-mini-meta{font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .cockpit-position-table th:nth-child(1),.cockpit-position-table td:nth-child(1){width:34%;}
    .cockpit-position-table th:nth-child(2),.cockpit-position-table td:nth-child(2){width:18%;}
    .cockpit-position-table th:nth-child(3),.cockpit-position-table td:nth-child(3){width:27%;text-align:right;}
    .cockpit-position-table th:nth-child(4),.cockpit-position-table td:nth-child(4){width:21%;text-align:right;}

    .cockpit-workspace{padding:12px;margin-bottom:12px;}
    .cockpit-workspace-head{margin-bottom:9px;}
    .cockpit-workspace-tab{padding:7px 11px;font-size:10px;}
    .cockpit-two-col{grid-template-columns:minmax(0,1.72fr) minmax(390px,.9fr);gap:10px;}
    .cockpit-inner-card{padding:10px;}
    .cockpit-inner-title{font-size:12px;margin-bottom:8px;}
    .cockpit-market-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;}
    .cockpit-market-grid .market-card{min-height:116px;padding:10px;}
    .cockpit-market-grid .market-card-label{font-size:10px;}
    .cockpit-market-grid .market-card-value{font-size:18px;margin-top:9px;}
    .cockpit-market-grid .market-card-change{font-size:8px;}
    .cockpit-calendar-list .market-calendar-row{min-height:46px;padding:7px 6px;grid-template-columns:92px 58px minmax(0,1fr) 58px;gap:7px;}
    .cockpit-calendar-list .market-calendar-date,.cockpit-calendar-list .market-calendar-time{font-size:9px;}
    .cockpit-calendar-list .market-calendar-relative{font-size:7px;}
    .cockpit-calendar-list .market-calendar-event strong{font-size:10px;line-height:1.35;font-weight:600;}
    .cockpit-calendar-list .market-calendar-impact{font-size:7px;padding:3px 5px;}
    .cockpit-calendar-head{grid-template-columns:92px 58px minmax(0,1fr) 58px;gap:7px;padding-inline:6px;font-size:8px;}

    .cockpit-diagnostics-disclosure{margin-top:4px;}
    .cockpit-diagnostics-disclosure > summary{padding:12px 14px;justify-content:flex-start;gap:10px;}
    .cockpit-diagnostics-disclosure > summary span{font-size:12px;}
    .cockpit-diagnostics-disclosure > summary small{font-size:9px;color:#7895a6;font-weight:700;letter-spacing:.01em;}
    .cockpit-diagnostics-disclosure > summary::after{margin-left:auto;}

    @media (max-width:1450px){
      .wrap{max-width:1320px;}
      #tab-dashboard{--cockpit-panel-height:auto;}
      .cockpit-main-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);}
      .cockpit-position-panel{grid-column:1 / -1;height:auto;}
      .cockpit-queue-panel,.cockpit-center-stack{height:600px;}
      .cockpit-two-col{grid-template-columns:1.45fr 1fr;}
      .cockpit-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    }
    @media (max-width:1080px){
      .cockpit-main-grid{grid-template-columns:1fr;}
      .cockpit-queue-panel,.cockpit-center-stack{height:auto;}
      #cockpit-strategy-queue,#cockpit-signal-health{max-height:none;overflow:visible;}
      .cockpit-center-stack{display:grid;grid-template-rows:auto;}
      .cockpit-two-col{grid-template-columns:1fr;}
      .cockpit-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
      .cockpit-queue-table .cockpit-table-head{display:none;}
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:1fr;}
    }


    /* v3.0.25 readability + mobile optimization */
    .wrap{max-width:1600px;}
    .cockpit-status-card{padding:11px 12px;}
    .cockpit-status-head{gap:7px;}
    .cockpit-status-label{letter-spacing:.045em;}
    .cockpit-status-sub{line-height:1.45;}
    .cockpit-next-run-time{font-size:18px;line-height:1.15;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;}
    #cockpit-next-run-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

    .cockpit-panel .monitor-header{align-items:flex-start;gap:10px;}
    .cockpit-queue-panel .monitor-title,
    .cockpit-signal-panel .monitor-title,
    .cockpit-position-panel .monitor-title,
    .cockpit-exception-panel .monitor-title{line-height:1.25;}
    .cockpit-queue-panel .monitor-meta,
    .cockpit-signal-panel .monitor-meta,
    .cockpit-position-panel .monitor-meta,
    .cockpit-exception-panel .monitor-meta{font-size:10px;line-height:1.35;}

    .cockpit-queue-table .cockpit-table-head,
    .cockpit-queue-table .cockpit-table-row{
      grid-template-columns:34px minmax(230px,1.08fr) 110px minmax(168px,.95fr) 74px;
      gap:10px;
    }
    .cockpit-queue-table .cockpit-table-head{position:sticky;top:0;z-index:2;background:linear-gradient(180deg,rgba(7,22,35,.98),rgba(7,22,35,.92));backdrop-filter:blur(2px);}
    #cockpit-strategy-queue{max-height:590px;padding-right:4px;}
    .cockpit-queue-table .cockpit-table-row{padding:9px 8px;min-height:52px;}
    .cockpit-rank{font-size:17px;line-height:1;}
    .cockpit-strategy-name strong{font-size:12px;line-height:1.3;}
    .cockpit-strategy-meta{gap:7px;}
    .cockpit-strategy-meta > span:last-child{font-size:9px;line-height:1.35;}
    .cockpit-action-runtime{gap:3px;}
    .cockpit-action-runtime strong{font-size:11px;line-height:1.3;}
    .cockpit-action-runtime span{font-size:9px;line-height:1.35;}
    .cockpit-control-btn{min-width:66px;padding:7px 8px;font-size:9px;}

    .cockpit-signal-row{padding:10px 11px;gap:8px;}
    .cockpit-signal-name strong{font-size:12px;line-height:1.3;}
    .cockpit-signal-name span{font-size:9px;line-height:1.35;}
    .cockpit-signal-bottom{font-size:9px;gap:12px;}

    .cockpit-position-summary{gap:8px;}
    .cockpit-position-metric{padding:11px;}
    .cockpit-position-label{line-height:1.35;}
    .cockpit-position-value{font-size:22px;line-height:1.1;}
    .cockpit-position-value.small{font-size:18px;line-height:1.15;}
    .cockpit-position-sub{line-height:1.4;}
    .cockpit-subsection-head{line-height:1.3;}
    .cockpit-mini-table th{font-size:8px;}
    .cockpit-mini-table td{font-size:10px;line-height:1.35;}

    .cockpit-workspace-meta{font-size:10px;line-height:1.35;}
    .cockpit-market-grid .market-card{min-height:112px;}
    .cockpit-market-grid .market-card-value{line-height:1.15;}
    .cockpit-calendar-list .market-calendar-event strong{font-size:11px;line-height:1.45;font-weight:600;}
    .cockpit-calendar-list .market-calendar-date,
    .cockpit-calendar-list .market-calendar-time{font-size:10px;}
    .cockpit-calendar-list .market-calendar-relative{font-size:8px;}

    @media (max-width:1450px){
      .cockpit-next-run-time{font-size:17px;}
      .cockpit-queue-table .cockpit-table-head,
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:34px minmax(205px,1fr) 106px minmax(150px,.92fr) 68px;gap:9px;}
    }
    @media (max-width:1080px){
      #cockpit-strategy-queue{max-height:820px;overflow-y:auto;overflow-x:hidden;}
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"rank name control" "rank status control" "rank action control";gap:7px 10px;align-items:start;padding:11px 10px;min-height:auto;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(1){grid-area:rank;padding-top:1px;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(2){grid-area:name;min-width:0;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(3){grid-area:status;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(4){grid-area:action;min-width:0;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(5){grid-area:control;align-self:center;justify-self:end;}
      .cockpit-strategy-name strong{font-size:13px;}
      .cockpit-strategy-meta{margin-top:4px!important;flex-wrap:wrap;gap:5px;}
      .cockpit-strategy-meta > span:last-child{white-space:normal;overflow:visible;text-overflow:clip;}
      .cockpit-status-pill{padding:5px 9px;font-size:10px;}
      .cockpit-action-runtime strong,.cockpit-action-runtime span{white-space:normal;overflow:visible;text-overflow:clip;}
      .cockpit-action-runtime strong{font-size:11px;}
      .cockpit-action-runtime span{font-size:10px;}
      .cockpit-control-btn{min-width:72px;padding:8px 10px;font-size:10px;}
      .cockpit-position-summary{grid-template-columns:1.2fr .9fr .95fr;}
    }
    @media (max-width:760px){
      .wrap{padding:14px 12px 26px;}
      .header{gap:10px;}
      .header-right{width:100%;justify-content:space-between;gap:8px;}
      .dual-clock{min-width:0;flex:1;padding:8px 10px;}
      .badge{padding:8px 12px;}

      .app-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:4px;scrollbar-width:none;}
      .app-tabs::-webkit-scrollbar{display:none;}
      .app-tab{flex:0 0 auto;min-width:max-content;padding:10px 14px;font-size:12px;white-space:nowrap;}

      .cockpit-status-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;}
      #cockpit-next-run-card{grid-column:1 / -1;}
      .cockpit-status-card{min-height:94px;padding:10px 11px;gap:5px;}
      .cockpit-status-head{margin-bottom:0;}
      .cockpit-status-label{font-size:11px;}
      .cockpit-status-sub{font-size:10px;min-height:auto;}
      .cockpit-next-run-time{font-size:16px;}
      .cockpit-metric-head strong{font-size:22px;}

      .cockpit-main-grid{gap:10px;margin-bottom:10px;}
      .cockpit-panel,.cockpit-workspace,.cockpit-inner-card{padding:10px;}
      .cockpit-panel .monitor-header{margin-bottom:8px;}
      .cockpit-panel .monitor-title,.cockpit-inner-title{font-size:13px;}
      .cockpit-panel .monitor-meta,.cockpit-workspace-meta{font-size:10px;}

      #cockpit-strategy-queue{max-height:760px;}
      .cockpit-queue-panel .monitor-header{align-items:flex-start;}
      .cockpit-rank{font-size:15px;}
      .cockpit-market-pill{padding:3px 7px;font-size:9px;}

      .cockpit-center-stack{gap:10px;}
      #cockpit-signal-health{gap:8px;}
      .cockpit-signal-row{padding:10px;}
      .cockpit-signal-bottom{flex-wrap:wrap;gap:6px 12px;font-size:10px;}
      .cockpit-exception-panel{padding:10px;}
      .cockpit-exception-title{font-size:13px;}
      .cockpit-exception-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
      .cockpit-exception-chip{padding:9px;}
      .cockpit-exception-chip strong{font-size:13px;}
      .cockpit-exception-chip em{white-space:normal;overflow:visible;text-overflow:clip;}

      .cockpit-position-summary{grid-template-columns:1fr 1fr;}
      .cockpit-position-summary .cockpit-position-metric:first-child{grid-column:1 / -1;}
      .cockpit-position-value{font-size:20px;}
      .cockpit-position-value.small{font-size:17px;}
      .cockpit-position-sub{white-space:normal;overflow:visible;text-overflow:clip;}
      .cockpit-mini-table-wrap{max-height:240px;}
      .cockpit-mini-table th{font-size:9px;}
      .cockpit-mini-table td{padding:8px 6px;font-size:10px;}
      .cockpit-mini-meta{font-size:9px!important;}

      .cockpit-workspace-tabs{gap:8px;}
      .cockpit-workspace-tab{flex:1 1 calc(50% - 8px);padding:9px 10px;font-size:11px;text-align:center;}
      .cockpit-workspace-tab:last-child{flex-basis:100%;}
      .cockpit-two-col{gap:10px;}
      .cockpit-market-grid{grid-template-columns:1fr 1fr;gap:8px;}
      .cockpit-market-grid .market-card{min-height:108px;padding:10px;}
      .cockpit-market-grid .market-card-value{font-size:17px;}
      .cockpit-calendar-head{display:none;}
      .cockpit-calendar-list .market-calendar-row{grid-template-columns:82px 50px minmax(0,1fr);gap:8px;align-items:start;}
      .cockpit-calendar-list .market-calendar-impact{display:none;}
      .cockpit-calendar-list .market-calendar-event strong{font-size:11px;line-height:1.45;}
      .cockpit-calendar-list .market-calendar-date,.cockpit-calendar-list .market-calendar-time{font-size:10px;}

      .cockpit-diagnostics-disclosure > summary{padding:11px 12px;}
      .cockpit-diagnostics-disclosure > summary span{font-size:12px;}
      .cockpit-diagnostics-disclosure > summary small{font-size:10px;line-height:1.35;}
    }
    @media (max-width:420px){
      .cockpit-status-bar{grid-template-columns:1fr 1fr;}
      .cockpit-status-card{min-height:90px;}
      .cockpit-next-run-time{font-size:15px;}
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:32px minmax(0,1fr) auto;gap:7px 8px;padding:10px 9px;}
      .cockpit-rank{font-size:14px;}
      .cockpit-control-btn{min-width:66px;padding:7px 8px;}
      .cockpit-position-summary{grid-template-columns:1fr;}
      .cockpit-position-summary .cockpit-position-metric:first-child{grid-column:auto;}
      .cockpit-market-grid{grid-template-columns:1fr;}
    }


    /* v3.0.26 cockpit density + queue control visibility */
    #tab-dashboard{--cockpit-panel-height:620px;}
    .cockpit-status-bar{gap:8px;margin-bottom:10px;}
    .cockpit-status-card{min-height:100px;padding:10px 12px;}
    .cockpit-status-sub{font-size:10px;line-height:1.4;}
    .cockpit-next-run-time{font-size:17px;line-height:1.12;}

    .cockpit-main-grid{
      grid-template-columns:minmax(0,1.62fr) minmax(320px,.96fr) minmax(400px,1.12fr);
      gap:10px;
      margin-bottom:10px;
    }
    .cockpit-panel{padding:10px;}
    .cockpit-panel .monitor-header{margin-bottom:8px;}

    .cockpit-queue-table{overflow-x:hidden;}
    .cockpit-queue-table .cockpit-table-head,
    .cockpit-queue-table .cockpit-table-row{
      grid-template-columns:30px minmax(190px,1.1fr) 92px minmax(124px,.84fr) 68px;
      gap:8px;
    }
    .cockpit-queue-table .cockpit-table-head{padding-inline:6px;}
    .cockpit-queue-table .cockpit-table-head > div:last-child,
    .cockpit-queue-table .cockpit-table-row > div:last-child{justify-self:end;text-align:right;}
    .cockpit-queue-table .cockpit-table-head > div:last-child{white-space:nowrap;}
    #cockpit-strategy-queue{max-height:598px;padding-right:2px;}
    .cockpit-queue-table .cockpit-table-row{padding:8px 6px;}
    .cockpit-rank{font-size:16px;}
    .cockpit-strategy-name strong{font-size:11px;}
    .cockpit-market-pill{padding:3px 6px;font-size:8px;}
    .cockpit-status-pill{padding:4px 7px;font-size:9px;}
    .cockpit-action-runtime strong{font-size:10px;}
    .cockpit-action-runtime span{font-size:8px;line-height:1.32;}
    .cockpit-control-btn{min-width:62px;padding:6px 7px;font-size:9px;}

    .cockpit-center-stack{gap:10px;}
    #cockpit-signal-health{max-height:258px;gap:6px;}
    .cockpit-signal-row{padding:9px 10px;}
    .cockpit-exception-panel{padding:10px;}

    .cockpit-position-summary{gap:6px;margin-bottom:8px;}
    .cockpit-position-metric{padding:9px;}
    .cockpit-position-value{font-size:21px;}
    .cockpit-position-value.small{font-size:18px;}
    .cockpit-position-sub{font-size:8px;}
    .cockpit-position-panel .cockpit-subsection{margin-top:6px;}
    .cockpit-mini-table-wrap{max-height:176px;}

    .cockpit-workspace{padding:10px;margin-bottom:10px;}
    .cockpit-workspace-head{margin-bottom:8px;}
    .cockpit-workspace-tabs{gap:6px;}
    .cockpit-workspace-tab{padding:7px 10px;font-size:10px;}
    .cockpit-two-col{grid-template-columns:minmax(0,1.78fr) minmax(410px,.94fr);gap:10px;align-items:start;}
    .cockpit-inner-card{padding:10px;}
    .cockpit-inner-title{margin-bottom:8px;}
    .cockpit-market-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;align-items:start;}
    .cockpit-market-grid .market-card{min-height:108px;padding:9px;}
    .cockpit-calendar-list .market-calendar-row{min-height:40px;padding:6px 6px;}
    .cockpit-calendar-list .market-calendar-event strong{font-size:10px;line-height:1.35;}

    .cockpit-diagnostics-disclosure{margin-bottom:10px;}
    .cockpit-diagnostics-disclosure > summary{padding:10px 14px;}
    .cockpit-diagnostics-body{gap:10px;}

    @media (max-width:1450px){
      #tab-dashboard{--cockpit-panel-height:auto;}
      .cockpit-main-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);}
      .cockpit-position-panel{grid-column:1 / -1;height:auto;}
      .cockpit-queue-panel,.cockpit-center-stack{height:590px;}
      .cockpit-two-col{grid-template-columns:1.4fr 1fr;align-items:start;}
    }
    @media (max-width:1180px){
      .cockpit-main-grid{grid-template-columns:1fr;}
      .cockpit-queue-panel,.cockpit-center-stack,.cockpit-position-panel{height:auto;}
      #cockpit-strategy-queue,#cockpit-signal-health{max-height:none;overflow:visible;}
      .cockpit-position-panel{grid-column:auto;}
      .cockpit-two-col{grid-template-columns:1fr;align-items:start;}
      .cockpit-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    }
    @media (max-width:760px){
      .cockpit-status-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
      .cockpit-main-grid{gap:8px;}
      #cockpit-strategy-queue{max-height:720px;}
      .cockpit-queue-table .cockpit-table-row > div:last-child{justify-self:start;text-align:left;}
      .cockpit-workspace-tab{padding:8px 10px;font-size:11px;}
      .cockpit-two-col{gap:8px;}
      .cockpit-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    }
    @media (max-width:420px){
      .cockpit-market-grid{grid-template-columns:1fr;}
    }

    /* v3.0.30 cockpit density and navigation simplification */
    :root{
      --sidebar-width:332px;
      --topbar-height:66px;
      --shell-bg:#07121f;
      --shell-panel:#0b1a2a;
      --shell-panel-2:#0d2032;
      --shell-border:#173b50;
      --shell-muted:#8198aa;
      --shell-blue:#2fa7ff;
    }
    body{
      background:
        radial-gradient(circle at 78% 0%,rgba(26,151,255,.07),transparent 25%),
        linear-gradient(180deg,#07111d 0%,#08131f 100%);
    }
    body::before{display:none;}
    .app-shell{min-height:100vh;display:flex;position:relative;z-index:1;}
    .app-sidebar{
      position:fixed;inset:0 auto 0 0;z-index:80;width:var(--sidebar-width);height:100vh;
      display:flex;flex-direction:column;padding:18px 13px 14px;
      background:linear-gradient(180deg,#071a2b 0%,#081522 100%);
      border-right:1px solid rgba(77,216,255,.12);
      box-shadow:12px 0 28px rgba(0,0,0,.18);
    }
    .sidebar-brand{display:flex;align-items:center;gap:10px;min-height:48px;padding:4px 6px 16px;border-bottom:1px solid rgba(77,216,255,.08);}
    .sidebar-brand-mark{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:linear-gradient(145deg,#15dfff,#2d7cff);color:#04111c;font-size:18px;font-weight:950;box-shadow:0 8px 20px rgba(21,224,255,.18);}
    .sidebar-brand-copy{display:grid;min-width:0;line-height:1.15;}
    .sidebar-brand-copy strong{font-size:15px;color:#f4fbff;letter-spacing:-.02em;}
    .sidebar-brand-copy span{margin-top:3px;font-size:10px;color:#88a6b8;font-weight:750;letter-spacing:.03em;}
    .sidebar-close{display:none;margin-left:auto;border:0;background:transparent;color:#8ca9bb;font-size:24px;line-height:1;cursor:pointer;}
    .sidebar-nav.app-tabs{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:16px 0 0;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible;}
    .sidebar-section-label{display:none;}
    .sidebar-nav .sidebar-nav-item,
    .sidebar-nav .app-tab{
      width:100%;min-height:40px;display:flex;align-items:center;justify-content:flex-start;gap:10px;
      padding:9px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#9bb0bf;
      font-size:11px;font-weight:800;letter-spacing:0;text-align:left;box-shadow:none;white-space:nowrap;cursor:pointer;
    }
    .sidebar-nav .sidebar-nav-item:hover,
    .sidebar-nav .app-tab:hover{background:rgba(77,216,255,.055);color:#e6f5fd;border-color:rgba(77,216,255,.08);transform:none;}
    .sidebar-nav .sidebar-nav-item.active,
    .sidebar-nav .app-tab.active{
      background:linear-gradient(90deg,rgba(18,117,196,.45),rgba(15,110,184,.26));
      border-color:rgba(71,185,255,.28);color:#f3fbff;box-shadow:inset 3px 0 0 #2fa7ff;
    }
    .sidebar-icon{width:18px;display:inline-flex;justify-content:center;color:#78cbff;font-size:14px;font-weight:900;flex:0 0 auto;}
    .sidebar-footer{margin-top:auto;padding:12px;border:1px solid rgba(77,216,255,.10);border-radius:11px;background:rgba(8,26,41,.72);}
    .sidebar-version-row{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#9bb3c2;font-size:9px;}
    .sidebar-version-row strong{color:#6fdfff;font-size:10px;}
    .sidebar-version-sub{margin-top:5px;color:#607e90;font-size:9px;}
    .sidebar-overlay{display:none;}

    .app-main{min-width:0;flex:1;margin-left:var(--sidebar-width);min-height:100vh;}
    .app-topbar{
      position:sticky;top:0;z-index:60;height:var(--topbar-height);display:flex;align-items:center;justify-content:space-between;gap:16px;
      padding:10px 22px;background:rgba(7,18,31,.93);border-bottom:1px solid rgba(77,216,255,.10);backdrop-filter:blur(14px);
    }
    .topbar-left,.topbar-right{display:flex;align-items:center;gap:10px;min-width:0;}
    .topbar-left{flex:1;}
    .topbar-right{justify-content:flex-end;}
    .topbar-icon-btn{display:none;width:38px;height:38px;border-radius:9px;border:1px solid rgba(77,216,255,.14);background:#0a1b2b;color:#a8c7d8;font-size:16px;cursor:pointer;}
    .topbar-search-wrap{position:relative;width:min(460px,42vw);}
    .topbar-search{width:100%;height:39px;border:1px solid rgba(77,216,255,.15);border-radius:9px;background:#0a1a29;color:#eaf7ff;padding:0 68px 0 38px;font-size:11px;outline:none;}
    .topbar-search:focus{border-color:rgba(47,167,255,.55);box-shadow:0 0 0 3px rgba(47,167,255,.08);}
    .topbar-search::placeholder{color:#627d8f;}
    .topbar-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#83a9bd;font-size:15px;pointer-events:none;}
    .topbar-search-kbd{position:absolute;right:9px;top:50%;transform:translateY(-50%);padding:3px 6px;border-radius:6px;border:1px solid rgba(77,216,255,.13);background:#0d2436;color:#6f8fa2;font-size:8px;font-weight:800;pointer-events:none;}
    .topbar-clock-card{min-width:255px;padding:7px 11px;border:1px solid rgba(77,216,255,.13);border-radius:10px;background:#091a29;}
    .topbar-clock-card .clock-row{grid-template-columns:70px 1fr;font-size:10px;}
    .topbar-clock-card .clock-city{font-size:9px;}
    .topbar-health,.topbar-version{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 11px;border-radius:9px;border:1px solid rgba(77,216,255,.13);background:#091a29;font-size:9px;font-weight:900;white-space:nowrap;}
    .topbar-health{gap:7px;color:#9fb8c8;}
    .topbar-health-dot{width:7px;height:7px;border-radius:50%;background:#658295;}
    .topbar-health.tone-good{color:#8df2dd;border-color:rgba(25,229,197,.24);}
    .topbar-health.tone-good .topbar-health-dot{background:#19e5c5;box-shadow:0 0 0 3px rgba(25,229,197,.12);}
    .topbar-health.tone-warn{color:#ffe08a;border-color:rgba(240,185,11,.24);}
    .topbar-health.tone-warn .topbar-health-dot{background:#f0b90b;}
    .topbar-health.tone-bad{color:#ffb5c0;border-color:rgba(255,93,115,.24);}
    .topbar-health.tone-bad .topbar-health-dot{background:#ff5d73;}
    .topbar-version{color:#e9c84e;}
    .topbar-user{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#775cff,#4a87ff);color:white;font-size:12px;font-weight:900;box-shadow:0 6px 16px rgba(61,93,255,.20);}

    .tail-shell-content.wrap{max-width:none;width:100%;margin:0;padding:14px 18px 28px;}
    .tab-page{min-width:0;}
    .monitor-card,.card,.cockpit-status-card,.cockpit-inner-card{
      border-color:rgba(71,142,178,.26);
      background:linear-gradient(180deg,rgba(11,27,43,.96),rgba(8,22,35,.98));
      box-shadow:0 8px 22px rgba(0,0,0,.16);
      backdrop-filter:none;
    }
    .monitor-card::after,.strategy-card::after{display:none;}
    .monitor-header{align-items:center;}
    .monitor-title{font-size:12px;letter-spacing:-.01em;}
    .monitor-meta{font-size:9px;}

    #tab-dashboard{--cockpit-panel-height:610px;}
    .cockpit-status-bar{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:12px;align-items:stretch;}
    .cockpit-status-card{min-height:106px;border-radius:11px;padding:12px 12px;}
    .cockpit-status-card::after{display:none;}
    .cockpit-status-label{font-size:10px;letter-spacing:.03em;}
    .cockpit-status-sub{font-size:9px;line-height:1.4;min-height:auto;}
    #cockpit-next-run-card{grid-column:span 2;}
    .cockpit-next-run-time{font-size:18px;color:#67caff;}
    .cockpit-progress{display:none;}
    .cockpit-status-card.compact{display:flex;flex-direction:column;justify-content:space-between;}
    .cockpit-status-card.compact .cockpit-status-sub{margin-top:10px;}

    .cockpit-main-grid{
      display:grid;grid-template-columns:minmax(0,1.55fr) minmax(410px,1.18fr) minmax(270px,.78fr);
      grid-template-areas:"queue position center";gap:10px;align-items:stretch;margin-bottom:12px;
    }
    .cockpit-queue-panel{grid-area:queue;}
    .cockpit-position-panel{grid-area:position;}
    .cockpit-center-stack{grid-area:center;display:grid;grid-template-rows:minmax(0,1.38fr) minmax(150px,.62fr);gap:10px;}
    .cockpit-queue-panel,.cockpit-position-panel,.cockpit-center-stack{height:var(--cockpit-panel-height);min-height:0;}
    .cockpit-panel{padding:11px;}
    .cockpit-queue-table .cockpit-table-head,
    .cockpit-queue-table .cockpit-table-row{grid-template-columns:30px minmax(175px,1.05fr) 86px minmax(115px,.85fr) 66px;gap:7px;}
    .cockpit-queue-table .cockpit-table-head{padding:0 6px 5px;}
    #cockpit-strategy-queue{max-height:545px;}
    .cockpit-queue-table .cockpit-table-row{padding:8px 6px;min-height:48px;border-radius:8px;background:#0a1b2b;border-color:rgba(71,142,178,.18);}
    .cockpit-rank{font-size:15px;}
    .cockpit-strategy-name strong{font-size:10px;}
    .cockpit-strategy-meta > span:last-child{font-size:8px;}
    .cockpit-status-pill{font-size:8px;padding:4px 7px;}
    .cockpit-action-runtime strong{font-size:9px;}
    .cockpit-action-runtime span{font-size:8px;}
    .cockpit-control-btn{min-width:58px;padding:6px 6px;font-size:8px;border-radius:8px;}

    #cockpit-signal-health{max-height:372px;}
    .cockpit-signal-row{padding:9px;border-radius:8px;background:#0a1b2b;}
    .cockpit-signal-name strong{font-size:10px;}
    .cockpit-signal-name span,.cockpit-signal-bottom{font-size:8px;}
    .cockpit-exception-main{padding:9px;border-radius:9px;}
    .cockpit-exception-title{font-size:12px;}
    .cockpit-exception-sub{font-size:8px;}
    .cockpit-exception-cards{grid-template-columns:1fr 1fr;gap:5px;}
    .cockpit-exception-chip{padding:7px 8px;border-radius:8px;}
    .cockpit-exception-chip span{font-size:7px;}
    .cockpit-exception-chip strong{font-size:12px;}
    .cockpit-exception-chip em{font-size:8px;}

    .cockpit-position-summary{grid-template-columns:1.12fr .85fr .95fr;gap:7px;margin-bottom:8px;}
    .cockpit-position-metric{padding:9px;border-radius:9px;background:#0a1b2b;}
    .cockpit-position-label{font-size:9px;}
    .cockpit-position-label span{font-size:8px;}
    .cockpit-position-value{font-size:21px;}
    .cockpit-position-value.small{font-size:18px;}
    .cockpit-position-sub{font-size:8px;}
    .cockpit-position-panel .cockpit-subsection{margin-top:6px;}
    .cockpit-mini-table-wrap{max-height:180px;}
    .cockpit-mini-table{border-spacing:0 4px;}
    .cockpit-mini-table th{font-size:7px;padding:0 5px 3px;}
    .cockpit-mini-table td{padding:7px 5px;font-size:9px;background:#0a1b2b;}
    .cockpit-mini-table strong{font-size:9px;}
    .cockpit-mini-meta{font-size:7px!important;}

    .cockpit-workspace{padding:11px;margin-bottom:10px;}
    .cockpit-workspace-head{margin-bottom:9px;}
    .cockpit-workspace-tabs{gap:6px;}
    .cockpit-workspace-tab{padding:7px 10px;border-radius:8px;font-size:9px;}
    .cockpit-workspace-tab.active{background:linear-gradient(180deg,#45c6ff,#2398e8);border-color:#58cbff;color:#03121e;}
    .cockpit-two-col{grid-template-columns:minmax(0,1.62fr) minmax(410px,.95fr);gap:10px;align-items:start;}
    .cockpit-inner-card{padding:10px;border-radius:10px;}
    .cockpit-inner-title{font-size:11px;}
    .cockpit-market-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;}
    .cockpit-market-grid .market-card{min-height:104px;padding:9px;border-radius:9px;background:#0a1b2b;}
    .cockpit-market-grid .market-card-value{font-size:17px;}
    .cockpit-calendar-list .market-calendar-row{min-height:38px;padding:6px 5px;}
    .cockpit-calendar-list .market-calendar-event strong{font-size:9px;line-height:1.35;}
    .cockpit-calendar-list .market-calendar-date,.cockpit-calendar-list .market-calendar-time{font-size:8px;}
    .cockpit-calendar-list .market-calendar-relative{font-size:7px;}

    .cockpit-diagnostics-disclosure{border-radius:10px;background:#081724;border-color:rgba(71,142,178,.18);}
    .cockpit-diagnostics-disclosure > summary{padding:10px 12px;}
    .cockpit-diagnostics-disclosure > summary span{font-size:11px;}
    .cockpit-diagnostics-disclosure > summary small{font-size:8px;}

    .search-hidden{display:none!important;}

    @media (max-width:1500px){
      .topbar-clock-card{min-width:220px;}
      .cockpit-status-bar{grid-template-columns:repeat(5,minmax(0,1fr));}
      #cockpit-next-run-card{grid-column:span 2;}
      .cockpit-main-grid{grid-template-columns:minmax(0,1.35fr) minmax(360px,1.05fr) minmax(250px,.74fr);}
      .cockpit-two-col{grid-template-columns:1.45fr 1fr;}
      .cockpit-market-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
    }
    @media (max-width:1260px){
      .topbar-search-wrap{width:320px;}
      .topbar-version{display:none;}
      .cockpit-status-bar{grid-template-columns:repeat(4,minmax(0,1fr));}
      #cockpit-next-run-card{grid-column:span 2;}
      .cockpit-main-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-areas:"queue position" "center center";}
      .cockpit-queue-panel,.cockpit-position-panel{height:590px;}
      .cockpit-center-stack{height:auto;grid-template-columns:1fr 1fr;grid-template-rows:auto;}
      .cockpit-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    }
    @media (max-width:1100px){
      .app-sidebar{transform:translateX(-102%);transition:transform .22s ease;width:248px;}
      .app-sidebar.open{transform:translateX(0);}
      .sidebar-close{display:block;}
      .sidebar-overlay{display:block;position:fixed;inset:0;z-index:70;background:rgba(1,8,14,.36);} 
      .app-main{margin-left:0;}
      .topbar-icon-btn{display:inline-flex;align-items:center;justify-content:center;}
      .topbar-search-wrap{width:min(390px,48vw);}
      .cockpit-main-grid{grid-template-columns:1fr;grid-template-areas:"queue" "position" "center";}
      .cockpit-queue-panel,.cockpit-position-panel,.cockpit-center-stack{height:auto;}
      #cockpit-strategy-queue{max-height:720px;}
      .cockpit-center-stack{display:grid;grid-template-columns:1fr 1fr;}
      .cockpit-two-col{grid-template-columns:1fr;}
      .cockpit-market-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    }
    @media (max-width:760px){
      :root{--topbar-height:auto;}
      .app-topbar{position:sticky;min-height:58px;height:auto;padding:8px 10px;gap:8px;}
      .topbar-left{flex:1;}
      .topbar-search-wrap{width:100%;}
      .topbar-search-kbd{display:none;}
      .topbar-clock-card,.topbar-health,.topbar-version,.topbar-user{display:none;}
      .tail-shell-content.wrap{padding:10px 10px 22px;}
      .cockpit-status-bar{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:9px;}
      .cockpit-status-card{min-height:86px;padding:9px 10px;}
      #cockpit-next-run-card{grid-column:1 / -1;}
      .cockpit-status-label{font-size:10px;}
      .cockpit-status-sub{font-size:9px;}
      .cockpit-next-run-time{font-size:16px;}
      .cockpit-main-grid{gap:8px;}
      .cockpit-panel{padding:9px;}
      .cockpit-center-stack{grid-template-columns:1fr;gap:8px;}
      .cockpit-queue-table .cockpit-table-head{display:none;}
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"rank name control" "rank status control" "rank action control";gap:7px 9px;padding:10px 9px;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(1){grid-area:rank;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(2){grid-area:name;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(3){grid-area:status;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(4){grid-area:action;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(5){grid-area:control;justify-self:end;align-self:center;}
      .cockpit-strategy-name strong{font-size:12px;}
      .cockpit-strategy-meta{flex-wrap:wrap;}
      .cockpit-strategy-meta > span:last-child{font-size:9px;white-space:normal;}
      .cockpit-control-btn{min-width:66px;padding:7px 8px;font-size:9px;}
      #cockpit-strategy-queue{max-height:700px;}
      .cockpit-position-summary{grid-template-columns:1fr 1fr;}
      .cockpit-position-summary .cockpit-position-metric:first-child{grid-column:1/-1;}
      .cockpit-workspace{padding:9px;}
      .cockpit-workspace-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;}
      .cockpit-workspace-tab:last-child{grid-column:1/-1;}
      .cockpit-market-grid{grid-template-columns:1fr 1fr;gap:7px;}
      .cockpit-calendar-list .market-calendar-row{grid-template-columns:78px 48px minmax(0,1fr);gap:7px;}
      .cockpit-calendar-list .market-calendar-impact{display:none;}
    }
    @media (max-width:440px){
      .topbar-search{font-size:10px;}
      .cockpit-market-grid{grid-template-columns:1fr;}
      .cockpit-status-bar{grid-template-columns:1fr 1fr;}
    }

    /* v3.0.30 scheduler-owned Next Run timeline */
    #cockpit-next-run-card{justify-content:flex-start;gap:5px;}
    .cockpit-next-run-detail{
      color:#6f8fa2;
      font-size:8px;
      line-height:1.35;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    @media(max-width:760px){
      .cockpit-next-run-detail{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
    }

    /* v3.0.30 responsive readability hardening */
    @media (max-width:1100px){
      body::before{display:none;}
      .app-topbar{backdrop-filter:none;background:#07131f;}
      .topbar-search{font-size:12px;}
      .topbar-clock-card .clock-row{font-size:11px;}
      .topbar-clock-card .clock-city{font-size:10px;}
      .topbar-health{font-size:10px;}

      .cockpit-status-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
      #cockpit-next-run-card{grid-column:auto;}
      .cockpit-status-card{min-height:104px;padding:12px;}
      .cockpit-status-label{font-size:11px;letter-spacing:.025em;}
      .cockpit-status-sub{font-size:10px;line-height:1.45;}
      .cockpit-next-run-time{font-size:17px;line-height:1.15;}
      .cockpit-next-run-detail{font-size:9px;line-height:1.4;}
      .cockpit-metric-head strong{font-size:20px;}

      .cockpit-queue-table .cockpit-table-head{display:none;}
      .cockpit-queue-table .cockpit-table-row{
        grid-template-columns:38px minmax(0,1fr) auto;
        grid-template-areas:"rank name control" "rank status control" "rank action control";
        gap:6px 10px;
        align-items:start;
        padding:11px 12px;
        min-height:82px;
      }
      .cockpit-queue-table .cockpit-table-row > div:nth-child(1){grid-area:rank;padding-top:2px;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(2){grid-area:name;min-width:0;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(3){grid-area:status;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(4){grid-area:action;min-width:0;}
      .cockpit-queue-table .cockpit-table-row > div:nth-child(5){grid-area:control;justify-self:end;align-self:center;}
      .cockpit-rank{font-size:17px;line-height:1;}
      .cockpit-strategy-name strong{font-size:13px;line-height:1.3;}
      .cockpit-strategy-meta{margin-top:4px;gap:6px;flex-wrap:wrap;}
      .cockpit-strategy-meta > span:last-child{font-size:10px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;}
      .cockpit-market-pill{font-size:9px;padding:4px 7px;}
      .cockpit-status-pill{font-size:10px;padding:5px 9px;}
      .cockpit-action-runtime strong{font-size:12px;line-height:1.3;white-space:normal;overflow:visible;text-overflow:clip;}
      .cockpit-action-runtime span{font-size:10px;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip;}
      .cockpit-control-btn{min-width:72px;padding:8px 10px;font-size:10px;}
      #cockpit-strategy-queue{max-height:650px;}

      .cockpit-panel .monitor-title{font-size:13px;}
      .cockpit-panel .monitor-meta{font-size:10px;}
      .cockpit-signal-name strong{font-size:12px;}
      .cockpit-signal-name span{font-size:10px;}
      .cockpit-signal-bottom{font-size:10px;}
      .cockpit-exception-title{font-size:14px;}
      .cockpit-exception-sub{font-size:10px;}
      .cockpit-exception-chip span{font-size:9px;}
      .cockpit-exception-chip strong{font-size:14px;}
      .cockpit-exception-chip em{font-size:10px;}

      .cockpit-position-label{font-size:10px;}
      .cockpit-position-label span{font-size:9px;}
      .cockpit-position-sub{font-size:9px;}
      .cockpit-mini-table th{font-size:9px;}
      .cockpit-mini-table td{font-size:10px;}
      .cockpit-mini-table strong{font-size:10px;}
      .cockpit-mini-meta{font-size:9px!important;}
    }

    @media (max-width:760px){
      html,body{background:#071018;}
      .app-topbar{background:#07131f;border-bottom-color:rgba(77,216,255,.12);}
      .topbar-search{font-size:12px;}
      .tail-shell-content.wrap{padding:10px 10px 22px;}
      .cockpit-status-bar{grid-template-columns:1fr 1fr;gap:8px;}
      #cockpit-next-run-card{grid-column:1 / -1;}
      .cockpit-status-card{min-height:92px;padding:11px;}
      .cockpit-status-label{font-size:11px;}
      .cockpit-status-sub{font-size:10px;}
      .cockpit-next-run-time{font-size:16px;}
      .cockpit-next-run-detail{font-size:10px;}

      .cockpit-panel{padding:10px;}
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:34px minmax(0,1fr) auto;gap:6px 8px;padding:10px;min-height:78px;}
      .cockpit-rank{font-size:16px;}
      .cockpit-strategy-name strong{font-size:13px;}
      .cockpit-strategy-meta > span:last-child{font-size:10px;}
      .cockpit-status-pill{font-size:10px;}
      .cockpit-action-runtime strong{font-size:11px;}
      .cockpit-action-runtime span{font-size:10px;}
      .cockpit-control-btn{min-width:68px;font-size:10px;padding:8px 9px;}

      .cockpit-workspace-tab{font-size:11px;}
      .cockpit-inner-title{font-size:12px;}
      .cockpit-market-grid .market-card-label{font-size:11px;}
      .cockpit-market-grid .market-card-symbol{font-size:8px;}
      .cockpit-market-grid .market-card-source-inline{font-size:7px;}
      .cockpit-market-grid .market-card-value{font-size:18px;}
      .cockpit-calendar-list .market-calendar-date,
      .cockpit-calendar-list .market-calendar-time{font-size:10px;}
      .cockpit-calendar-list .market-calendar-event strong{font-size:11px;line-height:1.45;}
    }


    /* v3.0.36 responsive crisp-rendering mode */
    html,body{
      text-rendering:optimizeLegibility;
      -webkit-text-size-adjust:100%;
    }

    @media (max-width:1100px){
      :root{
        --text:#F3F9FD;
        --muted:#A2B7C5;
        --border:#16536A;
        --border-soft:#123B4D;
      }
      html,body{background:#071018!important;}
      body{background:#071018!important;}
      body::before{display:none!important;}

      /* Eliminate GPU blur/compositing on half-width desktop and mobile. */
      .app-topbar,
      .monitor-card,.card,
      .dual-clock,.badge,
      .cockpit-status-card,
      .cockpit-table-row,
      .cockpit-signal-row,
      .cockpit-exception-main,
      .cockpit-exception-chip,
      .cockpit-position-metric,
      .cockpit-inner-card,
      .cockpit-cache-card,
      .cockpit-log-row,
      .cockpit-diagnostics-disclosure,
      .cockpit-queue-table .cockpit-table-head{
        -webkit-backdrop-filter:none!important;
        backdrop-filter:none!important;
        filter:none!important;
        text-shadow:none!important;
      }
      .monitor-card,.card{background:#081722!important;box-shadow:none!important;}
      .cockpit-status-card{background:#081823!important;box-shadow:none!important;border-color:#16536A!important;}
      .cockpit-table-row,.cockpit-signal-row,.cockpit-position-metric,.cockpit-inner-card,
      .cockpit-exception-main,.cockpit-exception-chip,.cockpit-cache-card,.cockpit-log-row{
        background:#091B29!important;
        box-shadow:none!important;
        border-color:#17485D!important;
      }
      .monitor-card::after,.strategy-card::after{display:none!important;}
      .cockpit-queue-table .cockpit-table-head{background:#081722!important;}

      /* Larger readable type floor. */
      .topbar-search{font-size:13px!important;color:#EAF4FA!important;}
      .topbar-search::placeholder{color:#89A2B2!important;}
      .topbar-clock-card .clock-row{font-size:12px!important;}
      .topbar-clock-card .clock-city{font-size:11px!important;}
      .topbar-health{font-size:11px!important;}

      .cockpit-status-label{font-size:12px!important;font-weight:800!important;color:#F2F8FC!important;letter-spacing:.02em!important;}
      .cockpit-status-sub{font-size:11px!important;line-height:1.5!important;color:#9DB5C4!important;}
      .cockpit-next-run-time{font-size:20px!important;font-weight:800!important;line-height:1.16!important;color:#6BCBFF!important;}
      .cockpit-next-run-detail{font-size:11px!important;line-height:1.45!important;color:#91AABA!important;}
      .cockpit-metric-head strong{font-size:22px!important;color:#F4FAFD!important;}

      .cockpit-panel .monitor-title{font-size:15px!important;font-weight:800!important;color:#F2F8FC!important;}
      .cockpit-panel .monitor-meta{font-size:11px!important;color:#9AB2C1!important;}

      .cockpit-queue-table .cockpit-table-row{
        min-height:96px!important;
        padding:13px 14px!important;
        border-radius:10px!important;
      }
      .cockpit-rank{font-size:19px!important;font-weight:800!important;color:#DDECF4!important;}
      .cockpit-strategy-name strong{font-size:15px!important;font-weight:750!important;line-height:1.35!important;color:#F4FAFD!important;}
      .cockpit-strategy-meta > span:last-child{font-size:12px!important;line-height:1.4!important;color:#8FA8B8!important;}
      .cockpit-market-pill{font-size:10px!important;padding:5px 8px!important;}
      .cockpit-status-pill{font-size:11px!important;padding:6px 10px!important;font-weight:800!important;}
      .cockpit-action-runtime strong{font-size:13px!important;line-height:1.35!important;color:#F1F7FB!important;font-weight:750!important;}
      .cockpit-action-runtime span{font-size:11px!important;line-height:1.45!important;color:#91AABA!important;}
      .cockpit-control-btn{min-width:76px!important;padding:9px 11px!important;font-size:11px!important;font-weight:800!important;}

      .cockpit-signal-name strong{font-size:14px!important;font-weight:750!important;color:#F3F9FD!important;}
      .cockpit-signal-name span{font-size:11px!important;color:#91AABA!important;}
      .cockpit-signal-bottom{font-size:11px!important;color:#9AB2C1!important;}

      .cockpit-exception-title{font-size:15px!important;font-weight:800!important;}
      .cockpit-exception-sub{font-size:11px!important;color:#9AB2C1!important;}
      .cockpit-exception-chip span{font-size:10px!important;color:#93AEBE!important;}
      .cockpit-exception-chip strong{font-size:16px!important;}
      .cockpit-exception-chip em{font-size:11px!important;color:#9AB2C1!important;}

      .cockpit-position-label{font-size:12px!important;}
      .cockpit-position-label span{font-size:10px!important;color:#93AEBE!important;}
      .cockpit-position-value{font-size:25px!important;}
      .cockpit-position-value.small{font-size:21px!important;}
      .cockpit-position-sub{font-size:10px!important;color:#9AB2C1!important;}
      .cockpit-mini-table th{font-size:10px!important;color:#91AABA!important;}
      .cockpit-mini-table td,.cockpit-mini-table strong{font-size:11px!important;}
      .cockpit-mini-meta{font-size:10px!important;color:#8FA8B8!important;}

      .cockpit-workspace-tab{font-size:12px!important;}
      .cockpit-inner-title{font-size:14px!important;}
      .cockpit-market-grid .market-card-label{font-size:13px!important;}
      .cockpit-market-grid .market-card-symbol{font-size:9px!important;color:#91AABA!important;}
      .cockpit-market-grid .market-card-source-inline{font-size:8px!important;color:#819AAA!important;}
      .cockpit-market-grid .market-card-value{font-size:20px!important;}
      .cockpit-market-grid .market-card-change{font-size:10px!important;}
      .cockpit-calendar-list .market-calendar-date,
      .cockpit-calendar-list .market-calendar-time{font-size:11px!important;}
      .cockpit-calendar-list .market-calendar-event strong{font-size:12px!important;line-height:1.5!important;font-weight:650!important;}
    }

    @media (max-width:760px){
      .app-topbar{background:#07131F!important;}
      .tail-shell-content.wrap{padding:12px 10px 24px!important;}
      .cockpit-status-bar{gap:9px!important;}
      .cockpit-status-card{min-height:100px!important;padding:12px!important;}
      .cockpit-status-label{font-size:12px!important;}
      .cockpit-status-sub{font-size:11px!important;}
      .cockpit-next-run-time{font-size:19px!important;}
      .cockpit-next-run-detail{font-size:11px!important;}

      .cockpit-panel{padding:11px!important;}
      .cockpit-queue-table .cockpit-table-row{min-height:92px!important;padding:12px!important;}
      .cockpit-rank{font-size:18px!important;}
      .cockpit-strategy-name strong{font-size:15px!important;}
      .cockpit-strategy-meta > span:last-child{font-size:11px!important;}
      .cockpit-status-pill{font-size:11px!important;}
      .cockpit-action-runtime strong{font-size:13px!important;}
      .cockpit-action-runtime span{font-size:11px!important;}
      .cockpit-control-btn{min-width:74px!important;font-size:11px!important;}
      .cockpit-workspace-tab{font-size:12px!important;}
    }


    /* v3.0.36 responsive interaction fix: hidden overlay must never intercept clicks */
    .sidebar-overlay{
      display:none!important;
      pointer-events:none!important;
      opacity:0;
      visibility:hidden;
    }
    .sidebar-overlay[hidden]{
      display:none!important;
      pointer-events:none!important;
      opacity:0!important;
      visibility:hidden!important;
    }
    @media (max-width:1100px){
      body.sidebar-open .sidebar-overlay:not([hidden]){
        display:block!important;
        pointer-events:auto!important;
        opacity:1!important;
        visibility:visible!important;
        position:fixed;
        inset:0;
        z-index:70;
        background:rgba(1,8,14,.28);
      }
      /* Keep half-width/mobile crisp without the disabled/dimmed impression. */
      .app-topbar,
      .cockpit-status-card,
      .monitor-card,
      .card,
      .cockpit-table-row,
      .cockpit-signal-row,
      .cockpit-exception-main,
      .cockpit-exception-chip,
      .cockpit-position-metric,
      .cockpit-inner-card{
        opacity:1!important;
      }
      .cockpit-status-card{background:#091B29!important;border-color:#17607A!important;}
      .monitor-card,.card{background:#081923!important;border-color:#16536A!important;}
      .cockpit-table-row,.cockpit-signal-row,.cockpit-position-metric,.cockpit-inner-card,
      .cockpit-exception-main,.cockpit-exception-chip{background:#0A1C29!important;border-color:#174F65!important;}
      button,.app-tab,.sidebar-nav-item,.cockpit-control-btn,.cockpit-workspace-tab{
        pointer-events:auto!important;
      }
    }


    /* v3.0.36 main dashboard information hierarchy */
    .cockpit-market-overview{
      margin:0 0 8px;
      padding:9px 10px 10px;
      border-radius:12px;
    }
    .cockpit-section-header{margin-bottom:7px!important;align-items:center;}
    .cockpit-market-grid-top{
      grid-template-columns:repeat(7,minmax(0,1fr))!important;
      gap:6px!important;
    }
    .cockpit-market-grid-top .market-card{
      min-height:78px!important;
      padding:8px 9px!important;
      border-radius:9px!important;
    }
    .cockpit-market-grid-top .market-card-label{font-size:10px!important;line-height:1.25!important;}
    .cockpit-market-grid-top .market-card-meta{margin-top:2px!important;}
    .cockpit-market-grid-top .market-card-symbol{font-size:7px!important;line-height:1.2!important;}
    .cockpit-market-grid-top .market-card-source-inline{font-size:6px!important;line-height:1.2!important;margin-top:1px!important;}
    .cockpit-market-grid-top .market-card-value{font-size:15px!important;line-height:1.1!important;margin-top:3px!important;}
    .cockpit-market-grid-top .market-card-change{font-size:7px!important;line-height:1.25!important;margin-top:3px!important;}

    .cockpit-status-bar.cockpit-status-compact{
      grid-template-columns:repeat(5,minmax(0,1fr))!important;
      gap:7px!important;
      margin:0 0 8px!important;
    }
    .cockpit-status-compact .cockpit-status-card{
      min-height:64px!important;
      padding:8px 10px!important;
      gap:4px!important;
      border-radius:10px!important;
    }
    .cockpit-status-compact .cockpit-status-label{font-size:10px!important;letter-spacing:.035em!important;}
    .cockpit-status-compact .cockpit-status-sub{font-size:9px!important;line-height:1.35!important;min-height:0!important;margin:0!important;}
    .cockpit-status-compact .cockpit-metric-head strong{font-size:16px!important;line-height:1.1!important;}
    .cockpit-status-compact .cockpit-status-dot{width:7px!important;height:7px!important;}

    .cockpit-dashboard-calendar{
      margin:0 0 9px;
      padding:9px 10px 10px;
      border-radius:12px;
    }
    .cockpit-dashboard-calendar .cockpit-calendar-list{
      max-height:238px;
      overflow:auto;
      display:grid;
      gap:0;
    }
    .cockpit-dashboard-calendar .cockpit-calendar-head,
    .cockpit-dashboard-calendar .market-calendar-row{
      grid-template-columns:105px 70px minmax(0,1fr) 70px;
      gap:9px;
    }
    .cockpit-dashboard-calendar .cockpit-calendar-head{
      position:sticky;
      top:0;
      z-index:3;
      padding:4px 8px 5px;
      font-size:9px;
      background:rgba(3,18,28,.98);
      border-bottom:1px solid rgba(77,216,255,.12);
    }
    .cockpit-dashboard-calendar .market-calendar-row{min-height:38px;padding:7px 8px;}
    .cockpit-dashboard-calendar .market-calendar-date,
    .cockpit-dashboard-calendar .market-calendar-time{font-size:10px!important;}
    .cockpit-dashboard-calendar .market-calendar-event strong{font-size:10px!important;line-height:1.35!important;font-weight:600!important;}
    .cockpit-dashboard-calendar .market-calendar-impact{font-size:8px!important;padding:3px 6px!important;}

    .cockpit-main-grid{margin-top:0!important;}
    .cockpit-center-stack{
      grid-template-rows:auto minmax(0,1fr) auto!important;
      gap:8px!important;
    }
    .cockpit-next-run-panel{
      padding:9px 10px!important;
      min-height:0!important;
    }
    .cockpit-next-run-panel .monitor-header{margin-bottom:5px!important;}
    .cockpit-next-run-panel .cockpit-next-run-time{font-size:18px!important;line-height:1.1!important;margin-top:0!important;}
    .cockpit-next-run-panel .cockpit-status-sub{font-size:9px!important;line-height:1.35!important;min-height:0!important;margin-top:4px!important;}
    .cockpit-next-run-panel .cockpit-next-run-detail{font-size:8px!important;line-height:1.35!important;margin-top:4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

    #tab-dashboard > .cockpit-diagnostics-disclosure{display:none!important;}
    .scheduler-page-intro{margin-bottom:10px;padding:12px 14px;}
    .scheduler-page-subtitle{margin-top:3px;color:#7896a8;font-size:10px;line-height:1.4;}
    #scheduler-diagnostics-host .cockpit-diagnostics-disclosure{
      display:block!important;
      border:0!important;
      background:transparent!important;
      margin:0!important;
      overflow:visible!important;
    }
    #scheduler-diagnostics-host .cockpit-diagnostics-disclosure > summary{display:none!important;}
    #scheduler-diagnostics-host .cockpit-diagnostics-body{padding:0!important;display:grid!important;gap:10px!important;}

    @media (max-width:1500px){
      .cockpit-market-grid-top{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
      .cockpit-status-bar.cockpit-status-compact{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
    }
    @media (max-width:1100px){
      .cockpit-market-overview,.cockpit-dashboard-calendar{padding:10px!important;}
      .cockpit-market-grid-top{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
      .cockpit-market-grid-top .market-card{min-height:82px!important;}
      .cockpit-market-grid-top .market-card-label{font-size:11px!important;}
      .cockpit-market-grid-top .market-card-value{font-size:17px!important;}
      .cockpit-market-grid-top .market-card-change{font-size:9px!important;}
      .cockpit-status-bar.cockpit-status-compact{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
      .cockpit-status-compact .cockpit-status-card{min-height:72px!important;}
      .cockpit-status-compact .cockpit-status-label{font-size:11px!important;}
      .cockpit-status-compact .cockpit-status-sub{font-size:10px!important;}
      .cockpit-dashboard-calendar .cockpit-calendar-list{max-height:260px;}
      .cockpit-dashboard-calendar .market-calendar-event strong{font-size:11px!important;}
      .cockpit-center-stack{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;}
    }
    @media (max-width:760px){
      .cockpit-market-grid-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
      .cockpit-status-bar.cockpit-status-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
      .cockpit-status-compact .cockpit-status-card:last-child{grid-column:auto!important;}
      .cockpit-dashboard-calendar .cockpit-calendar-head{display:none!important;}
      .cockpit-dashboard-calendar .market-calendar-row{grid-template-columns:78px 52px minmax(0,1fr)!important;gap:7px!important;}
      .cockpit-dashboard-calendar .market-calendar-impact{display:none!important;}
      .cockpit-dashboard-calendar .cockpit-calendar-list{max-height:300px;}
      .cockpit-next-run-panel .cockpit-next-run-time{font-size:17px!important;}
    }


    /* v3.0.36 Grafana-like typography + dashboard density rebalance */
    :root{
      font-family:"Inter","Roboto","Segoe UI",Arial,sans-serif!important;
    }
    body,body *,button,input,select,textarea,table,thead,tbody,tr,th,td,label,summary,strong,b,small{
      font-family:"Inter","Roboto","Segoe UI",Arial,sans-serif!important;
      font-weight:400!important;
      text-shadow:none!important;
    }

    /* Keep hierarchy through size/color rather than bold weight. */
    .monitor-title,.market-title,.trade-page-title,.admin-title,.cockpit-inner-title,
    .cockpit-status-label,.cockpit-strategy-name strong,.cockpit-signal-name strong,
    .cockpit-position-value,.trade-summary-value,.market-card-value,.title,
    .sidebar-nav-item,.app-tab,.cockpit-workspace-tab,.cockpit-control-btn{
      font-weight:400!important;
    }

    .cockpit-status-bar.cockpit-status-compact{
      grid-template-columns:1.08fr 1.08fr 1.08fr .9fr 1.22fr!important;
    }
    .cockpit-status-compact .cockpit-status-card{
      min-height:58px!important;
      padding:7px 9px!important;
    }
    .cockpit-status-compact .cockpit-status-label{font-size:9px!important;}
    .cockpit-status-compact .cockpit-status-sub{font-size:8px!important;}
    .cockpit-status-compact .cockpit-metric-head strong{font-size:15px!important;}
    #cockpit-cpu-card .cockpit-metric-head,
    #cockpit-ram-card .cockpit-metric-head{align-items:center!important;}
    #cockpit-ram-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:74%;}

    /* Main cockpit columns: narrower queue + positions, wider signal/exception rail. */
    .cockpit-main-grid{
      grid-template-columns:minmax(430px,1.12fr) minmax(330px,.86fr) minmax(390px,1.08fr)!important;
      gap:9px!important;
    }
    .cockpit-queue-table .cockpit-table-head,
    .cockpit-queue-table .cockpit-table-row{
      grid-template-columns:28px minmax(128px,.78fr) 76px minmax(105px,.72fr) 60px!important;
      gap:6px!important;
    }
    .cockpit-queue-table .cockpit-table-head{padding-inline:5px!important;}
    .cockpit-queue-table .cockpit-table-row{padding:7px 5px!important;}
    .cockpit-strategy-name strong{font-size:9px!important;}
    .cockpit-strategy-meta > span:last-child{font-size:7px!important;}
    .cockpit-status-pill{font-size:7px!important;padding:3px 6px!important;}
    .cockpit-action-runtime strong{font-size:8px!important;}
    .cockpit-action-runtime span{font-size:7px!important;}
    .cockpit-control-btn{min-width:54px!important;padding:5px 6px!important;font-size:7px!important;}

    /* Positions: reduce horizontal demand. */
    .cockpit-position-panel{min-width:0!important;}
    .cockpit-position-summary{grid-template-columns:1.1fr .85fr .95fr!important;gap:5px!important;}
    .cockpit-position-metric{padding:8px!important;}
    .cockpit-position-label{font-size:8px!important;line-height:1.25!important;}
    .cockpit-position-label span{font-size:7px!important;}
    .cockpit-position-value{font-size:19px!important;}
    .cockpit-position-value.small{font-size:16px!important;}
    .cockpit-position-sub{font-size:7px!important;}
    .cockpit-mini-table th{font-size:7px!important;}
    .cockpit-mini-table td,.cockpit-mini-table strong{font-size:8px!important;}
    .cockpit-mini-meta{font-size:7px!important;}

    /* Wider monitoring rail now has room for readable signal / exception content. */
    .cockpit-center-stack{gap:9px!important;}
    .cockpit-signal-name strong{font-size:10px!important;}
    .cockpit-signal-name span,.cockpit-signal-bottom{font-size:8px!important;}
    .cockpit-exception-title{font-size:11px!important;}
    .cockpit-exception-sub{font-size:8px!important;}
    .cockpit-exception-chip span{font-size:7px!important;}
    .cockpit-exception-chip strong{font-size:12px!important;}
    .cockpit-exception-chip em{font-size:7px!important;}

    /* Main Dashboard calendar belongs at the bottom. */
    .cockpit-dashboard-calendar{
      margin:9px 0 0!important;
    }

    @media (max-width:1500px){
      .cockpit-main-grid{
        grid-template-columns:minmax(0,1.05fr) minmax(0,.92fr) minmax(300px,1fr)!important;
      }
      .cockpit-queue-table .cockpit-table-head,
      .cockpit-queue-table .cockpit-table-row{
        grid-template-columns:28px minmax(118px,.74fr) 74px minmax(100px,.7fr) 58px!important;
      }
    }
    @media (max-width:1260px){
      .cockpit-main-grid{
        grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;
        grid-template-areas:"queue position" "center center"!important;
      }
      .cockpit-center-stack{grid-template-columns:1fr 1fr!important;}
    }
    @media (max-width:1100px){
      .cockpit-status-bar.cockpit-status-compact{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
      .cockpit-main-grid{grid-template-columns:1fr!important;grid-template-areas:"queue" "position" "center"!important;}
      .cockpit-center-stack{grid-template-columns:1fr!important;}
      .cockpit-queue-table .cockpit-table-row{grid-template-columns:40px minmax(0,1fr) auto!important;}
      .cockpit-strategy-name strong{font-size:13px!important;}
      .cockpit-strategy-meta > span:last-child{font-size:10px!important;}
      .cockpit-status-pill{font-size:10px!important;}
      .cockpit-action-runtime strong{font-size:11px!important;}
      .cockpit-action-runtime span{font-size:10px!important;}
      .cockpit-control-btn{font-size:10px!important;min-width:70px!important;}
    }
    @media (max-width:760px){
      .cockpit-status-bar.cockpit-status-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
      #cockpit-ram-label{max-width:68%;font-size:9px!important;}
    }


    /* v3.0.36 dashboard readability + compact status strip */
    #tab-dashboard{
      font-size:12px;
    }

    /* Main Dashboard headings and metadata: larger regular-weight typography. */
    #tab-dashboard .monitor-title,
    #tab-dashboard .cockpit-inner-title{
      font-size:13px!important;
      line-height:1.35!important;
      font-weight:400!important;
    }
    #tab-dashboard .monitor-meta,
    #tab-dashboard .cockpit-section-header .monitor-meta{
      font-size:9px!important;
      line-height:1.4!important;
    }

    /* Market Snapshot: use the space for text rather than empty breathing room. */
    .cockpit-market-grid-top .market-card{
      min-height:82px!important;
      padding:8px 9px!important;
    }
    .cockpit-market-grid-top .market-card-label{
      font-size:11px!important;
      line-height:1.3!important;
    }
    .cockpit-market-grid-top .market-card-symbol{
      font-size:8px!important;
      line-height:1.25!important;
    }
    .cockpit-market-grid-top .market-card-source-inline{
      font-size:7px!important;
      line-height:1.25!important;
    }
    .cockpit-market-grid-top .market-card-value{
      font-size:17px!important;
      line-height:1.1!important;
      margin-top:6px!important;
    }
    .cockpit-market-grid-top .market-card-change{
      font-size:8.5px!important;
      line-height:1.3!important;
    }

    /* Trading Ready / Binance / Signals / CPU / RAM: shorter strip, larger text. */
    .cockpit-status-bar.cockpit-status-compact{
      gap:6px!important;
      margin-bottom:7px!important;
    }
    .cockpit-status-compact .cockpit-status-card{
      min-height:44px!important;
      padding:5px 8px!important;
      gap:2px!important;
      border-radius:9px!important;
      justify-content:center!important;
    }
    .cockpit-status-compact .cockpit-status-head,
    .cockpit-status-compact .cockpit-metric-head{
      min-height:16px!important;
    }
    .cockpit-status-compact .cockpit-status-label{
      font-size:10px!important;
      line-height:1.2!important;
      letter-spacing:.02em!important;
    }
    .cockpit-status-compact .cockpit-status-sub{
      font-size:9px!important;
      line-height:1.25!important;
      min-height:0!important;
      margin:0!important;
    }
    .cockpit-status-compact .cockpit-metric-head strong{
      font-size:16px!important;
      line-height:1!important;
    }
    .cockpit-status-compact .cockpit-status-dot{
      width:7px!important;
      height:7px!important;
    }
    #cockpit-cpu-card .cockpit-status-sub,
    #cockpit-ram-card .cockpit-status-sub{
      display:none!important;
    }

    /* Strategy Queue: modestly larger regular text after the bold-removal pass. */
    .cockpit-queue-table .cockpit-table-head{
      font-size:8.5px!important;
    }
    .cockpit-rank{
      font-size:16px!important;
    }
    .cockpit-strategy-name strong{
      font-size:10.5px!important;
      line-height:1.35!important;
    }
    .cockpit-strategy-meta > span:last-child{
      font-size:8.5px!important;
      line-height:1.35!important;
    }
    .cockpit-market-pill{
      font-size:8px!important;
    }
    .cockpit-status-pill{
      font-size:8px!important;
      padding:4px 7px!important;
    }
    .cockpit-action-runtime strong{
      font-size:9px!important;
      line-height:1.3!important;
    }
    .cockpit-action-runtime span{
      font-size:8px!important;
      line-height:1.35!important;
    }
    .cockpit-control-btn{
      font-size:8.5px!important;
      min-width:56px!important;
    }

    /* Positions / Orders. */
    .cockpit-position-label{
      font-size:9px!important;
      line-height:1.3!important;
    }
    .cockpit-position-label span{
      font-size:8px!important;
    }
    .cockpit-position-value{
      font-size:21px!important;
    }
    .cockpit-position-value.small{
      font-size:17px!important;
    }
    .cockpit-position-sub{
      font-size:8px!important;
    }
    .cockpit-mini-table th{
      font-size:8px!important;
    }
    .cockpit-mini-table td,
    .cockpit-mini-table strong{
      font-size:9px!important;
    }
    .cockpit-mini-meta{
      font-size:8px!important;
    }

    /* Signal / exceptions rail. */
    .cockpit-signal-name strong{
      font-size:11px!important;
      line-height:1.35!important;
    }
    .cockpit-signal-name span,
    .cockpit-signal-bottom{
      font-size:9px!important;
      line-height:1.4!important;
    }
    .cockpit-exception-title{
      font-size:12px!important;
      line-height:1.35!important;
    }
    .cockpit-exception-sub{
      font-size:9px!important;
      line-height:1.4!important;
    }
    .cockpit-exception-chip span{
      font-size:8px!important;
    }
    .cockpit-exception-chip strong{
      font-size:13px!important;
    }
    .cockpit-exception-chip em{
      font-size:8px!important;
      line-height:1.35!important;
    }

    /* Calendar at the bottom: readable without reintroducing bold. */
    .cockpit-dashboard-calendar .cockpit-calendar-head{
      font-size:9.5px!important;
    }
    .cockpit-dashboard-calendar .market-calendar-date,
    .cockpit-dashboard-calendar .market-calendar-time{
      font-size:11px!important;
      line-height:1.35!important;
    }
    .cockpit-dashboard-calendar .market-calendar-event strong{
      font-size:11.5px!important;
      line-height:1.45!important;
      font-weight:400!important;
    }
    .cockpit-dashboard-calendar .market-calendar-relative{
      font-size:8.5px!important;
    }
    .cockpit-dashboard-calendar .market-calendar-impact{
      font-size:8.5px!important;
    }

    @media (max-width:1100px){
      #tab-dashboard{font-size:13px;}
      .cockpit-status-compact .cockpit-status-card{min-height:48px!important;padding:6px 8px!important;}
      .cockpit-status-compact .cockpit-status-label{font-size:11px!important;}
      .cockpit-status-compact .cockpit-status-sub{font-size:10px!important;}
      .cockpit-strategy-name strong{font-size:14px!important;}
      .cockpit-strategy-meta > span:last-child{font-size:11px!important;}
      .cockpit-status-pill{font-size:10px!important;}
      .cockpit-action-runtime strong{font-size:12px!important;}
      .cockpit-action-runtime span{font-size:10px!important;}
      .cockpit-control-btn{font-size:10px!important;}
      .cockpit-signal-name strong{font-size:12px!important;}
      .cockpit-signal-name span,.cockpit-signal-bottom{font-size:10px!important;}
      .cockpit-dashboard-calendar .market-calendar-event strong{font-size:12px!important;}
    }


/* v3.0.36b title emphasis + sidebar/topbar hierarchy tuning */
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title{
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

/* Main dashboard section titles slightly larger and stronger. */
#tab-dashboard .monitor-title{
  font-size:15px!important;
  font-weight:700!important;
  color:#f3f8fc!important;
}
#tab-dashboard .monitor-meta{
  font-size:10px!important;
}

/* Sidebar brand and navigation: bolder and larger per request. */
.sidebar-brand{
  padding:6px 8px 18px!important;
}
.sidebar-brand-copy strong{
  font-size:18px!important;
  font-weight:800!important;
  color:#f5fbff!important;
}
.sidebar-brand-copy span{
  margin-top:4px!important;
  font-size:12px!important;
  font-weight:700!important;
  color:#a6c5d6!important;
}
.sidebar-nav.app-tabs{
  margin-top:18px!important;
  gap:8px!important;
}
.sidebar-nav .sidebar-nav-item,
.sidebar-nav .app-tab{
  min-height:44px!important;
  padding:10px 12px!important;
  font-size:12.5px!important;
  font-weight:700!important;
  color:#b9c9d5!important;
}
.sidebar-nav .sidebar-nav-item.active,
.sidebar-nav .app-tab.active{
  font-weight:800!important;
}
.sidebar-icon{
  font-size:15px!important;
  font-weight:800!important;
}
.sidebar-footer{display:none!important;}

/* Top-right status badges: larger and bold. */
.topbar-health,
.topbar-version{
  min-height:40px!important;
  padding:0 14px!important;
  font-size:11px!important;
  font-weight:700!important;
}
.topbar-version{
  font-weight:800!important;
}

/* Dashboard compact status strip: title emphasis only, slightly larger. */
.cockpit-status-compact .cockpit-status-label{
  font-size:11px!important;
  font-weight:700!important;
  color:#eef7fc!important;
}
#cockpit-ram-label{
  max-width:78%!important;
}

/* Preserve readable regular body text while titles stand out. */
.cockpit-status-sub,
.cockpit-action-runtime span,
.cockpit-strategy-meta > span:last-child,
.cockpit-signal-meta,
.cockpit-mini-meta,
.market-card-symbol,
.market-card-source-inline,
.market-card-change,
.cockpit-calendar-list .market-calendar-event,
.cockpit-calendar-list .market-calendar-date,
.cockpit-calendar-list .market-calendar-time{
  font-weight:400!important;
}

/* Stronger table/section header hierarchy in queue and positions. */
.cockpit-queue-table .cockpit-table-head,
.cockpit-mini-table th{
  font-weight:700!important;
}
.cockpit-position-label,
.cockpit-signal-name strong,
.cockpit-position-value{
  font-weight:700!important;
}

@media (max-width:1100px){
  .sidebar-brand-copy strong{font-size:17px!important;}
  .sidebar-brand-copy span{font-size:11px!important;}
  .sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{font-size:12px!important;}
  .topbar-health,.topbar-version{font-size:10.5px!important;}
  #tab-dashboard .monitor-title{font-size:14px!important;}
}

/* v3.0.37 visual hierarchy refinement: sidebar scale-up, colored titles, mini-title boost, no search */
.topbar-spacer,
.topbar-search-wrap{
  display:none!important;
}
.app-topbar{
  gap:12px!important;
}
.topbar-left{
  flex:0 0 auto!important;
  gap:0!important;
}
.topbar-right{
  flex:1 1 auto!important;
}

/* Sidebar navigation and icon scale-up. */
.sidebar-nav .sidebar-nav-item,
.sidebar-nav .app-tab{
  min-height:48px!important;
  padding:12px 14px!important;
  gap:12px!important;
  font-size:14px!important;
  font-weight:700!important;
}
.sidebar-nav .sidebar-nav-item.active,
.sidebar-nav .app-tab.active{
  font-weight:800!important;
}
.sidebar-icon{
  width:20px!important;
  font-size:17px!important;
  font-weight:800!important;
}
.sidebar-brand-copy strong{
  font-size:19px!important;
}
.sidebar-brand-copy span{
  font-size:13px!important;
}

/* Section titles: keep size, differentiate color from pure white. */
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title{
  color:#8fdcff!important;
}

/* Mini-title scale-up for cards, queue rows, signals, and next-run focal value. */
.cockpit-market-grid .market-card-label,
.cockpit-market-grid-top .market-card-label{
  font-size:13px!important;
  font-weight:700!important;
  color:#e7f7ff!important;
  line-height:1.25!important;
}
.cockpit-market-grid .market-card-symbol,
.cockpit-market-grid-top .market-card-symbol{
  font-size:9px!important;
}
.cockpit-market-grid .market-card-source-inline,
.cockpit-market-grid-top .market-card-source-inline{
  font-size:8px!important;
}
.cockpit-market-grid .market-card-value,
.cockpit-market-grid-top .market-card-value{
  font-size:21px!important;
}

.cockpit-strategy-name strong{
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.32!important;
  color:#eff8fd!important;
}
.cockpit-strategy-name span,
.cockpit-mini-meta{
  font-size:10px!important;
}

.cockpit-position-table td strong,
.cockpit-position-table tbody td:first-child strong{
  font-size:13px!important;
  font-weight:700!important;
  color:#eef8fd!important;
}
.cockpit-position-table td,
.cockpit-position-table th{
  font-size:11px!important;
}

.cockpit-signal-name strong{
  font-size:13px!important;
  font-weight:700!important;
}
.cockpit-signal-name span,
.cockpit-signal-bottom{
  font-size:10px!important;
}

.cockpit-next-run-panel .cockpit-next-run-time,
.cockpit-next-run-time{
  font-size:30px!important;
  font-weight:700!important;
  color:#71ceff!important;
  line-height:1.08!important;
}
.cockpit-next-run-panel .cockpit-next-run-summary,
.cockpit-next-run-summary{
  font-size:12px!important;
}

/* Top-right version badge should keep size but lose heavy bold. */
.topbar-version{
  font-weight:500!important;
}

@media (max-width:1100px){
  .sidebar-nav .sidebar-nav-item,
  .sidebar-nav .app-tab{
    font-size:13px!important;
  }
  .sidebar-icon{font-size:16px!important;}
  .cockpit-market-grid .market-card-label,
  .cockpit-market-grid-top .market-card-label{font-size:12px!important;}
  .cockpit-strategy-name strong{font-size:13px!important;}
  .cockpit-signal-name strong{font-size:12px!important;}
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:24px!important;}
}
@media (max-width:768px){
  .sidebar-nav .sidebar-nav-item,
  .sidebar-nav .app-tab{
    font-size:14px!important;
  }
  .sidebar-icon{font-size:18px!important;}
  .cockpit-market-grid .market-card-label,
  .cockpit-market-grid-top .market-card-label{font-size:13px!important;}
  .cockpit-market-grid .market-card-value,
  .cockpit-market-grid-top .market-card-value{font-size:20px!important;}
  .cockpit-strategy-name strong{font-size:14px!important;}
  .cockpit-position-table td strong{font-size:13px!important;}
  .cockpit-signal-name strong{font-size:13px!important;}
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:23px!important;}
}

/* v3.0.38 hierarchy correction + sidebar density cleanup */

/* 1) Left sidebar: reduce vertical whitespace and add clearer section dividers. */
.sidebar-brand{
  padding:6px 8px 12px!important;
  margin-bottom:8px!important;
  border-bottom:1px solid rgba(106,194,225,.16)!important;
}
.sidebar-nav.app-tabs{
  margin-top:10px!important;
  gap:2px!important;
}
.sidebar-nav .sidebar-nav-item,
.sidebar-nav .app-tab{
  min-height:40px!important;
  padding:9px 12px!important;
  gap:10px!important;
  border:1px solid transparent!important;
  border-bottom-color:rgba(106,194,225,.10)!important;
  border-radius:10px!important;
}
.sidebar-nav .sidebar-nav-item + .sidebar-nav-item,
.sidebar-nav .app-tab + .app-tab{
  margin-top:2px!important;
}
.sidebar-nav .sidebar-nav-item:last-child,
.sidebar-nav .app-tab:last-child{
  border-bottom-color:rgba(106,194,225,.16)!important;
}

/* 2) Main titles must be the strongest hierarchy and non-white. */
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title,
#tab-dashboard .monitor-title,
#tab-dashboard .market-section-title,
#tab-dashboard .admin-section-title{
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.18!important;
  letter-spacing:-0.02em!important;
  color:#74d9ff!important;
}
#tab-dashboard .monitor-meta,
.cockpit-panel .monitor-meta{
  font-size:10px!important;
}

/* 3) Subtitles / focal data should stay below main-title scale. */
.cockpit-market-grid .market-card-label,
.cockpit-market-grid-top .market-card-label{
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.24!important;
  color:#ecf7fd!important;
}
.cockpit-market-grid .market-card-value,
.cockpit-market-grid-top .market-card-value{
  font-size:18px!important;
}
.cockpit-strategy-name strong{
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.28!important;
}
.cockpit-position-table td strong,
.cockpit-position-table tbody td:first-child strong{
  font-size:12px!important;
  font-weight:700!important;
}
.cockpit-signal-name strong{
  font-size:12px!important;
  font-weight:700!important;
}
.cockpit-next-run-panel .cockpit-next-run-time,
.cockpit-next-run-time{
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.12!important;
  color:#72cfff!important;
}
.cockpit-next-run-panel .cockpit-next-run-summary,
.cockpit-next-run-summary{
  font-size:11px!important;
}

/* Keep section-title stronger than queue/event row text on responsive breakpoints too. */
@media (max-width:1100px){
  .monitor-title,
  .market-section-title,
  .admin-section-title,
  .trade-page-title,
  .admin-title,
  .cockpit-inner-title,
  .status-subsection-title,
  .state-manager-section-title,
  #tab-dashboard .monitor-title{
    font-size:17px!important;
  }
  .sidebar-nav .sidebar-nav-item,
  .sidebar-nav .app-tab{
    min-height:39px!important;
    padding:8px 11px!important;
    font-size:13px!important;
  }
  .cockpit-market-grid .market-card-label,
  .cockpit-market-grid-top .market-card-label{font-size:11px!important;}
  .cockpit-strategy-name strong{font-size:12px!important;}
  .cockpit-signal-name strong{font-size:11px!important;}
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:17px!important;}
}
@media (max-width:768px){
  .monitor-title,
  .market-section-title,
  .admin-section-title,
  .trade-page-title,
  .admin-title,
  .cockpit-inner-title,
  .status-subsection-title,
  .state-manager-section-title,
  #tab-dashboard .monitor-title{
    font-size:16px!important;
  }
  .sidebar-brand{
    padding-bottom:10px!important;
  }
  .sidebar-nav.app-tabs{
    gap:1px!important;
    margin-top:8px!important;
  }
  .sidebar-nav .sidebar-nav-item,
  .sidebar-nav .app-tab{
    min-height:38px!important;
    padding:8px 10px!important;
    font-size:13px!important;
  }
  .cockpit-market-grid .market-card-label,
  .cockpit-market-grid-top .market-card-label{font-size:11px!important;}
  .cockpit-market-grid .market-card-value,
  .cockpit-market-grid-top .market-card-value{font-size:17px!important;}
  .cockpit-strategy-name strong{font-size:12px!important;}
  .cockpit-position-table td strong{font-size:12px!important;}
  .cockpit-signal-name strong{font-size:11px!important;}
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:16px!important;}
}

/* v3.0.40 hierarchy, base-text normalization, and route-ready dashboard */
:root{
  --kst-main-title:#f4b94f;
  --kst-main-title-size:17px;
  --kst-subtitle-size:12px;
  --kst-body-text-size:11px;
}

/* Main titles: one step smaller than v3.0.38, warm amber for clear hierarchy. */
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title,
#tab-dashboard .monitor-title,
#tab-dashboard .market-section-title,
#tab-dashboard .admin-section-title{
  font-size:var(--kst-main-title-size)!important;
  font-weight:800!important;
  line-height:1.18!important;
  color:var(--kst-main-title)!important;
}

/* Subtitles: one step smaller than v3.0.38 and always below main-title scale. */
.cockpit-market-grid .market-card-label,
.cockpit-market-grid-top .market-card-label,
.cockpit-strategy-name strong,
.cockpit-signal-name strong{
  font-size:var(--kst-subtitle-size)!important;
  line-height:1.28!important;
  font-weight:700!important;
  color:#eef7fc!important;
}
.cockpit-next-run-panel .cockpit-next-run-time,
.cockpit-next-run-time{
  font-size:16px!important;
  line-height:1.12!important;
  font-weight:700!important;
  color:#8fd7ff!important;
}

/* General dashboard text: normalize around the open-position symbol scale (RAMUSDT baseline). */
#tab-dashboard .cockpit-table-row,
#tab-dashboard .cockpit-action-runtime strong,
#tab-dashboard .cockpit-status-sub,
#tab-dashboard .cockpit-position-table td,
#tab-dashboard .cockpit-position-table th,
#tab-dashboard .cockpit-mini-table td,
#tab-dashboard .cockpit-mini-table th,
#tab-dashboard .cockpit-position-table td strong,
#tab-dashboard .cockpit-position-table tbody td:first-child strong,
#tab-dashboard .cockpit-signal-name span,
#tab-dashboard .cockpit-signal-bottom,
#tab-dashboard .cockpit-exception-chip em,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-event strong,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-date,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-time{
  font-size:var(--kst-body-text-size)!important;
}

/* Metadata stays subordinate to general text. */
#tab-dashboard .cockpit-strategy-meta > span:last-child,
#tab-dashboard .cockpit-action-runtime span,
#tab-dashboard .cockpit-mini-meta,
#tab-dashboard .market-card-symbol,
#tab-dashboard .market-card-source-inline,
#tab-dashboard .market-card-change,
#tab-dashboard .monitor-meta{
  font-size:9px!important;
}

/* Queue rows are explicitly actionable and provide hover feedback before routing to Scheduler. */
#cockpit-strategy-queue [data-cockpit-target-id]{
  cursor:pointer!important;
}
#cockpit-strategy-queue [data-cockpit-target-id]:hover{
  border-color:rgba(244,185,79,.42)!important;
  background:#0d2232!important;
}

/* Search has been removed from the application shell. */
.topbar-search-wrap,
.topbar-search,
.topbar-search-kbd,
.topbar-search-icon,
.topbar-spacer{
  display:none!important;
}

@media (max-width:1100px){
  :root{
    --kst-main-title-size:16px;
    --kst-subtitle-size:11px;
    --kst-body-text-size:11px;
  }
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:15px!important;}
}
@media (max-width:768px){
  :root{
    --kst-main-title-size:15px;
    --kst-subtitle-size:11px;
    --kst-body-text-size:11px;
  }
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:14px!important;}
}

/* v3.0.40 final hierarchy calibration */
:root{--kst-subtitle-size:11px;}
.cockpit-strategy-name strong{font-size:12px!important;}
.cockpit-next-run-panel .cockpit-next-run-time,
.cockpit-next-run-time{font-size:15px!important;}
@media (max-width:1100px){
  .cockpit-strategy-name strong{font-size:12px!important;}
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:14px!important;}
}
@media (max-width:768px){
  .cockpit-strategy-name strong{font-size:11px!important;}
  .cockpit-next-run-panel .cockpit-next-run-time,
  .cockpit-next-run-time{font-size:14px!important;}
}


/* v3.0.40 dashboard layout rebalance: teal-blue titles, wider market cards, position qty column, and lower action row */
:root{
  --kst-main-title:#5ed6c0;
}
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title,
#tab-dashboard .monitor-title,
#tab-dashboard .market-section-title,
#tab-dashboard .admin-section-title{
  color:var(--kst-main-title)!important;
}
#tab-dashboard .cockpit-market-grid,
#tab-dashboard .cockpit-market-grid-top{
  grid-template-columns:repeat(auto-fit,minmax(186px,1fr))!important;
}
#tab-dashboard .cockpit-market-grid .market-card,
#tab-dashboard .cockpit-market-grid-top .market-card{
  min-width:0!important;
}
#tab-dashboard .cockpit-market-grid .market-card-value,
#tab-dashboard .cockpit-market-grid-top .market-card-value{
  display:block!important;
  width:100%!important;
  letter-spacing:-0.04em!important;
}
#tab-dashboard .cockpit-primary-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.28fr) minmax(0,0.98fr) minmax(320px,0.88fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  margin-bottom:12px!important;
}
#tab-dashboard .cockpit-secondary-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  margin-bottom:14px!important;
}
#tab-dashboard .cockpit-primary-grid > .monitor-card,
#tab-dashboard .cockpit-secondary-grid > .monitor-card{
  margin:0!important;
  min-width:0!important;
}
#tab-dashboard .cockpit-primary-grid > .monitor-card{
  min-height:530px!important;
}
#tab-dashboard .cockpit-secondary-grid > .monitor-card{
  min-height:208px!important;
}
#tab-dashboard .cockpit-position-panel,
#tab-dashboard .cockpit-order-panel{
  display:flex!important;
  flex-direction:column!important;
}
#tab-dashboard .cockpit-open-position-subsection,
#tab-dashboard .cockpit-order-subsection{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-top:7px!important;
}
#tab-dashboard #cockpit-open-positions,
#tab-dashboard #cockpit-order-events{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
}
#tab-dashboard .cockpit-position-panel .cockpit-position-summary{
  flex:0 0 auto!important;
}
#tab-dashboard .cockpit-position-panel .cockpit-subsection-head,
#tab-dashboard .cockpit-order-panel .cockpit-subsection-head{
  flex:0 0 auto!important;
}
#tab-dashboard .cockpit-position-table th:nth-child(1),
#tab-dashboard .cockpit-position-table td:nth-child(1){width:28%!important;}
#tab-dashboard .cockpit-position-table th:nth-child(2),
#tab-dashboard .cockpit-position-table td:nth-child(2){width:14%!important;}
#tab-dashboard .cockpit-position-table th:nth-child(3),
#tab-dashboard .cockpit-position-table td:nth-child(3){width:14%!important;text-align:right!important;}
#tab-dashboard .cockpit-position-table th:nth-child(4),
#tab-dashboard .cockpit-position-table td:nth-child(4){width:24%!important;text-align:right!important;}
#tab-dashboard .cockpit-position-table th:nth-child(5),
#tab-dashboard .cockpit-position-table td:nth-child(5){width:20%!important;text-align:right!important;}
#tab-dashboard .cockpit-pos-qty{font-size:11px!important;}
#tab-dashboard .cockpit-pos-number{font-size:12px!important;font-weight:600!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table td,
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th{
  white-space:nowrap!important;
}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(1),
#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(1){width:18%!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(2),
#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(2){width:30%!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(3),
#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(3){width:24%!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(4),
#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(4){width:28%!important;}
#tab-dashboard .cockpit-dashboard-calendar .cockpit-calendar-head,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-date,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-time,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
  font-size:11px!important;
}
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
  font-weight:600!important;
}
@media (max-width:1350px){
  #tab-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)!important;
  }
  #tab-dashboard .cockpit-order-panel{
    grid-column:1 / -1!important;
    min-height:270px!important;
  }
  #tab-dashboard .cockpit-secondary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #tab-dashboard .cockpit-exception-panel{
    grid-column:1 / -1!important;
  }
}
@media (max-width:900px){
  #tab-dashboard .cockpit-primary-grid,
  #tab-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr!important;
  }
  #tab-dashboard .cockpit-primary-grid > .monitor-card,
  #tab-dashboard .cockpit-secondary-grid > .monitor-card{
    min-height:auto!important;
  }
}

/* v3.0.56 hotfix: isolate the new dashboard grids from legacy cockpit grid-area rules. */
#tab-dashboard .cockpit-primary-grid > .cockpit-queue-panel,
#tab-dashboard .cockpit-primary-grid > .cockpit-position-panel,
#tab-dashboard .cockpit-primary-grid > .cockpit-order-panel{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:530px!important;
  min-height:530px!important;
  max-height:530px!important;
  align-self:stretch!important;
}
#tab-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,
#tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:220px!important;
  min-height:220px!important;
  max-height:220px!important;
  align-self:stretch!important;
}
#tab-dashboard .cockpit-secondary-grid > #cockpit-next-run-card{
  grid-column:auto!important;
}
#tab-dashboard .cockpit-signal-panel,
#tab-dashboard .cockpit-exception-panel,
#tab-dashboard .cockpit-next-run-panel{
  overflow:hidden!important;
}
#tab-dashboard #cockpit-strategy-queue{
  max-height:none!important;
  flex:1 1 auto!important;
}
#tab-dashboard .cockpit-queue-panel{
  display:flex!important;
  flex-direction:column!important;
}
#tab-dashboard .cockpit-queue-panel .cockpit-table{
  flex:1 1 auto!important;
  min-height:0!important;
}
#tab-dashboard .cockpit-queue-panel .cockpit-table-body{
  overflow-y:auto!important;
  min-height:0!important;
}

/* Keep Market Snapshot compact on wide screens; expand the numeral glyph spacing, not the cards. */
#tab-dashboard .cockpit-market-grid,
#tab-dashboard .cockpit-market-grid-top{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
#tab-dashboard .cockpit-market-grid .market-card-value,
#tab-dashboard .cockpit-market-grid-top .market-card-value{
  letter-spacing:.01em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}

@media (max-width:1600px){
  #tab-dashboard .cockpit-market-grid,
  #tab-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}
@media (max-width:1350px){
  #tab-dashboard .cockpit-primary-grid > .cockpit-queue-panel,
  #tab-dashboard .cockpit-primary-grid > .cockpit-position-panel{
    height:520px!important;
    min-height:520px!important;
    max-height:520px!important;
  }
  #tab-dashboard .cockpit-primary-grid > .cockpit-order-panel{
    grid-column:1 / -1!important;
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
  }
  #tab-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,
  #tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel{
    height:220px!important;
    min-height:220px!important;
    max-height:220px!important;
  }
  #tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    grid-column:1 / -1!important;
    height:auto!important;
    min-height:210px!important;
    max-height:none!important;
  }
}
@media (max-width:1100px){
  #tab-dashboard .cockpit-market-grid,
  #tab-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:900px){
  #tab-dashboard .cockpit-primary-grid > .cockpit-queue-panel,
  #tab-dashboard .cockpit-primary-grid > .cockpit-position-panel,
  #tab-dashboard .cockpit-primary-grid > .cockpit-order-panel,
  #tab-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,
  #tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    grid-column:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
}
@media (max-width:760px){
  #tab-dashboard .cockpit-market-grid,
  #tab-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* v3.0.56 top operations strip + two-column health row */
#tab-dashboard .cockpit-top-ops-grid{
  display:grid!important;
  grid-template-columns:minmax(0,2.4fr) minmax(180px,.72fr) minmax(220px,.88fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  margin-bottom:10px!important;
}
#tab-dashboard .cockpit-top-ops-grid > .monitor-card{
  margin:0!important;
  min-width:0!important;
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  overflow:hidden!important;
}
#tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto 1fr!important;
  column-gap:12px!important;
  padding:9px 11px!important;
}
#tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .monitor-header{
  grid-column:1 / -1!important;
  margin-bottom:1px!important;
}
#tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .cockpit-next-run-time{
  grid-column:1!important;
  font-size:17px!important;
  line-height:1.05!important;
}
#tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .cockpit-status-sub{
  grid-column:1!important;
  font-size:9px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .cockpit-next-run-detail{
  grid-column:2!important;
  grid-row:2 / 4!important;
  align-self:end!important;
  max-width:360px!important;
  font-size:8px!important;
  line-height:1.2!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-resource-mini{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 12px!important;
}
#tab-dashboard .cockpit-resource-mini .cockpit-metric-head{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
#tab-dashboard .cockpit-resource-mini .cockpit-status-label{
  font-size:11px!important;
}
#tab-dashboard .cockpit-resource-mini .cockpit-metric-head strong{
  font-size:16px!important;
  font-weight:600!important;
}
#tab-dashboard .cockpit-market-overview{
  margin-bottom:10px!important;
}
#tab-dashboard .cockpit-secondary-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
#tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:250px!important;
  min-height:250px!important;
  max-height:250px!important;
  align-self:stretch!important;
}
#tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  padding:10px!important;
}
#tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel{
  overflow:hidden!important;
}
#tab-dashboard .cockpit-secondary-grid #cockpit-signal-health{
  max-height:198px!important;
}
@media (max-width:1350px){
  #tab-dashboard .cockpit-top-ops-grid{
    grid-template-columns:minmax(0,1.7fr) minmax(150px,.7fr) minmax(190px,.82fr)!important;
  }
  #tab-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr 1fr!important;
  }
  #tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    grid-column:auto!important;
    height:250px!important;
    min-height:250px!important;
    max-height:250px!important;
  }
}
@media (max-width:900px){
  #tab-dashboard .cockpit-top-ops-grid{
    grid-template-columns:1fr 1fr!important;
  }
  #tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card{
    grid-column:1 / -1!important;
    height:92px!important;
    min-height:92px!important;
    max-height:92px!important;
  }
  #tab-dashboard .cockpit-top-ops-grid > .cockpit-resource-mini{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
  }
  #tab-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr!important;
  }
  #tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    height:auto!important;
    min-height:220px!important;
    max-height:none!important;
  }
}
@media (max-width:520px){
  #tab-dashboard .cockpit-top-ops-grid{
    grid-template-columns:1fr!important;
  }
  #tab-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card,
  #tab-dashboard .cockpit-top-ops-grid > .cockpit-resource-mini{
    grid-column:auto!important;
  }
}


/* v3.0.56 topbar runtime strip + simplified dashboard section naming */
.app-topbar{
  position:static!important;
  top:auto!important;
  height:auto!important;
  min-height:62px!important;
  padding:7px 14px!important;
  backdrop-filter:none!important;
}
.topbar-left{flex:0 0 auto!important;}
.topbar-right{
  flex:1 1 auto!important;
  width:100%!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
.topbar-ops-cluster{
  display:grid!important;
  grid-template-columns:minmax(310px,1.7fr) minmax(118px,.55fr) minmax(160px,.72fr)!important;
  gap:7px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  max-width:940px!important;
}
.topbar-op-card{
  position:relative!important;
  min-width:0!important;
  height:48px!important;
  padding:6px 9px!important;
  border:1px solid rgba(71,142,178,.28)!important;
  border-radius:9px!important;
  background:#091a29!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.topbar-next-run{
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:9px!important;
}
.topbar-next-run .topbar-op-label{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
}
.topbar-next-run .cockpit-next-run-time{
  grid-column:2!important;
  grid-row:1!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#72cfff!important;
  white-space:nowrap!important;
}
.topbar-next-run .topbar-op-badge{
  grid-column:3!important;
  grid-row:1!important;
  font-size:7px!important;
  color:#718b9b!important;
  white-space:nowrap!important;
}
.topbar-next-run .topbar-op-sub{
  grid-column:1 / 2!important;
  grid-row:2!important;
  font-size:7px!important;
  color:#8fa9b9!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topbar-next-run .topbar-op-detail{
  grid-column:2 / 4!important;
  grid-row:2!important;
  font-size:7px!important;
  color:#597b90!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topbar-resource-card{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.topbar-op-label{
  font-size:9px!important;
  font-weight:700!important;
  color:#dceaf2!important;
}
.topbar-resource-card strong{
  font-size:14px!important;
  font-weight:600!important;
  color:#f2f8fb!important;
  white-space:nowrap!important;
}
/* The dashboard top operations strip moved into the topbar. */
#tab-dashboard .cockpit-top-ops-grid{display:none!important;}

/* Cached Data and Exceptions receive more vertical room. */
#tab-dashboard .cockpit-secondary-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}
#tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  height:340px!important;
  min-height:340px!important;
  max-height:340px!important;
}
#tab-dashboard .cockpit-secondary-grid #cockpit-signal-health{
  max-height:284px!important;
}

/* Market Calendar typography +1 step. */
#tab-dashboard .cockpit-dashboard-calendar .cockpit-calendar-head,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-date,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-time,
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
  font-size:12px!important;
}
#tab-dashboard .cockpit-dashboard-calendar .market-calendar-relative{
  font-size:9px!important;
}

@media (max-width:1500px){
  .topbar-ops-cluster{
    grid-template-columns:minmax(260px,1.5fr) minmax(100px,.5fr) minmax(145px,.68fr)!important;
    max-width:760px!important;
  }
  .topbar-clock-card{min-width:210px!important;}
}
@media (max-width:1260px){
  .app-topbar{flex-wrap:wrap!important;}
  .topbar-right{flex-wrap:wrap!important;}
  .topbar-ops-cluster{order:2;max-width:none!important;width:100%!important;flex-basis:100%!important;}
}
@media (max-width:900px){
  .topbar-ops-cluster{
    grid-template-columns:minmax(0,1.55fr) minmax(90px,.55fr) minmax(130px,.7fr)!important;
  }
  #tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    height:auto!important;
    min-height:300px!important;
    max-height:none!important;
  }
}
@media (max-width:760px){
  .app-topbar{
    position:static!important;
    padding:7px 9px!important;
  }
  .topbar-right{display:flex!important;}
  .topbar-clock-card,.topbar-version,.topbar-user{display:none!important;}
  .topbar-ops-cluster{
    grid-template-columns:1fr 1fr!important;
  }
  .topbar-next-run{
    grid-column:1 / -1!important;
  }
  .topbar-op-card{height:52px!important;}
}

/* v3.0.56 topbar single-row alignment + dashboard-only global header */
.app-topbar[hidden]{
  display:none!important;
}
.app-topbar{
  display:flex!important;
  position:static!important;
  top:auto!important;
  min-height:62px!important;
  height:62px!important;
  padding:7px 14px!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
}
.topbar-left{
  display:none!important;
  flex:0 0 auto!important;
}
.topbar-right{
  display:grid!important;
  grid-template-columns:minmax(390px,1.75fr) minmax(105px,.45fr) minmax(165px,.68fr) minmax(220px,.86fr) auto 36px!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  flex:1 1 auto!important;
  flex-wrap:nowrap!important;
}
.topbar-ops-cluster{
  display:contents!important;
}
.topbar-op-card,
.topbar-clock-card,
.topbar-version,
.topbar-user{
  margin:0!important;
  align-self:center!important;
}
.topbar-op-card{
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
}
.topbar-next-run{
  min-width:0!important;
}
.topbar-clock-card{
  min-width:0!important;
  width:100%!important;
}
.topbar-version{
  min-width:max-content!important;
  height:40px!important;
}
.topbar-user{
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
}
.page-nav-toggle{
  display:none;
}

/* On non-Main routes, the global runtime header is removed entirely. */
body:not(.view-dashboard) .app-topbar{
  display:none!important;
}

@media (max-width:1500px){
  .topbar-right{
    grid-template-columns:minmax(330px,1.55fr) minmax(92px,.42fr) minmax(145px,.64fr) minmax(190px,.82fr) auto 34px!important;
  }
  .topbar-clock-card{min-width:0!important;}
}

@media (max-width:1100px){
  .app-topbar{
    min-height:60px!important;
    height:60px!important;
    padding:6px 8px!important;
  }
  .topbar-left{
    display:flex!important;
    align-items:center!important;
  }
  .topbar-icon-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .topbar-right{
    grid-template-columns:minmax(220px,1.45fr) minmax(80px,.5fr) minmax(120px,.72fr)!important;
    gap:6px!important;
  }
  .topbar-clock-card,
  .topbar-version,
  .topbar-user{
    display:none!important;
  }
  .topbar-op-card{
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
  }
  body:not(.view-dashboard) .page-nav-toggle{
    display:inline-flex!important;
    position:fixed;
    top:10px;
    left:10px;
    z-index:65;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(77,216,255,.22);
    border-radius:10px;
    background:#091a29;
    color:#a9c8d8;
    font-size:17px;
    cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
  }
}

@media (max-width:620px){
  .app-topbar{
    min-height:58px!important;
    height:58px!important;
    padding:5px 6px!important;
    gap:5px!important;
  }
  .topbar-left{margin-right:0!important;}
  .topbar-icon-btn{
    width:36px!important;
    height:36px!important;
  }
  .topbar-right{
    grid-template-columns:minmax(165px,1.35fr) minmax(64px,.48fr) minmax(96px,.72fr)!important;
    gap:5px!important;
  }
  .topbar-op-card{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:5px 7px!important;
  }
  .topbar-next-run .cockpit-next-run-time{
    font-size:13px!important;
  }
  .topbar-next-run .topbar-op-badge{
    display:none!important;
  }
  .topbar-next-run .topbar-op-sub,
  .topbar-next-run .topbar-op-detail{
    font-size:6.5px!important;
  }
  .topbar-resource-card .topbar-op-label{
    font-size:8px!important;
  }
  .topbar-resource-card strong{
    font-size:12px!important;
  }
  #cockpit-ram-label{
    max-width:62%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

/* v3.0.56 compact one-line runtime header hotfix */
/* Desktop: use a simple non-wrapping flex row instead of the oversized grid tracks. */
@media (min-width:1101px){
  .app-topbar{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .topbar-right{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .topbar-ops-cluster{
    display:flex!important;
    align-items:center!important;
    flex:0 1 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    gap:7px!important;
  }
  #cockpit-next-run-card{
    flex:0 1 360px!important;
    width:360px!important;
    min-width:280px!important;
    max-width:360px!important;
  }
  #cockpit-cpu-card{
    flex:0 0 110px!important;
    width:110px!important;
    min-width:110px!important;
    max-width:110px!important;
  }
  #cockpit-ram-card{
    flex:0 0 195px!important;
    width:195px!important;
    min-width:195px!important;
    max-width:195px!important;
  }
  .topbar-clock-card{
    flex:0 0 220px!important;
    width:220px!important;
    min-width:220px!important;
    max-width:220px!important;
  }
  .topbar-version{
    flex:0 0 auto!important;
    min-width:118px!important;
    max-width:132px!important;
    padding-inline:10px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .topbar-user{
    flex:0 0 36px!important;
  }
  .topbar-next-run .topbar-op-detail{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* Mid-size desktop: compact every runtime card before allowing any wrap. */
@media (min-width:1101px) and (max-width:1400px){
  .topbar-right{gap:5px!important;}
  .topbar-ops-cluster{gap:5px!important;}
  #cockpit-next-run-card{
    flex-basis:260px!important;
    width:260px!important;
    min-width:240px!important;
    max-width:260px!important;
  }
  #cockpit-cpu-card{
    flex-basis:82px!important;
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  #cockpit-ram-card{
    flex-basis:148px!important;
    width:148px!important;
    min-width:148px!important;
    max-width:148px!important;
  }
  .topbar-clock-card{
    flex-basis:174px!important;
    width:174px!important;
    min-width:174px!important;
    max-width:174px!important;
    padding-inline:8px!important;
  }
  .topbar-version{
    min-width:112px!important;
    max-width:112px!important;
    padding-inline:7px!important;
    font-size:8.5px!important;
  }
  .topbar-user{
    flex-basis:34px!important;
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
  }
  .topbar-next-run .cockpit-next-run-time{font-size:13px!important;}
  .topbar-next-run .topbar-op-badge{display:none!important;}
  .topbar-resource-card strong{font-size:12px!important;}
  .topbar-resource-card .topbar-op-label{font-size:8px!important;}
  #cockpit-ram-label{
    max-width:68%!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
}

/* v3.0.56 final desktop ordering guard: neutralize older <=1260px wrap/order rules. */
@media (min-width:1101px){
  .topbar-ops-cluster{
    order:0!important;
    width:auto!important;
    flex-basis:auto!important;
  }
  .topbar-clock-card{order:0!important;}
  .topbar-version{
    order:0!important;
    display:flex!important;
  }
  .topbar-user{
    order:0!important;
    display:flex!important;
  }
}

/* v3.0.56 trading identity + compact runtime header + CPU sparkline */
.sidebar-brand-compact{
  min-height:58px!important;
  padding:10px 10px 12px!important;
  justify-content:flex-start!important;
}
.sidebar-brand-compact .sidebar-brand-mark{
  width:38px!important;
  height:38px!important;
  font-size:17px!important;
  border-radius:11px!important;
}

.topbar-trading-brand{
  flex:0 0 318px;
  min-width:0;
  height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 8px 0 2px;
  overflow:hidden;
}
.topbar-candles{
  flex:0 0 48px;
  width:48px;
  height:32px;
  overflow:visible;
}
.topbar-candles line{
  stroke:#78d9ff;
  stroke-width:1.5;
}
.topbar-candles rect:nth-of-type(1),
.topbar-candles rect:nth-of-type(3){fill:#18d7bc;}
.topbar-candles rect:nth-of-type(2){fill:#ff5d73;}
.topbar-trading-brand-copy{
  display:flex;
  align-items:baseline;
  gap:7px;
  min-width:max-content;
  line-height:1;
}
.topbar-trading-brand-copy strong{
  color:#f3f8fc;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.025em;
}
.topbar-trading-brand-copy span{
  color:#36d9e8;
  font-size:16px;
  font-weight:500;
  letter-spacing:-.01em;
}
.topbar-brand-trend{
  flex:1 1 auto;
  min-width:38px;
  max-width:72px;
  height:26px;
}
.topbar-brand-trend polyline{
  fill:none;
  stroke:#35cfff;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Main route topbar: brand -> next run -> CPU -> RAM -> clocks -> version. */
@media (min-width:1101px){
  .app-topbar{
    overflow:visible!important;
  }
  .topbar-right{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    justify-content:flex-end!important;
    overflow:hidden!important;
  }
  .topbar-ops-cluster{
    flex:0 1 auto!important;
    min-width:0!important;
  }
  #cockpit-next-run-card{
    flex:0 1 270px!important;
    width:270px!important;
    min-width:220px!important;
    max-width:270px!important;
  }
  #cockpit-cpu-card{
    flex:0 0 130px!important;
    width:130px!important;
    min-width:130px!important;
    max-width:130px!important;
  }
  #cockpit-ram-card{
    flex:0 0 175px!important;
    width:175px!important;
    min-width:175px!important;
    max-width:175px!important;
  }
  .topbar-clock-card{
    flex:0 0 205px!important;
    width:205px!important;
    min-width:205px!important;
    max-width:205px!important;
  }
  .topbar-version{
    flex:0 0 118px!important;
    min-width:118px!important;
    max-width:118px!important;
  }
}

.topbar-resource-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  width:100%;
}
.topbar-cpu-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:3px!important;
}
.topbar-cpu-sparkline{
  display:block;
  width:100%;
  height:11px;
  opacity:.92;
  overflow:visible;
}
.topbar-cpu-sparkline polyline{
  fill:none;
  stroke:#28d8c5;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}

/* Lightweight trading-console glyphs: decorative only, never data-bearing. */
#tab-dashboard .cockpit-market-overview .monitor-title::before{content:"▥";}
#tab-dashboard .cockpit-queue-panel .monitor-title::before{content:"◎";}
#tab-dashboard .cockpit-position-panel .monitor-title::before{content:"▮";}
#tab-dashboard .cockpit-order-panel .monitor-title::before{content:"▤";}
#tab-dashboard .cockpit-signal-panel .monitor-title::before{content:"◉";}
#tab-dashboard .cockpit-exception-panel .monitor-title::before{content:"△";}
#tab-dashboard .cockpit-dashboard-calendar .monitor-title::before{content:"≋";}
#tab-dashboard .monitor-title::before{
  display:inline-flex;
  width:18px;
  margin-right:6px;
  align-items:center;
  justify-content:center;
  color:#31d7e4;
  font-size:.9em;
  font-weight:700;
}

@media (min-width:1101px) and (max-width:1400px){
  .topbar-trading-brand{
    flex-basis:230px;
    width:230px;
    max-width:230px;
    gap:7px;
  }
  .topbar-candles{flex-basis:38px;width:38px;height:28px;}
  .topbar-trading-brand-copy strong{font-size:16px;}
  .topbar-trading-brand-copy span{font-size:13px;}
  .topbar-brand-trend{display:none;}
  #cockpit-next-run-card{
    flex-basis:220px!important;
    width:220px!important;
    min-width:200px!important;
    max-width:220px!important;
  }
  #cockpit-cpu-card{
    flex-basis:105px!important;
    width:105px!important;
    min-width:105px!important;
    max-width:105px!important;
  }
  #cockpit-ram-card{
    flex-basis:145px!important;
    width:145px!important;
    min-width:145px!important;
    max-width:145px!important;
  }
  .topbar-clock-card{
    flex-basis:165px!important;
    width:165px!important;
    min-width:165px!important;
    max-width:165px!important;
  }
  .topbar-version{
    flex-basis:104px!important;
    min-width:104px!important;
    max-width:104px!important;
    padding-inline:7px!important;
  }
}

@media (max-width:1100px){
  .topbar-trading-brand{
    flex:0 0 170px;
    width:170px;
    height:46px;
    gap:6px;
    padding-right:4px;
  }
  .topbar-candles{flex-basis:32px;width:32px;height:25px;}
  .topbar-trading-brand-copy{display:grid;gap:1px;align-items:center;}
  .topbar-trading-brand-copy strong{font-size:13px;}
  .topbar-trading-brand-copy span{font-size:10px;}
  .topbar-brand-trend{display:none;}
  .topbar-right{
    flex:1 1 auto!important;
    width:auto!important;
  }
  .topbar-cpu-sparkline{height:9px;}
}

@media (max-width:620px){
  .topbar-trading-brand{display:none!important;}
}

/* v3.0.56 final header alignment guard */
@media (min-width:1101px){
  .topbar-right{justify-content:flex-start!important;}
  .topbar-clock-card{margin-left:auto!important;}
}
@media (min-width:1101px) and (max-width:1250px){
  .topbar-trading-brand{
    flex-basis:180px!important;
    width:180px!important;
    max-width:180px!important;
  }
  .topbar-candles{flex-basis:30px!important;width:30px!important;}
  .topbar-trading-brand-copy strong{font-size:14px!important;}
  .topbar-trading-brand-copy span{font-size:11px!important;}
  #cockpit-next-run-card{
    flex-basis:190px!important;
    width:190px!important;
    min-width:180px!important;
    max-width:190px!important;
  }
  #cockpit-cpu-card{
    flex-basis:90px!important;
    width:90px!important;
    min-width:90px!important;
    max-width:90px!important;
  }
  #cockpit-ram-card{
    flex-basis:130px!important;
    width:130px!important;
    min-width:130px!important;
    max-width:130px!important;
  }
  .topbar-clock-card{
    flex-basis:150px!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
  }
  .topbar-version{
    flex-basis:92px!important;
    min-width:92px!important;
    max-width:92px!important;
  }
}
@media (max-width:620px){
  .app-topbar{
    align-items:center!important;
    overflow:hidden!important;
  }
  .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 68px 104px!important;
    align-items:center!important;
    align-self:center!important;
    width:auto!important;
    min-width:0!important;
    height:46px!important;
    gap:5px!important;
  }
  .topbar-ops-cluster{display:contents!important;}
  .topbar-next-run{
    grid-column:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  #cockpit-cpu-card,
  #cockpit-ram-card{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
  .topbar-op-card{
    margin:0!important;
    align-self:center!important;
  }
  .topbar-cpu-sparkline{display:none!important;}
}

/* v3.0.56 full-width runtime header + live market sparklines + sentiment widget */
@media (min-width:1401px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:minmax(300px,1.28fr) minmax(0,4.72fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .topbar-left{display:none!important;}
  .topbar-trading-brand{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    flex:none!important;
  }
  .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(290px,2fr) minmax(105px,.72fr) minmax(170px,1.12fr) minmax(205px,1.28fr) minmax(116px,.78fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .topbar-ops-cluster{display:contents!important;}
  #cockpit-next-run-card,
  #cockpit-cpu-card,
  #cockpit-ram-card,
  .topbar-clock-card,
  .topbar-version{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin-left:0!important;
    flex:none!important;
  }
  .topbar-clock-card{width:100%!important;}
  .topbar-version{justify-content:center!important;}
}
@media (min-width:1101px) and (max-width:1400px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:minmax(205px,1.15fr) minmax(0,4.85fr)!important;
    gap:6px!important;
  }
  .topbar-trading-brand{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    flex:none!important;
  }
  .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(215px,1.85fr) minmax(78px,.66fr) minmax(125px,1.02fr) minmax(158px,1.22fr) minmax(96px,.76fr)!important;
    gap:5px!important;
    width:100%!important;
    min-width:0!important;
  }
  .topbar-ops-cluster{display:contents!important;}
  #cockpit-next-run-card,
  #cockpit-cpu-card,
  #cockpit-ram-card,
  .topbar-clock-card,
  .topbar-version{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin-left:0!important;
    flex:none!important;
  }
}

/* Sidebar: replace the generic K mark with a real Fear & Greed status widget. */
.sidebar-sentiment-wrap{
  min-height:62px!important;
  height:auto!important;
  padding:8px 8px 12px!important;
}
.sidebar-fear-greed{
  --fear-greed-value:0;
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:7px 8px;
  border:1px solid rgba(74,184,210,.18);
  border-radius:10px;
  background:#091b2a;
}
.fear-greed-gauge{
  position:relative;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:conic-gradient(#20d6bb calc(var(--fear-greed-value) * 1%),#173246 0);
}
.fear-greed-gauge::after{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:#081827;
}
.fear-greed-gauge span{
  position:relative;
  z-index:1;
  font-size:12px;
  font-weight:700;
  color:#eef8fd;
  font-variant-numeric:tabular-nums;
}
.fear-greed-copy{min-width:0;line-height:1.15;}
.fear-greed-copy strong{display:block;font-size:10px;font-weight:700;color:#dcecf4;white-space:nowrap;}
.fear-greed-copy span{display:block;margin-top:2px;font-size:9px;color:#6fd9c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fear-greed-copy small{display:block;margin-top:2px;font-size:7px;color:#67879a;white-space:nowrap;}
.sidebar-fear-greed[data-tone="extreme-fear"] .fear-greed-gauge{background:conic-gradient(#ff566f calc(var(--fear-greed-value) * 1%),#173246 0);}
.sidebar-fear-greed[data-tone="fear"] .fear-greed-gauge{background:conic-gradient(#ff9f5a calc(var(--fear-greed-value) * 1%),#173246 0);}
.sidebar-fear-greed[data-tone="neutral"] .fear-greed-gauge{background:conic-gradient(#f2c85d calc(var(--fear-greed-value) * 1%),#173246 0);}
.sidebar-fear-greed[data-tone="greed"] .fear-greed-gauge,
.sidebar-fear-greed[data-tone="extreme-greed"] .fear-greed-gauge{background:conic-gradient(#20d6bb calc(var(--fear-greed-value) * 1%),#173246 0);}
.sidebar-fear-greed[data-tone="unavailable"]{opacity:.7;}

/* Market cards: actual observed price sparkline, not a decorative fake chart. */
.market-card-quote-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-top:7px;
}
.market-card-quote-copy{min-width:0;flex:1 1 auto;}
.market-card-quote-row .market-card-value{margin-top:0!important;}
.market-card-sparkline{
  flex:0 0 42%;
  width:42%;
  max-width:96px;
  min-width:48px;
  height:30px;
  overflow:visible;
  opacity:.94;
}
.market-card-sparkline polyline{
  fill:none;
  stroke:#8299aa;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.market-card-sparkline.positive polyline{stroke:#22d6b8;}
.market-card-sparkline.negative polyline{stroke:#ff5d73;}
.market-card-sparkline.flat polyline{stroke:#7f9eb2;}
.market-card-sparkline.empty{height:30px;}

/* Professional system-trader icons for operational sections. */
#tab-dashboard .cockpit-signal-panel .monitor-title::before,
#tab-dashboard .cockpit-exception-panel .monitor-title::before,
#tab-dashboard .cockpit-dashboard-calendar .monitor-title::before{
  content:none!important;
  display:none!important;
}
.section-pro-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:6px;
  vertical-align:-3px;
}
.section-pro-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:#32d7cf;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (max-width:1100px){
  .sidebar-fear-greed{grid-template-columns:34px minmax(0,1fr);padding:6px 7px;}
  .fear-greed-gauge{width:32px;height:32px;}
  .market-card-sparkline{max-width:82px;height:26px;}
}
@media (max-width:620px){
  .sidebar-sentiment-wrap{padding:7px!important;}
  .market-card-sparkline{max-width:74px;min-width:42px;height:24px;}
}

/* v3.0.56 runtime header grid safety: neutralize legacy grid spans from older cockpit layouts. */
@media (min-width:1101px){
  .topbar-right > .topbar-clock-card,
  .topbar-right > .topbar-version,
  .topbar-ops-cluster > #cockpit-next-run-card,
  .topbar-ops-cluster > #cockpit-cpu-card,
  .topbar-ops-cluster > #cockpit-ram-card{
    grid-column:auto!important;
    grid-row:auto!important;
  }
}

/* v3.0.56: compact runtime header, professional navigation, 15m OHLC mini-candles */

/* Sidebar prototype identity replaces sentiment widget. */
.sidebar-version-wrap{
  min-height:58px!important;
  padding:8px 8px 12px!important;
  display:flex!important;
  align-items:center!important;
}
.sidebar-version-widget{
  width:100%;
  min-width:0;
  padding:9px 11px;
  border:1px solid rgba(74,184,210,.18);
  border-radius:10px;
  background:#091b2a;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.sidebar-version-widget span{
  font-size:10px;
  color:#7f9dad;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.sidebar-version-widget strong{
  font-size:12px;
  font-weight:700;
  color:#6ee6d5;
  white-space:nowrap;
}

/* Professional line icons for primary navigation. */
.sidebar-nav .nav-pro-icon{
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.sidebar-nav .nav-pro-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
}
.sidebar-nav .sidebar-nav-item,
.sidebar-nav .app-tab{
  gap:12px!important;
}

/* CPU is value-only in the top header. */
.topbar-cpu-sparkline{display:none!important;}
.topbar-cpu-card{justify-content:center!important;}

/* Fear & Greed moves from sidebar into the runtime header. */
.topbar-fear-greed{
  --fear-greed-value:0;
  min-width:0;
  height:46px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:7px;
  padding:5px 8px;
  border:1px solid rgba(77,216,255,.15);
  border-radius:9px;
  background:#091a29;
  overflow:hidden;
}
.topbar-fear-greed .fear-greed-gauge{width:30px;height:30px;}
.topbar-fear-greed .fear-greed-gauge::after{inset:3px;}
.topbar-fear-greed .fear-greed-gauge span{font-size:10px;}
.topbar-fear-greed .fear-greed-copy strong{font-size:9px;}
.topbar-fear-greed .fear-greed-copy span{font-size:8px;}
.topbar-fear-greed .fear-greed-copy small{font-size:6.5px;}
.topbar-fear-greed[data-tone="extreme-fear"] .fear-greed-gauge{background:conic-gradient(#ff566f calc(var(--fear-greed-value) * 1%),#173246 0);}
.topbar-fear-greed[data-tone="fear"] .fear-greed-gauge{background:conic-gradient(#ff9f5a calc(var(--fear-greed-value) * 1%),#173246 0);}
.topbar-fear-greed[data-tone="neutral"] .fear-greed-gauge{background:conic-gradient(#f2c85d calc(var(--fear-greed-value) * 1%),#173246 0);}
.topbar-fear-greed[data-tone="greed"] .fear-greed-gauge,
.topbar-fear-greed[data-tone="extreme-greed"] .fear-greed-gauge{background:conic-gradient(#20d6bb calc(var(--fear-greed-value) * 1%),#173246 0);}
.topbar-fear-greed[data-tone="unavailable"]{opacity:.7;}
.topbar-clock-corner{justify-self:stretch!important;}

@media (min-width:1401px){
  .app-topbar{
    grid-template-columns:minmax(300px,1.22fr) minmax(0,4.78fr)!important;
  }
  .topbar-right{
    grid-template-columns:minmax(310px,2.1fr) minmax(100px,.68fr) minmax(170px,1.06fr) minmax(145px,.94fr) minmax(215px,1.34fr)!important;
    gap:7px!important;
  }
  .topbar-fear-greed,
  .topbar-clock-card{width:100%!important;min-width:0!important;max-width:none!important;}
}
@media (min-width:1101px) and (max-width:1400px){
  .app-topbar{grid-template-columns:minmax(210px,1.12fr) minmax(0,4.88fr)!important;}
  .topbar-right{
    grid-template-columns:minmax(220px,1.9fr) minmax(76px,.62fr) minmax(125px,.98fr) minmax(118px,.9fr) minmax(164px,1.24fr)!important;
    gap:5px!important;
  }
  .topbar-fear-greed .fear-greed-copy small{display:none;}
}
@media (max-width:1100px){
  .topbar-fear-greed{display:none!important;}
}

/* Real provider 15m OHLC candles replace the line sparkline when available. */
.market-candle-wrap{
  position:relative;
  flex:0 0 44%;
  width:44%;
  max-width:104px;
  min-width:54px;
  height:34px;
  overflow:hidden;
}
.market-candle-chart{
  width:100%;
  height:100%;
  overflow:visible;
}
.market-candle line{
  stroke-width:1;
  vector-effect:non-scaling-stroke;
}
.market-candle rect{
  stroke-width:.7;
  vector-effect:non-scaling-stroke;
}
.market-candle.up line,.market-candle.up rect{stroke:#21d8b7;fill:#21d8b7;}
.market-candle.down line,.market-candle.down rect{stroke:#ff5d73;fill:#ff5d73;}
@media (max-width:1100px){
  .market-candle-wrap{max-width:88px;height:30px;}
}
@media (max-width:620px){
  .market-candle-wrap{max-width:78px;min-width:44px;height:27px;}
}

/* v3.0.56 cached-data density + responsive route-header collision fix */
#tab-dashboard #cockpit-signal-health{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  align-content:start!important;
  max-height:284px!important;
  overflow-y:auto!important;
}
#tab-dashboard #cockpit-signal-health .cockpit-signal-row{
  min-width:0!important;
  margin:0!important;
}

/* Non-main routes have no global topbar. Reserve a small navigation strip so
   the mobile/half-width hamburger never overlays the first page card/title. */
@media (max-width:1100px){
  body:not(.view-dashboard) .app-main{
    position:relative!important;
  }
  body:not(.view-dashboard) .tail-shell-content.wrap{
    padding-top:62px!important;
  }
  body:not(.view-dashboard) .page-nav-toggle{
    position:absolute!important;
    top:10px!important;
    left:10px!important;
    margin:0!important;
    z-index:65!important;
  }
}
@media (max-width:800px){
  #tab-dashboard #cockpit-signal-health{
    grid-template-columns:1fr!important;
  }
}

/* v3.0.56 mobile density corrections
   - Calendar date/time share the same top row.
   - Cached Data/Exceptions stack full width on mobile; one cache record per row.
   - Margin Usage and Notional Exposure split the second summary row 50/50. */
@media (max-width:800px){
  /* Cached Data + Exceptions: no side-by-side half-width squeeze on phones. */
  #tab-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  #tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  #tab-dashboard #cockpit-signal-health{
    grid-template-columns:1fr!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    gap:8px!important;
  }
  #tab-dashboard #cockpit-signal-health .cockpit-signal-row{
    width:100%!important;
    min-width:0!important;
  }

  /* Positions: Account Equity spans the full first row; the other metrics split evenly. */
  #tab-dashboard .cockpit-position-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric{
    width:auto!important;
    min-width:0!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric:first-child{
    grid-column:1 / -1!important;
  }

  /* Both the Main Dashboard calendar and the full Market page calendar use
     DATE + TIME on one compact top row, then EVENT on the next row. */
  .market-calendar-row,
  .cockpit-calendar-list .market-calendar-row,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "when time"
      "event event"!important;
    column-gap:12px!important;
    row-gap:5px!important;
    align-items:baseline!important;
    min-height:0!important;
    padding:10px 12px!important;
  }
  .market-calendar-row > div:first-child,
  .cockpit-calendar-list .market-calendar-row > div:first-child,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-row > div:first-child{
    grid-area:when!important;
    min-width:0!important;
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:wrap!important;
    gap:4px 8px!important;
  }
  .market-calendar-time,
  .cockpit-calendar-list .market-calendar-time,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-time{
    grid-area:time!important;
    justify-self:end!important;
    white-space:nowrap!important;
  }
  .market-calendar-event,
  .cockpit-calendar-list .market-calendar-event,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-event{
    grid-area:event!important;
    min-width:0!important;
  }
  .market-calendar-impact,
  .cockpit-calendar-list .market-calendar-impact,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-impact{
    display:none!important;
  }
  .market-calendar-relative,
  .cockpit-calendar-list .market-calendar-relative,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-relative{
    display:inline!important;
    margin:0!important;
    white-space:nowrap!important;
  }
}

@media (max-width:520px){
  #tab-dashboard .cockpit-position-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric:first-child{
    grid-column:1 / -1!important;
  }
  .market-calendar-row,
  .cockpit-calendar-list .market-calendar-row,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-row{
    padding:9px 10px!important;
    row-gap:4px!important;
  }
  .market-calendar-date,
  .market-calendar-time,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-date,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-time{
    font-size:11px!important;
  }
  .market-calendar-relative,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-relative{
    font-size:8px!important;
  }
  .market-calendar-event strong,
  #tab-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
    font-size:11px!important;
    line-height:1.4!important;
  }
}


/* v3.0.56 title identity + mobile strategy-control alignment */
.topbar-trading-brand-copy{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  line-height:1!important;
}
.topbar-trading-brand-copy strong{
  color:#f4fbff!important;
  font-size:22px!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
  white-space:nowrap!important;
}

@media (min-width:1101px) and (max-width:1400px){
  .topbar-trading-brand-copy strong{font-size:18px!important;}
}
@media (max-width:1100px){
  .topbar-trading-brand-copy{
    display:flex!important;
    align-items:center!important;
  }
  .topbar-trading-brand-copy strong{font-size:16px!important;}
}

/* Mobile /main Strategies: RUNNING and STOP share the upper-right control rail. */
@media (max-width:760px){
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:28px minmax(0,1fr) auto auto!important;
    grid-template-areas:
      "rank name status control"
      "rank action action action"!important;
    column-gap:6px!important;
    row-gap:7px!important;
    align-items:start!important;
    min-height:0!important;
    padding:10px 9px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(1){
    grid-area:rank!important;
    align-self:start!important;
    padding-top:2px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(2){
    grid-area:name!important;
    min-width:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){
    grid-area:status!important;
    justify-self:end!important;
    align-self:start!important;
    display:flex!important;
    align-items:center!important;
    padding-top:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){
    grid-area:action!important;
    min-width:0!important;
    padding-top:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(5){
    grid-area:control!important;
    justify-self:end!important;
    align-self:start!important;
    padding-top:0!important;
  }
  #tab-dashboard .cockpit-status-pill{
    margin:0!important;
    min-height:28px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
  #tab-dashboard .cockpit-control-btn{
    min-width:58px!important;
    min-height:28px!important;
    padding:5px 9px!important;
    margin:0!important;
  }
  #tab-dashboard .cockpit-strategy-name strong{
    display:block!important;
    padding-right:2px!important;
  }
  #tab-dashboard .cockpit-strategy-meta{
    margin-top:2px!important;
  }
  #tab-dashboard .cockpit-action-runtime{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
  }
}

@media (max-width:430px){
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:25px minmax(0,1fr) auto auto!important;
    column-gap:5px!important;
    padding:9px 8px!important;
  }
  #tab-dashboard .cockpit-status-pill{
    font-size:9px!important;
    min-height:27px!important;
    padding:4px 7px!important;
  }
  #tab-dashboard .cockpit-control-btn{
    min-width:54px!important;
    min-height:27px!important;
    font-size:9px!important;
    padding:4px 8px!important;
  }
}

/* v3.0.56 responsive product-title guard + directional market borders */

/* The decorative trend line made the product identity too busy and consumed responsive width. */
.topbar-brand-trend{display:none!important;}

/* Market direction is encoded on the card boundary as well as the daily-change text. */
.market-card.positive{
  border-color:rgba(32,214,187,.46)!important;
  box-shadow:inset 0 0 0 1px rgba(32,214,187,.045)!important;
}
.market-card.negative{
  border-color:rgba(255,93,115,.43)!important;
  box-shadow:inset 0 0 0 1px rgba(255,93,115,.04)!important;
}
.market-card.flat{
  border-color:rgba(70,151,190,.26)!important;
  box-shadow:none!important;
}
.market-card.unavailable{
  border-color:rgba(255,93,115,.28)!important;
}

/* Product title must remain intact on desktop, half-width desktop, and foldable layouts. */
.topbar-trading-brand{
  overflow:visible!important;
}
.topbar-trading-brand-copy{
  min-width:0!important;
  overflow:visible!important;
}
.topbar-trading-brand-copy strong{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Full desktop remains a compact single row. */
@media (min-width:1401px){
  .topbar-trading-brand{
    min-width:275px!important;
    padding-right:4px!important;
  }
  .topbar-trading-brand-copy strong{
    font-size:22px!important;
    font-weight:800!important;
  }
}

/* Mid-size desktop: protect the title first, compact runtime cards second. */
@media (min-width:1101px) and (max-width:1400px){
  .app-topbar{
    grid-template-columns:minmax(245px,1.22fr) minmax(0,4.78fr)!important;
  }
  .topbar-trading-brand{
    min-width:245px!important;
    gap:6px!important;
    padding-left:0!important;
  }
  .topbar-candles{
    flex:0 0 32px!important;
    width:32px!important;
    height:27px!important;
  }
  .topbar-trading-brand-copy strong{
    font-size:17px!important;
    font-weight:800!important;
  }
  .topbar-right{
    grid-template-columns:minmax(190px,1.65fr) minmax(72px,.62fr) minmax(112px,.95fr) minmax(142px,1.12fr) minmax(145px,1.12fr)!important;
  }
}

/* Half-width desktop and unfolded foldables use two deliberate rows.
   Row 1 protects the hamburger + complete product title.
   Row 2 contains only the runtime cards, so the title can never be crushed. */
@media (max-width:1100px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-areas:
      "nav brand"
      "ops ops"!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:6px!important;
    min-height:104px!important;
    height:auto!important;
    padding:7px 9px!important;
    overflow:visible!important;
  }
  .topbar-left{
    grid-area:nav!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
  }
  .topbar-trading-brand{
    grid-area:brand!important;
    display:flex!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:42px!important;
    flex:none!important;
    gap:7px!important;
    padding:0!important;
    overflow:visible!important;
  }
  .topbar-candles{
    flex:0 0 31px!important;
    width:31px!important;
    height:25px!important;
  }
  .topbar-trading-brand-copy{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
  }
  .topbar-trading-brand-copy strong{
    display:block!important;
    font-size:18px!important;
    line-height:1.05!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }
  .topbar-right{
    grid-area:ops!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
  }
  .topbar-ops-cluster{
    display:grid!important;
    grid-template-columns:minmax(0,1.65fr) minmax(78px,.48fr) minmax(116px,.72fr)!important;
    width:100%!important;
    min-width:0!important;
    gap:6px!important;
  }
  .topbar-op-card{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
  .topbar-fear-greed,
  .topbar-clock-card{
    display:none!important;
  }
}

/* Phones: keep the full title visible rather than hiding the brand. */
@media (max-width:620px){
  .app-topbar{
    grid-template-columns:38px minmax(0,1fr)!important;
    min-height:101px!important;
    padding:6px 7px!important;
    row-gap:5px!important;
  }
  .topbar-left{display:flex!important;}
  .topbar-icon-btn{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
  }
  .topbar-trading-brand{
    display:flex!important;
    height:38px!important;
    gap:5px!important;
  }
  .topbar-candles{
    flex:0 0 25px!important;
    width:25px!important;
    height:22px!important;
  }
  .topbar-trading-brand-copy strong{
    font-size:16px!important;
    font-weight:800!important;
    letter-spacing:-.025em!important;
  }
  .topbar-ops-cluster{
    grid-template-columns:minmax(0,1.55fr) 66px 102px!important;
    gap:5px!important;
  }
  .topbar-op-card{
    height:43px!important;
    min-height:43px!important;
    max-height:43px!important;
    padding:5px 6px!important;
  }
  .topbar-next-run .cockpit-next-run-time{font-size:12px!important;}
  .topbar-resource-card strong{font-size:11px!important;}
  #cockpit-ram-label{max-width:56%!important;}
}

@media (max-width:390px){
  .topbar-trading-brand-copy strong{font-size:15px!important;}
  .topbar-candles{flex-basis:22px!important;width:22px!important;}
  .topbar-ops-cluster{grid-template-columns:minmax(0,1.5fr) 61px 94px!important;}
}

/* v3.0.56 responsive route-title + compact mobile sentiment + equal resource cards */

/* Half-width desktop / unfolded foldables: CPU and RAM receive exactly the same width. */
@media (max-width:1100px){
  body.view-dashboard .topbar-ops-cluster{
    grid-template-columns:minmax(0,1.65fr) repeat(2,minmax(0,.62fr))!important;
    gap:6px!important;
  }
  body.view-dashboard #cockpit-cpu-card,
  body.view-dashboard #cockpit-ram-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  /* Non-main routes keep a compact product header instead of an empty title strip. */
  body:not(.view-dashboard) .app-topbar{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    grid-template-areas:"nav brand"!important;
    min-height:58px!important;
    height:58px!important;
    padding:7px 10px!important;
    column-gap:8px!important;
    row-gap:0!important;
    border-bottom:1px solid rgba(77,216,255,.14)!important;
    background:#07131f!important;
  }
  body:not(.view-dashboard) .topbar-left{
    grid-area:nav!important;
    display:flex!important;
    min-width:0!important;
  }
  body:not(.view-dashboard) .topbar-trading-brand{
    grid-area:brand!important;
    display:flex!important;
    min-width:0!important;
    width:auto!important;
    height:42px!important;
    padding:0!important;
    gap:7px!important;
  }
  body:not(.view-dashboard) .topbar-candles{
    flex:0 0 30px!important;
    width:30px!important;
    height:24px!important;
  }
  body:not(.view-dashboard) .topbar-trading-brand-copy strong{
    font-size:18px!important;
    font-weight:800!important;
    white-space:nowrap!important;
  }
  body:not(.view-dashboard) .topbar-right{
    display:none!important;
  }
  body:not(.view-dashboard) .page-nav-toggle{
    display:none!important;
  }
  body:not(.view-dashboard) .tail-shell-content.wrap{
    padding-top:10px!important;
  }
}

/* Folded phones: product title stays left, Fear & Greed gets a compact upper-right slot. */
@media (max-width:620px){
  body.view-dashboard .app-topbar{
    grid-template-columns:38px minmax(0,1fr) 82px!important;
    grid-template-areas:
      "nav brand fear"
      "ops ops ops"!important;
    column-gap:7px!important;
    row-gap:5px!important;
    min-height:101px!important;
  }
  body.view-dashboard .topbar-left{grid-area:nav!important;}
  body.view-dashboard .topbar-trading-brand{grid-area:brand!important;}
  body.view-dashboard .topbar-right{
    display:contents!important;
  }
  body.view-dashboard .topbar-ops-cluster{
    grid-area:ops!important;
    grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(0,.62fr))!important;
    gap:5px!important;
  }
  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    display:grid!important;
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
    height:38px!important;
    grid-template-columns:26px minmax(0,1fr)!important;
    gap:4px!important;
    padding:4px 5px!important;
    align-self:center!important;
    justify-self:end!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{
    width:26px!important;
    height:26px!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge::after{inset:3px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge span{font-size:9px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy{
    min-width:0!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy strong,
  body.view-dashboard .topbar-fear-greed .fear-greed-copy small{
    display:none!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy span{
    display:block!important;
    font-size:9px!important;
    font-weight:700!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.view-dashboard .topbar-clock-card{display:none!important;}

  /* Non-main mobile routes use the same title identity, without runtime cards. */
  body:not(.view-dashboard) .app-topbar{
    grid-template-columns:38px minmax(0,1fr)!important;
    min-height:54px!important;
    height:54px!important;
    padding:6px 8px!important;
  }
  body:not(.view-dashboard) .topbar-icon-btn{
    width:36px!important;
    height:36px!important;
  }
  body:not(.view-dashboard) .topbar-trading-brand{
    height:38px!important;
    gap:5px!important;
  }
  body:not(.view-dashboard) .topbar-candles{
    flex-basis:25px!important;
    width:25px!important;
    height:22px!important;
  }
  body:not(.view-dashboard) .topbar-trading-brand-copy strong{
    font-size:16px!important;
  }
}

@media (max-width:390px){
  body.view-dashboard .app-topbar{
    grid-template-columns:36px minmax(0,1fr) 74px!important;
    column-gap:5px!important;
  }
  body.view-dashboard .topbar-fear-greed{
    width:74px!important;
    min-width:74px!important;
    max-width:74px!important;
    grid-template-columns:24px minmax(0,1fr)!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{
    width:24px!important;
    height:24px!important;
  }
  body.view-dashboard .topbar-trading-brand-copy strong,
  body:not(.view-dashboard) .topbar-trading-brand-copy strong{
    font-size:15px!important;
  }
}


/* v3.0.56 wide-screen system/scheduler readability + dashboard cache miss count */

/* Main Dashboard cached cards carry AGE / MISS / KEY on every viewport. */
#tab-dashboard .cockpit-signal-bottom{
  display:grid!important;
  grid-template-columns:max-content max-content minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:6px 10px!important;
}
#tab-dashboard .cockpit-signal-bottom > span:last-child{
  min-width:0!important;
  text-align:right!important;
}
#tab-dashboard .cockpit-signal-miss strong{
  color:#8deaff!important;
}

/* Only genuinely wide desktops change density. Half-width/foldable/mobile retain v3.0.54 layouts. */
@media (min-width:1401px){
  /* System: four status/resource boxes per row on large screens. */
  #tab-system #admin-resource-grid,
  #tab-system #admin-system-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  /* Environment and Strategies use the same four-column field density on wide desktops. */
  #tab-system .admin-fields{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  /* Scheduler: reclaim width from Strategy, keep Monitor and Next/Runtime on one line,
     and raise table typography by one step for faster scanning. */
  #strategy-control-center .strategy-control-table-head,
  #strategy-control-center .strategy-control-row{
    grid-template-columns:
      72px
      minmax(150px,1fr)
      68px
      76px
      90px
      92px
      54px
      132px
      minmax(220px,1.28fr)
      74px!important;
    gap:10px!important;
    min-width:0!important;
  }
  #strategy-control-center .strategy-control-list{min-width:0!important;}
  #strategy-control-center .strategy-control-table-head{font-size:9px!important;}
  #strategy-control-center .strategy-control-symbol{font-size:13px!important;}
  #strategy-control-center .strategy-control-name{font-size:11px!important;}
  #strategy-control-center .strategy-control-risk-chip{font-size:9px!important;}
  #strategy-control-center .strategy-control-status{font-size:9px!important;}
  #strategy-control-center .strategy-control-engine{font-size:9px!important;}
  #strategy-control-center .strategy-control-jobs::after{font-size:10px!important;}
  #strategy-control-center .strategy-control-small{font-size:10px!important;}
  #strategy-control-center .strategy-control-next{font-size:10px!important;}
  #strategy-control-center .strategy-control-next-time{font-size:9px!important;}
  #strategy-control-center .strategy-control-action{font-size:10px!important;}
  #strategy-control-center .strategy-control-monitor-value{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    min-width:0!important;
    white-space:nowrap!important;
  }
  #strategy-control-center .strategy-control-monitor-sep{display:inline!important;}
  #strategy-control-center .strategy-control-next-value{
    display:flex!important;
    align-items:baseline!important;
    gap:6px!important;
    min-width:0!important;
    white-space:nowrap!important;
  }
}


/* v3.0.57 dashboard recent-order readability + 3-Day action detail */

/* Recent Orders: bring Time / Strategy / Action to the same visual scale as Positions. */
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th{
  font-size:11px!important;
}
#tab-dashboard .cockpit-order-panel .cockpit-order-time,
#tab-dashboard .cockpit-order-panel .cockpit-order-action,
#tab-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{
  font-size:12px!important;
  line-height:1.28!important;
}
#tab-dashboard .cockpit-order-panel .cockpit-order-time,
#tab-dashboard .cockpit-order-panel .cockpit-order-action{
  font-weight:600!important;
}
#tab-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{
  font-weight:700!important;
  color:#eef8fd!important;
}

/* Preserve the compact responsive hierarchy while still keeping orders readable. */
@media (max-width:900px){
  #tab-dashboard .cockpit-order-panel .cockpit-order-time,
  #tab-dashboard .cockpit-order-panel .cockpit-order-action,
  #tab-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{
    font-size:11px!important;
  }
}


/* v3.0.58 Market(15m) + Upbit/Binance spot expansion */
@media (min-width:1601px){
  #tab-dashboard .cockpit-market-grid,
  #tab-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
  }
}

/* v3.0.62 official listing/delisting news */
.listing-news-shell{margin-bottom:12px;}
.listing-news-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.listing-news-subtitle{
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  line-height:1.4;
}
.listing-news-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.listing-news-runtime{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.listing-news-section{margin-top:0;}
.listing-news-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.listing-news-provider{
  min-width:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(5,20,31,.72);
  overflow:hidden;
}
.listing-news-provider-head{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  background:rgba(9,31,45,.62);
}
.listing-news-provider-head > div:first-child{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.listing-news-provider-head strong{
  color:#edf9ff;
  font-size:13px;
  letter-spacing:.03em;
}
.listing-news-provider-head span{
  color:var(--muted);
  font-size:9px;
}
.listing-news-provider-status{
  flex:0 0 auto;
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px 7px;
  font-size:8px;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--muted);
}
.listing-news-provider-status.ok{color:#42e8ce;border-color:rgba(66,232,206,.45);}
.listing-news-provider-status.error{color:#ff7188;border-color:rgba(255,113,136,.45);}
.listing-news-list{display:flex;flex-direction:column;}
.listing-news-item{
  padding:10px 12px 11px;
  border-bottom:1px solid rgba(55,111,136,.28);
}
.listing-news-item:last-child{border-bottom:0;}
.listing-news-item-meta{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:6px;
  color:var(--muted);
  font-size:8px;
  line-height:1.2;
}
.listing-news-kind{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:54px;
  padding:3px 6px;
  border-radius:999px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.035em;
}
.listing-news-kind.listing{
  color:#42e8ce;
  background:rgba(34,186,157,.09);
  border:1px solid rgba(66,232,206,.34);
}
.listing-news-kind.delisting{
  color:#ff7188;
  background:rgba(184,50,74,.10);
  border:1px solid rgba(255,113,136,.35);
}
.listing-news-title{
  display:block;
  color:#edf9ff;
  font-size:11px;
  font-weight:650;
  line-height:1.42;
  text-decoration:none;
  overflow-wrap:anywhere;
}
a.listing-news-title:hover{color:#68ddff;text-decoration:underline;}
.listing-news-provider-empty,
.listing-news-empty{
  padding:18px 14px;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}
.listing-news-empty{
  grid-column:1/-1;
  border:1px solid var(--line);
  border-radius:12px;
  text-align:center;
}

@media (max-width:1400px){
  .listing-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  .listing-news-topbar{flex-direction:column;align-items:stretch;}
  .listing-news-actions{justify-content:space-between;align-items:flex-end;}
  .listing-news-runtime{justify-content:flex-start;}
  .listing-news-grid{grid-template-columns:1fr;}
  .listing-news-title{font-size:11px;}
}

/* v3.0.71 mobile Market Snapshot compact geometry */
/* v3.0.70: quote block uses its exact content height so no unused band remains below price/change. */
@media (max-width:620px){
  #tab-dashboard .cockpit-market-grid,
  #tab-dashboard .cockpit-market-grid-top{
    grid-auto-rows:96px!important;
    align-items:stretch!important;
    row-gap:5px!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card,
  #tab-dashboard .cockpit-market-grid-top .market-card{
    box-sizing:border-box!important;
    padding:7px 8px!important;
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-head,
  #tab-dashboard .cockpit-market-grid-top .market-card-head{
    flex:0 0 40px!important;
    min-height:40px!important;
    max-height:40px!important;
    overflow:hidden!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-head > div,
  #tab-dashboard .cockpit-market-grid-top .market-card-head > div{
    min-width:0!important;
    width:100%!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-label,
  #tab-dashboard .cockpit-market-grid-top .market-card-label,
  #tab-dashboard .cockpit-market-grid .market-card-symbol,
  #tab-dashboard .cockpit-market-grid-top .market-card-symbol,
  #tab-dashboard .cockpit-market-grid .market-card-source-inline,
  #tab-dashboard .cockpit-market-grid-top .market-card-source-inline{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-quote-row,
  #tab-dashboard .cockpit-market-grid-top .market-card-quote-row{
    flex:0 0 40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin-top:0!important;
    margin-bottom:0!important;
    align-items:flex-start!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-quote-copy,
  #tab-dashboard .cockpit-market-grid-top .market-card-quote-copy{
    min-width:0!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    padding-bottom:0!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-value,
  #tab-dashboard .cockpit-market-grid-top .market-card-value{
    min-height:20px!important;
    line-height:20px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-change,
  #tab-dashboard .cockpit-market-grid-top .market-card-change{
    min-height:20px!important;
    max-height:20px!important;
    line-height:10px!important;
    overflow:hidden!important;
  }
  #tab-dashboard .cockpit-market-grid .market-candle-wrap,
  #tab-dashboard .cockpit-market-grid-top .market-candle-wrap{
    flex:0 0 44%!important;
    width:44%!important;
    min-width:44px!important;
    max-width:78px!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    align-self:flex-start!important;
    margin-top:4px!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card.unavailable .market-card-value,
  #tab-dashboard .cockpit-market-grid-top .market-card.unavailable .market-card-value{
    margin-top:3px!important;
  }
  #tab-dashboard .cockpit-market-grid .market-card-foot,
  #tab-dashboard .cockpit-market-grid-top .market-card-foot{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
  }
}

/* v3.0.71 broker-aware UI foundation: Common/Binance navigation + Binance dashboard identity */
.sidebar-nav-group{
  display:block;
  min-width:0;
  border:1px solid rgba(106,194,225,.10);
  border-radius:12px;
  background:rgba(5,19,31,.34);
  overflow:hidden;
}
.sidebar-nav-group + .sidebar-nav-group{margin-top:8px;}
.sidebar-group-toggle{
  width:100%;height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:7px 9px;border:0;border-bottom:1px solid rgba(106,194,225,.10);background:rgba(8,27,42,.76);
  color:#b7cad6;cursor:pointer;text-align:left;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;
}
.sidebar-group-toggle:hover{background:rgba(20,54,75,.72);color:#eaf7ff;}
.sidebar-group-identity{min-width:0;display:flex;align-items:center;gap:8px;}
.sidebar-group-mark{
  width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  border-radius:6px;font-size:9px;font-weight:950;
}
.sidebar-group-mark.common-mark{color:#88e5ff;background:rgba(47,167,255,.10);border:1px solid rgba(78,200,255,.25);}
.sidebar-group-mark.binance-mark{color:#f0b90b;background:rgba(240,185,11,.08);border:1px solid rgba(240,185,11,.28);}
.sidebar-group-mark svg{width:15px;height:15px;fill:currentColor;}
.sidebar-group-chevron{font-size:14px;line-height:1;color:#718c9c;transition:transform .18s ease;}
.sidebar-group-items{display:flex;flex-direction:column;gap:2px;padding:4px;}
.sidebar-nav-group.collapsed .sidebar-group-items{display:none;}
.sidebar-nav-group.collapsed .sidebar-group-toggle{border-bottom-color:transparent;}
.sidebar-nav-group.collapsed .sidebar-group-chevron{transform:rotate(-90deg);}
.sidebar-nav-group .sidebar-nav-item,
.sidebar-nav-group .app-tab{border-bottom-color:transparent!important;border-radius:8px!important;}
.sidebar-nav-group.binance .sidebar-nav-item.active,
.sidebar-nav-group.binance .app-tab.active{
  background:linear-gradient(90deg,rgba(240,185,11,.18),rgba(240,185,11,.05))!important;
  border-color:rgba(240,185,11,.20)!important;
  box-shadow:inset 3px 0 0 #f0b90b!important;
}
.sidebar-nav-group.binance .sidebar-nav-item.active .sidebar-icon,
.sidebar-nav-group.binance .app-tab.active .sidebar-icon{color:#f0b90b!important;}

/* Dashboard broker zone: preserve the toolkit dark shell, add restrained Binance identity. */
#tab-dashboard .cockpit-broker-zone{
  position:relative;
  margin:0 0 10px;
  padding:10px;
  border:1px solid rgba(240,185,11,.22);
  border-radius:13px;
  background:
    linear-gradient(180deg,rgba(240,185,11,.035),rgba(6,20,33,.18) 92px),
    rgba(4,16,27,.26);
  box-shadow:inset 0 1px 0 rgba(240,185,11,.05);
}
#tab-dashboard .cockpit-broker-zone::before{
  content:"";position:absolute;left:12px;right:12px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(240,185,11,.72),transparent);
}
#tab-dashboard .cockpit-broker-zone-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:44px;margin-bottom:10px;padding:0 2px 9px;border-bottom:1px solid rgba(240,185,11,.13);
}
#tab-dashboard .cockpit-broker-brand{display:flex;align-items:center;gap:9px;min-width:0;}
#tab-dashboard .cockpit-broker-logo{
  width:31px;height:31px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  background:rgba(240,185,11,.09);border:1px solid rgba(240,185,11,.30);color:#f0b90b;
  box-shadow:0 0 18px rgba(240,185,11,.05);
}
#tab-dashboard .cockpit-broker-logo svg{width:21px;height:21px;fill:currentColor;}
#tab-dashboard .cockpit-broker-brand > div{display:grid;gap:2px;min-width:0;}
#tab-dashboard .cockpit-broker-brand strong{color:#f4ca33;font-size:13px;font-weight:900;letter-spacing:.055em;line-height:1.1;}
#tab-dashboard .cockpit-broker-brand span{color:#8fa6b4;font-size:8px;font-weight:750;letter-spacing:.055em;white-space:nowrap;}
#tab-dashboard .cockpit-broker-zone-runtime{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;}
#tab-dashboard .cockpit-broker-status{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:23px;padding:3px 8px;
  border-radius:999px;border:1px solid rgba(127,151,165,.22);background:rgba(8,25,39,.72);
  color:#9db2bf;font-size:8px;font-weight:900;letter-spacing:.05em;
}
#tab-dashboard .cockpit-broker-status.connected{color:#5ce3c7;border-color:rgba(53,221,188,.32);background:rgba(29,181,151,.07);}
#tab-dashboard .cockpit-broker-status.error{color:#ff7c8e;border-color:rgba(255,92,116,.30);background:rgba(255,92,116,.06);}
#tab-dashboard .cockpit-broker-status.loading{color:#e9c85d;border-color:rgba(240,185,11,.25);}
#tab-dashboard .cockpit-broker-meta{min-width:0;color:#7891a0;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#tab-dashboard .cockpit-binance-zone .cockpit-primary-grid{margin-bottom:12px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-secondary-grid{margin-bottom:0!important;}
#tab-dashboard .cockpit-binance-zone .monitor-card{
  border-color:rgba(240,185,11,.20)!important;
  background:
    linear-gradient(180deg,rgba(240,185,11,.025),transparent 72px),
    linear-gradient(180deg,rgba(11,27,43,.96),rgba(8,22,35,.98))!important;
}
#tab-dashboard .cockpit-binance-zone .monitor-card .monitor-title{color:#f0c84b!important;}
#tab-dashboard .cockpit-binance-zone .monitor-card .monitor-title::after{
  content:"BINANCE";display:inline-flex;align-items:center;margin-left:7px;padding:2px 5px;
  border:1px solid rgba(240,185,11,.22);border-radius:999px;background:rgba(240,185,11,.055);
  color:#b99a3d;font-size:6.5px;font-weight:850;letter-spacing:.06em;vertical-align:middle;
}
#tab-dashboard .cockpit-binance-zone .section-pro-icon{color:#f0b90b!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-badge{border-color:rgba(240,185,11,.24)!important;color:#d5b543!important;}

@media (max-width:1100px){
  .sidebar-nav-group + .sidebar-nav-group{margin-top:7px;}
  #tab-dashboard .cockpit-broker-zone{padding:9px;border-radius:12px;}
  #tab-dashboard .cockpit-broker-zone-head{min-height:40px;margin-bottom:9px;}
}
@media (max-width:620px){
  #tab-dashboard .cockpit-broker-zone{padding:7px;margin-bottom:8px;}
  #tab-dashboard .cockpit-broker-zone-head{align-items:flex-start;gap:8px;min-height:38px;padding-bottom:7px;margin-bottom:8px;}
  #tab-dashboard .cockpit-broker-logo{width:27px;height:27px;border-radius:8px;}
  #tab-dashboard .cockpit-broker-logo svg{width:18px;height:18px;}
  #tab-dashboard .cockpit-broker-brand strong{font-size:11px;}
  #tab-dashboard .cockpit-broker-brand span{font-size:7px;}
  #tab-dashboard .cockpit-broker-zone-runtime{display:grid;justify-items:end;gap:3px;}
  #tab-dashboard .cockpit-broker-status{min-height:20px;font-size:7px;padding:2px 6px;}
  #tab-dashboard .cockpit-broker-meta{max-width:120px;font-size:6.5px;}
  #tab-dashboard .cockpit-binance-zone .monitor-card .monitor-title::after{display:none;}
}


/* v3.0.72 sidebar width, hierarchy emphasis, and stronger Binance styling */
.sidebar-brand{padding:6px 10px 18px;}
.sidebar-version-widget{width:100%;min-height:44px;padding:0 16px;border-radius:13px;border:1px solid rgba(106,194,225,.16);background:linear-gradient(180deg,rgba(12,29,46,.96),rgba(8,21,35,.98));display:flex;align-items:center;justify-content:space-between;gap:12px;}
.sidebar-version-widget span{font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#91aabd;}
.sidebar-version-widget strong{font-size:24px;letter-spacing:-.02em;color:#7be0ff;}
.sidebar-nav.app-tabs{gap:10px;margin:18px 0 0;}
.sidebar-nav-group{border-radius:16px;background:linear-gradient(180deg,rgba(8,24,38,.90),rgba(5,18,30,.82));border-color:rgba(106,194,225,.14);}
.sidebar-group-toggle{height:48px;padding:10px 13px;font-size:13px;font-weight:950;letter-spacing:.09em;color:#d9e8f2;}
.sidebar-group-identity{gap:10px;}
.sidebar-group-mark{width:24px;height:24px;border-radius:8px;font-size:11px;}
.sidebar-group-mark svg{width:18px;height:18px;}
.sidebar-group-chevron{font-size:16px;}
.sidebar-group-items{gap:4px;padding:7px;}
.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{min-height:46px;padding:11px 14px;border-radius:11px;font-size:14px;font-weight:850;gap:12px;}
.sidebar-icon{width:20px;font-size:16px;}
.sidebar-nav-group.binance .sidebar-group-toggle{background:linear-gradient(180deg,rgba(43,33,11,.92),rgba(22,19,12,.78));border-bottom-color:rgba(240,185,11,.14);color:#f4d269;}
.sidebar-nav-group.binance .sidebar-group-toggle:hover{background:linear-gradient(180deg,rgba(57,43,12,.96),rgba(28,21,9,.82));color:#fff4ca;}
.sidebar-nav-group.binance .sidebar-group-mark{background:radial-gradient(circle at 35% 30%,rgba(255,222,120,.16),rgba(240,185,11,.05) 65%),linear-gradient(180deg,rgba(29,24,12,.96),rgba(20,16,9,.94));border-color:rgba(240,185,11,.36);box-shadow:inset 0 1px 0 rgba(255,221,116,.10),0 0 18px rgba(240,185,11,.08);}
.sidebar-nav-group.binance .sidebar-nav-item:hover,.sidebar-nav-group.binance .app-tab:hover{background:linear-gradient(90deg,rgba(240,185,11,.10),rgba(240,185,11,.03));border-color:rgba(240,185,11,.14);color:#f8f1db;}
.sidebar-nav-group.binance .sidebar-nav-item.active,.sidebar-nav-group.binance .app-tab.active{background:linear-gradient(90deg,rgba(240,185,11,.24),rgba(240,185,11,.08))!important;border-color:rgba(240,185,11,.28)!important;box-shadow:inset 4px 0 0 #f0b90b!important;color:#fff6dc!important;}
#tab-dashboard .cockpit-broker-zone{padding:12px 13px 13px;border-radius:16px;border-color:rgba(240,185,11,.26);background:linear-gradient(180deg,rgba(45,34,12,.12),rgba(8,21,34,.22) 92px),rgba(5,16,27,.36);box-shadow:0 10px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,214,90,.06);}
#tab-dashboard .cockpit-broker-zone::before{left:14px;right:14px;background:linear-gradient(90deg,transparent,rgba(240,185,11,.85),transparent);}
#tab-dashboard .cockpit-broker-zone-head{min-height:50px;padding:0 4px 11px;margin-bottom:12px;border-bottom-color:rgba(240,185,11,.16);}
#tab-dashboard .cockpit-broker-brand{gap:12px;}
#tab-dashboard .cockpit-broker-logo{width:38px;height:38px;border-radius:12px;background:radial-gradient(circle at 32% 30%,rgba(255,220,102,.20),rgba(240,185,11,.08) 55%),linear-gradient(180deg,rgba(25,21,12,.98),rgba(16,13,8,.96));border:1px solid rgba(240,185,11,.34);box-shadow:inset 0 1px 0 rgba(255,229,141,.10),0 0 20px rgba(240,185,11,.08);}
#tab-dashboard .cockpit-broker-logo svg{width:24px;height:24px;}
#tab-dashboard .cockpit-broker-brand strong{font-size:14px;letter-spacing:.08em;color:#f2c84e;}
#tab-dashboard .cockpit-broker-brand span{font-size:9px;color:#b59d52;}
#tab-dashboard .cockpit-broker-status{min-height:25px;padding:4px 10px;font-size:9px;border-color:rgba(240,185,11,.25);background:rgba(17,21,20,.68);}
#tab-dashboard .cockpit-broker-meta{font-size:9px;color:#a48f5f;}
#tab-dashboard .cockpit-binance-zone .monitor-card{border-color:rgba(240,185,11,.24)!important;background:linear-gradient(180deg,rgba(32,27,14,.94),rgba(12,21,32,.98) 84px),linear-gradient(180deg,rgba(8,24,38,.98),rgba(8,22,35,.98))!important;box-shadow:0 8px 22px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,215,93,.04)!important;}
#tab-dashboard .cockpit-binance-zone .monitor-header{margin-bottom:11px;}
#tab-dashboard .cockpit-binance-zone .monitor-title{font-size:13px;color:#f0c84b!important;}
#tab-dashboard .cockpit-binance-zone .monitor-meta{color:#aa9a6a!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-head{color:#d9b55b!important;background:rgba(30,26,16,.78)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row,#tab-dashboard .cockpit-binance-zone .cockpit-signal-row{border-color:rgba(240,185,11,.16)!important;background:linear-gradient(180deg,rgba(23,19,12,.76),rgba(10,21,31,.92))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row[data-cockpit-target-id]:hover{border-color:rgba(240,185,11,.32)!important;background:linear-gradient(180deg,rgba(31,25,12,.92),rgba(12,25,37,.96))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-metric,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table td,#tab-dashboard .cockpit-binance-zone .cockpit-exception-main,#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip{border-color:rgba(240,185,11,.16)!important;background:linear-gradient(180deg,rgba(23,19,12,.74),rgba(9,21,31,.92))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-label,#tab-dashboard .cockpit-binance-zone .cockpit-subsection-head,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table th,#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip span,#tab-dashboard .cockpit-binance-zone .cockpit-exception-sub{color:#baa66d!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-value,#tab-dashboard .cockpit-binance-zone .cockpit-exception-title,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table strong{color:#fff2c6!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-sub,#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip em,#tab-dashboard .cockpit-binance-zone .cockpit-mini-meta{color:#b59c64!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-badge,#tab-dashboard .cockpit-binance-zone .cockpit-count-pill{border-color:rgba(240,185,11,.28)!important;background:rgba(240,185,11,.08)!important;color:#f3cb56!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn{border-color:rgba(240,185,11,.38)!important;background:linear-gradient(180deg,rgba(240,185,11,.18),rgba(240,185,11,.07))!important;color:#f3cf68!important;box-shadow:inset 0 1px 0 rgba(255,224,123,.12)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn:hover{border-color:rgba(255,221,120,.56)!important;background:linear-gradient(180deg,rgba(240,185,11,.25),rgba(240,185,11,.11))!important;color:#fff4cb!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{border-color:rgba(240,185,11,.44)!important;color:#ffdfa1!important;background:linear-gradient(180deg,rgba(83,54,12,.58),rgba(35,24,12,.52))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill.warn{border-color:rgba(240,185,11,.34)!important;background:rgba(240,185,11,.12)!important;color:#ffe18a!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill.good{border-color:rgba(101,234,185,.24)!important;background:rgba(33,163,123,.12)!important;color:#9ef0de!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill.bad{border-color:rgba(255,93,115,.25)!important;background:rgba(255,93,115,.08)!important;color:#ffc4cb!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-dashboard .cockpit-binance-zone .signal-cache-policy-row,#tab-dashboard .cockpit-binance-zone .signal-cache-table,#tab-dashboard .cockpit-binance-zone .signal-cache-row,#tab-dashboard .cockpit-binance-zone .signal-cache-head{border-color:rgba(240,185,11,.16)!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-dashboard .cockpit-binance-zone .signal-cache-policy-row,#tab-dashboard .cockpit-binance-zone .signal-cache-row{background:linear-gradient(180deg,rgba(23,19,12,.70),rgba(10,21,31,.92))!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-head{background:rgba(31,26,15,.92)!important;color:#d9b55b!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-name strong,#tab-dashboard .cockpit-binance-zone .signal-cache-value{color:#fff1c4!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-name span,#tab-dashboard .cockpit-binance-zone .signal-cache-muted,#tab-dashboard .cockpit-binance-zone .signal-cache-origin,#tab-dashboard .cockpit-binance-zone .signal-cache-consumers{color:#baa66d!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-settings-btn{background:rgba(240,185,11,.08)!important;border-color:rgba(240,185,11,.34)!important;color:#f4cd60!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-policy-row input{border-color:rgba(240,185,11,.24)!important;background:#0c151d!important;color:#fff6df!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-policy-close{border-color:rgba(240,185,11,.24)!important;background:linear-gradient(180deg,rgba(35,28,16,.98),rgba(20,17,10,.98))!important;color:#eed28a!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-policy-save{border-color:rgba(240,185,11,.62)!important;background:linear-gradient(180deg,#ffd65f,#eab10a)!important;color:#071018!important;}
@media (max-width:1100px){.sidebar-version-widget strong{font-size:22px;}.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{font-size:13px;min-height:44px;}.sidebar-group-toggle{height:46px;font-size:12px;}}
@media (max-width:620px){#tab-dashboard .cockpit-broker-zone{padding:8px;}#tab-dashboard .cockpit-broker-zone-head{padding-bottom:8px;margin-bottom:8px;}#tab-dashboard .cockpit-broker-logo{width:30px;height:30px;border-radius:9px;}#tab-dashboard .cockpit-broker-logo svg{width:20px;height:20px;}}


/* v3.0.73 deeper Binance restyle + sidebar sizing optimization */
@media (min-width:1101px){
  .app-shell{grid-template-columns:var(--sidebar-width) minmax(0,1fr)!important;}
  .app-sidebar{padding:14px 14px 18px!important;}
  .sidebar-brand{padding:4px 10px 18px!important;}
  .sidebar-version-widget{min-height:54px!important;padding:0 18px!important;border-radius:16px!important;}
  .sidebar-version-widget span{font-size:13px!important;}
  .sidebar-version-widget strong{font-size:28px!important;font-weight:850!important;}
  .sidebar-nav.app-tabs{gap:14px!important;margin-top:18px!important;}
  .sidebar-nav-group{border-radius:18px!important;overflow:hidden!important;}
  .sidebar-group-toggle{min-height:58px!important;padding:12px 16px!important;font-size:15px!important;font-weight:900!important;letter-spacing:.08em!important;}
  .sidebar-group-identity{gap:12px!important;}
  .sidebar-group-mark{width:30px!important;height:30px!important;border-radius:10px!important;}
  .sidebar-group-mark svg{width:20px!important;height:20px!important;}
  .sidebar-group-chevron{font-size:18px!important;}
  .sidebar-group-items{padding:10px!important;gap:6px!important;}
  .sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{min-height:56px!important;padding:13px 16px!important;border-radius:14px!important;font-size:16px!important;font-weight:800!important;gap:14px!important;}
  .sidebar-icon{width:24px!important;font-size:18px!important;}
}

.sidebar-nav-group.binance{background:linear-gradient(180deg,rgba(24,20,10,.98),rgba(7,11,16,.98))!important;border:1px solid rgba(240,185,11,.24)!important;box-shadow:0 10px 26px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,224,133,.04)!important;}
.sidebar-nav-group.binance .sidebar-group-toggle{background:linear-gradient(180deg,rgba(36,30,14,.98),rgba(19,16,10,.96))!important;color:#f5cc54!important;border-bottom:1px solid rgba(240,185,11,.12)!important;}
.sidebar-nav-group.binance .sidebar-group-mark{color:#f0b90b!important;background:linear-gradient(180deg,#1d1810,#090d12)!important;border-color:rgba(240,185,11,.38)!important;box-shadow:inset 0 1px 0 rgba(255,228,141,.08),0 0 0 1px rgba(240,185,11,.08),0 0 18px rgba(240,185,11,.10)!important;}
.sidebar-nav-group.binance .sidebar-nav-item,.sidebar-nav-group.binance .app-tab{background:linear-gradient(180deg,rgba(14,18,24,.94),rgba(10,13,18,.98))!important;border:1px solid rgba(240,185,11,.06)!important;}
.sidebar-nav-group.binance .sidebar-nav-item:hover,.sidebar-nav-group.binance .app-tab:hover{background:linear-gradient(90deg,rgba(240,185,11,.16),rgba(240,185,11,.05))!important;border-color:rgba(240,185,11,.14)!important;color:#fff2c4!important;}
.sidebar-nav-group.binance .sidebar-nav-item.active,.sidebar-nav-group.binance .app-tab.active{background:linear-gradient(90deg,rgba(240,185,11,.28),rgba(240,185,11,.10))!important;border-color:rgba(240,185,11,.34)!important;box-shadow:inset 4px 0 0 #f0b90b,0 6px 16px rgba(0,0,0,.12)!important;color:#fff6db!important;}
.sidebar-nav-group.binance .sidebar-nav-item.active .sidebar-icon,.sidebar-nav-group.binance .app-tab.active .sidebar-icon{color:#ffd76b!important;}

#tab-dashboard .cockpit-broker-zone{padding:16px 18px 18px!important;border-radius:20px!important;border:1px solid rgba(240,185,11,.30)!important;background:radial-gradient(circle at 12% 0%,rgba(240,185,11,.10),rgba(240,185,11,0) 24%),linear-gradient(180deg,#0f1116 0%,#090b0f 100%)!important;box-shadow:0 14px 34px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,224,122,.05)!important;}
#tab-dashboard .cockpit-broker-zone::before{left:18px!important;right:18px!important;height:1px!important;background:linear-gradient(90deg,transparent,rgba(240,185,11,.95),transparent)!important;}
#tab-dashboard .cockpit-broker-zone-head{min-height:62px!important;padding:0 2px 14px!important;margin-bottom:16px!important;align-items:center!important;border-bottom-color:rgba(240,185,11,.18)!important;}
#tab-dashboard .cockpit-broker-brand{gap:14px!important;}
#tab-dashboard .cockpit-broker-logo{width:44px!important;height:44px!important;border-radius:14px!important;color:#f0b90b!important;background:linear-gradient(180deg,#15120d,#080a0d)!important;border:1px solid rgba(240,185,11,.34)!important;box-shadow:inset 0 1px 0 rgba(255,227,145,.10),0 0 0 1px rgba(240,185,11,.10),0 10px 24px rgba(0,0,0,.22)!important;}
#tab-dashboard .cockpit-broker-logo svg{width:28px!important;height:28px!important;}
#tab-dashboard .cockpit-broker-brand strong{font-size:24px!important;letter-spacing:.08em!important;color:#f0b90b!important;}
#tab-dashboard .cockpit-broker-brand span{font-size:11px!important;letter-spacing:.08em!important;color:#b8942c!important;}
#tab-dashboard .cockpit-broker-status{min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;border-color:rgba(240,185,11,.32)!important;background:linear-gradient(180deg,rgba(8,12,16,.96),rgba(16,21,24,.92))!important;color:#ffe6a3!important;font-size:10px!important;letter-spacing:.08em!important;}
#tab-dashboard .cockpit-broker-meta{font-size:10px!important;color:#a88a2c!important;}

@media (min-width:1351px){
  #tab-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.28fr) minmax(350px,.96fr) minmax(320px,.90fr)!important;gap:16px!important;}
  #tab-dashboard .cockpit-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;}
  #tab-dashboard .cockpit-primary-grid > .cockpit-queue-panel,#tab-dashboard .cockpit-primary-grid > .cockpit-position-panel,#tab-dashboard .cockpit-primary-grid > .cockpit-order-panel{height:568px!important;min-height:568px!important;max-height:568px!important;}
  #tab-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,#tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,#tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{height:246px!important;min-height:246px!important;max-height:246px!important;}
}

#tab-dashboard .cockpit-binance-zone .monitor-card{padding:14px 16px 16px!important;border-radius:18px!important;border:1px solid rgba(240,185,11,.20)!important;background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.08),rgba(240,185,11,0) 22%),linear-gradient(180deg,#121417 0%,#090b0f 100%)!important;box-shadow:0 10px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,232,152,.04)!important;}
#tab-dashboard .cockpit-binance-zone .monitor-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:54px;border-radius:18px 18px 0 0;background:linear-gradient(180deg,rgba(240,185,11,.06),rgba(240,185,11,0));pointer-events:none;}
#tab-dashboard .cockpit-binance-zone .monitor-card > *{position:relative;z-index:1;}
#tab-dashboard .cockpit-binance-zone .monitor-header{margin-bottom:14px!important;align-items:flex-start!important;}
#tab-dashboard .cockpit-binance-zone .monitor-title{font-size:18px!important;font-weight:900!important;letter-spacing:-.02em!important;color:#f0b90b!important;}
#tab-dashboard .cockpit-binance-zone .monitor-meta{font-size:11px!important;color:#9d8440!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-head{padding:9px 12px!important;border-radius:12px!important;background:linear-gradient(180deg,rgba(35,29,16,.95),rgba(21,18,12,.92))!important;color:#d8b14a!important;font-size:10px!important;letter-spacing:.08em!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row,#tab-dashboard .cockpit-binance-zone .cockpit-signal-row{padding:12px 14px!important;border-radius:14px!important;border:1px solid rgba(240,185,11,.14)!important;background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row + .cockpit-table-row,#tab-dashboard .cockpit-binance-zone .cockpit-signal-row + .cockpit-signal-row{margin-top:10px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row[data-cockpit-target-id]:hover{transform:translateY(-1px);border-color:rgba(240,185,11,.34)!important;background:linear-gradient(180deg,rgba(26,22,14,.98),rgba(11,14,18,.98))!important;box-shadow:0 10px 18px rgba(0,0,0,.16)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-badge,#tab-dashboard .cockpit-binance-zone .cockpit-count-pill{background:rgba(240,185,11,.11)!important;border-color:rgba(240,185,11,.32)!important;color:#f4c84a!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill{min-height:30px!important;padding:6px 11px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.04em!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn{min-height:31px!important;padding:6px 12px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;border-color:#8e6d12!important;background:linear-gradient(180deg,#2c2413,#16110a)!important;color:#ffd86e!important;box-shadow:inset 0 1px 0 rgba(255,223,124,.10)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{border-color:#b98b12!important;background:linear-gradient(180deg,#4a3812,#20170a)!important;color:#ffe4a0!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn:hover{background:linear-gradient(180deg,#5f4714,#241a0b)!important;border-color:#ffd05f!important;color:#fff4d1!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-summary{gap:10px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-metric{padding:12px 12px 10px!important;border-radius:14px!important;border:1px solid rgba(240,185,11,.18)!important;background:linear-gradient(180deg,rgba(17,19,23,.98),rgba(8,10,14,.98))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-label{font-size:11px!important;color:#aa8a33!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-value{font-size:18px!important;font-weight:850!important;color:#fff3c8!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-sub{font-size:10px!important;color:#927939!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-subsection-head{font-size:12px!important;font-weight:800!important;color:#c9a541!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-table th,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table th{padding-bottom:8px!important;font-size:10px!important;letter-spacing:.08em!important;color:#cda844!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-table td,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table td{padding:11px 4px!important;border-bottom:1px solid rgba(240,185,11,.10)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-mini-table tr{background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98));}
#tab-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-mini-table tbody tr+tr td{border-top:10px solid transparent!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:first-child{border-left:1px solid rgba(240,185,11,.14)!important;border-radius:12px 0 0 12px!important;padding-left:12px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:last-child{border-right:1px solid rgba(240,185,11,.14)!important;border-radius:0 12px 12px 0!important;padding-right:12px!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-row{padding:14px 15px!important;border-radius:14px!important;border:1px solid rgba(240,185,11,.14)!important;background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98))!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-row + .signal-cache-row{margin-top:10px!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-dashboard .cockpit-binance-zone .signal-cache-policy-row{border-radius:16px!important;background:linear-gradient(180deg,rgba(17,19,23,.98),rgba(8,10,14,.98))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-main,#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip{border-radius:14px!important;border:1px solid rgba(240,185,11,.14)!important;background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-main{padding:16px 16px 14px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-title{font-size:16px!important;color:#fff4cb!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-sub{font-size:11px!important;color:#af9150!important;}

@media (max-width:1100px){
  .app-sidebar{width:306px!important;}
  .sidebar-nav-group{border-radius:16px!important;}
  .sidebar-group-toggle{min-height:50px!important;font-size:14px!important;padding:10px 14px!important;}
  .sidebar-group-mark{width:26px!important;height:26px!important;}
  .sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{min-height:48px!important;font-size:15px!important;padding:11px 14px!important;}
}

@media (max-width:620px){
  #tab-dashboard .cockpit-broker-zone{padding:10px!important;border-radius:16px!important;}
  #tab-dashboard .cockpit-broker-zone-head{min-height:44px!important;padding-bottom:10px!important;margin-bottom:10px!important;}
  #tab-dashboard .cockpit-broker-logo{width:34px!important;height:34px!important;border-radius:11px!important;}
  #tab-dashboard .cockpit-broker-logo svg{width:22px!important;height:22px!important;}
  #tab-dashboard .cockpit-broker-brand strong{font-size:18px!important;}
  #tab-dashboard .cockpit-binance-zone .monitor-card{padding:10px 11px 11px!important;border-radius:15px!important;}
  #tab-dashboard .cockpit-binance-zone .monitor-title{font-size:15px!important;}
}


/* v3.0.74 refine sidebar scale, logo fidelity, and Binance panel density */
:root{--sidebar-width:264px!important;}
.app-sidebar{width:var(--sidebar-width)!important;padding:14px 10px 12px!important;}
.app-main{margin-left:var(--sidebar-width)!important;}
.sidebar-brand{padding:4px 8px 14px!important;}
.sidebar-version-widget{min-height:42px!important;padding:0 14px!important;border-radius:13px!important;gap:10px!important;}
.sidebar-version-widget span{font-size:11px!important;letter-spacing:.05em!important;}
.sidebar-version-widget strong{font-size:18px!important;line-height:1!important;font-weight:850!important;}
.sidebar-nav.app-tabs{gap:10px!important;margin-top:14px!important;}
.sidebar-nav-group{border-radius:14px!important;}
.sidebar-group-toggle{min-height:46px!important;height:auto!important;padding:10px 12px!important;font-size:14px!important;font-weight:850!important;letter-spacing:.06em!important;}
.sidebar-group-identity{gap:10px!important;}
.sidebar-group-mark{width:22px!important;height:22px!important;border-radius:7px!important;}
.sidebar-group-mark svg{width:16px!important;height:16px!important;}
.sidebar-group-chevron{font-size:14px!important;}
.sidebar-group-items{padding:6px!important;gap:5px!important;}
.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{min-height:44px!important;padding:10px 12px!important;border-radius:11px!important;font-size:13px!important;font-weight:750!important;gap:11px!important;}
.sidebar-icon{width:18px!important;font-size:15px!important;}
.sidebar-nav-group.binance{background:linear-gradient(180deg,rgba(14,13,10,.98),rgba(7,12,18,.98))!important;border-color:rgba(240,185,11,.22)!important;box-shadow:0 8px 20px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,228,142,.03)!important;}
.sidebar-nav-group.binance .sidebar-group-toggle{background:linear-gradient(180deg,rgba(31,26,13,.95),rgba(18,16,10,.96))!important;color:#f2d277!important;border-bottom-color:rgba(240,185,11,.10)!important;}
.sidebar-nav-group.binance .sidebar-group-mark{color:#f0b90b!important;background:linear-gradient(180deg,#17130b,#0a0d12)!important;border-color:rgba(240,185,11,.28)!important;box-shadow:inset 0 1px 0 rgba(255,227,145,.08)!important;}
.sidebar-nav-group.binance .sidebar-nav-item,.sidebar-nav-group.binance .app-tab{background:linear-gradient(180deg,rgba(11,16,22,.96),rgba(8,12,17,.98))!important;border-color:rgba(240,185,11,.05)!important;}
.sidebar-nav-group.binance .sidebar-nav-item.active,.sidebar-nav-group.binance .app-tab.active{background:linear-gradient(90deg,rgba(240,185,11,.18),rgba(240,185,11,.06))!important;border-color:rgba(240,185,11,.24)!important;box-shadow:inset 3px 0 0 #f0b90b!important;color:#fff5d4!important;}

#tab-dashboard .cockpit-broker-zone{padding:12px 14px 14px!important;border-radius:18px!important;border-color:rgba(240,185,11,.24)!important;background:radial-gradient(circle at 10% 0%,rgba(240,185,11,.06),rgba(240,185,11,0) 22%),linear-gradient(180deg,rgba(10,12,16,.98),rgba(7,10,14,.98))!important;box-shadow:0 10px 26px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,230,152,.03)!important;}
#tab-dashboard .cockpit-broker-zone::before{left:14px!important;right:14px!important;background:linear-gradient(90deg,transparent,rgba(240,185,11,.55),transparent)!important;}
#tab-dashboard .cockpit-broker-zone-head{min-height:48px!important;padding:0 2px 10px!important;margin-bottom:12px!important;}
#tab-dashboard .cockpit-broker-brand{gap:10px!important;}
#tab-dashboard .cockpit-broker-logo{width:36px!important;height:36px!important;border-radius:11px!important;color:#f0b90b!important;background:linear-gradient(180deg,#12100b,#090c10)!important;border:1px solid rgba(240,185,11,.28)!important;box-shadow:inset 0 1px 0 rgba(255,230,155,.08),0 0 0 1px rgba(240,185,11,.04)!important;}
#tab-dashboard .cockpit-broker-logo svg{width:22px!important;height:22px!important;}
#tab-dashboard .cockpit-broker-brand strong{font-size:15px!important;letter-spacing:.07em!important;color:#f0c85d!important;}
#tab-dashboard .cockpit-broker-brand span{font-size:8.5px!important;letter-spacing:.06em!important;color:#b59a55!important;}
#tab-dashboard .cockpit-broker-status{min-height:24px!important;padding:4px 10px!important;font-size:9px!important;}
#tab-dashboard .cockpit-broker-meta{font-size:8px!important;color:#aa9050!important;}

@media (min-width:1351px){
  #tab-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.20fr) minmax(340px,.96fr) minmax(318px,.92fr)!important;gap:14px!important;}
  #tab-dashboard .cockpit-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;}
  #tab-dashboard .cockpit-primary-grid > .cockpit-queue-panel,#tab-dashboard .cockpit-primary-grid > .cockpit-position-panel,#tab-dashboard .cockpit-primary-grid > .cockpit-order-panel{height:520px!important;min-height:520px!important;max-height:520px!important;}
  #tab-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,#tab-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,#tab-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{height:228px!important;min-height:228px!important;max-height:228px!important;}
}

#tab-dashboard .cockpit-binance-zone .monitor-card{padding:12px 13px 13px!important;border-radius:17px!important;border-color:rgba(240,185,11,.18)!important;background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.04),rgba(240,185,11,0) 20%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,232,152,.03)!important;}
#tab-dashboard .cockpit-binance-zone .monitor-card::before{height:40px!important;background:linear-gradient(180deg,rgba(240,185,11,.04),rgba(240,185,11,0))!important;}
#tab-dashboard .cockpit-binance-zone .monitor-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;margin-bottom:10px!important;}
#tab-dashboard .cockpit-binance-zone .monitor-title{font-size:15px!important;font-weight:850!important;color:#f1ca5a!important;}
#tab-dashboard .cockpit-binance-zone .monitor-meta{font-size:10px!important;color:#9b8955!important;line-height:1.35!important;text-align:right!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-head{padding:8px 10px!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(24,20,12,.92),rgba(16,14,10,.90))!important;color:#cfa94a!important;font-size:9px!important;letter-spacing:.08em!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row,#tab-dashboard .cockpit-binance-zone .cockpit-signal-row{padding:10px 12px!important;border-radius:13px!important;border:1px solid rgba(240,185,11,.12)!important;background:linear-gradient(180deg,rgba(11,14,19,.98),rgba(7,10,14,.98))!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row + .cockpit-table-row,#tab-dashboard .cockpit-binance-zone .cockpit-signal-row + .cockpit-signal-row{margin-top:8px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-badge,#tab-dashboard .cockpit-binance-zone .cockpit-count-pill{background:rgba(240,185,11,.09)!important;border-color:rgba(240,185,11,.24)!important;color:#edc554!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill{min-height:28px!important;padding:5px 10px!important;font-size:10px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn{min-height:29px!important;padding:5px 11px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;border-color:rgba(240,185,11,.28)!important;background:linear-gradient(180deg,#241d11,#14110b)!important;color:#f6cc59!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{background:linear-gradient(180deg,#352911,#18120a)!important;color:#ffdfa1!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-summary{gap:8px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-metric{padding:11px 11px 9px!important;border-radius:13px!important;background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;border:1px solid rgba(240,185,11,.13)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-label{font-size:10px!important;color:#b59645!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-value{font-size:15px!important;font-weight:850!important;color:#fff4cf!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-sub{font-size:9px!important;color:#937b41!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-subsection-head{font-size:11px!important;color:#c8a548!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-table th,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table th{padding-bottom:6px!important;font-size:9px!important;color:#c9a546!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-table td,#tab-dashboard .cockpit-binance-zone .cockpit-mini-table td{padding:9px 4px!important;border-bottom:1px solid rgba(240,185,11,.08)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:first-child{padding-left:10px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:last-child{padding-right:10px!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-row{padding:12px 13px!important;border-radius:13px!important;background:linear-gradient(180deg,rgba(11,14,19,.98),rgba(7,10,14,.98))!important;border-color:rgba(240,185,11,.12)!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-row + .signal-cache-row{margin-top:8px!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-head{font-size:9px!important;background:linear-gradient(180deg,rgba(24,20,12,.92),rgba(16,14,10,.90))!important;color:#cfa94a!important;}
#tab-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-dashboard .cockpit-binance-zone .signal-cache-policy-row,#tab-dashboard .cockpit-binance-zone .cockpit-exception-main,#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip{background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;border-color:rgba(240,185,11,.12)!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-main{padding:14px!important;border-radius:13px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-title{font-size:15px!important;color:#fff3ca!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-sub{font-size:10px!important;color:#a88b4a!important;}

@media (max-width:1100px){
  .app-sidebar{width:264px!important;}
  .sidebar-version-widget strong{font-size:18px!important;}
  .sidebar-group-toggle{min-height:44px!important;font-size:13px!important;}
  .sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{font-size:13px!important;min-height:42px!important;}
}

@media (max-width:620px){
  #tab-dashboard .cockpit-broker-zone{padding:9px!important;border-radius:15px!important;}
  #tab-dashboard .cockpit-broker-zone-head{min-height:40px!important;padding-bottom:8px!important;margin-bottom:8px!important;}
  #tab-dashboard .cockpit-broker-logo{width:30px!important;height:30px!important;border-radius:9px!important;}
  #tab-dashboard .cockpit-broker-logo svg{width:18px!important;height:18px!important;}
  #tab-dashboard .cockpit-broker-brand strong{font-size:13px!important;}
  #tab-dashboard .cockpit-binance-zone .monitor-card{padding:10px 10px 11px!important;border-radius:14px!important;}
  #tab-dashboard .cockpit-binance-zone .monitor-title{font-size:14px!important;}
}


/* v3.0.81 sidebar compaction + cockpit overflow fixes */
:root{--sidebar-width:228px!important;}
.app-sidebar{width:var(--sidebar-width)!important;padding:14px 10px 12px!important;}
.app-main{margin-left:var(--sidebar-width)!important;}
.sidebar-brand{padding:4px 6px 12px!important;}
.sidebar-version-widget{min-height:40px!important;padding:0 13px!important;border-radius:12px!important;gap:8px!important;}
.sidebar-version-widget span{font-size:10px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;}
.sidebar-version-widget strong{font-size:16px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.02em!important;}
.sidebar-nav.app-tabs{gap:10px!important;margin-top:12px!important;}
.sidebar-nav-group{border-radius:14px!important;}
.sidebar-group-toggle{min-height:44px!important;padding:10px 12px!important;font-size:13px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;font-family:inherit!important;}
.sidebar-group-identity{gap:10px!important;}
.sidebar-group-identity > span:last-child{font-size:13px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;font-family:inherit!important;}
.sidebar-group-mark{width:22px!important;height:22px!important;border-radius:7px!important;font-size:12px!important;}
.sidebar-group-mark svg{width:15px!important;height:15px!important;}
.sidebar-group-items{padding:6px!important;gap:6px!important;}
.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{min-height:42px!important;padding:10px 12px!important;border-radius:11px!important;font-size:13px!important;font-weight:600!important;gap:10px!important;font-family:inherit!important;}
.sidebar-nav .sidebar-nav-item span:last-child,.sidebar-nav .app-tab span:last-child{font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;font-family:inherit!important;}
.sidebar-icon{width:18px!important;font-size:15px!important;}
.sidebar-close{top:10px!important;right:10px!important;}
@media (max-width:1100px){
  .app-sidebar{width:228px!important;}
}

/* Keep group titles visually aligned with normal tab labels. */
.sidebar-nav-group.common .sidebar-group-toggle,.sidebar-nav-group.binance .sidebar-group-toggle{font-size:13px!important;}

/* Desktop Binance dashboard panels: restore usable widths and reduce clipping. */
@media (min-width:1101px){
  #tab-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.16fr) minmax(340px,.98fr) minmax(330px,.96fr)!important;gap:14px!important;}
  #tab-dashboard .cockpit-primary-grid > .cockpit-queue-panel,#tab-dashboard .cockpit-primary-grid > .cockpit-position-panel,#tab-dashboard .cockpit-primary-grid > .cockpit-order-panel{min-height:520px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{grid-template-columns:30px minmax(175px,1.14fr) 92px minmax(160px,1fr) 78px!important;gap:10px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head{padding:0 10px 6px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{padding:10px 10px!important;min-height:56px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{justify-self:end!important;text-align:right!important;}
  #tab-dashboard .cockpit-order-panel .cockpit-mini-table,
  #tab-dashboard .cockpit-position-panel .cockpit-mini-table{table-layout:auto!important;min-width:0!important;width:100%!important;}
}

#tab-dashboard .cockpit-binance-zone .monitor-title{font-size:14px!important;}
#tab-dashboard .cockpit-binance-zone .monitor-meta{font-size:9px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-head{font-size:8px!important;padding:8px 10px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-table-row{padding:10px 10px!important;}
#tab-dashboard .cockpit-strategy-name strong{font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
#tab-dashboard .cockpit-strategy-name .cockpit-strategy-meta{margin-top:3px!important;}
#tab-dashboard .cockpit-strategy-meta span:last-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#tab-dashboard .cockpit-action-runtime{gap:3px!important;min-width:0!important;}
#tab-dashboard .cockpit-action-runtime strong{font-size:10px!important;line-height:1.28!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:keep-all!important;}
#tab-dashboard .cockpit-action-runtime span{font-size:9px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
#tab-dashboard .cockpit-control-btn{min-width:74px!important;width:74px!important;padding:6px 0!important;font-size:10px!important;text-align:center!important;}

#tab-dashboard .cockpit-position-summary{grid-template-columns:minmax(0,1.18fr) minmax(0,.92fr) minmax(0,1fr)!important;gap:8px!important;}
#tab-dashboard .cockpit-position-metric{min-width:0!important;}
#tab-dashboard .cockpit-position-label{font-size:10px!important;line-height:1.25!important;}
#tab-dashboard .cockpit-position-value{font-size:14px!important;line-height:1.15!important;letter-spacing:-.02em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#tab-dashboard #cockpit-notional-value{font-size:13px!important;}
#tab-dashboard .cockpit-position-sub{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

#tab-dashboard .cockpit-order-panel .cockpit-mini-table-wrap{overflow:auto!important;max-height:none!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table{table-layout:auto!important;border-spacing:0 7px!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th,#tab-dashboard .cockpit-order-panel .cockpit-mini-table td{overflow:visible!important;text-overflow:clip!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(1),#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(1){width:72px!important;white-space:nowrap!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(2),#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(2){width:34%!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(3),#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(3){width:24%!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(4),#tab-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(4){width:116px!important;white-space:nowrap!important;}
#tab-dashboard .cockpit-order-panel .cockpit-order-time{font-size:11px!important;white-space:nowrap!important;}
#tab-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{font-size:11px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;}
#tab-dashboard .cockpit-order-panel .cockpit-mini-meta{font-size:9px!important;line-height:1.25!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#tab-dashboard .cockpit-order-panel .cockpit-order-action{font-size:11px!important;line-height:1.22!important;white-space:normal!important;word-break:keep-all!important;}
#tab-dashboard .cockpit-order-panel .cockpit-status-pill{min-width:94px!important;justify-content:center!important;font-size:10px!important;padding:5px 10px!important;}

@media (max-width:1100px){
  :root{--sidebar-width:228px!important;}
}


/* v3.0.81 official Binance logo grounding */
.sidebar-group-mark.binance-mark{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important;border-radius:50%!important;}
.sidebar-group-mark.binance-mark img{display:block;width:100%;height:100%;object-fit:contain;}
#tab-dashboard .cockpit-broker-logo.binance-logo{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:inherit!important;}
#tab-dashboard .cockpit-broker-logo.binance-logo img{display:block;width:100%;height:100%;object-fit:contain;}
#tab-dashboard .cockpit-broker-brand strong{letter-spacing:.06em!important;text-transform:none!important;}
#tab-dashboard .cockpit-broker-brand > div span{letter-spacing:.03em!important;text-transform:none!important;}
#tab-dashboard .cockpit-title-badge,#tab-dashboard .monitor-title .binance-chip{font-weight:700!important;}
#tab-dashboard .cockpit-binance-zone .monitor-title .monitor-badge,
#tab-dashboard .cockpit-binance-zone .signal-cache-head .inline-badge,
#tab-dashboard .cockpit-binance-zone .cockpit-title-tag{background:rgba(240,185,11,.12)!important;border:1px solid rgba(240,185,11,.24)!important;color:#e0bc4f!important;box-shadow:none!important;}
@media (max-width:620px){
  .sidebar-group-mark.binance-mark{width:24px!important;height:24px!important;}
  #tab-dashboard .cockpit-broker-logo.binance-logo{width:28px!important;height:28px!important;}
}


/* v3.0.81 strategy control button clipping fix */
@media (min-width:1101px){
  #tab-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.22fr) minmax(332px,.98fr) minmax(318px,.90fr)!important;
    gap:14px!important;
  }
  #tab-dashboard .cockpit-queue-panel .cockpit-table-body{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable!important;
    padding-right:8px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:28px minmax(138px,1.08fr) 88px minmax(0,1fr) 90px!important;
    gap:8px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head{
    padding:0 14px 6px 10px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    padding:10px 14px 10px 10px!important;
    min-height:56px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head > div:nth-child(2),
  #tab-dashboard .cockpit-queue-table .cockpit-table-head > div:nth-child(4){
    min-width:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{
    justify-self:end!important;
    text-align:right!important;
    min-width:90px!important;
    overflow:visible!important;
  }
  #tab-dashboard .cockpit-binance-zone .cockpit-control-btn{
    min-width:82px!important;
    width:82px!important;
    padding:6px 0!important;
    font-size:10px!important;
    text-align:center!important;
    flex-shrink:0!important;
  }
  #tab-dashboard .cockpit-action-runtime strong{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #tab-dashboard .cockpit-action-runtime span,
  #tab-dashboard .cockpit-strategy-meta span:last-child{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}


/* v3.0.81 sidebar group width stabilization */
:root{--sidebar-width:216px!important;}
.app-sidebar{width:var(--sidebar-width)!important;padding:12px 8px 12px!important;box-sizing:border-box!important;}
.app-main{margin-left:var(--sidebar-width)!important;}
.sidebar-brand{padding:4px 4px 12px!important;}
.sidebar-version-wrap,.sidebar-nav.app-tabs{width:100%!important;box-sizing:border-box!important;}
.sidebar-nav.app-tabs{gap:12px!important;margin-top:12px!important;align-items:stretch!important;}
.sidebar-nav-group{width:100%!important;max-width:100%!important;min-width:100%!important;box-sizing:border-box!important;flex:0 0 auto!important;margin:0!important;}
.sidebar-nav-group + .sidebar-nav-group{margin-top:10px!important;}
.sidebar-nav-group.collapsed,.sidebar-nav-group:not(.collapsed){width:100%!important;max-width:100%!important;}
.sidebar-group-toggle{width:100%!important;box-sizing:border-box!important;padding:10px 12px!important;min-height:44px!important;}
.sidebar-group-identity{min-width:0!important;flex:1 1 auto!important;}
.sidebar-group-items{width:100%!important;box-sizing:border-box!important;padding:6px!important  ;gap:6px!important;align-items:stretch!important;}
.sidebar-nav-group .sidebar-nav-item,.sidebar-nav-group .app-tab{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{padding:10px 12px!important;min-height:42px!important;}
@media (max-width:1100px){
  :root{--sidebar-width:216px!important;}
  .app-sidebar{width:var(--sidebar-width)!important;padding:12px 8px 12px!important;}
}


/* v3.0.81 final desktop navigation + Strategies control integration */
:root{--sidebar-width:216px!important;}
.app-sidebar{width:216px!important;min-width:216px!important;max-width:216px!important;}
.app-main{margin-left:216px!important;}
.sidebar-nav.app-tabs,.sidebar-nav-group,.sidebar-group-toggle,.sidebar-group-items,.sidebar-nav-group .sidebar-nav-item,.sidebar-nav-group .app-tab{box-sizing:border-box!important;}
.sidebar-nav-group,.sidebar-nav-group.collapsed,.sidebar-nav-group:not(.collapsed){width:100%!important;min-width:100%!important;max-width:100%!important;}
.sidebar-group-toggle,.sidebar-group-items,.sidebar-nav-group .sidebar-nav-item,.sidebar-nav-group .app-tab{width:100%!important;min-width:0!important;max-width:100%!important;}
@media (min-width:1101px){
  #tab-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.22fr) minmax(332px,.98fr) minmax(318px,.90fr)!important;gap:14px!important;}
  #tab-dashboard .cockpit-queue-panel .cockpit-table-body{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;padding-right:8px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head,#tab-dashboard .cockpit-queue-table .cockpit-table-row{grid-template-columns:28px minmax(138px,1.08fr) 88px minmax(0,1fr) 90px!important;gap:8px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head{padding:0 14px 6px 10px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{padding:10px 14px 10px 10px!important;min-height:56px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,#tab-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{justify-self:end!important;text-align:right!important;min-width:90px!important;overflow:visible!important;}
  #tab-dashboard .cockpit-binance-zone .cockpit-control-btn{min-width:82px!important;width:82px!important;max-width:82px!important;padding:6px 0!important;flex:0 0 82px!important;}
}
@media (max-width:1100px){.app-sidebar{width:216px!important;min-width:216px!important;max-width:216px!important;}}


/* v3.0.81 Strategy status/action separation hotfix */
@media (min-width:1101px){
  #tab-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.30fr) minmax(330px,.96fr) minmax(318px,.90fr)!important;
    gap:14px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:28px minmax(150px,1.10fr) 108px minmax(100px,1fr) 88px!important;
    column-gap:12px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head{
    padding:0 14px 7px 10px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    padding:11px 14px 11px 10px!important;
    min-height:64px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    overflow:visible!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){
    min-width:0!important;
    padding-left:2px!important;
  }
  #tab-dashboard .cockpit-status-pill{
    max-width:100%!important;
    padding:5px 7px!important;
    font-size:9px!important;
    letter-spacing:.01em!important;
    line-height:1!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }
  #tab-dashboard .cockpit-action-runtime{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    align-content:center!important;
  }
  #tab-dashboard .cockpit-action-runtime strong,
  #tab-dashboard .cockpit-action-runtime span{
    display:block!important;
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #tab-dashboard .cockpit-action-runtime strong{
    font-size:10px!important;
    line-height:1.25!important;
  }
  #tab-dashboard .cockpit-action-runtime span{
    font-size:8px!important;
    line-height:1.30!important;
  }
  #tab-dashboard .cockpit-strategy-name{
    min-width:0!important;
  }
  #tab-dashboard .cockpit-strategy-name strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    white-space:normal!important;
    line-height:1.22!important;
    max-height:2.44em!important;
  }
  #tab-dashboard .cockpit-strategy-meta{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
    flex-wrap:nowrap!important;
  }
  #tab-dashboard .cockpit-strategy-meta > span:last-child{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{
    min-width:88px!important;
    justify-self:end!important;
    text-align:right!important;
  }
  #tab-dashboard .cockpit-binance-zone .cockpit-control-btn{
    min-width:80px!important;
    width:80px!important;
    max-width:80px!important;
    flex:0 0 80px!important;
  }
}


/* v3.0.82 sidebar density + strategy row compaction */
:root{--sidebar-width:196px!important;}
.app-sidebar{width:196px!important;min-width:196px!important;max-width:196px!important;padding:10px 6px 10px!important;}
.app-main{margin-left:196px!important;}
.sidebar-brand{padding:2px 4px 10px!important;}
.sidebar-version-widget{padding:9px 10px!important;}
.sidebar-nav.app-tabs{gap:8px!important;margin-top:10px!important;}
.sidebar-nav-group{border-radius:12px!important;}
.sidebar-nav-group + .sidebar-nav-group{margin-top:8px!important;}
.sidebar-group-toggle{padding:8px 10px!important;min-height:38px!important;font-size:13px!important;line-height:1.15!important;}
.sidebar-group-mark{width:22px!important;height:22px!important;font-size:12px!important;}
.sidebar-group-items{padding:4px!important;gap:2px!important;}
.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{padding:8px 12px!important;min-height:36px!important;border-radius:10px!important;}
.sidebar-nav-group .sidebar-nav-item + .sidebar-nav-item,.sidebar-nav-group .app-tab + .app-tab{margin-top:2px!important;}
.sidebar-group-items .sidebar-nav-item,.sidebar-group-items .app-tab{position:relative!important;}
.sidebar-group-items .sidebar-nav-item + .sidebar-nav-item::before,.sidebar-group-items .app-tab + .app-tab::before{content:"";position:absolute;left:10px;right:10px;top:-2px;height:1px;background:rgba(109,162,190,.22);}
.sidebar-nav-group.binance .sidebar-nav-item,.sidebar-nav-group.binance .app-tab{background:linear-gradient(180deg,rgba(18,16,11,.96),rgba(10,13,18,.98))!important;border-color:rgba(240,185,11,.12)!important;}
.sidebar-nav-group.binance .sidebar-nav-item + .sidebar-nav-item::before,.sidebar-nav-group.binance .app-tab + .app-tab::before{background:rgba(240,185,11,.18)!important;}
.sidebar-nav-group.binance .sidebar-nav-item:hover,.sidebar-nav-group.binance .app-tab:hover{background:linear-gradient(90deg,rgba(240,185,11,.14),rgba(240,185,11,.05))!important;border-color:rgba(240,185,11,.20)!important;}
.sidebar-nav-group.binance .sidebar-nav-item.active,.sidebar-nav-group.binance .app-tab.active{background:linear-gradient(90deg,rgba(240,185,11,.22),rgba(240,185,11,.08))!important;border-color:rgba(240,185,11,.30)!important;box-shadow:inset 3px 0 0 #f0b90b!important;color:#fff7de!important;}
@media (max-width:1100px){
  :root{--sidebar-width:196px!important;}
  .app-sidebar{width:196px!important;min-width:196px!important;max-width:196px!important;}
  .app-main{margin-left:196px!important;}
}
@media (min-width:1101px){
  #tab-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.30fr) minmax(332px,.96fr) minmax(320px,.90fr)!important;gap:14px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{grid-template-columns:28px minmax(150px,1.10fr) 108px minmax(96px,1fr) 88px!important;column-gap:10px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-head{padding:0 12px 5px 10px!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{padding:8px 12px 8px 10px!important;min-height:54px!important;align-items:center!important;}
  #tab-dashboard .cockpit-strategy-name strong{line-height:1.16!important;max-height:2.32em!important;margin-bottom:1px!important;}
  #tab-dashboard .cockpit-strategy-meta{gap:4px!important;}
  #tab-dashboard .cockpit-strategy-meta span,#tab-dashboard .cockpit-strategy-meta .badge{font-size:8px!important;line-height:1.1!important;}
  #tab-dashboard .cockpit-status-pill{padding:4px 7px!important;font-size:9px!important;line-height:1!important;}
  #tab-dashboard .cockpit-action-runtime{gap:1px!important;align-content:center!important;}
  #tab-dashboard .cockpit-action-runtime strong{font-size:10px!important;line-height:1.1!important;}
  #tab-dashboard .cockpit-action-runtime span{font-size:8px!important;line-height:1.15!important;}
  #tab-dashboard .cockpit-binance-zone .cockpit-control-btn{min-width:78px!important;width:78px!important;max-width:78px!important;padding:5px 0!important;}
}


/* v3.0.83 Binance visual softening + icon alignment */
.sidebar-version-widget span{font-size:9px!important;font-weight:550!important;letter-spacing:0!important;text-transform:none!important;}
.sidebar-version-widget strong{font-size:14px!important;font-weight:700!important;letter-spacing:-.01em!important;}
.sidebar-nav .nav-binance-icon{color:#f0b90b!important;}
.sidebar-nav .nav-binance-icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.sidebar-nav-group.binance .sidebar-icon{color:#f0b90b!important;}
#tab-dashboard .cockpit-queue-panel .monitor-title::before,
#tab-dashboard .cockpit-position-panel .monitor-title::before,
#tab-dashboard .cockpit-order-panel .monitor-title::before{content:none!important;display:none!important;}
#tab-dashboard .binance-section-icon{width:16px!important;height:16px!important;margin-right:7px!important;vertical-align:-2px!important;color:#f0b90b!important;}
#tab-dashboard .binance-section-icon svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
#tab-dashboard .cockpit-binance-zone .monitor-title{font-weight:650!important;letter-spacing:-.01em!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-position-value,
#tab-dashboard .cockpit-binance-zone .cockpit-mini-table strong,
#tab-dashboard .cockpit-binance-zone .cockpit-strategy-name strong,
#tab-dashboard .cockpit-binance-zone .cockpit-order-strategy strong,
#tab-dashboard .cockpit-binance-zone .cockpit-order-action{font-weight:600!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill,
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn,
#tab-dashboard .cockpit-binance-zone .cockpit-badge,
#tab-dashboard .cockpit-binance-zone .cockpit-count-pill,
#tab-dashboard .cockpit-binance-zone .cockpit-title-badge,
#tab-dashboard .cockpit-binance-zone .monitor-title .binance-chip,
#tab-dashboard .cockpit-binance-zone .monitor-title .monitor-badge,
#tab-dashboard .cockpit-binance-zone .signal-cache-head .inline-badge,
#tab-dashboard .cockpit-binance-zone .cockpit-title-tag{font-weight:500!important;letter-spacing:0!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn{font-size:10px!important;min-height:28px!important;padding:4px 12px!important;background:linear-gradient(180deg,rgba(43,33,14,.92),rgba(19,15,9,.96))!important;border-color:rgba(240,185,11,.34)!important;color:#f5cb58!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{background:linear-gradient(180deg,rgba(52,40,14,.90),rgba(21,15,8,.96))!important;color:#f8d98e!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-control-btn:hover{background:linear-gradient(180deg,rgba(67,51,18,.94),rgba(28,20,10,.98))!important;color:#fff2c1!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-status-pill{font-size:10px!important;padding:4px 10px!important;min-height:26px!important;}
#tab-dashboard .cockpit-order-panel .cockpit-status-pill{min-width:88px!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-broker-status{font-weight:500!important;}
#tab-dashboard .cockpit-binance-zone .cockpit-broker-name{font-weight:650!important;letter-spacing:.03em!important;}


/* v3.0.84 compact Binance zone heading */
#tab-dashboard .cockpit-broker-zone-head{
  min-height:30px!important;
  margin-bottom:8px!important;
  padding:0 2px 4px!important;
  border-bottom:0!important;
  align-items:center!important;
  gap:10px!important;
}
#tab-dashboard .cockpit-broker-brand{
  gap:8px!important;
}
#tab-dashboard .cockpit-broker-logo.binance-logo{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
#tab-dashboard .cockpit-broker-brand > div{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
}
#tab-dashboard .cockpit-broker-brand > div span{display:none!important;}
#tab-dashboard .cockpit-broker-brand strong{
  color:#f0c84b!important;
  font-size:14px!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
  line-height:1.1!important;
  text-transform:none!important;
}
#tab-dashboard .cockpit-broker-zone-runtime{
  gap:6px!important;
  align-items:center!important;
}
#tab-dashboard .cockpit-broker-status{
  min-height:24px!important;
  padding:3px 10px!important;
  font-size:9px!important;
  font-weight:600!important;
}
#tab-dashboard .cockpit-broker-meta{
  font-size:8px!important;
  line-height:1.2!important;
  color:#9d8b59!important;
}
#tab-dashboard .cockpit-binance-zone{
  padding-top:9px!important;
}
@media (max-width: 900px){
  #tab-dashboard .cockpit-broker-zone-head{
    min-height:26px!important;
    margin-bottom:6px!important;
    padding-bottom:2px!important;
  }
  #tab-dashboard .cockpit-broker-brand strong{font-size:13px!important;}
  #tab-dashboard .cockpit-broker-status{min-height:22px!important;padding:2px 8px!important;font-size:8px!important;}
  #tab-dashboard .cockpit-broker-meta{font-size:7px!important;}
}


/* v3.0.85 Binance icon color sync + sidebar vertical compaction */
#tab-dashboard .cockpit-binance-zone .cockpit-signal-panel .section-pro-icon svg,
#tab-dashboard .cockpit-binance-zone .cockpit-exception-panel .section-pro-icon svg{
  stroke:#f0b90b!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-signal-panel .section-pro-icon,
#tab-dashboard .cockpit-binance-zone .cockpit-exception-panel .section-pro-icon{
  color:#f0b90b!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-signal-panel .monitor-title,
#tab-dashboard .cockpit-binance-zone .cockpit-exception-panel .monitor-title{
  color:#f3ce63!important;
}

:root{--sidebar-width:196px!important;}
.app-sidebar{padding:8px 6px 8px!important;}
.sidebar-brand{padding:2px 4px 8px!important;}
.sidebar-nav.app-tabs{gap:6px!important;margin-top:8px!important;}
.sidebar-nav-group{border-radius:11px!important;}
.sidebar-nav-group + .sidebar-nav-group{margin-top:6px!important;}
.sidebar-group-toggle{padding:7px 10px!important;min-height:34px!important;}
.sidebar-group-items{padding:3px!important;gap:1px!important;}
.sidebar-nav .sidebar-nav-item,.sidebar-nav .app-tab{padding:7px 12px!important;min-height:32px!important;border-radius:9px!important;}
.sidebar-nav-group .sidebar-nav-item + .sidebar-nav-item,.sidebar-nav-group .app-tab + .app-tab{margin-top:1px!important;}
.sidebar-group-items .sidebar-nav-item + .sidebar-nav-item::before,.sidebar-group-items .app-tab + .app-tab::before{top:-1px!important;left:12px!important;right:12px!important;opacity:.9!important;}
.sidebar-version-widget{padding:7px 10px!important;min-height:36px!important;}
.sidebar-version-widget span{font-size:8px!important;}
.sidebar-version-widget strong{font-size:13px!important;}
.sidebar-group-mark{width:20px!important;height:20px!important;}
.sidebar-icon{width:16px!important;font-size:14px!important;}
.sidebar-nav .sidebar-nav-item span:last-child,.sidebar-nav .app-tab span:last-child{line-height:1.1!important;}

@media (max-width:1100px){
  :root{--sidebar-width:196px!important;}
  .app-sidebar{width:196px!important;min-width:196px!important;max-width:196px!important;padding:8px 6px!important;}
  .app-main{margin-left:196px!important;}
}


/* v3.0.86: Common sidebar sizing sync + full visibility for Cached Data / Exceptions */
#tab-dashboard .cockpit-binance-zone .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-dashboard .cockpit-binance-zone .cockpit-secondary-grid > .cockpit-exception-panel{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
#tab-dashboard .cockpit-binance-zone #cockpit-signal-health{
  max-height:none!important;
  overflow:visible!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-signal-table,
#tab-dashboard .cockpit-binance-zone .cockpit-exception-grid{
  height:auto!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-cache-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card{
  padding:10px 11px!important;
  gap:6px!important;
  min-height:0!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card-head strong{
  font-size:12px!important;
  line-height:1.25!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card-row,
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card-row strong{
  font-size:10px!important;
  line-height:1.25!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip{
  padding:9px 10px!important;
  gap:3px!important;
  min-height:0!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip span{
  font-size:9px!important;
  line-height:1.15!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip strong{
  font-size:16px!important;
  line-height:1.05!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-exception-chip em{
  font-size:10px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Common menu should match Binance submenu sizing and rhythm */
.sidebar-nav-group.common{
  background:linear-gradient(180deg,rgba(9,25,41,.96),rgba(8,18,32,.98))!important;
  border:1px solid rgba(74,142,187,.20)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.14),inset 0 1px 0 rgba(122,212,255,.03)!important;
}
.sidebar-nav-group.common .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(12,32,51,.95),rgba(9,22,39,.96))!important;
  color:#d9eaf6!important;
  border-bottom:1px solid rgba(84,161,204,.12)!important;
  padding:7px 10px!important;
  min-height:34px!important;
  font-size:13px!important;
}
.sidebar-nav-group.common .sidebar-group-mark{
  width:20px!important;
  height:20px!important;
  border-radius:6px!important;
  color:#7ed2ff!important;
  background:linear-gradient(180deg,rgba(18,52,79,.98),rgba(8,21,38,.98))!important;
  border:1px solid rgba(77,199,255,.22)!important;
}
.sidebar-nav-group.common .sidebar-group-items{
  padding:3px!important;
  gap:1px!important;
}
.sidebar-nav-group.common .sidebar-nav-item,
.sidebar-nav-group.common .app-tab{
  width:100%!important;
  padding:7px 12px!important;
  min-height:32px!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:600!important;
  gap:10px!important;
  background:linear-gradient(180deg,rgba(10,18,30,.96),rgba(7,13,23,.98))!important;
  border:1px solid rgba(77,199,255,.08)!important;
}
.sidebar-nav-group.common .sidebar-nav-item + .sidebar-nav-item,
.sidebar-nav-group.common .app-tab + .app-tab{margin-top:1px!important;}
.sidebar-nav-group.common .sidebar-nav-item + .sidebar-nav-item::before,
.sidebar-nav-group.common .app-tab + .app-tab::before{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  top:-1px;
  height:1px;
  background:rgba(109,162,190,.22)!important;
  opacity:.9!important;
}
.sidebar-nav-group.common .sidebar-nav-item:hover,
.sidebar-nav-group.common .app-tab:hover{
  background:linear-gradient(90deg,rgba(77,199,255,.18),rgba(77,199,255,.05))!important;
  border-color:rgba(77,199,255,.18)!important;
  color:#effaff!important;
}
.sidebar-nav-group.common .sidebar-nav-item.active,
.sidebar-nav-group.common .app-tab.active{
  background:linear-gradient(90deg,rgba(77,199,255,.22),rgba(77,199,255,.08))!important;
  border-color:rgba(77,199,255,.24)!important;
  box-shadow:inset 3px 0 0 #43c8ff!important;
  color:#f2fbff!important;
}
.sidebar-nav-group.common .sidebar-icon{
  width:16px!important;
  font-size:14px!important;
  color:#7fd7ff!important;
}
.sidebar-nav-group.common .sidebar-nav-item span:last-child,
.sidebar-nav-group.common .app-tab span:last-child{
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.1!important;
}
.sidebar-nav-group.common .nav-pro-icon svg{
  width:15px!important;
  height:15px!important;
  stroke-width:1.85!important;
}

@media (max-width:1480px){
  #tab-dashboard .cockpit-binance-zone .cockpit-cache-grid,
  #tab-dashboard .cockpit-binance-zone .cockpit-exception-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:900px){
  #tab-dashboard .cockpit-binance-zone .cockpit-cache-grid,
  #tab-dashboard .cockpit-binance-zone .cockpit-exception-cards{
    grid-template-columns:1fr!important;
  }
}


/* v3.0.87: refined group toggle controls + bull market common icon */
.sidebar-group-toggle{
  position:relative!important;
  overflow:hidden!important;
}
.sidebar-group-toggle::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 42%);
  opacity:.65;
}
.sidebar-group-identity{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
}
.sidebar-group-mark.common-mark{
  color:#7fe0ff!important;
  background:radial-gradient(circle at 35% 30%,rgba(129,226,255,.20),rgba(55,163,220,.12) 50%,rgba(10,27,43,.92) 100%)!important;
  border:1px solid rgba(114,216,255,.34)!important;
  box-shadow:inset 0 1px 0 rgba(190,244,255,.14),0 0 0 1px rgba(72,175,220,.08),0 8px 18px rgba(0,0,0,.22)!important;
}
.sidebar-group-mark.common-mark svg{
  width:14px!important;
  height:14px!important;
  stroke:currentColor!important;
}
.sidebar-group-chevron{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  margin-left:auto!important;
  border-radius:999px!important;
  font-size:0!important;
  line-height:0!important;
  color:transparent!important;
  transform:none!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.sidebar-group-chevron::before{
  content:"";
  width:6px;
  height:6px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  transition:transform .18s ease,color .18s ease;
}
.sidebar-nav-group.collapsed .sidebar-group-chevron::before{
  transform:rotate(-45deg) translate(-1px,0);
}
.sidebar-nav-group.common .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(14,38,61,.98),rgba(8,20,35,.96))!important;
  border:1px solid rgba(117,214,255,.24)!important;
  box-shadow:inset 0 1px 0 rgba(201,244,255,.09),0 4px 10px rgba(0,0,0,.18)!important;
}
.sidebar-nav-group.common .sidebar-group-chevron::before{color:#8bddff;}
.sidebar-nav-group.common .sidebar-group-toggle:hover .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(18,48,74,.98),rgba(9,24,40,.98))!important;
  border-color:rgba(128,223,255,.38)!important;
  box-shadow:inset 0 1px 0 rgba(214,250,255,.14),0 8px 18px rgba(0,0,0,.22)!important;
}
.sidebar-nav-group.binance .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(39,31,12,.96),rgba(17,14,9,.96))!important;
  border:1px solid rgba(240,185,11,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,227,137,.10),0 4px 10px rgba(0,0,0,.22)!important;
}
.sidebar-nav-group.binance .sidebar-group-chevron::before{color:#f0b90b;}
.sidebar-nav-group.binance .sidebar-group-toggle:hover .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(55,43,14,.98),rgba(23,18,9,.98))!important;
  border-color:rgba(240,185,11,.42)!important;
  box-shadow:inset 0 1px 0 rgba(255,236,165,.16),0 10px 18px rgba(0,0,0,.24)!important;
}


/* v3.0.88: precisely center sidebar group chevron */
.sidebar-group-chevron{
  position:relative!important;
}
.sidebar-group-chevron::before{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:7px!important;
  height:7px!important;
  box-sizing:border-box!important;
  margin:0!important;
  transform:translate(-50%,-62%) rotate(45deg)!important;
  transform-origin:center center!important;
}
.sidebar-nav-group.collapsed .sidebar-group-chevron::before{
  transform:translate(-58%,-50%) rotate(-45deg)!important;
}


/* v3.0.89: restore off-canvas sidebar behavior on mobile / half-width desktop */
@media (max-width:1100px){
  .app-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
  }

  .app-sidebar{
    position:fixed!important;
    inset:0 auto 0 0!important;
    width:196px!important;
    min-width:196px!important;
    max-width:196px!important;
    height:100vh!important;
    transform:translateX(calc(-100% - 8px))!important;
    transition:transform .22s ease!important;
    z-index:80!important;
  }

  .app-sidebar.open{
    transform:translateX(0)!important;
  }

  .app-main{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    min-width:0!important;
  }

  .sidebar-overlay{
    position:fixed!important;
    inset:0!important;
    z-index:70!important;
  }

  body.sidebar-open{
    overflow:hidden!important;
  }

  .topbar-icon-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* Mobile should use the full viewport immediately; sidebar only overlays after hamburger tap. */
@media (max-width:620px){
  .app-main{
    width:100%!important;
    margin-left:0!important;
  }

  #tab-dashboard{
    width:100%!important;
    max-width:100%!important;
  }

  .tail-shell-content.wrap{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}


/* v3.0.90: foldable/mobile equal-width runtime and position metrics */
@media (max-width:1100px){
  body.view-dashboard .topbar-ops-cluster{
    display:grid!important;
    width:100%!important;
    max-width:none!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "next next"
      "cpu ram"!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  body.view-dashboard #cockpit-next-run-card{
    grid-area:next!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.view-dashboard #cockpit-cpu-card{
    grid-area:cpu!important;
  }
  body.view-dashboard #cockpit-ram-card{
    grid-area:ram!important;
  }
  body.view-dashboard #cockpit-cpu-card,
  body.view-dashboard #cockpit-ram-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    justify-self:stretch!important;
  }

  #tab-dashboard .cockpit-position-summary{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "equity equity"
      "margin notional"!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric:nth-child(1){
    grid-area:equity!important;
    grid-column:auto!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric:nth-child(2){
    grid-area:margin!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric:nth-child(3){
    grid-area:notional!important;
  }
  #tab-dashboard .cockpit-position-summary .cockpit-position-metric{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}

@media (max-width:620px){
  body.view-dashboard .topbar-ops-cluster{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "next next"
      "cpu ram"!important;
    gap:8px!important;
  }
  body.view-dashboard #cockpit-cpu-card,
  body.view-dashboard #cockpit-ram-card{
    width:100%!important;
    min-width:0!important;
  }
  #tab-dashboard .cockpit-position-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "equity equity"
      "margin notional"!important;
    gap:8px!important;
  }
}


/* v3.0.91: Binance Strategies route / editor */
#tab-strategies .binance-strategies-shell{
  display:grid;
  gap:12px;
}
#tab-strategies .binance-strategies-page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:46px;
  padding:10px 14px;
  border:1px solid rgba(240,185,11,.22);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(18,16,11,.96),rgba(9,12,17,.98));
  box-shadow:inset 0 1px 0 rgba(255,226,139,.04);
}
#tab-strategies .binance-strategies-page-title{
  display:flex;
  align-items:center;
  gap:9px;
  color:#f1c84c;
  font-size:16px;
  font-weight:700;
}
#tab-strategies .binance-strategies-page-icon{
  display:inline-flex;
  width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
}
#tab-strategies .binance-strategies-page-icon img{width:100%;height:100%;object-fit:contain;}
#tab-strategies .binance-strategies-page-meta{font-size:10px;color:#9d8b59;}
#tab-strategies .binance-strategies-editor{
  border-color:rgba(240,185,11,.20)!important;
  background:linear-gradient(180deg,rgba(15,15,14,.98),rgba(7,10,14,.98))!important;
}
#tab-strategies .binance-strategies-editor .admin-section-title{color:#f0c84b!important;}
#tab-strategies .binance-strategies-editor .admin-section-meta{color:#9d8b59!important;}
#tab-strategies .binance-strategies-editor .admin-subtab.active,
#tab-strategies .binance-strategies-editor .admin-actions button:not(.secondary):not(.danger){
  border-color:rgba(240,185,11,.34)!important;
}
@media (min-width:1401px){
  #tab-strategies .admin-fields{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media (max-width:1100px){
  #tab-strategies .binance-strategies-page-head{padding:9px 11px;min-height:42px;}
  #tab-strategies .binance-strategies-page-title{font-size:14px;}
}
@media (max-width:620px){
  #tab-strategies .binance-strategies-page-head{align-items:flex-start;flex-direction:column;gap:4px;}
  #tab-strategies .admin-strategy-toolbar{grid-template-columns:1fr!important;}
}


/* v3.0.92: Binance dashboard strategy/cache title accent sync */
#tab-dashboard .cockpit-binance-zone .cockpit-strategy-name strong,
#tab-dashboard .cockpit-binance-zone .cockpit-position-table td strong,
#tab-dashboard .cockpit-binance-zone .cockpit-position-table tbody td:first-child strong,
#tab-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-order-strategy > strong,
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card-head strong,
#tab-dashboard .cockpit-binance-zone .cockpit-signal-name strong{
  color:#f5d77d!important;
  text-shadow:0 0 12px rgba(240,185,11,.08)!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card-row strong{
  color:#edd28a!important;
}
#tab-dashboard .cockpit-binance-zone .cockpit-position-table td strong,
#tab-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-order-strategy > strong,
#tab-dashboard .cockpit-binance-zone .cockpit-cache-card-head strong{
  letter-spacing:-.01em!important;
}


/* v3.0.93: restore strategy subtitle/meta tone */
#tab-dashboard .cockpit-binance-zone .cockpit-strategy-name .cockpit-strategy-meta > span:last-child{
  color:#7c98aa!important;
  text-shadow:none!important;
}


/* v3.0.95: Binance workspace color pass ONLY.
   IMPORTANT: typography, sizing, spacing, geometry and layout are intentionally untouched. */

/* ---------- BINANCE / TRADE ---------- */
#tab-trade > .monitor-card,
#tab-trade .trade-section,
#tab-trade .manual-order-card{
  border-color:rgba(240,185,11,.22)!important;
  background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.04),rgba(240,185,11,0) 22%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,232,152,.03)!important;
}
#tab-trade .trade-page-title,
#tab-trade .monitor-title,
#tab-trade .manual-preview-title{
  color:#f1ca5a!important;
}
#tab-trade .monitor-meta,
#tab-trade .trade-page-meta,
#tab-trade .manual-preview-meta,
#tab-trade .manual-order-status,
#tab-trade .manual-order-note,
#tab-trade .manual-symbol-caption,
#tab-trade .manual-input-suffix{
  color:#9b8955!important;
}
#tab-trade .trade-summary-card,
#tab-trade .manual-preview-card{
  border-color:rgba(240,185,11,.14)!important;
  background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,232,152,.025)!important;
}
#tab-trade .trade-summary-label,
#tab-trade .manual-preview-label,
#tab-trade .manual-field-label{
  color:#b59645!important;
}
#tab-trade .trade-summary-value,
#tab-trade .manual-preview-value{
  color:#fff4cf!important;
}
#tab-trade .manual-preview-sub{
  color:#937b41!important;
}
#tab-trade .manual-order-shell{
  border-color:rgba(240,185,11,.18)!important;
  background:linear-gradient(180deg,rgba(15,15,14,.98),rgba(7,10,14,.98))!important;
}
#tab-trade .manual-control,
#tab-trade .manual-symbol-trigger,
#tab-trade .manual-symbol-search{
  border-color:rgba(240,185,11,.22)!important;
  background:linear-gradient(180deg,rgba(18,16,11,.98),rgba(9,12,17,.98))!important;
  color:#fff4cf!important;
  box-shadow:inset 0 1px 0 rgba(255,232,152,.025)!important;
}
#tab-trade .manual-control:focus,
#tab-trade .manual-symbol-search:focus{
  border-color:rgba(240,185,11,.58)!important;
  box-shadow:0 0 0 2px rgba(240,185,11,.08)!important;
}
#tab-trade .manual-order-divider{
  background:linear-gradient(90deg,transparent,rgba(240,185,11,.24),transparent)!important;
}
#tab-trade .trade-table th{
  color:#cfa94a!important;
  background:linear-gradient(180deg,rgba(24,20,12,.94),rgba(16,14,10,.92))!important;
  border-bottom-color:rgba(240,185,11,.20)!important;
}
#tab-trade .trade-table td{
  color:#efe6c9!important;
  border-bottom-color:rgba(240,185,11,.09)!important;
}
#tab-trade .trade-table td:first-child{
  color:#f5d77d!important;
}
#tab-trade .secondary,
#tab-trade #manual-order-check{
  border-color:rgba(240,185,11,.30)!important;
  background:linear-gradient(180deg,rgba(39,31,12,.96),rgba(17,14,9,.96))!important;
  color:#f0c84b!important;
  box-shadow:none!important;
}
#tab-trade .secondary:hover,
#tab-trade #manual-order-check:hover{
  border-color:rgba(240,185,11,.44)!important;
  background:linear-gradient(180deg,rgba(55,43,14,.98),rgba(23,18,9,.98))!important;
  color:#fff0bd!important;
}
#tab-trade .manual-order-submit:not(:disabled){
  border-color:rgba(240,185,11,.52)!important;
  background:linear-gradient(180deg,#f7cc45,#d9a90c)!important;
  color:#151107!important;
}

/* ---------- BINANCE / STRATEGIES ---------- */
#tab-strategies .binance-strategies-page-head,
#tab-strategies .binance-strategies-editor,
#tab-strategies .admin-section{
  border-color:rgba(240,185,11,.22)!important;
  background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.04),rgba(240,185,11,0) 22%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,232,152,.03)!important;
}
#tab-strategies .binance-strategies-page-title,
#tab-strategies .admin-section-title,
#tab-strategies .admin-field-group-title{
  color:#f1ca5a!important;
}
#tab-strategies .binance-strategies-page-meta,
#tab-strategies .admin-section-meta,
#tab-strategies .admin-secret-status,
#tab-strategies .admin-unit{
  color:#9b8955!important;
}
#tab-strategies .admin-field-group{
  border-color:rgba(240,185,11,.14)!important;
  background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;
}
#tab-strategies .admin-field label{
  color:#d4bd7d!important;
}
#tab-strategies .admin-field-key{
  border-color:rgba(240,185,11,.13)!important;
  background:rgba(240,185,11,.045)!important;
  color:#9d8950!important;
}
#tab-strategies .admin-control,
#tab-strategies .admin-check-row{
  border-color:rgba(240,185,11,.22)!important;
  background:linear-gradient(180deg,rgba(18,16,11,.98),rgba(9,12,17,.98))!important;
  color:#fff4cf!important;
}
#tab-strategies .admin-control:focus{
  border-color:rgba(240,185,11,.58)!important;
  box-shadow:0 0 0 2px rgba(240,185,11,.08)!important;
}
#tab-strategies .admin-control[readonly]{
  color:#ae9d6a!important;
  background:rgba(18,16,11,.72)!important;
  border-color:rgba(240,185,11,.16)!important;
}
#tab-strategies .admin-check-row input{
  accent-color:#f0b90b!important;
}
#tab-strategies .admin-subtab{
  border-color:rgba(240,185,11,.20)!important;
  background:linear-gradient(180deg,rgba(30,25,13,.94),rgba(15,13,9,.96))!important;
  color:#cdb46d!important;
  box-shadow:none!important;
}
#tab-strategies .admin-subtab.active{
  border-color:rgba(240,185,11,.48)!important;
  background:linear-gradient(180deg,#f7cc45,#d9a90c)!important;
  color:#151107!important;
}
#tab-strategies .admin-actions button:not(.danger),
#tab-strategies .admin-strategy-toolbar-actions .secondary{
  border-color:rgba(240,185,11,.30)!important;
  background:linear-gradient(180deg,rgba(39,31,12,.96),rgba(17,14,9,.96))!important;
  color:#f0c84b!important;
  box-shadow:none!important;
}
#tab-strategies .admin-actions button:not(.danger):hover,
#tab-strategies .admin-strategy-toolbar-actions .secondary:hover{
  border-color:rgba(240,185,11,.44)!important;
  background:linear-gradient(180deg,rgba(55,43,14,.98),rgba(23,18,9,.98))!important;
  color:#fff0bd!important;
}

/* ---------- BINANCE / SCHEDULER ---------- */
#tab-scheduler .monitor-card,
#tab-scheduler .cockpit-diagnostics-disclosure{
  border-color:rgba(240,185,11,.22)!important;
  background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.04),rgba(240,185,11,0) 22%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,232,152,.03)!important;
}
#tab-scheduler .monitor-title,
#tab-scheduler .signal-cache-settings-title{
  color:#f1ca5a!important;
}
#tab-scheduler .monitor-meta,
#tab-scheduler .strategy-control-small,
#tab-scheduler .strategy-control-next-time,
#tab-scheduler .signal-cache-muted,
#tab-scheduler .signal-cache-name span,
#tab-scheduler .signal-cache-origin,
#tab-scheduler .signal-cache-consumers,
#tab-scheduler .signal-cache-details{
  color:#9b8955!important;
}
#tab-scheduler .strategy-control-table-head,
#tab-scheduler .signal-cache-head{
  color:#cfa94a!important;
  background:linear-gradient(180deg,rgba(24,20,12,.94),rgba(16,14,10,.92))!important;
}
#tab-scheduler .strategy-control-row,
#tab-scheduler .signal-cache-row{
  border-color:rgba(240,185,11,.13)!important;
  background:linear-gradient(180deg,rgba(11,14,19,.98),rgba(7,10,14,.98))!important;
}
#tab-scheduler .strategy-control-row:hover{
  border-color:rgba(240,185,11,.30)!important;
  background:linear-gradient(180deg,rgba(20,18,12,.98),rgba(9,12,17,.98))!important;
}
#tab-scheduler .strategy-control-symbol,
#tab-scheduler .strategy-control-name,
#tab-scheduler .strategy-control-next-date,
#tab-scheduler .signal-cache-name strong,
#tab-scheduler .signal-cache-value{
  color:#f5d77d!important;
}
#tab-scheduler .strategy-control-engine,
#tab-scheduler .strategy-control-jobs,
#tab-scheduler .strategy-control-next,
#tab-scheduler .signal-cache-miss-count{
  color:#d4bd7d!important;
}
#tab-scheduler .signal-cache-table,
#tab-scheduler .signal-cache-settings,
#tab-scheduler .signal-cache-policy-row{
  border-color:rgba(240,185,11,.14)!important;
}
#tab-scheduler .signal-cache-settings,
#tab-scheduler .signal-cache-policy-row{
  background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;
}
#tab-scheduler .signal-cache-settings-btn{
  border-color:rgba(240,185,11,.34)!important;
  background:rgba(240,185,11,.07)!important;
  color:#f0c84b!important;
  box-shadow:none!important;
}
#tab-scheduler .signal-cache-count{
  border-color:rgba(240,185,11,.16)!important;
  background:rgba(240,185,11,.045)!important;
  color:#bba461!important;
}
#tab-scheduler .signal-cache-policy-name strong{
  color:#f5d77d!important;
}
#tab-scheduler .signal-cache-policy-name span,
#tab-scheduler .signal-cache-policy-interval{
  color:#aa9660!important;
}
#tab-scheduler .signal-cache-policy-row input{
  border-color:rgba(240,185,11,.24)!important;
  background:#0d0e0f!important;
  color:#fff4cf!important;
}
#tab-scheduler .signal-cache-policy-close{
  border-color:rgba(240,185,11,.22)!important;
  background:linear-gradient(180deg,rgba(30,25,13,.94),rgba(15,13,9,.96))!important;
  color:#cdb46d!important;
}
#tab-scheduler .signal-cache-policy-save{
  border-color:rgba(240,185,11,.55)!important;
  background:linear-gradient(180deg,#f7cc45,#d9a90c)!important;
  color:#151107!important;
}


/* v3.0.96: Binance Trade Open Positions semantic colors */
#tab-trade .trade-table td.position-side-long{
  color:var(--green)!important;
}
#tab-trade .trade-table td.position-side-short{
  color:var(--red)!important;
}
#tab-trade .trade-table td.pnl-positive{
  color:var(--green)!important;
}
#tab-trade .trade-table td.pnl-negative{
  color:var(--red)!important;
}


/* v3.0.97: Trade PnL summary semantics + Open Positions type scale */
#tab-trade .trade-summary-value.positive{
  color:var(--green)!important;
}
#tab-trade .trade-summary-value.negative{
  color:var(--red)!important;
}
#tab-trade .trade-table th{
  font-size:10px!important;
}
#tab-trade .trade-table td{
  font-size:11px!important;
}
#tab-trade .trade-table td:first-child strong{
  font-size:11px!important;
}
#tab-trade .trade-table td:first-child > div{
  font-size:9px!important;
}


/* v3.0.98: Strategies native select popup readability matches Trade */
#tab-strategies select.admin-control option{
  background:#f4f7fa!important;
  color:#102433!important;
  font-weight:800!important;
}


/* v3.0.99: Strategies typography weight normalized to Trade-style regular text */
#tab-strategies .binance-strategies-page-title,
#tab-strategies .binance-strategies-page-meta,
#tab-strategies .admin-section-title,
#tab-strategies .admin-section-meta,
#tab-strategies .admin-field-group-title,
#tab-strategies .admin-field label,
#tab-strategies .admin-field-key,
#tab-strategies .admin-control,
#tab-strategies select.admin-control option,
#tab-strategies .admin-check-row,
#tab-strategies .admin-check-row label,
#tab-strategies .admin-unit,
#tab-strategies .admin-secret-status,
#tab-strategies .admin-subtab,
#tab-strategies .admin-actions button,
#tab-strategies .admin-strategy-toolbar-actions button{
  font-weight:400!important;
}


/* v3.0.100: Binance Scheduler detail-card palette only (no typography/geometry changes) */
#tab-scheduler .strategy-card{
  border-color:rgba(240,185,11,.22)!important;
  background:linear-gradient(180deg,rgba(14,14,13,.98),rgba(7,9,12,.99))!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,230,145,.03)!important;
}
#tab-scheduler .strategy-card .job-card-head{
  background:linear-gradient(180deg,rgba(21,18,11,.96),rgba(10,11,13,.98))!important;
  border-bottom-color:rgba(240,185,11,.18)!important;
}
#tab-scheduler .job-symbol-main,
#tab-scheduler .job-strategy-name{
  color:#f5d77d!important;
}
#tab-scheduler .job-id,
#tab-scheduler .job-next-run{
  color:#a89358!important;
}

#tab-scheduler .strategy-section{
  border-color:rgba(240,185,11,.22)!important;
  background:linear-gradient(180deg,rgba(13,14,16,.98),rgba(7,9,12,.99))!important;
  box-shadow:inset 0 1px 0 rgba(255,230,145,.025),0 0 0 1px rgba(240,185,11,.025)!important;
}
#tab-scheduler .strategy-section-head{
  border-bottom-color:rgba(240,185,11,.17)!important;
  background:linear-gradient(180deg,rgba(23,20,12,.96),rgba(13,13,12,.98))!important;
}
#tab-scheduler .strategy-section-title{
  color:#f5d77d!important;
}
#tab-scheduler .strategy-section-title::before,
#tab-scheduler .strategy-section-meta,
#tab-scheduler .run-summary-label,
#tab-scheduler .decision-run-label,
#tab-scheduler .status-subsection-title{
  color:#f0b90b!important;
}
#tab-scheduler .strategy-card .row{
  border-color:rgba(240,185,11,.12)!important;
}
#tab-scheduler .strategy-card .row span,
#tab-scheduler .run-summary-key,
#tab-scheduler .decision-label,
#tab-scheduler .decision-preview-disclaimer{
  color:#a89358!important;
}
#tab-scheduler .strategy-card .row strong,
#tab-scheduler .run-summary-value,
#tab-scheduler .decision-value{
  color:#f7efd6!important;
}

#tab-scheduler .decision-preview-block,
#tab-scheduler .run-summary-item,
#tab-scheduler .decision-node,
#tab-scheduler .run-status-help,
#tab-scheduler .status-guide-row{
  border-color:rgba(240,185,11,.16)!important;
  background:linear-gradient(180deg,rgba(18,16,11,.84),rgba(8,10,13,.94))!important;
  box-shadow:inset 0 1px 0 rgba(255,229,139,.02)!important;
}
#tab-scheduler .decision-node.decision-action{
  border-color:rgba(240,185,11,.26)!important;
  box-shadow:0 0 18px rgba(240,185,11,.06)!important;
}
#tab-scheduler .run-summary{
  border-top-color:rgba(240,185,11,.15)!important;
}
#tab-scheduler .decision-arrow{
  color:#f0b90b!important;
}
#tab-scheduler .decision-run-box{
  border-top-color:rgba(240,185,11,.15)!important;
}

/* v3.1.72 - Scheduler header actions: semantic colors instead of uniform Binance gold. */
#tab-scheduler .job-manage-state-btn{
  border-color:rgba(148,163,184,.42)!important;
  background:linear-gradient(180deg,rgba(51,65,85,.42),rgba(15,23,42,.72))!important;
  color:#d5deea!important;
  box-shadow:0 0 14px rgba(148,163,184,.05)!important;
}
#tab-scheduler .job-manage-state-btn:hover{
  border-color:rgba(203,213,225,.66)!important;
  background:linear-gradient(180deg,rgba(71,85,105,.56),rgba(20,29,46,.86))!important;
  color:#f5f8fc!important;
}
#tab-scheduler .job-refresh-btn{
  border-color:rgba(56,189,248,.50)!important;
  background:linear-gradient(180deg,rgba(8,69,101,.54),rgba(6,27,46,.86))!important;
  color:#7ddcff!important;
  box-shadow:0 0 14px rgba(56,189,248,.08)!important;
}
#tab-scheduler .job-refresh-btn:hover{
  border-color:rgba(125,220,255,.78)!important;
  background:linear-gradient(180deg,rgba(10,91,130,.68),rgba(7,37,60,.94))!important;
  color:#d8f5ff!important;
}
#tab-scheduler .job-run-details-btn{
  border-color:rgba(199,128,255,.50)!important;
  background:linear-gradient(180deg,rgba(78,38,111,.48),rgba(31,17,48,.84))!important;
  color:#d8adff!important;
  box-shadow:0 0 14px rgba(199,128,255,.08)!important;
}
#tab-scheduler .job-run-details-btn:hover{
  border-color:rgba(222,171,255,.80)!important;
  background:linear-gradient(180deg,rgba(102,50,143,.64),rgba(42,22,62,.94))!important;
  color:#f2ddff!important;
}
#tab-scheduler .job-lifecycle-btn.stop{
  border-color:rgba(255,93,115,.52)!important;
  background:linear-gradient(180deg,rgba(101,29,42,.46),rgba(45,15,22,.84))!important;
  color:#ff9dad!important;
  box-shadow:0 0 14px rgba(255,93,115,.08)!important;
}
#tab-scheduler .job-lifecycle-btn.stop:hover{
  border-color:rgba(255,135,151,.80)!important;
  background:linear-gradient(180deg,rgba(126,36,52,.62),rgba(58,18,28,.94))!important;
  color:#ffd7de!important;
}
#tab-scheduler .job-lifecycle-btn.start{
  border-color:rgba(25,229,197,.48)!important;
  background:linear-gradient(180deg,rgba(7,82,70,.44),rgba(6,39,35,.84))!important;
  color:#72f5df!important;
  box-shadow:0 0 14px rgba(25,229,197,.08)!important;
}
#tab-scheduler .job-lifecycle-btn.start:hover{
  border-color:rgba(114,245,223,.78)!important;
  background:linear-gradient(180deg,rgba(8,104,88,.60),rgba(7,52,46,.94))!important;
  color:#d5fff8!important;
}
#tab-scheduler .job-top-btn{
  border-color:rgba(240,185,11,.42)!important;
  background:linear-gradient(180deg,rgba(62,48,15,.62),rgba(25,20,10,.90))!important;
  color:#f4cf5e!important;
  box-shadow:0 0 14px rgba(240,185,11,.07)!important;
}
#tab-scheduler .job-top-btn:hover{
  border-color:rgba(255,211,79,.72)!important;
  background:linear-gradient(180deg,rgba(78,60,17,.78),rgba(32,24,10,.96))!important;
  color:#fff0b0!important;
}
#tab-scheduler .job-risk-badge,
#tab-scheduler .job-risk-badge.allocation{
  border-color:rgba(240,185,11,.32)!important;
  background:rgba(240,185,11,.07)!important;
  color:#f0c84b!important;
}
#tab-scheduler .run-status-info-btn{
  border-color:rgba(240,185,11,.28)!important;
  background:rgba(240,185,11,.06)!important;
  color:#f0c84b!important;
}
#tab-scheduler .run-status-info-btn:hover{
  border-color:rgba(240,185,11,.50)!important;
  background:rgba(240,185,11,.12)!important;
  color:#fff0bd!important;
}

/* Preserve semantic state colors. */
#tab-scheduler .job-status.running{color:var(--green)!important;border-color:rgba(25,229,197,.44)!important;}
#tab-scheduler .job-status.stopped{color:#f0b90b!important;border-color:rgba(240,185,11,.42)!important;}
#tab-scheduler .job-status.missing{color:var(--red)!important;border-color:rgba(255,93,115,.42)!important;}
#tab-scheduler .run-status-success{color:#8ff0bd!important;}
#tab-scheduler .run-status-warning{color:#ffd477!important;}
#tab-scheduler .run-status-error{color:#ff9b9b!important;}
#tab-scheduler .run-status-neutral{color:#b7a66d!important;}


/* v3.0.101: global base canvas -> pure black */
html,
body{
  background:#000!important;
}
body{
  background-image:none!important;
}
body::before{
  display:none!important;
  background:none!important;
}
.app-shell,
.app-main,
.tail-shell-content.wrap{
  background:#000!important;
}
.app-sidebar{
  background:#000!important;
}
.app-topbar{
  background:#000!important;
}
@media (max-width:1100px){
  html,body,
  .app-shell,
  .app-main,
  .tail-shell-content.wrap,
  .app-sidebar,
  .app-topbar{
    background:#000!important;
  }
}


/* v3.0.102: Common(master) adopts cyan-to-black gradient language aligned with Binance zone */
.app-sidebar{
  background:linear-gradient(180deg,rgba(8,24,38,.98) 0%, rgba(4,12,20,.99) 52%, rgba(0,0,0,.995) 100%)!important;
  border-right:1px solid rgba(77,216,255,.14)!important;
  box-shadow:12px 0 28px rgba(0,0,0,.24)!important;
}
.app-topbar{
  background:linear-gradient(180deg,rgba(8,24,38,.96) 0%, rgba(4,14,23,.985) 54%, rgba(0,0,0,.995) 100%)!important;
  border-bottom:1px solid rgba(77,216,255,.12)!important;
}
.topbar-clock-card,
.topbar-health,
.topbar-version,
.topbar-search,
.topbar-search-kbd,
.topbar-icon-btn{
  background:linear-gradient(180deg,rgba(10,28,43,.96),rgba(4,12,20,.98))!important;
}
.topbar-clock-card,
.topbar-health,
.topbar-version,
.topbar-search,
.topbar-search-kbd,
.topbar-icon-btn{
  border-color:rgba(77,216,255,.14)!important;
}
.sidebar-nav-group.common{
  background:linear-gradient(180deg,rgba(12,34,50,.92) 0%, rgba(7,19,31,.98) 48%, rgba(0,0,0,.995) 100%)!important;
  border:1px solid rgba(77,216,255,.18)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(122,212,255,.05)!important;
}
.sidebar-nav-group.common .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(16,46,68,.96) 0%, rgba(10,27,42,.98) 55%, rgba(0,0,0,.99) 100%)!important;
  color:#dff6ff!important;
  border-bottom:1px solid rgba(84,161,204,.14)!important;
}
.sidebar-nav-group.common .sidebar-group-mark{
  color:#8ee8ff!important;
  background:radial-gradient(circle at 35% 30%,rgba(129,226,255,.22),rgba(55,163,220,.10) 52%,rgba(0,0,0,.92) 100%)!important;
  border:1px solid rgba(114,216,255,.34)!important;
  box-shadow:inset 0 1px 0 rgba(190,244,255,.14),0 0 0 1px rgba(72,175,220,.08),0 8px 18px rgba(0,0,0,.22)!important;
}
.sidebar-nav-group.common .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(18,48,74,.98),rgba(0,0,0,.98))!important;
  border:1px solid rgba(117,214,255,.26)!important;
  box-shadow:inset 0 1px 0 rgba(201,244,255,.09),0 4px 10px rgba(0,0,0,.20)!important;
}
.sidebar-nav-group.common .sidebar-nav-item,
.sidebar-nav-group.common .app-tab{
  background:linear-gradient(180deg,rgba(12,24,37,.97) 0%, rgba(6,14,23,.985) 50%, rgba(0,0,0,.995) 100%)!important;
  border:1px solid rgba(77,199,255,.10)!important;
}
.sidebar-nav-group.common .sidebar-nav-item + .sidebar-nav-item::before,
.sidebar-nav-group.common .app-tab + .app-tab::before{
  background:rgba(109,162,190,.20)!important;
}
.sidebar-nav-group.common .sidebar-nav-item:hover,
.sidebar-nav-group.common .app-tab:hover{
  background:linear-gradient(90deg,rgba(77,199,255,.20),rgba(77,199,255,.06))!important;
  border-color:rgba(77,199,255,.20)!important;
  color:#effaff!important;
}
.sidebar-nav-group.common .sidebar-nav-item.active,
.sidebar-nav-group.common .app-tab.active{
  background:linear-gradient(90deg,rgba(77,199,255,.24),rgba(77,199,255,.08))!important;
  border-color:rgba(77,199,255,.26)!important;
  box-shadow:inset 3px 0 0 #43c8ff,0 6px 16px rgba(0,0,0,.12)!important;
  color:#f2fbff!important;
}


/* v3.0.103: Common workspace cyan/black gradient pass — color only */
/* Global Common runtime strip */
.app-topbar{
  background:linear-gradient(180deg,rgba(7,27,40,.985) 0%,rgba(3,14,22,.992) 56%,rgba(0,0,0,.998) 100%)!important;
  border-bottom-color:rgba(77,216,255,.15)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
}
.topbar-op-card,
.topbar-fear-greed,
.topbar-clock-card{
  background:linear-gradient(180deg,rgba(11,35,51,.97) 0%,rgba(5,20,31,.985) 55%,rgba(0,0,0,.995) 100%)!important;
  border-color:rgba(77,216,255,.20)!important;
  box-shadow:inset 0 1px 0 rgba(123,227,255,.035),0 6px 16px rgba(0,0,0,.12)!important;
}

/* Common > Main Dashboard: Master market + calendar only. Binance zone remains untouched. */
#tab-dashboard > .cockpit-market-overview,
#tab-dashboard > .cockpit-dashboard-calendar{
  background:linear-gradient(180deg,rgba(9,31,46,.96) 0%,rgba(4,17,27,.985) 54%,rgba(0,0,0,.995) 100%)!important;
  border-color:rgba(77,216,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-dashboard > .cockpit-market-overview .market-card{
  background:linear-gradient(180deg,rgba(10,35,51,.96) 0%,rgba(4,18,28,.985) 58%,rgba(0,0,0,.995) 100%)!important;
}
#tab-dashboard > .cockpit-dashboard-calendar .market-calendar-row{
  background:linear-gradient(90deg,rgba(8,29,43,.42),rgba(0,0,0,.10))!important;
  border-bottom-color:rgba(77,216,255,.09)!important;
}
#tab-dashboard > .cockpit-dashboard-calendar .market-calendar-row:hover{
  background:linear-gradient(90deg,rgba(16,56,78,.48),rgba(0,0,0,.14))!important;
}

/* Common > Market */
#tab-market > .monitor-card{
  background:linear-gradient(180deg,rgba(9,31,46,.97) 0%,rgba(4,17,27,.988) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:rgba(77,216,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-market .market-policy{
  background:linear-gradient(180deg,rgba(8,28,42,.82),rgba(0,0,0,.78))!important;
  border-color:rgba(77,216,255,.16)!important;
}
#tab-market .market-policy-chip,
#tab-market .market-runtime-meta{
  background:linear-gradient(180deg,rgba(10,37,54,.90),rgba(0,0,0,.88))!important;
  border-color:rgba(77,216,255,.18)!important;
}
#tab-market .market-card{
  background:linear-gradient(180deg,rgba(10,35,51,.96) 0%,rgba(4,18,28,.985) 58%,rgba(0,0,0,.995) 100%)!important;
}
#tab-market .market-calendar-card{
  background:linear-gradient(180deg,rgba(9,31,46,.96) 0%,rgba(4,17,27,.985) 54%,rgba(0,0,0,.995) 100%)!important;
  border-color:rgba(77,216,255,.20)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.03)!important;
}
#tab-market .market-calendar-toolbar,
#tab-market .market-calendar-head{
  background:linear-gradient(180deg,rgba(12,40,57,.72),rgba(0,0,0,.52))!important;
  border-color:rgba(77,216,255,.11)!important;
}
#tab-market .market-calendar-row{
  background:linear-gradient(90deg,rgba(8,29,43,.38),rgba(0,0,0,.10))!important;
  border-bottom-color:rgba(77,216,255,.08)!important;
}

/* Common > CEX Listing News */
#tab-cex-listing-news > .listing-news-shell{
  background:linear-gradient(180deg,rgba(9,31,46,.97) 0%,rgba(4,17,27,.988) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:rgba(77,216,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-cex-listing-news .market-policy{
  background:linear-gradient(180deg,rgba(8,28,42,.82),rgba(0,0,0,.78))!important;
  border-color:rgba(77,216,255,.16)!important;
}
#tab-cex-listing-news .market-policy-chip,
#tab-cex-listing-news .market-runtime-meta{
  background:linear-gradient(180deg,rgba(10,37,54,.90),rgba(0,0,0,.88))!important;
  border-color:rgba(77,216,255,.18)!important;
}
#tab-cex-listing-news .listing-news-provider{
  background:linear-gradient(180deg,rgba(9,31,46,.94) 0%,rgba(3,15,24,.985) 56%,rgba(0,0,0,.995) 100%)!important;
  border-color:rgba(77,216,255,.16)!important;
}
#tab-cex-listing-news .listing-news-provider-head{
  background:linear-gradient(180deg,rgba(13,43,61,.78),rgba(1,8,13,.84))!important;
  border-bottom-color:rgba(77,216,255,.12)!important;
}
#tab-cex-listing-news .listing-news-item{
  border-bottom-color:rgba(77,216,255,.10)!important;
}

/* Common > Log */
#tab-log > .monitor-card{
  background:linear-gradient(180deg,rgba(9,31,46,.97) 0%,rgba(4,17,27,.988) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:rgba(77,216,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-log .unified-log-filter,
#tab-log .unified-log-search,
#tab-log .log{
  background:linear-gradient(180deg,rgba(9,30,45,.92),rgba(0,0,0,.94))!important;
  border-color:rgba(77,216,255,.18)!important;
}
#tab-log .unified-log-columns{
  background:linear-gradient(180deg,rgba(12,40,57,.90),rgba(0,0,0,.90))!important;
  border-color:rgba(77,216,255,.15)!important;
}
#tab-log .unified-trade-event{
  background:linear-gradient(180deg,rgba(10,34,50,.94) 0%,rgba(4,17,26,.985) 55%,rgba(0,0,0,.992) 100%)!important;
  border-color:rgba(77,216,255,.14)!important;
}

/* Common > System */
#tab-system .admin-section{
  background:linear-gradient(180deg,rgba(9,31,46,.97) 0%,rgba(4,17,27,.988) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:rgba(77,216,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-system .admin-system-card,
#tab-system .admin-field-group,
#tab-system .admin-check-row,
#tab-system .admin-message{
  background:linear-gradient(180deg,rgba(9,31,46,.88),rgba(0,0,0,.88))!important;
  border-color:rgba(77,216,255,.16)!important;
}
#tab-system .admin-control{
  background:linear-gradient(180deg,rgba(9,31,46,.92),rgba(0,0,0,.94))!important;
  border-color:rgba(77,216,255,.20)!important;
}
#tab-system .admin-field-key{
  background:linear-gradient(180deg,rgba(12,40,57,.55),rgba(0,0,0,.58))!important;
  border-color:rgba(77,216,255,.12)!important;
}

/* Common action buttons keep the cyan family while gaining the same black depth. */
#tab-market button.secondary,
#tab-cex-listing-news button.secondary,
#tab-log button.secondary,
#tab-system button.secondary{
  background:linear-gradient(180deg,rgba(13,45,65,.96),rgba(0,0,0,.96))!important;
  border-color:rgba(77,216,255,.24)!important;
}
\n\n/* v3.0.104: Toss workspace foundation — Toss blue + black */\n.sidebar-nav-group.toss{\n  background:linear-gradient(180deg,rgba(10,42,94,.94) 0%,rgba(4,21,50,.985) 48%,rgba(0,0,0,.996) 100%)!important;\n  border:1px solid rgba(49,130,246,.32)!important;\n  box-shadow:0 9px 22px rgba(0,67,180,.10),inset 0 1px 0 rgba(105,171,255,.08)!important;\n}\n.sidebar-nav-group.toss .sidebar-group-toggle{\n  background:linear-gradient(180deg,rgba(18,67,146,.95) 0%,rgba(8,35,82,.985) 56%,rgba(0,0,0,.995) 100%)!important;\n  color:#eaf3ff!important;\n  border-bottom:1px solid rgba(49,130,246,.26)!important;\n}\n.sidebar-group-mark.toss-mark{\n  width:20px!important;\n  height:20px!important;\n  border-radius:6px!important;\n  display:inline-flex!important;\n  align-items:center!important;\n  justify-content:center!important;\n  background:linear-gradient(180deg,rgba(18,64,140,.78),rgba(0,0,0,.96))!important;\n  border:1px solid rgba(78,149,255,.36)!important;\n  box-shadow:inset 0 1px 0 rgba(162,203,255,.12),0 6px 14px rgba(0,48,140,.16)!important;\n}\n.sidebar-group-mark.toss-mark svg{width:15px!important;height:15px!important;display:block!important;}\n.sidebar-nav-group.toss .sidebar-group-chevron{\n  background:linear-gradient(180deg,rgba(19,70,153,.96),rgba(0,0,0,.98))!important;\n  border:1px solid rgba(65,139,255,.42)!important;\n  box-shadow:inset 0 1px 0 rgba(184,216,255,.10),0 4px 10px rgba(0,0,0,.20)!important;\n}\n.sidebar-nav-group.toss .sidebar-group-chevron::before{color:#5d9fff!important;}\n.sidebar-nav-group.toss .sidebar-group-items{padding:3px!important;gap:1px!important;}\n.sidebar-nav-group.toss .sidebar-nav-item,\n.sidebar-nav-group.toss .app-tab{\n  width:100%!important;\n  padding:7px 12px!important;\n  min-height:32px!important;\n  border-radius:9px!important;\n  font-size:13px!important;\n  font-weight:600!important;\n  gap:10px!important;\n  background:linear-gradient(180deg,rgba(8,28,65,.96),rgba(0,0,0,.995))!important;\n  border:1px solid rgba(49,130,246,.14)!important;\n}\n.sidebar-nav-group.toss .sidebar-nav-item:hover,\n.sidebar-nav-group.toss .app-tab:hover{\n  background:linear-gradient(90deg,rgba(49,130,246,.23),rgba(20,87,210,.07))!important;\n  border-color:rgba(49,130,246,.30)!important;\n  color:#f2f7ff!important;\n}\n.sidebar-nav-group.toss .sidebar-nav-item.active,\n.sidebar-nav-group.toss .app-tab.active{\n  background:linear-gradient(90deg,rgba(49,130,246,.34),rgba(18,89,230,.12))!important;\n  border-color:rgba(49,130,246,.42)!important;\n  box-shadow:inset 3px 0 0 #3182f6,0 6px 16px rgba(0,0,0,.12)!important;\n  color:#f5f9ff!important;\n}\n.sidebar-nav-group.toss .nav-toss-icon{color:#5ea0ff!important;}\n.sidebar-nav-group.toss .nav-toss-icon svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}\n\n#tab-toss-trade{background:#000!important;}\n.toss-trade-shell{\n  border:1px solid rgba(49,130,246,.30);\n  border-radius:16px;\n  background:linear-gradient(180deg,rgba(8,35,82,.80) 0%,rgba(3,15,38,.93) 19%,rgba(0,0,0,.995) 62%);\n  box-shadow:inset 0 1px 0 rgba(119,176,255,.08),0 14px 30px rgba(0,0,0,.24);\n  overflow:hidden;\n}\n.toss-trade-header{\n  display:flex;align-items:center;justify-content:space-between;gap:16px;\n  padding:18px 20px;\n  border-bottom:1px solid rgba(49,130,246,.22);\n  background:linear-gradient(90deg,rgba(21,82,179,.23),rgba(0,0,0,.18));\n}\n.toss-trade-title-wrap{display:flex;align-items:center;gap:12px;min-width:0;}\n.toss-trade-logo{\n  width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:flex;align-items:center;justify-content:center;\n  background:linear-gradient(180deg,rgba(23,77,165,.75),rgba(1,8,21,.96));\n  border:1px solid rgba(80,151,255,.34);\n  box-shadow:inset 0 1px 0 rgba(172,210,255,.12),0 8px 18px rgba(0,62,170,.15);\n}\n.toss-trade-logo svg{width:26px;height:26px;display:block;}\n.toss-trade-title-wrap h2{margin:0;color:#7fb3ff;}\n.toss-trade-title-wrap p{margin:4px 0 0;color:#7e9aba;}\n.toss-trade-status{\n  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;\n  color:#8ca7c9;border:1px solid rgba(49,130,246,.24);background:rgba(0,0,0,.34);border-radius:999px;padding:7px 10px;\n}\n.toss-status-dot{width:7px;height:7px;border-radius:50%;background:#5f7898;box-shadow:0 0 10px rgba(95,120,152,.36);}\n.toss-summary-section,.toss-holdings-section{margin:14px;padding:16px;border:1px solid rgba(49,130,246,.21);border-radius:14px;background:linear-gradient(180deg,rgba(7,29,68,.70),rgba(0,0,0,.94));}\n.toss-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:13px;}\n.toss-section-heading h3{margin:0;color:#7fb3ff;}\n.toss-section-heading p{margin:4px 0 0;color:#7591b2;}\n.toss-section-note{color:#6383ab;}\n.toss-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}\n.toss-summary-card{padding:14px;border:1px solid rgba(49,130,246,.19);border-radius:12px;background:linear-gradient(180deg,rgba(8,32,74,.72),rgba(0,0,0,.96));}\n.toss-summary-card span{display:block;color:#7897bd;margin-bottom:7px;}\n.toss-summary-card strong{display:block;color:#eef5ff;}\n.toss-summary-card small{display:block;color:#536f94;margin-top:5px;}\n.toss-holding-filters{display:flex;align-items:center;gap:6px;}\n.toss-holding-filters span{border:1px solid rgba(49,130,246,.20);border-radius:999px;color:#6d8db4;background:rgba(0,0,0,.38);padding:5px 9px;}\n.toss-holding-filters span.active{border-color:rgba(49,130,246,.48);color:#9bc2ff;background:rgba(49,130,246,.15);}\n.toss-holdings-table-wrap{overflow-x:auto;border:1px solid rgba(49,130,246,.14);border-radius:12px;background:#02050b;}\n.toss-holdings-table{width:100%;border-collapse:collapse;min-width:960px;}\n.toss-holdings-table th{padding:11px 12px;text-align:left;color:#6994ce;background:linear-gradient(180deg,rgba(13,48,102,.54),rgba(0,0,0,.85));border-bottom:1px solid rgba(49,130,246,.18);}\n.toss-holdings-table td{padding:12px;border-bottom:1px solid rgba(49,130,246,.09);color:#dce9fb;}\n.toss-empty-row td{padding:0!important;border-bottom:0!important;}\n.toss-empty-state{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;background:radial-gradient(circle at 50% 0%,rgba(49,130,246,.09),transparent 48%);}\n.toss-empty-state strong{color:#92bfff;}\n.toss-empty-state span{color:#617fA5;}\n\n@media (max-width:1100px){\n  .toss-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}\n}\n@media (max-width:620px){\n  .toss-trade-header,.toss-section-heading{align-items:flex-start;flex-direction:column;}\n  .toss-summary-grid{grid-template-columns:1fr 1fr;}\n  .toss-trade-status{white-space:normal;}\n}\n

/* v3.0.105: refined Toss mark + Toss Trade workspace */
.sidebar-group-mark.toss-mark{
  width:21px!important;
  height:21px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.sidebar-group-mark.toss-mark img{
  display:block!important;
  width:20px!important;
  height:19px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 4px 8px rgba(25,101,255,.22));
}
.toss-trade-logo img{
  display:block;
  width:28px;
  height:27px;
  object-fit:contain;
  filter:drop-shadow(0 6px 12px rgba(24,99,255,.25));
}
.toss-order-section{
  margin:14px;
  padding:16px;
  border:1px solid rgba(49,130,246,.21);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(7,29,68,.70),rgba(0,0,0,.94));
}
.toss-order-status{
  color:#7faeff;
  border:1px solid rgba(49,130,246,.30);
  background:rgba(49,130,246,.09);
  border-radius:999px;
  padding:5px 9px;
}
.toss-order-placeholder{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:92px;
  padding:14px;
  border:1px solid rgba(49,130,246,.15);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(8,32,74,.62),rgba(0,0,0,.96));
}
.toss-order-placeholder-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:10px;
  color:#78abff;
  border:1px solid rgba(49,130,246,.28);
  background:rgba(49,130,246,.10);
}
.toss-order-placeholder strong{display:block;color:#a9c9ff;}
.toss-order-placeholder span:not(.toss-order-placeholder-icon){display:block;margin-top:4px;color:#6685ad;}

/* v3.0.107: Toss holdings live portfolio surface + provider-neutral account contract */
.toss-trade-header-actions{display:flex;align-items:center;gap:8px;}
.toss-trade-status.available{color:#77e3a8;border-color:rgba(54,211,128,.34);background:rgba(10,74,47,.18);}
.toss-trade-status.available .toss-status-dot{background:#35d884;box-shadow:0 0 10px rgba(53,216,132,.48);}
.toss-trade-status.error{color:#ff8394;border-color:rgba(255,83,105,.32);background:rgba(86,12,28,.18);}
.toss-trade-status.error .toss-status-dot{background:#ff5d73;box-shadow:0 0 10px rgba(255,93,115,.45);}
.toss-refresh-btn{border:1px solid rgba(49,130,246,.42);background:linear-gradient(180deg,rgba(20,79,174,.82),rgba(4,25,64,.95));color:#dcecff;border-radius:9px;padding:7px 11px;cursor:pointer;}
.toss-refresh-btn:hover{border-color:rgba(82,157,255,.65);background:linear-gradient(180deg,rgba(30,99,213,.9),rgba(5,31,82,.98));}
.toss-refresh-btn:disabled{opacity:.55;cursor:wait;}
.toss-account-message{margin-top:10px;padding:10px 12px;border:1px solid rgba(255,93,115,.22);border-radius:10px;background:rgba(70,10,23,.16);color:#cf8895;}
.toss-holdings-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.toss-holding-filters button{border:1px solid rgba(49,130,246,.20);border-radius:999px;color:#6d8db4;background:rgba(0,0,0,.38);padding:5px 9px;cursor:pointer;font:inherit;}
.toss-holding-filters button.active{border-color:rgba(49,130,246,.48);color:#9bc2ff;background:rgba(49,130,246,.15);}
.toss-holding-filters button:hover{border-color:rgba(49,130,246,.38);color:#b4d3ff;}
.toss-holdings-table tbody tr:hover{background:rgba(49,130,246,.035);}
.toss-holdings-table td strong{color:#a9c9ff;}
.toss-holding-name{color:#a8bbd2!important;}
.toss-market-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;border-radius:999px;padding:3px 7px;border:1px solid rgba(49,130,246,.22);background:rgba(49,130,246,.08);color:#8fbaff;}
.toss-market-kr{border-color:rgba(64,185,255,.28);color:#87d2ff;background:rgba(28,128,190,.08);}
.toss-market-us{border-color:rgba(103,126,255,.28);color:#aeb9ff;background:rgba(78,83,188,.09);}
.toss-holdings-table td small{display:block;margin-top:2px;color:inherit;opacity:.72;}
.toss-summary-card .pnl-positive,.toss-holdings-table .pnl-positive{color:var(--green)!important;}
.toss-summary-card .pnl-negative,.toss-holdings-table .pnl-negative{color:var(--red)!important;}

@media (max-width:1100px){
  .toss-trade-header-actions{width:100%;justify-content:space-between;}
  .toss-holdings-actions{width:100%;justify-content:space-between;}
}
@media (max-width:620px){
  .toss-trade-header-actions{align-items:stretch;flex-direction:column;}
  .toss-refresh-btn{width:100%;}
  .toss-holdings-actions{align-items:flex-start;flex-direction:column;}
}


/* v3.0.108: Toss Holdings reuses Binance Trade/Open Positions geometry and type scale.
   Columns remain Toss-specific; only the visual system is shared and recolored Toss blue + black. */
#tab-toss-trade .toss-holdings-section{
  margin:12px 14px 14px!important;
  padding:12px 14px!important;
  border:1px solid rgba(49,130,246,.24)!important;
  border-radius:14px!important;
  background:radial-gradient(circle at 0% 0%,rgba(49,130,246,.065),rgba(49,130,246,0) 22%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(116,167,255,.035)!important;
  overflow:hidden!important;
}
#tab-toss-trade .toss-holdings-section::after{
  display:none!important;
}
#tab-toss-trade .toss-holdings-monitor-header{
  align-items:center!important;
  margin-bottom:10px!important;
}
#tab-toss-trade .toss-holdings-section .monitor-title{
  color:#6da7ff!important;
}
#tab-toss-trade .toss-holdings-section .monitor-meta,
#tab-toss-trade .toss-holdings-section .toss-section-note{
  color:#6e8eb9!important;
}
#tab-toss-trade .toss-holdings-actions{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
}
#tab-toss-trade .toss-holding-filters{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
#tab-toss-trade .toss-holding-filters button{
  border:1px solid rgba(49,130,246,.24)!important;
  border-radius:999px!important;
  color:#7898c4!important;
  background:linear-gradient(180deg,rgba(12,30,62,.86),rgba(2,8,18,.98))!important;
  padding:4px 8px!important;
  cursor:pointer!important;
  font:inherit!important;
  box-shadow:none!important;
}
#tab-toss-trade .toss-holding-filters button.active{
  border-color:rgba(72,143,255,.52)!important;
  color:#b9d2ff!important;
  background:linear-gradient(180deg,rgba(35,91,190,.34),rgba(6,19,48,.98))!important;
}
#tab-toss-trade .toss-holding-filters button:hover{
  border-color:rgba(72,143,255,.40)!important;
  color:#d6e5ff!important;
}
#tab-toss-trade .toss-holdings-table-wrap{
  overflow-y:auto!important;
  overflow-x:auto!important;
  max-height:360px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
#tab-toss-trade .toss-holdings-table{
  width:100%!important;
  border-collapse:collapse!important;
  min-width:900px!important;
  font-size:11px!important;
}
#tab-toss-trade .toss-holdings-table th{
  position:sticky!important;
  top:0!important;
  z-index:1!important;
  padding:9px 10px!important;
  text-align:right!important;
  color:#6da7ff!important;
  background:linear-gradient(180deg,rgba(13,29,57,.96),rgba(7,13,24,.96))!important;
  border-bottom:1px solid rgba(49,130,246,.24)!important;
  font-size:10px!important;
  letter-spacing:.055em!important;
  white-space:nowrap!important;
}
#tab-toss-trade .toss-holdings-table th:first-child,
#tab-toss-trade .toss-holdings-table th:nth-child(2){
  text-align:left!important;
}
#tab-toss-trade .toss-holdings-table th:nth-child(3){
  text-align:center!important;
}
#tab-toss-trade .toss-holdings-table td{
  padding:9px 10px!important;
  text-align:right!important;
  border-bottom:1px solid rgba(49,130,246,.10)!important;
  color:#dce8f8!important;
  white-space:nowrap!important;
  font-size:11px!important;
}
#tab-toss-trade .toss-holdings-table td:first-child,
#tab-toss-trade .toss-holdings-table td:nth-child(2){
  text-align:left!important;
}
#tab-toss-trade .toss-holdings-table td:nth-child(3){
  text-align:center!important;
}
#tab-toss-trade .toss-holdings-table tr:last-child td{
  border-bottom:0!important;
}
#tab-toss-trade .toss-holdings-table tbody tr:hover{
  background:rgba(49,130,246,.035)!important;
}
#tab-toss-trade .toss-holdings-table td:first-child strong{
  color:#8ab8ff!important;
  font-size:11px!important;
}
#tab-toss-trade .toss-holding-name{
  color:#a8bbd2!important;
}
#tab-toss-trade .toss-market-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:30px!important;
  border-radius:999px!important;
  padding:3px 7px!important;
  border:1px solid rgba(49,130,246,.24)!important;
  background:rgba(49,130,246,.08)!important;
  color:#8fbaff!important;
}
#tab-toss-trade .toss-holdings-table td small{
  display:block!important;
  margin-top:2px!important;
  color:inherit!important;
  opacity:.72!important;
  font-size:9px!important;
}
#tab-toss-trade .toss-holdings-table .pnl-positive{
  color:var(--green)!important;
}
#tab-toss-trade .toss-holdings-table .pnl-negative{
  color:var(--red)!important;
}
#tab-toss-trade .toss-empty-row td{
  padding:0!important;
  border-bottom:0!important;
}
#tab-toss-trade .toss-empty-state{
  min-height:160px!important;
  background:radial-gradient(circle at 50% 0%,rgba(49,130,246,.075),transparent 48%)!important;
}

@media(min-width:761px) and (max-width:1100px){
  #tab-toss-trade .toss-holdings-table-wrap{overflow-x:hidden!important;}
  #tab-toss-trade .toss-holdings-table{
    min-width:0!important;
    table-layout:fixed!important;
    font-size:9px!important;
  }
  #tab-toss-trade .toss-holdings-table th{
    padding:7px 4px!important;
    font-size:7px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  #tab-toss-trade .toss-holdings-table td{
    padding:8px 4px!important;
    font-size:9px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #tab-toss-trade .toss-holdings-table td:first-child strong{font-size:9px!important;}
  #tab-toss-trade .toss-holdings-table td small{font-size:7px!important;}
}

@media(max-width:620px){
  #tab-toss-trade .toss-holdings-section{
    margin:10px!important;
    padding:10px!important;
  }
  #tab-toss-trade .toss-holdings-monitor-header{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  #tab-toss-trade .toss-holdings-actions{
    width:100%!important;
    justify-content:space-between!important;
  }
}

/* v3.0.109: Toss account overview mirrors Binance Trade account geometry/type scale.
   Only the brand palette differs: Toss blue + black. */
#tab-toss-trade .toss-account-overview{
  border-color:rgba(49,130,246,.28)!important;
  background:radial-gradient(circle at 0% 0%,rgba(49,130,246,.07),rgba(49,130,246,0) 23%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(125,177,255,.035)!important;
}
#tab-toss-trade .toss-account-title-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
#tab-toss-trade .toss-account-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
#tab-toss-trade .toss-account-logo img{
  display:block;
  width:18px;
  height:18px;
  object-fit:contain;
  filter:drop-shadow(0 4px 8px rgba(25,101,255,.24));
}
#tab-toss-trade .toss-account-overview .trade-page-title{
  color:#6da7ff!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-card{
  border-color:rgba(49,130,246,.17)!important;
  background:linear-gradient(180deg,rgba(10,18,34,.98),rgba(6,9,15,.99))!important;
  box-shadow:inset 0 1px 0 rgba(137,183,255,.025)!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-label{
  color:#668fc9!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-value{
  color:#edf4ff!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-value.pnl-positive{
  color:var(--green)!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-value.pnl-negative{
  color:var(--red)!important;
}
#tab-toss-trade .toss-account-overview .toss-trade-status.available{
  color:#77e3a8!important;
  border-color:rgba(54,211,128,.34)!important;
  background:rgba(10,74,47,.18)!important;
}
#tab-toss-trade .toss-account-overview .toss-trade-status.error{
  color:#ff8394!important;
  border-color:rgba(255,83,105,.32)!important;
  background:rgba(86,12,28,.18)!important;
}
#tab-toss-trade .toss-account-overview .toss-refresh-btn{
  border-color:rgba(49,130,246,.38)!important;
  background:linear-gradient(180deg,rgba(22,74,164,.75),rgba(4,20,52,.96))!important;
  color:#dcecff!important;
}
#tab-toss-trade .toss-account-overview .toss-refresh-btn:hover{
  border-color:rgba(82,157,255,.62)!important;
  background:linear-gradient(180deg,rgba(31,98,211,.86),rgba(5,30,78,.98))!important;
}
#tab-toss-trade .toss-overview-meta{
  margin-top:8px;
  text-align:right;
  color:#5f7fa9;
  font-size:9px;
  letter-spacing:.025em;
}
#tab-toss-trade .toss-account-message{
  margin-top:10px!important;
}
@media(max-width:620px){
  #tab-toss-trade .toss-account-title-wrap{gap:6px;}
  #tab-toss-trade .toss-account-logo img{width:16px;height:16px;}
  #tab-toss-trade .toss-overview-meta{text-align:left;}
}


/* v3.0.110: Toss polish — visible group chevron, brighter navigation icon, brighter Toss blue palette. */
.sidebar-nav-group.toss{
  background:linear-gradient(180deg,rgba(16,58,126,.96) 0%,rgba(5,28,68,.99) 48%,rgba(0,0,0,.997) 100%)!important;
  border-color:rgba(66,145,255,.44)!important;
  box-shadow:0 9px 22px rgba(0,82,204,.14),inset 0 1px 0 rgba(130,190,255,.11)!important;
}
.sidebar-nav-group.toss .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(25,87,188,.97) 0%,rgba(9,43,101,.99) 56%,rgba(0,0,0,.996) 100%)!important;
  border-bottom-color:rgba(73,151,255,.34)!important;
}
.sidebar-nav-group.toss .sidebar-group-chevron{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  background:linear-gradient(180deg,rgba(31,100,207,.98),rgba(4,24,62,.99))!important;
  border:1px solid rgba(92,166,255,.58)!important;
  box-shadow:inset 0 1px 0 rgba(205,229,255,.14),0 4px 10px rgba(0,0,0,.22),0 0 10px rgba(49,130,246,.10)!important;
}
.sidebar-nav-group.toss .sidebar-group-chevron::before{
  color:#8fc2ff!important;
  border-right-color:currentColor!important;
  border-bottom-color:currentColor!important;
}
.sidebar-nav-group.toss .sidebar-group-toggle:hover .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(42,120,235,.99),rgba(5,32,82,.99))!important;
  border-color:rgba(121,185,255,.72)!important;
}
.sidebar-nav-group.toss .sidebar-nav-item,
.sidebar-nav-group.toss .app-tab{
  background:linear-gradient(180deg,rgba(11,40,91,.98),rgba(0,0,0,.996))!important;
  border-color:rgba(65,145,255,.22)!important;
}
.sidebar-nav-group.toss .sidebar-nav-item:hover,
.sidebar-nav-group.toss .app-tab:hover{
  background:linear-gradient(90deg,rgba(52,137,255,.30),rgba(23,92,218,.10))!important;
  border-color:rgba(82,157,255,.42)!important;
}
.sidebar-nav-group.toss .sidebar-nav-item.active,
.sidebar-nav-group.toss .app-tab.active{
  background:linear-gradient(90deg,rgba(55,145,255,.42),rgba(21,91,225,.16))!important;
  border-color:rgba(83,160,255,.58)!important;
  box-shadow:inset 3px 0 0 #4b9cff,0 6px 16px rgba(0,0,0,.14),0 0 12px rgba(49,130,246,.08)!important;
}
.sidebar-nav-group.toss .nav-toss-icon{
  color:#8cc2ff!important;
  filter:drop-shadow(0 0 5px rgba(78,157,255,.34));
}
.sidebar-nav-group.toss .nav-toss-icon svg{
  stroke:#8cc2ff!important;
  opacity:1!important;
}
.sidebar-group-mark.toss-mark img{
  filter:brightness(1.08) saturate(1.10) drop-shadow(0 4px 9px rgba(37,116,255,.30))!important;
}

#tab-toss-trade .toss-account-overview{
  border-color:rgba(63,145,255,.40)!important;
  background:radial-gradient(circle at 0% 0%,rgba(58,142,255,.11),rgba(49,130,246,0) 25%),linear-gradient(180deg,#11151d 0%,#070a10 100%)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.17),inset 0 1px 0 rgba(148,197,255,.05)!important;
}
#tab-toss-trade .toss-account-overview .trade-page-title{
  color:#79b1ff!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-card{
  border-color:rgba(64,146,255,.25)!important;
  background:linear-gradient(180deg,rgba(12,25,47,.99),rgba(5,8,14,.995))!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-label{
  color:#78a9ea!important;
}
#tab-toss-trade .toss-account-overview .toss-refresh-btn{
  border-color:rgba(71,151,255,.52)!important;
  background:linear-gradient(180deg,rgba(29,94,204,.88),rgba(5,28,72,.98))!important;
  color:#e7f1ff!important;
}
#tab-toss-trade .toss-account-overview .toss-refresh-btn:hover{
  border-color:rgba(108,177,255,.74)!important;
  background:linear-gradient(180deg,rgba(42,121,240,.94),rgba(7,38,96,.99))!important;
}
#tab-toss-trade .toss-account-logo img{
  filter:brightness(1.08) saturate(1.10) drop-shadow(0 4px 9px rgba(37,116,255,.32))!important;
}
#tab-toss-trade .toss-holdings-section{
  border-color:rgba(65,147,255,.34)!important;
  background:radial-gradient(circle at 0% 0%,rgba(54,134,255,.08),transparent 24%),linear-gradient(180deg,rgba(12,22,39,.99),rgba(4,7,12,.995))!important;
}
#tab-toss-trade .toss-holdings-section .monitor-title{
  color:#75adff!important;
}
#tab-toss-trade .toss-holdings-table th{
  color:#75aaff!important;
  background:linear-gradient(180deg,rgba(20,59,125,.60),rgba(2,8,19,.93))!important;
  border-bottom-color:rgba(70,151,255,.30)!important;
}
#tab-toss-trade .toss-holdings-table td{
  border-bottom-color:rgba(68,144,255,.12)!important;
}
#tab-toss-trade .toss-holdings-table td:first-child strong{
  color:#79b2ff!important;
}
#tab-toss-trade .toss-market-badge{
  border-color:rgba(72,151,255,.34)!important;
  background:rgba(51,126,245,.12)!important;
  color:#9bc6ff!important;
}
#tab-toss-trade .toss-holding-filters button{
  border-color:rgba(72,151,255,.30)!important;
  color:#7faeff!important;
}
#tab-toss-trade .toss-holding-filters button.active{
  border-color:rgba(81,163,255,.62)!important;
  color:#b7d6ff!important;
  background:rgba(49,130,246,.22)!important;
}
#tab-toss-trade .toss-order-section{
  border-color:rgba(65,147,255,.34)!important;
  background:linear-gradient(180deg,rgba(10,30,68,.78),rgba(0,0,0,.96))!important;
}
#tab-toss-trade .toss-order-placeholder{
  border-color:rgba(70,150,255,.24)!important;
  background:linear-gradient(180deg,rgba(12,40,92,.70),rgba(0,0,0,.97))!important;
}


/* v3.0.111: Toss value typography tint + slightly brighter Toss blue palette.
   Geometry/type scale stays unchanged; semantic P&L colors remain green/red. */
.sidebar-nav-group.toss{
  border-color:rgba(78,157,255,.48)!important;
  box-shadow:0 9px 22px rgba(0,88,220,.15),inset 0 1px 0 rgba(145,201,255,.12)!important;
}
.sidebar-nav-group.toss .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(30,96,205,.98) 0%,rgba(10,48,112,.99) 56%,rgba(0,0,0,.996) 100%)!important;
  border-bottom-color:rgba(88,166,255,.37)!important;
}
.sidebar-nav-group.toss .sidebar-group-chevron{
  border-color:rgba(106,178,255,.62)!important;
}
.sidebar-nav-group.toss .sidebar-group-chevron::before{
  color:#9acaff!important;
}
.sidebar-nav-group.toss .sidebar-nav-item.active,
.sidebar-nav-group.toss .app-tab.active{
  background:linear-gradient(90deg,rgba(63,154,255,.45),rgba(25,101,235,.18))!important;
  border-color:rgba(96,174,255,.62)!important;
  box-shadow:inset 3px 0 0 #59a7ff,0 6px 16px rgba(0,0,0,.14),0 0 12px rgba(57,141,255,.09)!important;
}
.sidebar-nav-group.toss .nav-toss-icon,
.sidebar-nav-group.toss .nav-toss-icon svg{
  color:#9acaff!important;
  stroke:#9acaff!important;
}

#tab-toss-trade .toss-account-overview{
  border-color:rgba(76,157,255,.43)!important;
  background:radial-gradient(circle at 0% 0%,rgba(67,151,255,.125),rgba(49,130,246,0) 25%),linear-gradient(180deg,#121722 0%,#070a10 100%)!important;
}
#tab-toss-trade .toss-account-overview .trade-page-title{
  color:#88bcff!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-card{
  border-color:rgba(78,159,255,.28)!important;
  background:linear-gradient(180deg,rgba(14,30,56,.99),rgba(5,8,14,.995))!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-label{
  color:#84b6f4!important;
}
/* Match Binance's warm-gold value treatment with a Toss-blue equivalent. */
#tab-toss-trade .toss-account-overview .trade-summary-value:not(.pnl-positive):not(.pnl-negative){
  color:#c9e1ff!important;
}
#tab-toss-trade .toss-account-overview .toss-refresh-btn{
  border-color:rgba(85,165,255,.56)!important;
  background:linear-gradient(180deg,rgba(35,108,224,.91),rgba(6,32,82,.985))!important;
  color:#edf6ff!important;
}
#tab-toss-trade .toss-account-overview .toss-refresh-btn:hover{
  border-color:rgba(121,189,255,.77)!important;
  background:linear-gradient(180deg,rgba(48,132,248,.96),rgba(8,43,107,.995))!important;
}

#tab-toss-trade .toss-holdings-section{
  border-color:rgba(79,159,255,.37)!important;
  background:radial-gradient(circle at 0% 0%,rgba(64,147,255,.095),transparent 24%),linear-gradient(180deg,rgba(13,25,45,.99),rgba(4,7,12,.995))!important;
}
#tab-toss-trade .toss-holdings-section .monitor-title{
  color:#86baff!important;
}
#tab-toss-trade .toss-holdings-table th{
  color:#83b8ff!important;
  background:linear-gradient(180deg,rgba(23,67,139,.64),rgba(2,8,19,.93))!important;
  border-bottom-color:rgba(82,163,255,.33)!important;
}
#tab-toss-trade .toss-holdings-table td:first-child strong{
  color:#87bdff!important;
}
/* NAME / QTY / AVG PRICE / PRICE use the same brand-tinted value hierarchy as Binance Trade. */
#tab-toss-trade .toss-holdings-table td:nth-child(2),
#tab-toss-trade .toss-holdings-table td:nth-child(4),
#tab-toss-trade .toss-holdings-table td:nth-child(5),
#tab-toss-trade .toss-holdings-table td:nth-child(6){
  color:#c7dfff!important;
}
#tab-toss-trade .toss-market-badge{
  border-color:rgba(86,166,255,.38)!important;
  background:rgba(58,139,255,.14)!important;
  color:#a8d0ff!important;
}
#tab-toss-trade .toss-holding-filters button{
  border-color:rgba(84,164,255,.34)!important;
  color:#8fbcff!important;
}
#tab-toss-trade .toss-holding-filters button.active{
  border-color:rgba(98,178,255,.66)!important;
  color:#c2dcff!important;
  background:rgba(59,143,255,.24)!important;
}
#tab-toss-trade .toss-order-section{
  border-color:rgba(78,158,255,.37)!important;
  background:linear-gradient(180deg,rgba(12,35,78,.80),rgba(0,0,0,.96))!important;
}
#tab-toss-trade .toss-order-placeholder{
  border-color:rgba(82,161,255,.28)!important;
  background:linear-gradient(180deg,rgba(15,47,105,.74),rgba(0,0,0,.97))!important;
}


/* v3.1.0: Toss Trade layout polish. */
.sidebar-nav-group.toss{
  background:linear-gradient(180deg,rgba(8,32,72,.96) 0%,rgba(3,18,43,.99) 50%,rgba(0,0,0,.998) 100%)!important;
  border-color:rgba(57,126,224,.31)!important;
  box-shadow:0 8px 18px rgba(0,47,128,.10),inset 0 1px 0 rgba(120,181,255,.07)!important;
}
.sidebar-nav-group.toss .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(15,59,128,.97) 0%,rgba(6,31,73,.99) 58%,rgba(0,0,0,.997) 100%)!important;
  border-bottom-color:rgba(65,137,235,.26)!important;
}
.sidebar-nav-group.toss .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(18,66,143,.98),rgba(3,19,49,.99))!important;
  border-color:rgba(75,148,242,.43)!important;
  box-shadow:inset 0 1px 0 rgba(190,221,255,.09),0 4px 10px rgba(0,0,0,.22)!important;
}
.sidebar-nav-group.toss .sidebar-group-chevron::before{color:#7eaff0!important;}
.sidebar-nav-group.toss .sidebar-nav-item,
.sidebar-nav-group.toss .app-tab{
  background:linear-gradient(180deg,rgba(7,27,62,.98),rgba(0,0,0,.997))!important;
  border-color:rgba(55,126,225,.17)!important;
}
.sidebar-nav-group.toss .sidebar-nav-item:hover,
.sidebar-nav-group.toss .app-tab:hover{
  background:linear-gradient(90deg,rgba(42,112,216,.22),rgba(14,63,157,.07))!important;
  border-color:rgba(67,140,235,.29)!important;
}
.sidebar-nav-group.toss .sidebar-nav-item.active,
.sidebar-nav-group.toss .app-tab.active{
  background:linear-gradient(90deg,rgba(43,115,224,.30),rgba(14,66,170,.10))!important;
  border-color:rgba(72,148,245,.42)!important;
  box-shadow:inset 3px 0 0 #438bea,0 6px 16px rgba(0,0,0,.14)!important;
}
.sidebar-nav-group.toss .nav-toss-icon,
.sidebar-nav-group.toss .nav-toss-icon svg{color:#78a8e9!important;stroke:#78a8e9!important;}
.sidebar-group-mark.toss-mark img{filter:brightness(.94) saturate(1.02) drop-shadow(0 3px 7px rgba(30,95,210,.20))!important;}

#tab-toss-trade .toss-account-title-wrap{gap:0!important;}
#tab-toss-trade .toss-holdings-section{margin:0 0 12px!important;}
#tab-toss-trade .toss-holdings-actions{justify-content:flex-end!important;}
@media(max-width:620px){
  #tab-toss-trade .toss-holdings-section{margin:0 0 12px!important;}
  #tab-toss-trade .toss-holdings-actions{width:auto!important;justify-content:flex-end!important;}
}


/* v3.1.1: Toss Holdings column simplification/reorder.
   Geometry/type scale remain unchanged; brand tint follows the new column indexes. */
#tab-toss-trade .toss-holdings-table td:nth-child(2),
#tab-toss-trade .toss-holdings-table td:nth-child(3),
#tab-toss-trade .toss-holdings-table td:nth-child(7),
#tab-toss-trade .toss-holdings-table td:nth-child(8){
  color:#c7dfff!important;
}
/* P&L/return/day P&L continue to use semantic green/red classes. */
#tab-toss-trade .toss-holdings-table td:nth-child(4).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(5).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(6).pnl-positive{color:var(--green)!important;}
#tab-toss-trade .toss-holdings-table td:nth-child(4).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(5).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(6).pnl-negative{color:var(--red)!important;}

/* v3.1.2: Toss cash availability + explicit P&L value/% columns. */
#tab-toss-trade .toss-summary-grid{
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
}
/* Brand-tinted non-semantic values after the 10-column holdings normalization. */
#tab-toss-trade .toss-holdings-table td:nth-child(2),
#tab-toss-trade .toss-holdings-table td:nth-child(3),
#tab-toss-trade .toss-holdings-table td:nth-child(8),
#tab-toss-trade .toss-holdings-table td:nth-child(9),
#tab-toss-trade .toss-holdings-table td:nth-child(10){
  color:#c7dfff!important;
}
#tab-toss-trade .toss-holdings-table td:nth-child(4).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(5).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(6).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(7).pnl-positive{color:var(--green)!important;}
#tab-toss-trade .toss-holdings-table td:nth-child(4).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(5).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(6).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(7).pnl-negative{color:var(--red)!important;}
@media(max-width:1500px){
  #tab-toss-trade .toss-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:800px){
  #tab-toss-trade .toss-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* v3.1.3: Mobile Toss account header parity with Binance Trade + dashboard Positions summary fix.
   Keep existing typography/theme; correct responsive geometry only. */
@media (max-width:620px){
  #tab-toss-trade .toss-account-overview .trade-topbar{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
  }
  #tab-toss-trade .toss-account-title-wrap{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  #tab-toss-trade .toss-trade-header-actions{
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    margin-left:auto!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
  }
  #tab-toss-trade .toss-trade-status{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
  #tab-toss-trade .toss-refresh-btn{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    padding:7px 10px!important;
    white-space:nowrap!important;
  }
}

/* Main Dashboard > Binance Positions: Account Equity owns the full first summary row
   on foldable/narrow desktop and phone widths; Margin/Notional split the second row. */
@media (max-width:1100px){
  #tab-dashboard .cockpit-position-panel .cockpit-position-summary{
    display:grid!important;
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "equity equity"
      "margin notional"!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  #tab-dashboard .cockpit-position-panel .cockpit-position-summary > .cockpit-position-metric:nth-child(1){
    grid-area:equity!important;
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    justify-self:stretch!important;
    box-sizing:border-box!important;
  }
  #tab-dashboard .cockpit-position-panel .cockpit-position-summary > .cockpit-position-metric:nth-child(2){
    grid-area:margin!important;
    width:100%!important;
    min-width:0!important;
  }
  #tab-dashboard .cockpit-position-panel .cockpit-position-summary > .cockpit-position-metric:nth-child(3){
    grid-area:notional!important;
    width:100%!important;
    min-width:0!important;
  }
}


/* v3.1.4: Toss Account summary typography density calibration.
   Keep the Toss palette unchanged; only the summary-card text scale is reduced
   so its visual density matches Binance Futures Account. */
#tab-toss-trade .toss-account-overview .trade-summary-label{
  font-size:8px!important;
}
#tab-toss-trade .toss-account-overview .trade-summary-value{
  font-size:16px!important;
}


/* v3.1.5: half-width responsive polish.
   1) Toss account header keeps title + CONNECTED + Refresh Trade on one row through 1100px.
   2) Dashboard Cached Data cards constrain long titles so status pills never escape.
   3) Common > System restores inter-section spacing. */
@media (max-width:1100px){
  #tab-toss-trade .toss-account-overview .trade-topbar{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
  }
  #tab-toss-trade .toss-account-title-wrap{
    flex:0 1 auto!important;
    min-width:0!important;
  }
  #tab-toss-trade .toss-account-overview .trade-page-title{
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  #tab-toss-trade .toss-trade-header-actions{
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    margin-left:auto!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    white-space:nowrap!important;
  }
  #tab-toss-trade .toss-trade-status,
  #tab-toss-trade .toss-refresh-btn{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    white-space:nowrap!important;
  }

  #tab-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-row{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  #tab-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-top{
    min-width:0!important;
    max-width:100%!important;
    gap:6px!important;
    overflow:hidden!important;
  }
  #tab-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-name{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  #tab-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-name strong{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  #tab-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-status-pill{
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:4px 7px!important;
    font-size:9px!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
}

#tab-system #admin-content{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  align-content:start!important;
}
#tab-system #admin-content > .admin-section{
  margin:0!important;
}

/* v3.1.6: half-width desktop Strategies control rail.
   Reuse the proven mobile composition between 761px and 1100px so RUNNING/STOP
   stay together on the upper-right of every strategy card without changing the phone layout. */
@media (min-width:761px) and (max-width:1100px){
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:38px minmax(0,1fr) auto auto!important;
    grid-template-areas:
      "rank name status control"
      "rank action action action"!important;
    column-gap:8px!important;
    row-gap:7px!important;
    align-items:start!important;
    min-height:0!important;
    padding:11px 10px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(1){
    grid-area:rank!important;
    align-self:start!important;
    padding-top:2px!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(2){
    grid-area:name!important;
    min-width:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){
    grid-area:status!important;
    justify-self:end!important;
    align-self:start!important;
    display:flex!important;
    align-items:center!important;
    padding-top:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){
    grid-area:action!important;
    min-width:0!important;
    width:100%!important;
    padding-top:0!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(5){
    grid-area:control!important;
    justify-self:end!important;
    align-self:start!important;
    min-width:0!important;
    padding-top:0!important;
  }
  #tab-dashboard .cockpit-queue-panel .cockpit-status-pill{
    margin:0!important;
    min-height:28px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
  #tab-dashboard .cockpit-queue-panel .cockpit-control-btn{
    min-width:72px!important;
    width:72px!important;
    max-width:72px!important;
    min-height:28px!important;
    padding:5px 9px!important;
    margin:0!important;
  }
  #tab-dashboard .cockpit-queue-panel .cockpit-strategy-name strong{
    padding-right:3px!important;
  }
  #tab-dashboard .cockpit-queue-panel .cockpit-action-runtime{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
  }
}

/* v3.1.7: Toss Manual Order — reuse Binance Manual Order geometry; recolor only. */
#tab-toss-trade .toss-manual-order-card{
  margin-top:12px!important;
  border-color:rgba(74,154,255,.36)!important;
  background:radial-gradient(circle at 0% 0%,rgba(65,145,255,.09),transparent 24%),linear-gradient(180deg,rgba(12,24,44,.99),rgba(4,7,12,.995))!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(116,167,255,.035)!important;
}
#tab-toss-trade .toss-manual-order-card .monitor-title,
#tab-toss-trade .toss-manual-order-card .manual-preview-title{
  color:#8bbcff!important;
}
#tab-toss-trade .toss-manual-order-card .monitor-meta,
#tab-toss-trade .toss-manual-order-card .manual-preview-meta,
#tab-toss-trade .toss-manual-order-card .manual-order-status,
#tab-toss-trade .toss-manual-order-card .manual-order-note{
  color:#7898c4!important;
}
#tab-toss-trade .toss-manual-order-shell{
  border-color:rgba(74,154,255,.24)!important;
  background:linear-gradient(180deg,rgba(12,27,53,.97),rgba(5,9,16,.99))!important;
}
#tab-toss-trade .toss-manual-order-card .manual-field-label,
#tab-toss-trade .toss-manual-order-card .manual-preview-label,
#tab-toss-trade .toss-manual-order-card .manual-preview-sub,
#tab-toss-trade .toss-manual-order-card .manual-symbol-caption,
#tab-toss-trade .toss-manual-order-card .manual-input-suffix{
  color:#86ade2!important;
}
#tab-toss-trade .toss-manual-order-card .manual-control{
  border-color:rgba(74,154,255,.30)!important;
  background:linear-gradient(180deg,rgba(14,31,60,.99),rgba(5,11,22,.995))!important;
  color:#dcecff!important;
}
#tab-toss-trade .toss-manual-order-card .manual-control:focus{
  border-color:rgba(91,171,255,.70)!important;
  box-shadow:0 0 0 2px rgba(61,139,255,.10)!important;
}
#tab-toss-trade .toss-manual-order-card .manual-control:disabled{
  background:#07101f!important;
}
#tab-toss-trade .toss-manual-order-card .manual-order-divider{
  background:linear-gradient(90deg,transparent,rgba(74,154,255,.24),transparent)!important;
}
#tab-toss-trade .toss-manual-order-card .manual-preview-card{
  border-color:rgba(74,154,255,.18)!important;
  background:linear-gradient(180deg,rgba(12,26,51,.82),rgba(4,8,14,.96))!important;
}
#tab-toss-trade .toss-manual-order-card .manual-preview-value:not(.readiness-ready):not(.readiness-prepare):not(.readiness-blocked):not(.readiness-stale){
  color:#cbe2ff!important;
}
#tab-toss-trade .toss-manual-order-card #toss-manual-order-check{
  border-color:rgba(80,161,255,.46)!important;
  color:#bddbff!important;
  background:linear-gradient(180deg,rgba(24,74,151,.72),rgba(5,23,58,.96))!important;
}
#tab-toss-trade .toss-manual-order-card #toss-manual-order-check:hover{
  border-color:rgba(108,183,255,.68)!important;
  background:linear-gradient(180deg,rgba(32,98,197,.82),rgba(6,31,78,.98))!important;
}
#tab-toss-trade .toss-manual-order-submit{
  border-color:rgba(91,170,255,.62)!important;
  background:linear-gradient(180deg,rgba(38,111,226,.95),rgba(7,38,94,.995))!important;
  color:#eff7ff!important;
}
#tab-toss-trade .toss-manual-order-submit:hover:not(:disabled){
  border-color:rgba(127,194,255,.82)!important;
  background:linear-gradient(180deg,rgba(49,135,251,.98),rgba(9,51,124,.998))!important;
}
#tab-toss-trade .toss-manual-order-submit:disabled{opacity:.46!important;cursor:not-allowed!important;}
#tab-toss-trade .toss-manual-checkbox-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 10px;
  border:1px solid rgba(74,154,255,.22);
  border-radius:9px;
  background:linear-gradient(180deg,rgba(11,25,49,.94),rgba(4,9,17,.98));
  color:#a9c8f0;
  cursor:pointer;
}
#tab-toss-trade .toss-manual-checkbox-row input{accent-color:#438bea;}
#tab-toss-trade .toss-high-value-field{grid-column:span 2;}

@media(max-width:760px){
  #tab-toss-trade .toss-high-value-field{grid-column:1/-1;}
}

/* v3.1.8: Toss searchable securities universe + order capability chips. */
#tab-toss-trade .toss-symbol-search-wrap{
  position:relative;
  width:100%;
  z-index:40;
}
#tab-toss-trade .toss-symbol-search-results{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 5px);
  z-index:120;
  max-height:310px;
  overflow:auto;
  border:1px solid rgba(91,171,255,.48);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(12,30,59,.995),rgba(3,8,17,.998));
  box-shadow:0 18px 38px rgba(0,0,0,.54),inset 0 1px 0 rgba(125,190,255,.08);
}
#tab-toss-trade .toss-symbol-search-results[hidden]{
  display:none!important;
}
#tab-toss-trade .toss-symbol-search-item{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:7px 10px;
  border:0;
  border-bottom:1px solid rgba(78,154,232,.13);
  background:transparent;
  color:#dcecff;
  text-align:left;
  cursor:pointer;
}
#tab-toss-trade .toss-symbol-search-item:last-of-type{border-bottom:0;}
#tab-toss-trade .toss-symbol-search-item:hover,
#tab-toss-trade .toss-symbol-search-item.active{
  background:linear-gradient(90deg,rgba(45,124,244,.28),rgba(33,91,189,.10));
  box-shadow:inset 3px 0 0 rgba(92,175,255,.92);
}
#tab-toss-trade .toss-symbol-search-primary{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  overflow:hidden;
}
#tab-toss-trade .toss-symbol-search-primary strong{
  flex:0 0 auto;
  color:#8fc5ff;
  font-size:10px;
  font-weight:600;
  letter-spacing:.015em;
}
#tab-toss-trade .toss-symbol-search-primary span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#d7e9ff;
  font-size:10px;
  font-weight:400;
}
#tab-toss-trade .toss-symbol-search-secondary{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  color:#7399ca;
  font-size:7px;
  letter-spacing:.025em;
  white-space:nowrap;
}
#tab-toss-trade .toss-symbol-search-secondary span{
  padding:2px 5px;
  border:1px solid rgba(77,151,239,.20);
  border-radius:999px;
  background:rgba(19,56,107,.26);
}
#tab-toss-trade .toss-symbol-search-empty,
#tab-toss-trade .toss-symbol-search-footnote{
  padding:10px 11px;
  color:#7899c4;
  font-size:8px;
  line-height:1.45;
}
#tab-toss-trade .toss-symbol-search-empty.loading{color:#9dc9ff;}
#tab-toss-trade .toss-symbol-search-empty.error{color:#ff6f87;}
#tab-toss-trade .toss-symbol-search-footnote{
  border-top:1px solid rgba(78,154,232,.12);
  color:#6685ad;
}

@media(max-width:760px){
  #tab-toss-trade .toss-symbol-search-results{max-height:250px;}
  #tab-toss-trade .toss-symbol-search-item{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
    padding:8px 9px;
  }
  #tab-toss-trade .toss-symbol-search-secondary{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}


/* v3.1.9: Toss Manual Order Binance-style field hierarchy + flexible sizing. */
#tab-toss-trade #toss-manual-allocation-field[hidden],
#tab-toss-trade #toss-manual-amount-field[hidden],
#tab-toss-trade #toss-manual-quantity-field[hidden]{
  display:none!important;
}


/* v3.1.10: Toss high-value confirmation message typography normalization. */
#tab-toss-trade .toss-manual-checkbox-row > span{
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:0;
}


/* v3.1.11: Toss Manual Order single fractional-trade availability field. */
/* superseded by v3.1.12 two-stage policy/session availability below. */

/* v3.1.12: separate fractional policy support from current-session availability. */
#tab-toss-trade .toss-manual-order-form{
  grid-template-columns:minmax(130px,.62fr) minmax(145px,.7fr) repeat(3,minmax(150px,1fr));
}
#tab-toss-trade .toss-manual-order-form .toss-symbol-field{grid-column:span 4;}
#tab-toss-trade .toss-manual-order-form .limit-field{grid-column:span 4;}
#tab-toss-trade .toss-manual-order-form .toss-high-value-field{grid-column:span 4;}
#tab-toss-trade .toss-fractional-status{
  display:flex;
  align-items:center;
  pointer-events:none;
  user-select:none;
  font-size:9px;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
}
#tab-toss-trade .toss-fractional-status.available{
  border-color:rgba(82,174,255,.44);
  background:linear-gradient(180deg,rgba(33,94,184,.42),rgba(8,30,69,.74));
  color:#9bd0ff;
}
#tab-toss-trade .toss-fractional-status.unavailable{
  border-color:rgba(106,127,153,.19);
  background:rgba(12,19,29,.76);
  color:#718196;
}
#tab-toss-trade .toss-fractional-status.neutral{color:#7899c4;}
#tab-toss-trade #toss-manual-fractional-policy-meta,
#tab-toss-trade #toss-manual-fractional-now-meta{
  color:#7399ca;
  font-size:8px;
  letter-spacing:0;
}
@media(max-width:1150px){
  #tab-toss-trade .toss-manual-order-form{grid-template-columns:repeat(2,minmax(0,1fr));}
  #tab-toss-trade .toss-manual-order-form .toss-symbol-field,
  #tab-toss-trade .toss-manual-order-form .limit-field,
  #tab-toss-trade .toss-manual-order-form .toss-high-value-field{grid-column:span 1;}
}
@media(max-width:760px){
  #tab-toss-trade .toss-manual-order-form{grid-template-columns:1fr;}
  #tab-toss-trade .toss-manual-order-form .toss-high-value-field{grid-column:1/-1;}
  #tab-toss-trade .toss-fractional-status{white-space:normal;line-height:1.25;}
}


/* v3.1.15: explicit row wrappers + matching form class for deterministic Toss Manual Order geometry.
   Row 1: Symbol | Execution Order Type
   Row 2: Fractional Policy | Fractional Now | Order Method | Sizing Order Type
   Row 3: Limit Price | Dynamic Size Value | Time In Force
   Wrapping each row prevents CSS grid auto-placement from shifting fields across rows. */
#tab-toss-trade .toss-manual-order-form{
  display:flex;
  flex-direction:column;
  gap:11px;
}
#tab-toss-trade .toss-manual-order-form .toss-manual-row{
  display:grid;
  gap:12px;
  min-width:0;
}
#tab-toss-trade .toss-manual-order-form .toss-manual-row-primary{
  grid-template-columns:minmax(0,3fr) minmax(0,1fr);
}
#tab-toss-trade .toss-manual-order-form .toss-manual-row-secondary{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#tab-toss-trade .toss-manual-order-form .toss-symbol-field,
#tab-toss-trade .toss-manual-order-form .toss-execution-type-field,
#tab-toss-trade .toss-manual-order-form .toss-fractional-field,
#tab-toss-trade .toss-manual-order-form .toss-order-method-field,
#tab-toss-trade .toss-manual-order-form .toss-sizing-type-field,
#tab-toss-trade .toss-manual-order-form .limit-field,
#tab-toss-trade .toss-manual-order-form .toss-size-value-field,
#tab-toss-trade .toss-manual-order-form .toss-tif-field{
  grid-column:auto;
}
#tab-toss-trade .toss-manual-order-form .toss-high-value-field{
  width:auto;
  min-width:0;
  grid-column:auto;
}
@media(max-width:1150px){
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-primary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-secondary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #tab-toss-trade .toss-manual-order-form .toss-high-value-field{width:100%;}
}
@media(max-width:760px){
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-primary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-secondary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary{
    grid-template-columns:1fr;
  }
}



/* v3.1.18: shared four-track geometry for pixel-aligned Toss Manual Order rows.
   All wide rows use the exact same four tracks and 12px gaps.
   Row 1: Trading Symbol spans 2 tracks | Order Method | Execution Order Type
   Row 2: Fractional Policy | Fractional Now | Sizing Order Type | Dynamic Size Value
   Row 3: Limit Price | Time In Force | High-value Confirmation spans 2 tracks
   Using spans instead of 2fr/1fr ratios keeps every vertical boundary aligned despite grid gaps. */
#tab-toss-trade .toss-manual-order-form .toss-manual-row-primary,
#tab-toss-trade .toss-manual-order-form .toss-manual-row-secondary,
#tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#tab-toss-trade .toss-manual-order-form .toss-manual-row-primary .toss-symbol-field{
  grid-column:span 2;
}
#tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary .toss-high-value-field{
  width:auto;
  min-width:0;
  grid-column:span 2;
}
@media(max-width:1150px){
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-primary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-secondary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-primary .toss-symbol-field,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary .toss-high-value-field{
    grid-column:1/-1;
  }
}
@media(max-width:760px){
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-primary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-secondary,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary{
    grid-template-columns:1fr;
  }
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-primary .toss-symbol-field,
  #tab-toss-trade .toss-manual-order-form .toss-manual-row-tertiary .toss-high-value-field{
    grid-column:auto;
  }
}


/* v3.1.20: Toss Holdings 9-column PnL cleanup. */
#tab-toss-trade .toss-holdings-table{min-width:840px!important;}
#tab-toss-trade .toss-holdings-table td:nth-child(2),
#tab-toss-trade .toss-holdings-table td:nth-child(3),
#tab-toss-trade .toss-holdings-table td:nth-child(7),
#tab-toss-trade .toss-holdings-table td:nth-child(8),
#tab-toss-trade .toss-holdings-table td:nth-child(9){color:#c7dfff!important;}
#tab-toss-trade .toss-holdings-table td:nth-child(4).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(5).pnl-positive,
#tab-toss-trade .toss-holdings-table td:nth-child(6).pnl-positive{color:var(--green)!important;}
#tab-toss-trade .toss-holdings-table td:nth-child(4).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(5).pnl-negative,
#tab-toss-trade .toss-holdings-table td:nth-child(6).pnl-negative{color:var(--red)!important;}


/* v3.1.21: Toss account equity summary + equal mobile Manual Order actions. */
@media(max-width:760px){
  #tab-toss-trade .toss-manual-order-card .manual-order-buttons{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
  }
  #tab-toss-trade .toss-manual-order-card #toss-manual-order-check,
  #tab-toss-trade .toss-manual-order-card #toss-manual-order-submit{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }
}

/* v3.1.23: dedicated Toss Watchlist route with Daily PnL and 15m mini candles. */
#tab-watchlist{background:#000!important;}

#tab-watchlist .toss-watchlist-section{
  margin:0 0 12px!important;
  padding:12px!important;
  border:1px solid rgba(49,130,246,.30)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,rgba(10,35,77,.78),rgba(1,8,18,.97))!important;
  box-shadow:inset 0 1px 0 rgba(128,183,255,.06)!important;
}
#tab-watchlist .toss-watchlist-monitor-header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:10px!important;
}
#tab-watchlist .toss-watchlist-section .monitor-title{color:#8db9ff!important;}
#tab-watchlist .toss-watchlist-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;}
#tab-watchlist .toss-watchlist-message{margin:0 0 10px!important;}
#tab-watchlist .toss-watchlist-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
#tab-watchlist .toss-watchlist-card{
  min-width:0;
  padding:10px 11px 9px;
  border:1px solid rgba(60,139,255,.24);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(10,35,78,.72),rgba(1,7,16,.985));
  box-shadow:inset 0 1px 0 rgba(129,183,255,.055);
}
#tab-watchlist .toss-watchlist-card:hover{border-color:rgba(72,151,255,.42);}
#tab-watchlist .toss-watchlist-card.unavailable{opacity:.72;}
#tab-watchlist .toss-watchlist-card-head,
#tab-watchlist .toss-watchlist-card-body,
#tab-watchlist .toss-watchlist-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
}
#tab-watchlist .toss-watchlist-symbol-wrap{min-width:0;}
#tab-watchlist .toss-watchlist-symbol-wrap strong{
  display:block;
  color:#dfeeff;
  font-size:14px;
  line-height:1.15;
}
#tab-watchlist .toss-watchlist-symbol-wrap span{
  display:block;
  margin-top:2px;
  color:#7194bf;
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-watchlist .toss-watchlist-change{
  flex:0 0 auto;
  text-align:right;
  line-height:1.05;
}
#tab-watchlist .toss-watchlist-change span{display:block;color:#607fa7;font-size:7px;letter-spacing:.04em;}
#tab-watchlist .toss-watchlist-change strong{display:block;margin-top:2px;color:#8ca7c8;font-size:11px;}
#tab-watchlist .toss-watchlist-change.positive strong{color:var(--green);}
#tab-watchlist .toss-watchlist-change.negative strong{color:var(--red);}
#tab-watchlist .toss-watchlist-card-body{margin-top:8px;min-height:35px;}
#tab-watchlist .toss-watchlist-price{
  min-width:0;
  color:#eef6ff;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-card .market-candle-wrap{
  flex:0 0 46%;
  width:46%;
  max-width:98px;
  min-width:54px;
  height:32px;
}
#tab-watchlist .toss-watchlist-card-foot{
  margin-top:7px;
  color:#5f7fa7;
  font-size:7px;
  letter-spacing:.025em;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-card-foot span{min-width:0;overflow:hidden;text-overflow:ellipsis;}
#tab-watchlist .toss-watchlist-error{margin-top:6px;color:#ff7b8f;font-size:7px;}
#tab-watchlist .toss-watchlist-empty{
  grid-column:1/-1;
  min-height:90px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px dashed rgba(49,130,246,.20);
  border-radius:10px;
  color:#7292bb;
  text-align:center;
}
#tab-watchlist .toss-watchlist-empty strong{color:#9bc3ff;}
#tab-watchlist .toss-watchlist-empty span{font-size:10px;}
@media (max-width:1100px){
  #tab-watchlist .toss-watchlist-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:620px){
  #tab-watchlist .toss-watchlist-section{padding:10px!important;}
  #tab-watchlist .toss-watchlist-monitor-header{align-items:center!important;flex-direction:row!important;}
  #tab-watchlist .toss-watchlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  #tab-watchlist .toss-watchlist-card{padding:9px;}
  #tab-watchlist .toss-watchlist-symbol-wrap strong{font-size:13px;}
  #tab-watchlist .toss-watchlist-symbol-wrap span{font-size:9px;}
  #tab-watchlist .toss-watchlist-price{font-size:13px;}
  #tab-watchlist .toss-watchlist-card .market-candle-wrap{max-width:76px;min-width:42px;height:27px;}
  #tab-watchlist .toss-watchlist-card-foot{font-size:6px;gap:4px;}
}

/* v3.1.25: in-page Toss Watchlist YAML editor. */
#tab-watchlist .toss-watchlist-editor{
  margin:0 0 12px;
  padding:10px;
  border:1px solid rgba(49,130,246,.22);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(7,25,55,.76),rgba(1,7,16,.94));
}
#tab-watchlist .toss-watchlist-editor-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
#tab-watchlist .toss-watchlist-editor-title{
  color:#a8c9ff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.03em;
}
#tab-watchlist .toss-watchlist-editor-path{
  margin-top:2px;
  color:#5f7fa7;
  font-size:8px;
}
#tab-watchlist .toss-watchlist-editor-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}
#tab-watchlist .toss-watchlist-editor-actions button{
  min-height:30px;
  padding:0 11px;
  font-size:10px;
}
#tab-watchlist .toss-watchlist-editor-status{
  color:#7596bf;
  font-size:8px;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-yaml{
  display:block;
  width:100%;
  min-height:150px;
  max-height:360px;
  resize:vertical;
  box-sizing:border-box;
  padding:11px 12px;
  border:1px solid rgba(67,142,255,.28);
  border-radius:9px;
  outline:none;
  background:#020b19;
  color:#d9eaff;
  font:500 11px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  tab-size:2;
}
#tab-watchlist .toss-watchlist-yaml:focus{
  border-color:rgba(75,151,255,.65);
  box-shadow:0 0 0 2px rgba(49,130,246,.10);
}
#tab-watchlist .toss-watchlist-editor-help{
  margin-top:7px;
  color:#6687ae;
  font-size:8px;
  line-height:1.45;
}
#tab-watchlist .toss-watchlist-editor-help code{color:#9cbfff;}
@media (max-width:620px){
  #tab-watchlist .toss-watchlist-editor{padding:9px;margin-bottom:10px;}
  #tab-watchlist .toss-watchlist-editor-head{align-items:flex-start;flex-direction:column;}
  #tab-watchlist .toss-watchlist-editor-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;}
  #tab-watchlist .toss-watchlist-editor-status{grid-column:1/-1;}
  #tab-watchlist .toss-watchlist-editor-actions button{width:100%;min-width:0;}
  #tab-watchlist .toss-watchlist-yaml{min-height:170px;font-size:10px;}
}

/* v3.1.26: grouped Toss Watchlist workspaces driven by YAML Group IDs. */
#tab-watchlist .toss-watchlist-groups{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}
#tab-watchlist .toss-watchlist-group{
  min-width:0;
}
#tab-watchlist .toss-watchlist-group + .toss-watchlist-group{
  padding-top:12px;
  border-top:1px solid rgba(61,132,231,.18);
}
#tab-watchlist .toss-watchlist-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 1px 7px;
}
#tab-watchlist .toss-watchlist-group-title{
  color:#9cc5ff;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.025em;
}
#tab-watchlist .toss-watchlist-group-meta{
  color:#5e80aa;
  font-size:8px;
  line-height:1.2;
  white-space:nowrap;
}
@media (max-width:620px){
  #tab-watchlist .toss-watchlist-groups{gap:12px;}
  #tab-watchlist .toss-watchlist-group + .toss-watchlist-group{padding-top:10px;}
  #tab-watchlist .toss-watchlist-group-title{font-size:11px;}
  #tab-watchlist .toss-watchlist-group-meta{font-size:7px;}
}

/* v3.1.27: visual Group/Symbol editor backed by data/toss_watchlist.yaml. */
/* v3.1.29: compact move triangles + one-step typography bump for editor/watchlist readability. */
#tab-watchlist .toss-watchlist-config-groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
#tab-watchlist .toss-watchlist-config-groups[hidden],
#tab-watchlist .toss-watchlist-raw-panel[hidden]{display:none!important;}
#tab-watchlist .toss-watchlist-config-loading,
#tab-watchlist .toss-watchlist-config-empty{
  grid-column:1/-1;
  min-height:84px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px dashed rgba(70,145,255,.22);
  border-radius:9px;
  color:#7190b6;
  font-size:9px;
}
#tab-watchlist .toss-watchlist-config-empty strong{color:#9fc5ff;font-size:11px;}
#tab-watchlist .toss-watchlist-config-group{
  min-width:0;
  padding:9px;
  border:1px solid rgba(64,139,248,.25);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(5,21,48,.82),rgba(1,8,18,.96));
}
#tab-watchlist .toss-watchlist-config-group-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
}
#tab-watchlist .toss-watchlist-config-group-id-wrap{
  flex:1 1 auto;
  min-width:0;
}
#tab-watchlist .toss-watchlist-config-group-id-wrap label{
  display:block;
  margin-bottom:4px;
  color:#6485ad;
  font-size:7px;
  letter-spacing:.06em;
}
#tab-watchlist .toss-watchlist-config-group-id{
  width:100%;
  min-width:0;
  height:30px;
  box-sizing:border-box;
  padding:0 9px;
  border:1px solid rgba(68,143,255,.30);
  border-radius:7px;
  outline:none;
  background:#020b19;
  color:#bcd8ff;
  font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
#tab-watchlist .toss-watchlist-config-group-id:focus{
  border-color:rgba(78,153,255,.72);
  box-shadow:0 0 0 2px rgba(49,130,246,.10);
}
#tab-watchlist .toss-watchlist-config-group-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  flex:0 0 auto;
}
#tab-watchlist .toss-watchlist-config-group-tools>span{
  color:#5e80a9;
  font-size:7px;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-icon-btn,
#tab-watchlist .toss-watchlist-config-delete-group{
  height:28px;
  min-width:28px;
  padding:0 7px;
  border:1px solid rgba(83,161,255,.48);
  border-radius:6px;
  background:rgba(17,49,92,.94);
  color:#d7e9ff;
  font-size:12px;
  font-weight:800;
  line-height:1;
  box-shadow:inset 0 0 0 1px rgba(129,185,255,.08);
  cursor:pointer;
}
#tab-watchlist .toss-watchlist-icon-btn:disabled{
  opacity:.34;
  color:#6e88a8;
  border-color:rgba(73,116,171,.28);
  background:rgba(10,28,53,.72);
  cursor:default;
}
#tab-watchlist .toss-watchlist-icon-btn:not(:disabled):hover,
#tab-watchlist .toss-watchlist-config-delete-group:hover{
  border-color:rgba(116,184,255,.86);
  background:rgba(28,78,139,.96);
  color:#ffffff;
}
#tab-watchlist .toss-watchlist-icon-btn.danger,
#tab-watchlist .toss-watchlist-config-delete-group{color:#ff8293;}
#tab-watchlist .toss-watchlist-config-symbol-list{
  display:flex;
  flex-direction:column;
  gap:5px;
}
#tab-watchlist .toss-watchlist-config-symbol-row{
  min-width:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  padding:6px 7px;
  border:1px solid rgba(61,129,224,.17);
  border-radius:7px;
  background:rgba(3,14,31,.72);
}
#tab-watchlist .toss-watchlist-config-symbol-order{
  display:flex;
  align-items:center;
  gap:3px;
}
#tab-watchlist .toss-watchlist-config-symbol-order .toss-watchlist-icon-btn{
  height:22px;
  min-width:22px;
  padding:0;
  font-size:8px;
}
#tab-watchlist .toss-watchlist-config-group-tools .toss-watchlist-icon-btn[data-watchlist-action="group-up"],
#tab-watchlist .toss-watchlist-config-group-tools .toss-watchlist-icon-btn[data-watchlist-action="group-down"]{
  height:24px;
  min-width:24px;
  padding:0;
  font-size:9px;
}
#tab-watchlist .toss-watchlist-config-symbol-copy{
  min-width:0;
  display:flex;
  align-items:baseline;
  gap:5px;
  white-space:nowrap;
  overflow:hidden;
}
#tab-watchlist .toss-watchlist-config-symbol-copy strong{
  display:inline-block;
  flex:0 0 auto;
  color:#dcecff;
  font-size:11px;
  line-height:1.15;
}
#tab-watchlist .toss-watchlist-config-symbol-copy span{
  display:inline-block;
  min-width:0;
  margin-top:0;
  color:#7898bf;
  font-size:9px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-watchlist .toss-watchlist-config-symbol-empty{
  padding:12px 8px;
  border:1px dashed rgba(63,133,230,.18);
  border-radius:7px;
  color:#5d7da3;
  font-size:8px;
  text-align:center;
}
#tab-watchlist .toss-watchlist-config-search-wrap{
  position:relative;
  margin-top:7px;
}
#tab-watchlist .toss-watchlist-config-search{
  width:100%;
  height:32px;
  box-sizing:border-box;
  padding:0 10px;
  border:1px solid rgba(67,142,255,.28);
  border-radius:7px;
  outline:none;
  background:#020b19;
  color:#dcecff;
  font-size:9px;
}
#tab-watchlist .toss-watchlist-config-search:focus{
  border-color:rgba(75,151,255,.65);
  box-shadow:0 0 0 2px rgba(49,130,246,.10);
}
#tab-watchlist .toss-watchlist-config-search-results{
  position:absolute;
  z-index:35;
  left:0;
  right:0;
  top:calc(100% + 4px);
  max-height:230px;
  overflow:auto;
  padding:4px;
  border:1px solid rgba(72,148,255,.38);
  border-radius:8px;
  background:#030d1d;
  box-shadow:0 12px 30px rgba(0,0,0,.48);
}
#tab-watchlist .toss-watchlist-config-search-results[hidden]{display:none!important;}
#tab-watchlist .toss-watchlist-config-search-results button{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:7px 8px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#bcd8ff;
  text-align:left;
  cursor:pointer;
}
#tab-watchlist .toss-watchlist-config-search-results button:hover:not(:disabled){background:rgba(39,104,191,.24);}
#tab-watchlist .toss-watchlist-config-search-results button:disabled{opacity:.45;cursor:default;}
#tab-watchlist .toss-watchlist-config-search-results button span:first-child{min-width:0;}
#tab-watchlist .toss-watchlist-config-search-results button strong{display:block;font-size:9px;}
#tab-watchlist .toss-watchlist-config-search-results button small{
  display:block;
  margin-top:2px;
  color:#6f91bb;
  font-size:8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-watchlist .toss-watchlist-config-search-market{
  flex:0 0 auto;
  color:#5f81ac;
  font-size:7px;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-config-search-state{
  padding:9px;
  color:#6f91ba;
  font-size:8px;
  text-align:center;
}
#tab-watchlist .toss-watchlist-config-search-state.error{color:#ff8293;}
#tab-watchlist .toss-watchlist-raw-panel{margin-top:2px;}
#tab-watchlist .toss-watchlist-raw-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 1px 6px;
  color:#9fc4fa;
  font-size:9px;
  font-weight:700;
}
#tab-watchlist .toss-watchlist-raw-head span:last-child{color:#587aa5;font-size:7px;font-weight:600;letter-spacing:.06em;}
#tab-watchlist .toss-watchlist-editor-status.dirty{color:#ffd16b;}
#tab-watchlist .toss-watchlist-editor-status.error{color:#ff7e92;}
#tab-watchlist .toss-watchlist-editor-status.saved{color:#60dfba;}
@media (max-width:900px){
  #tab-watchlist .toss-watchlist-config-groups{grid-template-columns:1fr;}
}
@media (max-width:620px){
  #tab-watchlist .toss-watchlist-config-group{padding:8px;}
  #tab-watchlist .toss-watchlist-config-group-head{align-items:flex-start;flex-direction:column;}
  #tab-watchlist .toss-watchlist-config-group-id-wrap{width:100%;}
  #tab-watchlist .toss-watchlist-config-group-tools{width:100%;justify-content:flex-end;}
  #tab-watchlist .toss-watchlist-config-symbol-row{gap:6px;padding:6px;}
  #tab-watchlist .toss-watchlist-config-symbol-copy strong{font-size:12px;}
  #tab-watchlist .toss-watchlist-config-symbol-copy span{font-size:9px;}
  #tab-watchlist .toss-watchlist-config-search{height:36px;font-size:10px;}
}

/* v3.1.30: optically centered Watchlist move controls + relaxed horizontal typography. */
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="symbol-up"],
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="symbol-down"],
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="group-up"],
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="group-down"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:0;
  font-size:0;
  line-height:0;
  text-align:center;
}
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="symbol-up"]::before,
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="symbol-down"]::before,
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="group-up"]::before,
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="group-down"]::before{
  content:"";
  display:block;
  width:0;
  height:0;
  flex:0 0 auto;
}
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="symbol-up"]::before,
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="group-up"]::before{
  border-left:3px solid transparent;
  border-right:3px solid transparent;
  border-bottom:4px solid currentColor;
}
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="symbol-down"]::before,
#tab-watchlist .toss-watchlist-icon-btn[data-watchlist-action="group-down"]::before{
  border-left:3px solid transparent;
  border-right:3px solid transparent;
  border-top:4px solid currentColor;
}

/* Give compact Watchlist text a little more horizontal breathing room without increasing row height. */
#tab-watchlist .toss-watchlist-editor-title,
#tab-watchlist .toss-watchlist-config-group-id,
#tab-watchlist .toss-watchlist-config-symbol-copy strong,
#tab-watchlist .toss-watchlist-group-title,
#tab-watchlist .toss-watchlist-symbol-wrap strong{
  letter-spacing:.035em;
}
#tab-watchlist .toss-watchlist-config-symbol-copy span,
#tab-watchlist .toss-watchlist-symbol-wrap span,
#tab-watchlist .toss-watchlist-config-search,
#tab-watchlist .toss-watchlist-editor-actions button{
  letter-spacing:.025em;
}
#tab-watchlist .toss-watchlist-config-group-tools>span,
#tab-watchlist .toss-watchlist-group-meta,
#tab-watchlist .toss-watchlist-change span{
  letter-spacing:.045em;
}
#tab-watchlist .toss-watchlist-change strong{
  letter-spacing:.02em;
}
#tab-watchlist .toss-watchlist-config-symbol-copy{
  gap:7px;
}
#tab-watchlist .toss-watchlist-config-symbol-row{
  column-gap:9px;
  padding-left:9px;
  padding-right:9px;
}



/* v3.1.32: Mobile System refresh actions return to the right edge. */
@media (max-width:620px){
  #tab-system .admin-resource-actions{align-self:stretch;width:100%;justify-content:flex-end;}
  #tab-system .admin-section-head > #admin-refresh{align-self:flex-end;}
}

/* v3.1.31: Toss typography contrast system — color-only refinement.
   Preserve all typography metrics and layout; separate readable primary data,
   secondary labels, muted metadata, and Toss blue accents across Toss pages. */
#tab-toss-trade,
#tab-watchlist{
  --toss-text-primary:#f2f6ff;
  --toss-text-secondary:#b8cceb;
  --toss-text-muted:#829cc4;
  --toss-text-faint:#657fa6;
  --toss-text-disabled:#607493;
  --toss-text-accent:#6fa9ff;
}

/* Toss sidebar: keep brand blue surfaces, make navigation copy easier to scan. */
.sidebar-nav-group.toss .sidebar-group-toggle,
.sidebar-nav-group.toss .sidebar-nav-item,
.sidebar-nav-group.toss .app-tab{
  color:#eaf2ff!important;
}
.sidebar-nav-group.toss .sidebar-nav-item.active,
.sidebar-nav-group.toss .app-tab.active,
.sidebar-nav-group.toss .sidebar-nav-item:hover,
.sidebar-nav-group.toss .app-tab:hover{
  color:#ffffff!important;
}

/* Toss Trade — titles and account/holdings values. */
#tab-toss-trade .trade-page-title,
#tab-toss-trade .monitor-title,
#tab-toss-trade .toss-manual-order-card .monitor-title,
#tab-toss-trade .toss-manual-order-card .manual-preview-title{
  color:var(--toss-text-accent)!important;
}
#tab-toss-trade .trade-summary-label,
#tab-toss-trade .toss-holdings-table th,
#tab-toss-trade .toss-manual-order-card .manual-field-label,
#tab-toss-trade .toss-manual-order-card .manual-preview-label,
#tab-toss-trade .toss-manual-order-card .manual-input-suffix{
  color:var(--toss-text-secondary)!important;
}
#tab-toss-trade .trade-summary-value:not(.pnl-positive):not(.pnl-negative),
#tab-toss-trade .toss-holdings-table td:not(.pnl-positive):not(.pnl-negative),
#tab-toss-trade .toss-manual-order-card .manual-control:not(:disabled),
#tab-toss-trade .toss-manual-order-card .manual-preview-value:not(.readiness-ready):not(.readiness-prepare):not(.readiness-blocked):not(.readiness-stale),
#tab-toss-trade .toss-manual-checkbox-row{
  color:var(--toss-text-primary)!important;
}
#tab-toss-trade .toss-manual-order-card .monitor-meta,
#tab-toss-trade .toss-manual-order-card .manual-preview-meta,
#tab-toss-trade .toss-manual-order-card .manual-order-status,
#tab-toss-trade .toss-manual-order-card .manual-order-note,
#tab-toss-trade .toss-manual-order-card .manual-preview-sub,
#tab-toss-trade .toss-manual-order-card .manual-symbol-caption,
#tab-toss-trade .toss-section-note{
  color:var(--toss-text-muted)!important;
}
#tab-toss-trade .toss-manual-order-card .manual-control:disabled{
  color:var(--toss-text-disabled)!important;
}
#tab-toss-trade .toss-fractional-status.neutral,
#tab-toss-trade #toss-manual-fractional-policy-meta,
#tab-toss-trade #toss-manual-fractional-now-meta{
  color:var(--toss-text-muted)!important;
}
#tab-toss-trade .toss-symbol-search-primary strong{
  color:var(--toss-text-primary)!important;
}
#tab-toss-trade .toss-symbol-search-primary span,
#tab-toss-trade .toss-symbol-search-secondary,
#tab-toss-trade .toss-symbol-search-empty,
#tab-toss-trade .toss-symbol-search-footnote{
  color:var(--toss-text-muted)!important;
}

/* Toss Watchlist — data first, labels second, metadata third. */
#tab-watchlist .monitor-title,
#tab-watchlist .toss-watchlist-editor-title,
#tab-watchlist .toss-watchlist-group-title{
  color:var(--toss-text-accent)!important;
}
#tab-watchlist .toss-watchlist-symbol-wrap strong,
#tab-watchlist .toss-watchlist-price,
#tab-watchlist .toss-watchlist-config-symbol-copy strong,
#tab-watchlist .toss-watchlist-config-group-id,
#tab-watchlist .toss-watchlist-config-search,
#tab-watchlist .toss-watchlist-yaml,
#tab-watchlist .toss-watchlist-config-search-results button{
  color:var(--toss-text-primary)!important;
}
#tab-watchlist .toss-watchlist-symbol-wrap span,
#tab-watchlist .toss-watchlist-config-symbol-copy span,
#tab-watchlist .toss-watchlist-raw-head,
#tab-watchlist .toss-watchlist-editor-help,
#tab-watchlist .toss-watchlist-config-group-id-wrap label{
  color:var(--toss-text-secondary)!important;
}
#tab-watchlist .toss-watchlist-editor-path,
#tab-watchlist .toss-watchlist-editor-status,
#tab-watchlist .toss-watchlist-group-meta,
#tab-watchlist .toss-watchlist-card-foot,
#tab-watchlist .toss-watchlist-change span,
#tab-watchlist .toss-watchlist-config-group-tools>span,
#tab-watchlist .toss-watchlist-config-search-results button small,
#tab-watchlist .toss-watchlist-config-search-market,
#tab-watchlist .toss-watchlist-config-search-state,
#tab-watchlist .toss-watchlist-config-symbol-empty,
#tab-watchlist .toss-watchlist-config-loading,
#tab-watchlist .toss-watchlist-empty{
  color:var(--toss-text-muted)!important;
}
#tab-watchlist .toss-watchlist-config-empty strong,
#tab-watchlist .toss-watchlist-empty strong,
#tab-watchlist .toss-watchlist-editor-help code{
  color:var(--toss-text-secondary)!important;
}
#tab-watchlist .toss-watchlist-change strong:not(.pnl-positive):not(.pnl-negative){
  color:var(--toss-text-secondary)!important;
}
#tab-watchlist .toss-watchlist-editor-actions .secondary,
#tab-watchlist .toss-watchlist-config-delete-group,
#tab-watchlist .toss-watchlist-icon-btn:not(.danger):not(:disabled){
  color:var(--toss-text-primary)!important;
}
#tab-watchlist .toss-watchlist-icon-btn:disabled{
  color:var(--toss-text-disabled)!important;
}

/* v3.1.34: Watchlist destructive-action parity + semantic value colors. */
#tab-watchlist .toss-watchlist-config-delete-group{
  background:linear-gradient(180deg,rgba(115,32,46,.96),rgba(73,20,30,.98));
  color:#ffdce2!important;
  border-color:rgba(255,93,115,.42);
  box-shadow:none;
}
#tab-watchlist .toss-watchlist-config-delete-group:hover{
  background:linear-gradient(180deg,rgba(135,38,54,.98),rgba(86,23,35,.99));
  color:#fff0f3!important;
  border-color:rgba(255,93,115,.62);
}
#tab-watchlist .toss-watchlist-card.positive .toss-watchlist-change strong,
#tab-watchlist .toss-watchlist-card.positive .toss-watchlist-price{
  color:#21d8b7!important;
}
#tab-watchlist .toss-watchlist-card.negative .toss-watchlist-change strong,
#tab-watchlist .toss-watchlist-card.negative .toss-watchlist-price{
  color:#ff5d73!important;
}

/* v3.1.34: Watchlist search readability + inline Daily PnL beside current value. */
#tab-watchlist .toss-watchlist-config-search{
  height:36px;
  font-size:11px;
  padding-left:12px;
  padding-right:12px;
}
#tab-watchlist .toss-watchlist-config-search-results{
  max-height:300px;
  padding:5px;
}
#tab-watchlist .toss-watchlist-config-search-results button{
  min-height:36px;
  gap:10px;
  padding:9px 10px;
}
#tab-watchlist .toss-watchlist-config-search-primary{
  min-width:0;
  display:flex;
  align-items:baseline;
  gap:5px;
  overflow:hidden;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-config-search-primary strong{
  flex:0 0 auto;
  display:inline;
  font-size:11px;
  line-height:1.25;
}
#tab-watchlist .toss-watchlist-config-search-primary span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--toss-text-secondary);
  font-size:11px;
  line-height:1.25;
}
#tab-watchlist .toss-watchlist-config-search-market{
  font-size:9px;
}
#tab-watchlist .toss-watchlist-config-search-state{
  padding:10px;
  font-size:10px;
}
#tab-watchlist .toss-watchlist-value-line{
  min-width:0;
  display:flex;
  align-items:baseline;
  gap:5px;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-inline-pnl{
  color:var(--toss-text-secondary);
  font-size:9px;
  line-height:1.15;
}
#tab-watchlist .toss-watchlist-card.positive .toss-watchlist-inline-pnl{
  color:#21d8b7!important;
}
#tab-watchlist .toss-watchlist-card.negative .toss-watchlist-inline-pnl{
  color:#ff5d73!important;
}
@media(max-width:620px){
  #tab-watchlist .toss-watchlist-config-search{
    height:40px;
    font-size:12px;
  }
  #tab-watchlist .toss-watchlist-config-search-results button{
    min-height:40px;
    padding:10px 11px;
  }
  #tab-watchlist .toss-watchlist-config-search-primary strong,
  #tab-watchlist .toss-watchlist-config-search-primary span{
    font-size:12px;
  }
  #tab-watchlist .toss-watchlist-config-search-market{
    font-size:10px;
  }
  #tab-watchlist .toss-watchlist-inline-pnl{
    font-size:8px;
  }
}

/* v3.1.35: Watchlist Daily PnL readability and responsive value/chart geometry. */
#tab-watchlist .toss-watchlist-value-line{
  flex:1 1 auto;
  min-width:0;
}
#tab-watchlist .toss-watchlist-inline-pnl{
  font-size:11px;
  white-space:nowrap;
}
#tab-watchlist .toss-watchlist-card .market-candle-wrap{
  flex:0 0 98px;
  width:98px;
  max-width:98px;
  min-width:70px;
}
@media(max-width:1100px){
  #tab-watchlist .toss-watchlist-card .market-candle-wrap{
    flex-basis:88px;
    width:88px;
    max-width:88px;
    min-width:68px;
  }
}
@media(max-width:620px){
  #tab-watchlist .toss-watchlist-card-body{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    justify-items:stretch;
    gap:5px;
    min-height:0;
  }
  #tab-watchlist .toss-watchlist-value-line{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    column-gap:5px;
    row-gap:2px;
    white-space:normal;
    overflow:visible;
  }
  #tab-watchlist .toss-watchlist-inline-pnl{
    font-size:10px;
    white-space:nowrap;
  }
  #tab-watchlist .toss-watchlist-card .market-candle-wrap{
    justify-self:end;
    flex:none;
    width:82px;
    max-width:82px;
    min-width:64px;
    height:27px;
  }
}

/* v3.1.36: Fold/tablet Watchlist card body separation to prevent value/PnL/chart overlap. */
@media (max-width:1100px){
  #tab-watchlist .toss-watchlist-card-body{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    justify-items:stretch;
    gap:5px;
    min-height:0;
  }
  #tab-watchlist .toss-watchlist-value-line{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    column-gap:5px;
    row-gap:2px;
    white-space:normal;
    overflow:visible;
  }
  #tab-watchlist .toss-watchlist-inline-pnl{
    font-size:11px;
    white-space:nowrap;
  }
  #tab-watchlist .toss-watchlist-card .market-candle-wrap{
    justify-self:end;
    flex:none;
    width:88px;
    max-width:88px;
    min-width:68px;
    height:29px;
  }
}
@media (max-width:620px){
  #tab-watchlist .toss-watchlist-inline-pnl{font-size:10px;}
  #tab-watchlist .toss-watchlist-card .market-candle-wrap{
    width:82px;
    max-width:82px;
    min-width:64px;
    height:27px;
  }
}

/* v3.1.40 - Common Main Dashboard compact Toss Watchlist zone */
#tab-dashboard .cockpit-toss-watchlist-zone{
  position:relative;
  margin:10px 0 12px;
  padding:12px 13px 13px;
  border:1px solid rgba(49,130,246,.34);
  border-radius:16px;
  background:radial-gradient(circle at 8% 0%,rgba(49,130,246,.10),rgba(49,130,246,0) 24%),linear-gradient(180deg,rgba(8,25,49,.96),rgba(5,16,29,.98));
  box-shadow:0 10px 26px rgba(0,0,0,.16),inset 0 1px 0 rgba(129,180,255,.05);
  overflow:hidden;
}
#tab-dashboard .cockpit-toss-watchlist-zone::before{
  content:"";
  position:absolute;
  top:0;
  left:14px;
  right:14px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(74,144,255,.88),transparent);
}
#tab-dashboard .cockpit-toss-watchlist-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:30px;
  margin-bottom:9px;
}
#tab-dashboard .cockpit-toss-watchlist-brand{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:#6fa9ff;
  letter-spacing:.02em;
}
#tab-dashboard .cockpit-toss-watchlist-brand strong{font-size:13px;font-weight:700;white-space:nowrap;}
#tab-dashboard .cockpit-toss-watchlist-logo{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:7px;
  background:rgba(49,130,246,.12);
  border:1px solid rgba(74,144,255,.24);
}
#tab-dashboard .cockpit-toss-watchlist-logo img{width:16px;height:16px;object-fit:contain;}
#tab-dashboard .cockpit-toss-watchlist-meta{
  color:#829cc4;
  font-size:8px;
  letter-spacing:.02em;
  text-align:right;
  white-space:nowrap;
}
#tab-dashboard .cockpit-toss-watchlist-message{
  margin:0 0 9px;
  padding:7px 9px;
  border:1px solid rgba(255,93,115,.22);
  border-radius:9px;
  background:rgba(255,93,115,.06);
  color:#ff98a6;
  font-size:9px;
}
#tab-dashboard .cockpit-toss-watchlist-groups{display:grid;gap:10px;}
#tab-dashboard .cockpit-toss-watchlist-group + .cockpit-toss-watchlist-group{
  padding-top:9px;
  border-top:1px solid rgba(111,169,255,.12);
}
#tab-dashboard .cockpit-toss-watchlist-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
#tab-dashboard .cockpit-toss-watchlist-group-head strong{
  color:#b8cceb;
  font-size:10px;
  font-weight:650;
  letter-spacing:.025em;
}
#tab-dashboard .cockpit-toss-watchlist-group-head span{
  color:#6f8ebb;
  font-size:7px;
  font-weight:500;
  white-space:nowrap;
}
#tab-dashboard .cockpit-toss-watchlist-cards{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
#tab-dashboard .cockpit-toss-watchlist-card{
  min-width:0;
  min-height:72px;
  padding:8px 9px 7px;
  border:1px solid rgba(74,144,255,.24);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(11,36,70,.86),rgba(6,20,37,.94));
  box-shadow:inset 0 1px 0 rgba(151,195,255,.035);
  overflow:hidden;
}
#tab-dashboard .cockpit-toss-watchlist-card.unavailable{opacity:.58;}
#tab-dashboard .cockpit-toss-watchlist-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-bottom:5px;
}
#tab-dashboard .cockpit-toss-watchlist-symbol{
  display:flex;
  align-items:baseline;
  gap:5px;
  min-width:0;
  overflow:hidden;
}
#tab-dashboard .cockpit-toss-watchlist-symbol strong{
  flex:0 0 auto;
  color:#f2f6ff;
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
}
#tab-dashboard .cockpit-toss-watchlist-card.domestic .cockpit-toss-watchlist-symbol strong{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-dashboard .cockpit-toss-watchlist-symbol span{
  min-width:0;
  color:#9fb8dd;
  font-size:8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-dashboard .cockpit-toss-watchlist-market{
  flex:0 0 auto;
  color:#6f8ebb;
  font-size:7px;
  white-space:nowrap;
}
#tab-dashboard .cockpit-toss-watchlist-card-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) 82px;
  align-items:end;
  gap:7px;
  min-width:0;
}
#tab-dashboard .cockpit-toss-watchlist-value-line{
  display:flex;
  align-items:baseline;
  gap:4px;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
}
#tab-dashboard .cockpit-toss-watchlist-price{
  flex:0 0 auto;
  color:#f2f6ff;
  font-size:12px;
  font-weight:650;
}
#tab-dashboard .cockpit-toss-watchlist-pnl{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#829cc4;
  font-size:8px;
}
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-pnl{color:#21d8b7;}
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-pnl{color:#ff5d73;}
#tab-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{
  justify-self:end;
  flex:none;
  width:82px;
  min-width:82px;
  max-width:82px;
  height:27px;
  min-height:27px;
  max-height:27px;
  margin:0;
}
#tab-dashboard .cockpit-toss-watchlist-empty{
  grid-column:1/-1;
  padding:10px;
  border:1px dashed rgba(111,169,255,.18);
  border-radius:9px;
  color:#829cc4;
  font-size:9px;
  text-align:center;
}
@media (max-width:1500px){
  #tab-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:1180px){
  #tab-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(3,minmax(0,1fr));}
  #tab-dashboard .cockpit-toss-watchlist-card-body{grid-template-columns:minmax(0,1fr) 74px;}
  #tab-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{width:74px;min-width:74px;max-width:74px;height:25px;min-height:25px;max-height:25px;}
}
@media (max-width:820px){
  #tab-dashboard .cockpit-toss-watchlist-zone{padding:9px 10px 10px;border-radius:13px;}
  #tab-dashboard .cockpit-toss-watchlist-head{align-items:flex-start;gap:6px;}
  #tab-dashboard .cockpit-toss-watchlist-meta{white-space:normal;line-height:1.35;}
  #tab-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  #tab-dashboard .cockpit-toss-watchlist-card{padding:8px;}
  #tab-dashboard .cockpit-toss-watchlist-card-body{grid-template-columns:1fr;gap:4px;}
  #tab-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{justify-self:end;width:74px;min-width:74px;max-width:74px;}
}
@media (max-width:480px){
  #tab-dashboard .cockpit-toss-watchlist-symbol span{display:none;}
  #tab-dashboard .cockpit-toss-watchlist-market{font-size:6px;}
  #tab-dashboard .cockpit-toss-watchlist-pnl{font-size:7px;}
}

/* v3.1.40 - Main Dashboard Toss Watchlist typography parity with Market(15m) + directional borders */
#tab-dashboard .cockpit-toss-watchlist-brand strong{
  font-size:var(--kst-main-title-size)!important;
  font-weight:800!important;
  line-height:1.18!important;
  letter-spacing:0!important;
}
#tab-dashboard .cockpit-toss-watchlist-meta{
  font-size:9px!important;
  line-height:1.4!important;
  font-weight:400!important;
}
#tab-dashboard .cockpit-toss-watchlist-group-head strong{
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
}
#tab-dashboard .cockpit-toss-watchlist-group-head span{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.4!important;
}
#tab-dashboard .cockpit-toss-watchlist-symbol strong{
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
}
#tab-dashboard .cockpit-toss-watchlist-symbol span{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
#tab-dashboard .cockpit-toss-watchlist-market{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
#tab-dashboard .cockpit-toss-watchlist-price{
  font-size:18px!important;
  font-weight:950!important;
  line-height:1.1!important;
  letter-spacing:.01em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
#tab-dashboard .cockpit-toss-watchlist-pnl{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.positive{
  border-color:rgba(32,214,187,.46)!important;
  box-shadow:inset 0 0 0 1px rgba(32,214,187,.045)!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.negative{
  border-color:rgba(255,93,115,.43)!important;
  box-shadow:inset 0 0 0 1px rgba(255,93,115,.04)!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.flat{
  border-color:rgba(70,151,190,.26)!important;
  box-shadow:none!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.unavailable{
  border-color:rgba(255,93,115,.28)!important;
}
@media (max-width:768px){
  #tab-dashboard .cockpit-toss-watchlist-brand strong{
    font-size:var(--kst-main-title-size)!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-symbol strong,
  #tab-dashboard .cockpit-toss-watchlist-group-head strong{
    font-size:var(--kst-subtitle-size)!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-price{
    font-size:17px!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-pnl{
    font-size:9px!important;
  }
}

/* v3.1.41 - Main Dashboard Toss Watchlist card typography mirrors Market(15m) exactly; Toss colors stay scoped. */
#tab-dashboard .cockpit-toss-watchlist-symbol strong{
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
}
#tab-dashboard .cockpit-toss-watchlist-symbol span{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
#tab-dashboard .cockpit-toss-watchlist-market{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
#tab-dashboard .cockpit-toss-watchlist-price{
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
#tab-dashboard .cockpit-toss-watchlist-pnl{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}
@media (max-width:768px){
  #tab-dashboard .cockpit-toss-watchlist-symbol strong{
    font-size:11px!important;
    font-weight:700!important;
    line-height:1.28!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-price{
    font-size:17px!important;
    font-weight:400!important;
    line-height:1.1!important;
    letter-spacing:-.025em!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-pnl{
    font-size:9px!important;
    font-weight:400!important;
    line-height:1.3!important;
  }
}

/* v3.1.42 - Main Dashboard Toss Watchlist: current price stays white; Daily PnL carries direction color. */
#tab-dashboard .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  color:#f7fcff!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-pnl{
  color:#21d8b7!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-pnl{
  color:#ff5d73!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-pnl{
  color:#8ca7b7!important;
}


/* v3.1.63: make cached-data source-date timezone/session basis explicit. */
#tab-dashboard .cockpit-signal-key{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
}
#tab-dashboard .cockpit-signal-key em{
  display:inline-flex!important;
  align-items:center!important;
  min-height:15px!important;
  padding:0 5px!important;
  border:1px solid rgba(240,185,11,.28)!important;
  border-radius:999px!important;
  font-size:7px!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  line-height:1!important;
  color:#d8c77b!important;
  white-space:nowrap!important;
}
.signal-cache-source-date strong{
  display:block;
  font-weight:800;
}
.signal-cache-source-date span{
  display:block;
  margin-top:2px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.035em;
  white-space:nowrap;
  opacity:.78;
}
@media (max-width:700px){
  #tab-dashboard .cockpit-signal-key em{font-size:8px!important;}
}

/* v3.1.69 - Main Dashboard Toss Watchlist cards share the Market(15m) card system. */
#tab-dashboard .cockpit-toss-watchlist-cards{
  grid-template-columns:repeat(auto-fit,minmax(186px,1fr))!important;
  gap:7px!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.market-card{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:104px!important;
  padding:9px!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(10,35,51,.96) 0%,rgba(4,18,28,.985) 58%,rgba(0,0,0,.995) 100%)!important;
  overflow:hidden!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  margin-bottom:0!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-symbol{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-symbol strong{
  display:block!important;
  color:#e7f8ff!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .market-card-meta{
  margin-top:3px!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-secondary{
  color:#91aaba!important;
  font-size:8px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-market{
  display:block!important;
  margin-top:2px!important;
  color:#819aaa!important;
  font-size:7px!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
  margin-top:7px!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-value-line{
  display:block!important;
  min-width:0!important;
  flex:1 1 auto!important;
  white-space:normal!important;
  overflow:visible!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  display:block!important;
  width:100%!important;
  margin-top:0!important;
  color:#f7fcff!important;
  font-size:17px!important;
  font-weight:400!important;
  line-height:1.1!important;
  letter-spacing:-.04em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-pnl{
  display:block!important;
  margin-top:3px!important;
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{
  flex:0 0 42%!important;
  width:42%!important;
  max-width:96px!important;
  min-width:48px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  justify-self:auto!important;
}
@media (max-width:620px){
  #tab-dashboard .cockpit-toss-watchlist-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card.market-card{
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
    padding:7px 8px!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-head{
    flex:0 0 40px!important;
    min-height:40px!important;
    max-height:40px!important;
    overflow:hidden!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
    flex:0 0 40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin-top:0!important;
    align-items:flex-start!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price{
    min-height:20px!important;
    line-height:20px!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-pnl{
    min-height:20px!important;
    max-height:20px!important;
    line-height:10px!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{
    flex:0 0 44%!important;
    width:44%!important;
    min-width:44px!important;
    max-width:78px!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    margin-top:4px!important;
  }
}

/* v3.1.69 final parity: use the same dashboard column cadence and quote typography as Market(15m). */
#tab-dashboard .cockpit-toss-watchlist-cards{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  font-size:18px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
@media (max-width:1600px){
  #tab-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
@media (max-width:1100px){
  #tab-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:760px){
  #tab-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price{font-size:17px!important;}
}


/* v3.1.70 - Toss Watchlist card polish: regular price weight, Toss blue-black surface, no venue/currency subline. */
#tab-dashboard .cockpit-toss-watchlist-card.market-card{
  background:linear-gradient(180deg,rgba(16,58,128,.88) 0%,rgba(5,24,58,.965) 48%,rgba(0,0,0,.995) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(122,181,255,.075)!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  font-weight:400!important;
}
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
  margin-top:10px!important;
}
@media (max-width:620px){
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-head{
    flex-basis:28px!important;
    min-height:28px!important;
    max-height:28px!important;
  }
  #tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
    margin-top:3px!important;
  }
}

/* v3.1.71 - Main Dashboard Toss Watchlist: enlarge Daily PnL helper text by 2px. */
#tab-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-pnl{
  font-size:11px!important;
}


/* v3.1.73 - Scheduler Decision Preview semantic role/state palette. */
#tab-scheduler .decision-node.decision-role-current{
  border-color:rgba(56,189,248,.46)!important;
  background:linear-gradient(180deg,rgba(8,60,89,.50),rgba(7,20,31,.94))!important;
  box-shadow:inset 0 1px 0 rgba(125,220,255,.035),0 0 16px rgba(56,189,248,.045)!important;
}
#tab-scheduler .decision-role-current .decision-label{
  color:#7ddcff!important;
}
#tab-scheduler .decision-role-current.decision-flat .decision-value,
#tab-scheduler .decision-role-current.decision-neutral .decision-value{
  color:#d9f3ff!important;
}
#tab-scheduler .decision-role-current.decision-long .decision-value{
  color:#72f5df!important;
}
#tab-scheduler .decision-role-current.decision-short .decision-value{
  color:#ff9dad!important;
}

#tab-scheduler .decision-node.decision-role-action{
  border-color:rgba(167,139,250,.48)!important;
  background:linear-gradient(180deg,rgba(70,46,112,.50),rgba(28,19,49,.92))!important;
  box-shadow:inset 0 1px 0 rgba(221,214,254,.035),0 0 18px rgba(167,139,250,.075)!important;
}
#tab-scheduler .decision-role-action .decision-label{
  color:#c4b5fd!important;
}
#tab-scheduler .decision-role-action .decision-value{
  color:#eadfff!important;
}
#tab-scheduler .decision-role-action.decision-action-enter{
  border-color:rgba(25,229,197,.50)!important;
  background:linear-gradient(180deg,rgba(8,79,68,.52),rgba(6,35,31,.92))!important;
  box-shadow:inset 0 1px 0 rgba(114,245,223,.035),0 0 18px rgba(25,229,197,.07)!important;
}
#tab-scheduler .decision-role-action.decision-action-enter .decision-label,
#tab-scheduler .decision-role-action.decision-action-enter .decision-value{
  color:#72f5df!important;
}
#tab-scheduler .decision-role-action.decision-action-exit{
  border-color:rgba(251,146,60,.54)!important;
  background:linear-gradient(180deg,rgba(94,49,14,.54),rgba(45,24,10,.92))!important;
  box-shadow:inset 0 1px 0 rgba(253,186,116,.035),0 0 18px rgba(251,146,60,.07)!important;
}
#tab-scheduler .decision-role-action.decision-action-exit .decision-label,
#tab-scheduler .decision-role-action.decision-action-exit .decision-value{
  color:#fdba74!important;
}
#tab-scheduler .decision-role-action.decision-action-hold{
  border-color:rgba(167,139,250,.52)!important;
  background:linear-gradient(180deg,rgba(74,49,116,.52),rgba(30,20,52,.94))!important;
}
#tab-scheduler .decision-role-action.decision-action-hold .decision-label{
  color:#c4b5fd!important;
}
#tab-scheduler .decision-role-action.decision-action-hold .decision-value{
  color:#ede9fe!important;
}

#tab-scheduler .decision-node.decision-role-expected{
  border-color:rgba(94,234,212,.42)!important;
  background:linear-gradient(180deg,rgba(8,58,56,.46),rgba(6,27,30,.92))!important;
  box-shadow:inset 0 1px 0 rgba(153,246,228,.03),0 0 16px rgba(45,212,191,.05)!important;
}
#tab-scheduler .decision-role-expected .decision-label{
  color:#7eeadf!important;
}
#tab-scheduler .decision-role-expected.decision-flat .decision-value,
#tab-scheduler .decision-role-expected.decision-neutral .decision-value,
#tab-scheduler .decision-role-expected:not(.decision-long):not(.decision-short):not(.decision-flat) .decision-value{
  color:#d7fbf5!important;
}
#tab-scheduler .decision-role-expected.decision-long{
  border-color:rgba(25,229,197,.50)!important;
  background:linear-gradient(180deg,rgba(8,77,65,.52),rgba(6,34,30,.92))!important;
}
#tab-scheduler .decision-role-expected.decision-long .decision-label,
#tab-scheduler .decision-role-expected.decision-long .decision-value{
  color:#72f5df!important;
}
#tab-scheduler .decision-role-expected.decision-short{
  border-color:rgba(255,93,115,.52)!important;
  background:linear-gradient(180deg,rgba(91,28,40,.50),rgba(43,15,22,.92))!important;
}
#tab-scheduler .decision-role-expected.decision-short .decision-label,
#tab-scheduler .decision-role-expected.decision-short .decision-value{
  color:#ff9dad!important;
}
#tab-scheduler .decision-arrow{
  color:#94a3b8!important;
}


/* v3.1.74 - Scheduler STOPPED lifecycle badge uses danger semantics. */
#tab-scheduler .job-status.stopped{
  color:#ff7f91!important;
  border-color:rgba(255,93,115,.58)!important;
  background:rgba(255,93,115,.10)!important;
  box-shadow:0 0 16px rgba(255,93,115,.12)!important;
}


/* v3.1.75 - Scheduler Execution audit cards use semantic role/status colors. */
#tab-scheduler .run-summary{
  border-top-color:rgba(100,116,139,.24)!important;
}
#tab-scheduler .run-summary-label{
  color:#8fb7cf!important;
}
#tab-scheduler .run-summary-item.run-summary-role-scheduled{
  border-color:rgba(56,189,248,.34)!important;
  background:linear-gradient(180deg,rgba(8,51,76,.38),rgba(7,18,29,.92))!important;
  box-shadow:inset 0 1px 0 rgba(125,220,255,.025)!important;
}
#tab-scheduler .run-summary-role-scheduled .run-summary-key{
  color:#73c9e8!important;
}
#tab-scheduler .run-summary-role-scheduled .run-summary-value:not(.run-status-neutral){
  color:#d8f4ff!important;
}

#tab-scheduler .run-summary-item.run-summary-role-decision{
  border-color:rgba(148,163,184,.32)!important;
  background:linear-gradient(180deg,rgba(38,47,62,.38),rgba(13,18,27,.92))!important;
}
#tab-scheduler .run-summary-role-decision .run-summary-key{
  color:#aebdcb!important;
}
#tab-scheduler .run-summary-role-decision .run-summary-value{
  color:#e8eef5!important;
}
#tab-scheduler .run-summary-role-decision.decision-action-hold{
  border-color:rgba(167,139,250,.46)!important;
  background:linear-gradient(180deg,rgba(69,45,108,.44),rgba(28,19,48,.92))!important;
}
#tab-scheduler .run-summary-role-decision.decision-action-hold .run-summary-key,
#tab-scheduler .run-summary-role-decision.decision-action-hold .run-summary-value{
  color:#d8caff!important;
}
#tab-scheduler .run-summary-role-decision.decision-action-enter{
  border-color:rgba(25,229,197,.44)!important;
  background:linear-gradient(180deg,rgba(8,72,62,.44),rgba(6,31,28,.92))!important;
}
#tab-scheduler .run-summary-role-decision.decision-action-enter .run-summary-key,
#tab-scheduler .run-summary-role-decision.decision-action-enter .run-summary-value{
  color:#83f3df!important;
}
#tab-scheduler .run-summary-role-decision.decision-action-exit{
  border-color:rgba(251,146,60,.48)!important;
  background:linear-gradient(180deg,rgba(86,45,15,.46),rgba(41,22,10,.92))!important;
}
#tab-scheduler .run-summary-role-decision.decision-action-exit .run-summary-key,
#tab-scheduler .run-summary-role-decision.decision-action-exit .run-summary-value{
  color:#fdba74!important;
}

#tab-scheduler .run-summary-item.run-summary-role-execution{
  border-color:rgba(148,163,184,.32)!important;
  background:linear-gradient(180deg,rgba(35,43,55,.38),rgba(12,17,24,.92))!important;
}
#tab-scheduler .run-summary-role-execution .run-summary-key{
  color:#aebdcb!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-success{
  border-color:rgba(25,229,197,.42)!important;
  background:linear-gradient(180deg,rgba(8,68,59,.42),rgba(6,30,27,.92))!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-success .run-summary-key{
  color:#7bead7!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-warning{
  border-color:rgba(245,183,66,.46)!important;
  background:linear-gradient(180deg,rgba(83,58,14,.43),rgba(38,27,9,.92))!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-warning .run-summary-key{
  color:#f6cf78!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-error{
  border-color:rgba(255,93,115,.48)!important;
  background:linear-gradient(180deg,rgba(83,26,37,.44),rgba(39,14,20,.92))!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-error .run-summary-key{
  color:#ff9dad!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-neutral{
  border-color:rgba(148,163,184,.32)!important;
  background:linear-gradient(180deg,rgba(37,46,59,.38),rgba(13,18,26,.92))!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-neutral .run-summary-key{
  color:#aebdcb!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-success .run-status-info-btn{
  border-color:rgba(25,229,197,.38)!important;
  background:rgba(25,229,197,.07)!important;
  color:#83f3df!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-warning .run-status-info-btn{
  border-color:rgba(245,183,66,.40)!important;
  background:rgba(245,183,66,.07)!important;
  color:#f6cf78!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-error .run-status-info-btn{
  border-color:rgba(255,93,115,.42)!important;
  background:rgba(255,93,115,.08)!important;
  color:#ff9dad!important;
}
#tab-scheduler .run-summary-role-execution.run-summary-status-neutral .run-status-info-btn{
  border-color:rgba(148,163,184,.34)!important;
  background:rgba(148,163,184,.06)!important;
  color:#b9c5d2!important;
}

/* v3.1.77 security session control */
.app-session-btn{
  min-height:28px;
  padding:0 10px;
  border:1px solid rgba(120,160,190,.35);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(18,34,48,.96),rgba(5,12,18,.98));
  color:#b9cfdf;
  font:700 10px/1 system-ui,sans-serif;
  letter-spacing:.08em;
  cursor:pointer;
}
.app-session-btn:hover{border-color:rgba(77,208,225,.65);color:#e5fbff;}


/* v3.1.81 - Main Dashboard strategy queue is read-only: remove lifecycle control column. */
#tab-dashboard .cockpit-queue-table .cockpit-table-head,
#tab-dashboard .cockpit-queue-table .cockpit-table-row{
  grid-template-columns:30px minmax(175px,1.22fr) 88px minmax(130px,.90fr)!important;
}
#tab-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
#tab-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{
  justify-self:stretch!important;
  text-align:left!important;
}
@media (max-width:1100px){
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:32px minmax(0,1fr)!important;
    grid-template-areas:"rank name" "rank status" "rank action"!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(1){grid-area:rank!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(2){grid-area:name!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){grid-area:status!important;}
  #tab-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){grid-area:action!important;}
}

/* v3.1.82 - Main Dashboard Binance primary-column rebalance. */
@media (min-width:1101px){
  #tab-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.18fr) minmax(340px,1.01fr) minmax(330px,.97fr)!important;
  }
  #tab-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:30px minmax(155px,1.05fr) 88px minmax(135px,.95fr)!important;
  }
}


/* v3.1.85: Admin navigation group separates operational administration from Common. */
.sidebar-nav-group.admin{
  background:linear-gradient(180deg,rgba(29,22,39,.96),rgba(8,11,17,.99))!important;
  border-color:rgba(174,132,226,.24)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16),inset 0 1px 0 rgba(221,197,255,.04)!important;
}
.sidebar-nav-group.admin .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(49,37,66,.96),rgba(22,18,31,.98))!important;
  color:#d9c6f4!important;
  border-bottom-color:rgba(174,132,226,.14)!important;
}
.sidebar-group-mark.admin-mark{
  color:#c6a6ef!important;
  background:rgba(151,105,211,.10)!important;
  border:1px solid rgba(177,132,232,.30)!important;
}

.sidebar-nav-group.admin .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(61,45,82,.96),rgba(24,18,33,.98))!important;
  border:1px solid rgba(186,145,235,.34)!important;
  box-shadow:inset 0 1px 0 rgba(229,211,255,.10),0 4px 10px rgba(0,0,0,.20)!important;
}
.sidebar-nav-group.admin .sidebar-group-chevron::before{color:#c8a7f0!important;}
.sidebar-nav-group.admin .sidebar-group-toggle:hover .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(75,55,101,.98),rgba(30,21,42,.98))!important;
  border-color:rgba(199,160,244,.48)!important;
  box-shadow:inset 0 1px 0 rgba(238,223,255,.14),0 8px 16px rgba(0,0,0,.22)!important;
}
.sidebar-nav-group.admin .sidebar-icon{color:#b99add!important;}
.sidebar-nav-group.admin .sidebar-nav-item:hover,.sidebar-nav-group.admin .app-tab:hover{
  background:linear-gradient(90deg,rgba(150,105,211,.14),rgba(150,105,211,.04))!important;
  border-color:rgba(177,132,232,.20)!important;
}
.sidebar-nav-group.admin .sidebar-nav-item.active,.sidebar-nav-group.admin .app-tab.active{
  background:linear-gradient(90deg,rgba(150,105,211,.24),rgba(150,105,211,.07))!important;
  border-color:rgba(185,145,235,.32)!important;
  box-shadow:inset 3px 0 0 #b48ae8!important;
  color:#f2eaff!important;
}

/* v3.1.87: Admin Log/System purple workspace identity.
   Color-only scope: preserve all existing typography, sizing, spacing and layout. */
#tab-log > .monitor-card{
  background:linear-gradient(180deg,rgba(31,23,43,.97) 0%,rgba(14,12,20,.99) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:rgba(180,138,232,.24)!important;
  box-shadow:inset 0 1px 0 rgba(225,204,255,.04),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-log .unified-log-filter,
#tab-log .unified-log-search,
#tab-log .log{
  background:linear-gradient(180deg,rgba(34,25,47,.92),rgba(2,2,4,.95))!important;
  border-color:rgba(180,138,232,.18)!important;
}
#tab-log .unified-log-columns{
  background:linear-gradient(180deg,rgba(48,35,65,.90),rgba(4,3,6,.92))!important;
  border-color:rgba(180,138,232,.16)!important;
}
#tab-log .unified-trade-event{
  background:linear-gradient(180deg,rgba(34,25,47,.94) 0%,rgba(13,11,18,.985) 55%,rgba(1,1,2,.994) 100%)!important;
  border-color:rgba(180,138,232,.15)!important;
}
#tab-log .monitor-title{
  color:#c9abef!important;
}

#tab-system .admin-section{
  background:linear-gradient(180deg,rgba(31,23,43,.97) 0%,rgba(14,12,20,.99) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:rgba(180,138,232,.24)!important;
  box-shadow:inset 0 1px 0 rgba(225,204,255,.04),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-system .admin-system-card,
#tab-system .admin-field-group,
#tab-system .admin-check-row,
#tab-system .admin-message{
  background:linear-gradient(180deg,rgba(34,25,47,.88),rgba(2,2,4,.90))!important;
  border-color:rgba(180,138,232,.16)!important;
}
#tab-system .admin-control{
  background:linear-gradient(180deg,rgba(34,25,47,.92),rgba(2,2,4,.95))!important;
  border-color:rgba(180,138,232,.20)!important;
}
#tab-system .admin-field-key{
  background:linear-gradient(180deg,rgba(48,35,65,.56),rgba(3,2,5,.60))!important;
  border-color:rgba(180,138,232,.13)!important;
}
#tab-system .admin-section-title{
  color:#c9abef!important;
}


/* v3.1.88 - Binance Dashboard relocation: preserve the former Main Dashboard visual contract on /binance/dashboard. */
#tab-binance-dashboard{--cockpit-panel-height:650px;}
@media (max-width:1450px){#tab-binance-dashboard{--cockpit-panel-height:auto;}}
#tab-binance-dashboard{--cockpit-panel-height:620px;}
@media (max-width:1450px){#tab-binance-dashboard{--cockpit-panel-height:auto;}}
#tab-binance-dashboard{--cockpit-panel-height:610px;}
#tab-binance-dashboard > .cockpit-diagnostics-disclosure{display:none!important;}
#tab-binance-dashboard{
      font-size:12px;
    }
#tab-binance-dashboard .monitor-title,
    #tab-binance-dashboard .cockpit-inner-title{
      font-size:13px!important;
      line-height:1.35!important;
      font-weight:400!important;
    }
#tab-binance-dashboard .monitor-meta,
    #tab-binance-dashboard .cockpit-section-header .monitor-meta{
      font-size:9px!important;
      line-height:1.4!important;
    }
@media (max-width:1100px){#tab-binance-dashboard{font-size:13px;}}
#tab-binance-dashboard .monitor-title{
  font-size:15px!important;
  font-weight:700!important;
  color:#f3f8fc!important;
}
#tab-binance-dashboard .monitor-meta{
  font-size:10px!important;
}
@media (max-width:1100px){#tab-binance-dashboard .monitor-title{font-size:14px!important;}}
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title,
#tab-binance-dashboard .monitor-title,
#tab-binance-dashboard .market-section-title,
#tab-binance-dashboard .admin-section-title{
  font-size:18px!important;
  font-weight:800!important;
  line-height:1.18!important;
  letter-spacing:-0.02em!important;
  color:#74d9ff!important;
}
#tab-binance-dashboard .monitor-meta,
.cockpit-panel .monitor-meta{
  font-size:10px!important;
}
@media (max-width:1100px){.monitor-title,
  .market-section-title,
  .admin-section-title,
  .trade-page-title,
  .admin-title,
  .cockpit-inner-title,
  .status-subsection-title,
  .state-manager-section-title,
  #tab-binance-dashboard .monitor-title{
    font-size:17px!important;
  }}
@media (max-width:768px){.monitor-title,
  .market-section-title,
  .admin-section-title,
  .trade-page-title,
  .admin-title,
  .cockpit-inner-title,
  .status-subsection-title,
  .state-manager-section-title,
  #tab-binance-dashboard .monitor-title{
    font-size:16px!important;
  }}
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title,
#tab-binance-dashboard .monitor-title,
#tab-binance-dashboard .market-section-title,
#tab-binance-dashboard .admin-section-title{
  font-size:var(--kst-main-title-size)!important;
  font-weight:800!important;
  line-height:1.18!important;
  color:var(--kst-main-title)!important;
}
#tab-binance-dashboard .cockpit-table-row,
#tab-binance-dashboard .cockpit-action-runtime strong,
#tab-binance-dashboard .cockpit-status-sub,
#tab-binance-dashboard .cockpit-position-table td,
#tab-binance-dashboard .cockpit-position-table th,
#tab-binance-dashboard .cockpit-mini-table td,
#tab-binance-dashboard .cockpit-mini-table th,
#tab-binance-dashboard .cockpit-position-table td strong,
#tab-binance-dashboard .cockpit-position-table tbody td:first-child strong,
#tab-binance-dashboard .cockpit-signal-name span,
#tab-binance-dashboard .cockpit-signal-bottom,
#tab-binance-dashboard .cockpit-exception-chip em,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-event strong,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-date,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-time{
  font-size:var(--kst-body-text-size)!important;
}
#tab-binance-dashboard .cockpit-strategy-meta > span:last-child,
#tab-binance-dashboard .cockpit-action-runtime span,
#tab-binance-dashboard .cockpit-mini-meta,
#tab-binance-dashboard .market-card-symbol,
#tab-binance-dashboard .market-card-source-inline,
#tab-binance-dashboard .market-card-change,
#tab-binance-dashboard .monitor-meta{
  font-size:9px!important;
}
.monitor-title,
.market-section-title,
.admin-section-title,
.trade-page-title,
.admin-title,
.cockpit-inner-title,
.status-subsection-title,
.state-manager-section-title,
#tab-binance-dashboard .monitor-title,
#tab-binance-dashboard .market-section-title,
#tab-binance-dashboard .admin-section-title{
  color:var(--kst-main-title)!important;
}
#tab-binance-dashboard .cockpit-market-grid,
#tab-binance-dashboard .cockpit-market-grid-top{
  grid-template-columns:repeat(auto-fit,minmax(186px,1fr))!important;
}
#tab-binance-dashboard .cockpit-market-grid .market-card,
#tab-binance-dashboard .cockpit-market-grid-top .market-card{
  min-width:0!important;
}
#tab-binance-dashboard .cockpit-market-grid .market-card-value,
#tab-binance-dashboard .cockpit-market-grid-top .market-card-value{
  display:block!important;
  width:100%!important;
  letter-spacing:-0.04em!important;
}
#tab-binance-dashboard .cockpit-primary-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.28fr) minmax(0,0.98fr) minmax(320px,0.88fr)!important;
  gap:12px!important;
  align-items:stretch!important;
  margin-bottom:12px!important;
}
#tab-binance-dashboard .cockpit-secondary-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  margin-bottom:14px!important;
}
#tab-binance-dashboard .cockpit-primary-grid > .monitor-card,
#tab-binance-dashboard .cockpit-secondary-grid > .monitor-card{
  margin:0!important;
  min-width:0!important;
}
#tab-binance-dashboard .cockpit-primary-grid > .monitor-card{
  min-height:530px!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > .monitor-card{
  min-height:208px!important;
}
#tab-binance-dashboard .cockpit-position-panel,
#tab-binance-dashboard .cockpit-order-panel{
  display:flex!important;
  flex-direction:column!important;
}
#tab-binance-dashboard .cockpit-open-position-subsection,
#tab-binance-dashboard .cockpit-order-subsection{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-top:7px!important;
}
#tab-binance-dashboard #cockpit-open-positions,
#tab-binance-dashboard #cockpit-order-events{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
}
#tab-binance-dashboard .cockpit-position-panel .cockpit-position-summary{
  flex:0 0 auto!important;
}
#tab-binance-dashboard .cockpit-position-panel .cockpit-subsection-head,
#tab-binance-dashboard .cockpit-order-panel .cockpit-subsection-head{
  flex:0 0 auto!important;
}
#tab-binance-dashboard .cockpit-position-table th:nth-child(1),
#tab-binance-dashboard .cockpit-position-table td:nth-child(1){width:28%!important;}
#tab-binance-dashboard .cockpit-position-table th:nth-child(2),
#tab-binance-dashboard .cockpit-position-table td:nth-child(2){width:14%!important;}
#tab-binance-dashboard .cockpit-position-table th:nth-child(3),
#tab-binance-dashboard .cockpit-position-table td:nth-child(3){width:14%!important;text-align:right!important;}
#tab-binance-dashboard .cockpit-position-table th:nth-child(4),
#tab-binance-dashboard .cockpit-position-table td:nth-child(4){width:24%!important;text-align:right!important;}
#tab-binance-dashboard .cockpit-position-table th:nth-child(5),
#tab-binance-dashboard .cockpit-position-table td:nth-child(5){width:20%!important;text-align:right!important;}
#tab-binance-dashboard .cockpit-pos-qty{font-size:11px!important;}
#tab-binance-dashboard .cockpit-pos-number{font-size:12px!important;font-weight:600!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td,
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th{
  white-space:nowrap!important;
}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(1),
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(1){width:18%!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(2),
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(2){width:30%!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(3),
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(3){width:24%!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(4),
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(4){width:28%!important;}
#tab-binance-dashboard .cockpit-dashboard-calendar .cockpit-calendar-head,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-date,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-time,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
  font-size:11px!important;
}
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
  font-weight:600!important;
}
@media (max-width:1350px){#tab-binance-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.18fr) minmax(0,1fr)!important;
  }
#tab-binance-dashboard .cockpit-order-panel{
    grid-column:1 / -1!important;
    min-height:270px!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
#tab-binance-dashboard .cockpit-exception-panel{
    grid-column:1 / -1!important;
  }}
@media (max-width:900px){#tab-binance-dashboard .cockpit-primary-grid,
  #tab-binance-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr!important;
  }
#tab-binance-dashboard .cockpit-primary-grid > .monitor-card,
  #tab-binance-dashboard .cockpit-secondary-grid > .monitor-card{
    min-height:auto!important;
  }}
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-queue-panel,
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-position-panel,
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-order-panel{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:530px!important;
  min-height:530px!important;
  max-height:530px!important;
  align-self:stretch!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:220px!important;
  min-height:220px!important;
  max-height:220px!important;
  align-self:stretch!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > #cockpit-next-run-card{
  grid-column:auto!important;
}
#tab-binance-dashboard .cockpit-signal-panel,
#tab-binance-dashboard .cockpit-exception-panel,
#tab-binance-dashboard .cockpit-next-run-panel{
  overflow:hidden!important;
}
#tab-binance-dashboard #cockpit-strategy-queue{
  max-height:none!important;
  flex:1 1 auto!important;
}
#tab-binance-dashboard .cockpit-queue-panel{
  display:flex!important;
  flex-direction:column!important;
}
#tab-binance-dashboard .cockpit-queue-panel .cockpit-table{
  flex:1 1 auto!important;
  min-height:0!important;
}
#tab-binance-dashboard .cockpit-queue-panel .cockpit-table-body{
  overflow-y:auto!important;
  min-height:0!important;
}
#tab-binance-dashboard .cockpit-market-grid,
#tab-binance-dashboard .cockpit-market-grid-top{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
#tab-binance-dashboard .cockpit-market-grid .market-card-value,
#tab-binance-dashboard .cockpit-market-grid-top .market-card-value{
  letter-spacing:.01em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
@media (max-width:1600px){#tab-binance-dashboard .cockpit-market-grid,
  #tab-binance-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }}
@media (max-width:1350px){#tab-binance-dashboard .cockpit-primary-grid > .cockpit-queue-panel,
  #tab-binance-dashboard .cockpit-primary-grid > .cockpit-position-panel{
    height:520px!important;
    min-height:520px!important;
    max-height:520px!important;
  }
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-order-panel{
    grid-column:1 / -1!important;
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,
  #tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel{
    height:220px!important;
    min-height:220px!important;
    max-height:220px!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    grid-column:1 / -1!important;
    height:auto!important;
    min-height:210px!important;
    max-height:none!important;
  }}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-market-grid,
  #tab-binance-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }}
@media (max-width:900px){#tab-binance-dashboard .cockpit-primary-grid > .cockpit-queue-panel,
  #tab-binance-dashboard .cockpit-primary-grid > .cockpit-position-panel,
  #tab-binance-dashboard .cockpit-primary-grid > .cockpit-order-panel,
  #tab-binance-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,
  #tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    grid-column:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }}
@media (max-width:760px){#tab-binance-dashboard .cockpit-market-grid,
  #tab-binance-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }}
#tab-binance-dashboard .cockpit-top-ops-grid{
  display:grid!important;
  grid-template-columns:minmax(0,2.4fr) minmax(180px,.72fr) minmax(220px,.88fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  margin-bottom:10px!important;
}
#tab-binance-dashboard .cockpit-top-ops-grid > .monitor-card{
  margin:0!important;
  min-width:0!important;
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  overflow:hidden!important;
}
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto 1fr!important;
  column-gap:12px!important;
  padding:9px 11px!important;
}
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .monitor-header{
  grid-column:1 / -1!important;
  margin-bottom:1px!important;
}
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .cockpit-next-run-time{
  grid-column:1!important;
  font-size:17px!important;
  line-height:1.05!important;
}
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .cockpit-status-sub{
  grid-column:1!important;
  font-size:9px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card .cockpit-next-run-detail{
  grid-column:2!important;
  grid-row:2 / 4!important;
  align-self:end!important;
  max-width:360px!important;
  font-size:8px!important;
  line-height:1.2!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-resource-mini{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 12px!important;
}
#tab-binance-dashboard .cockpit-resource-mini .cockpit-metric-head{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
#tab-binance-dashboard .cockpit-resource-mini .cockpit-status-label{
  font-size:11px!important;
}
#tab-binance-dashboard .cockpit-resource-mini .cockpit-metric-head strong{
  font-size:16px!important;
  font-weight:600!important;
}
#tab-binance-dashboard .cockpit-market-overview{
  margin-bottom:10px!important;
}
#tab-binance-dashboard .cockpit-secondary-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  height:250px!important;
  min-height:250px!important;
  max-height:250px!important;
  align-self:stretch!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  padding:10px!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel{
  overflow:hidden!important;
}
#tab-binance-dashboard .cockpit-secondary-grid #cockpit-signal-health{
  max-height:198px!important;
}
@media (max-width:1350px){#tab-binance-dashboard .cockpit-top-ops-grid{
    grid-template-columns:minmax(0,1.7fr) minmax(150px,.7fr) minmax(190px,.82fr)!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr 1fr!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    grid-column:auto!important;
    height:250px!important;
    min-height:250px!important;
    max-height:250px!important;
  }}
@media (max-width:900px){#tab-binance-dashboard .cockpit-top-ops-grid{
    grid-template-columns:1fr 1fr!important;
  }
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card{
    grid-column:1 / -1!important;
    height:92px!important;
    min-height:92px!important;
    max-height:92px!important;
  }
#tab-binance-dashboard .cockpit-top-ops-grid > .cockpit-resource-mini{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    height:auto!important;
    min-height:220px!important;
    max-height:none!important;
  }}
@media (max-width:520px){#tab-binance-dashboard .cockpit-top-ops-grid{
    grid-template-columns:1fr!important;
  }
#tab-binance-dashboard .cockpit-top-ops-grid > #cockpit-next-run-card,
  #tab-binance-dashboard .cockpit-top-ops-grid > .cockpit-resource-mini{
    grid-column:auto!important;
  }}
#tab-binance-dashboard .cockpit-top-ops-grid{display:none!important;}
#tab-binance-dashboard .cockpit-secondary-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
}
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
  height:340px!important;
  min-height:340px!important;
  max-height:340px!important;
}
#tab-binance-dashboard .cockpit-secondary-grid #cockpit-signal-health{
  max-height:284px!important;
}
#tab-binance-dashboard .cockpit-dashboard-calendar .cockpit-calendar-head,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-date,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-time,
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
  font-size:12px!important;
}
#tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-relative{
  font-size:9px!important;
}
@media (max-width:900px){#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    height:auto!important;
    min-height:300px!important;
    max-height:none!important;
  }}
#tab-binance-dashboard .cockpit-market-overview .monitor-title::before{content:"▥";}
#tab-binance-dashboard .cockpit-queue-panel .monitor-title::before{content:"◎";}
#tab-binance-dashboard .cockpit-position-panel .monitor-title::before{content:"▮";}
#tab-binance-dashboard .cockpit-order-panel .monitor-title::before{content:"▤";}
#tab-binance-dashboard .cockpit-signal-panel .monitor-title::before{content:"◉";}
#tab-binance-dashboard .cockpit-exception-panel .monitor-title::before{content:"△";}
#tab-binance-dashboard .cockpit-dashboard-calendar .monitor-title::before{content:"≋";}
#tab-binance-dashboard .monitor-title::before{
  display:inline-flex;
  width:18px;
  margin-right:6px;
  align-items:center;
  justify-content:center;
  color:#31d7e4;
  font-size:.9em;
  font-weight:700;
}
#tab-binance-dashboard .cockpit-signal-panel .monitor-title::before,
#tab-binance-dashboard .cockpit-exception-panel .monitor-title::before,
#tab-binance-dashboard .cockpit-dashboard-calendar .monitor-title::before{
  content:none!important;
  display:none!important;
}
#tab-binance-dashboard #cockpit-signal-health{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  align-content:start!important;
  max-height:284px!important;
  overflow-y:auto!important;
}
#tab-binance-dashboard #cockpit-signal-health .cockpit-signal-row{
  min-width:0!important;
  margin:0!important;
}
@media (max-width:800px){#tab-binance-dashboard #cockpit-signal-health{
    grid-template-columns:1fr!important;
  }}
@media (max-width:800px){#tab-binance-dashboard .cockpit-secondary-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,
  #tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
#tab-binance-dashboard #cockpit-signal-health{
    grid-template-columns:1fr!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    gap:8px!important;
  }
#tab-binance-dashboard #cockpit-signal-health .cockpit-signal-row{
    width:100%!important;
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-position-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric{
    width:auto!important;
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric:first-child{
    grid-column:1 / -1!important;
  }
.market-calendar-row,
  .cockpit-calendar-list .market-calendar-row,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "when time"
      "event event"!important;
    column-gap:12px!important;
    row-gap:5px!important;
    align-items:baseline!important;
    min-height:0!important;
    padding:10px 12px!important;
  }
.market-calendar-row > div:first-child,
  .cockpit-calendar-list .market-calendar-row > div:first-child,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-row > div:first-child{
    grid-area:when!important;
    min-width:0!important;
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:wrap!important;
    gap:4px 8px!important;
  }
.market-calendar-time,
  .cockpit-calendar-list .market-calendar-time,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-time{
    grid-area:time!important;
    justify-self:end!important;
    white-space:nowrap!important;
  }
.market-calendar-event,
  .cockpit-calendar-list .market-calendar-event,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-event{
    grid-area:event!important;
    min-width:0!important;
  }
.market-calendar-impact,
  .cockpit-calendar-list .market-calendar-impact,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-impact{
    display:none!important;
  }
.market-calendar-relative,
  .cockpit-calendar-list .market-calendar-relative,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-relative{
    display:inline!important;
    margin:0!important;
    white-space:nowrap!important;
  }}
@media (max-width:520px){#tab-binance-dashboard .cockpit-position-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric:first-child{
    grid-column:1 / -1!important;
  }
.market-calendar-row,
  .cockpit-calendar-list .market-calendar-row,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-row{
    padding:9px 10px!important;
    row-gap:4px!important;
  }
.market-calendar-date,
  .market-calendar-time,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-date,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-time{
    font-size:11px!important;
  }
.market-calendar-relative,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-relative{
    font-size:8px!important;
  }
.market-calendar-event strong,
  #tab-binance-dashboard .cockpit-dashboard-calendar .market-calendar-event strong{
    font-size:11px!important;
    line-height:1.4!important;
  }}
@media (max-width:760px){#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:28px minmax(0,1fr) auto auto!important;
    grid-template-areas:
      "rank name status control"
      "rank action action action"!important;
    column-gap:6px!important;
    row-gap:7px!important;
    align-items:start!important;
    min-height:0!important;
    padding:10px 9px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(1){
    grid-area:rank!important;
    align-self:start!important;
    padding-top:2px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(2){
    grid-area:name!important;
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){
    grid-area:status!important;
    justify-self:end!important;
    align-self:start!important;
    display:flex!important;
    align-items:center!important;
    padding-top:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){
    grid-area:action!important;
    min-width:0!important;
    padding-top:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(5){
    grid-area:control!important;
    justify-self:end!important;
    align-self:start!important;
    padding-top:0!important;
  }
#tab-binance-dashboard .cockpit-status-pill{
    margin:0!important;
    min-height:28px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
#tab-binance-dashboard .cockpit-control-btn{
    min-width:58px!important;
    min-height:28px!important;
    padding:5px 9px!important;
    margin:0!important;
  }
#tab-binance-dashboard .cockpit-strategy-name strong{
    display:block!important;
    padding-right:2px!important;
  }
#tab-binance-dashboard .cockpit-strategy-meta{
    margin-top:2px!important;
  }
#tab-binance-dashboard .cockpit-action-runtime{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
  }}
@media (max-width:430px){#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:25px minmax(0,1fr) auto auto!important;
    column-gap:5px!important;
    padding:9px 8px!important;
  }
#tab-binance-dashboard .cockpit-status-pill{
    font-size:9px!important;
    min-height:27px!important;
    padding:4px 7px!important;
  }
#tab-binance-dashboard .cockpit-control-btn{
    min-width:54px!important;
    min-height:27px!important;
    font-size:9px!important;
    padding:4px 8px!important;
  }}
#tab-binance-dashboard .cockpit-signal-bottom{
  display:grid!important;
  grid-template-columns:max-content max-content minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:6px 10px!important;
}
#tab-binance-dashboard .cockpit-signal-bottom > span:last-child{
  min-width:0!important;
  text-align:right!important;
}
#tab-binance-dashboard .cockpit-signal-miss strong{
  color:#8deaff!important;
}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th{
  font-size:11px!important;
}
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-time,
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-action,
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{
  font-size:12px!important;
  line-height:1.28!important;
}
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-time,
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-action{
  font-weight:600!important;
}
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{
  font-weight:700!important;
  color:#eef8fd!important;
}
@media (max-width:900px){#tab-binance-dashboard .cockpit-order-panel .cockpit-order-time,
  #tab-binance-dashboard .cockpit-order-panel .cockpit-order-action,
  #tab-binance-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{
    font-size:11px!important;
  }}
@media (min-width:1601px){#tab-binance-dashboard .cockpit-market-grid,
  #tab-binance-dashboard .cockpit-market-grid-top{
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
  }}
@media (max-width:620px){#tab-binance-dashboard .cockpit-market-grid,
  #tab-binance-dashboard .cockpit-market-grid-top{
    grid-auto-rows:96px!important;
    align-items:stretch!important;
    row-gap:5px!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card{
    box-sizing:border-box!important;
    padding:7px 8px!important;
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-head,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-head{
    flex:0 0 40px!important;
    min-height:40px!important;
    max-height:40px!important;
    overflow:hidden!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-head > div,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-head > div{
    min-width:0!important;
    width:100%!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-label,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-label,
  #tab-binance-dashboard .cockpit-market-grid .market-card-symbol,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-symbol,
  #tab-binance-dashboard .cockpit-market-grid .market-card-source-inline,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-source-inline{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-quote-row,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-quote-row{
    flex:0 0 40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin-top:0!important;
    margin-bottom:0!important;
    align-items:flex-start!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-quote-copy,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-quote-copy{
    min-width:0!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    padding-bottom:0!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-value,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-value{
    min-height:20px!important;
    line-height:20px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-change,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-change{
    min-height:20px!important;
    max-height:20px!important;
    line-height:10px!important;
    overflow:hidden!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-candle-wrap,
  #tab-binance-dashboard .cockpit-market-grid-top .market-candle-wrap{
    flex:0 0 44%!important;
    width:44%!important;
    min-width:44px!important;
    max-width:78px!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    align-self:flex-start!important;
    margin-top:4px!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card.unavailable .market-card-value,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card.unavailable .market-card-value{
    margin-top:3px!important;
  }
#tab-binance-dashboard .cockpit-market-grid .market-card-foot,
  #tab-binance-dashboard .cockpit-market-grid-top .market-card-foot{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
  }}
#tab-binance-dashboard .cockpit-broker-zone{
  position:relative;
  margin:0 0 10px;
  padding:10px;
  border:1px solid rgba(240,185,11,.22);
  border-radius:13px;
  background:
    linear-gradient(180deg,rgba(240,185,11,.035),rgba(6,20,33,.18) 92px),
    rgba(4,16,27,.26);
  box-shadow:inset 0 1px 0 rgba(240,185,11,.05);
}
#tab-binance-dashboard .cockpit-broker-zone::before{
  content:"";position:absolute;left:12px;right:12px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(240,185,11,.72),transparent);
}
#tab-binance-dashboard .cockpit-broker-zone-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:44px;margin-bottom:10px;padding:0 2px 9px;border-bottom:1px solid rgba(240,185,11,.13);
}
#tab-binance-dashboard .cockpit-broker-brand{display:flex;align-items:center;gap:9px;min-width:0;}
#tab-binance-dashboard .cockpit-broker-logo{
  width:31px;height:31px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  background:rgba(240,185,11,.09);border:1px solid rgba(240,185,11,.30);color:#f0b90b;
  box-shadow:0 0 18px rgba(240,185,11,.05);
}
#tab-binance-dashboard .cockpit-broker-logo svg{width:21px;height:21px;fill:currentColor;}
#tab-binance-dashboard .cockpit-broker-brand > div{display:grid;gap:2px;min-width:0;}
#tab-binance-dashboard .cockpit-broker-brand strong{color:#f4ca33;font-size:13px;font-weight:900;letter-spacing:.055em;line-height:1.1;}
#tab-binance-dashboard .cockpit-broker-brand span{color:#8fa6b4;font-size:8px;font-weight:750;letter-spacing:.055em;white-space:nowrap;}
#tab-binance-dashboard .cockpit-broker-zone-runtime{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;}
#tab-binance-dashboard .cockpit-broker-status{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:23px;padding:3px 8px;
  border-radius:999px;border:1px solid rgba(127,151,165,.22);background:rgba(8,25,39,.72);
  color:#9db2bf;font-size:8px;font-weight:900;letter-spacing:.05em;
}
#tab-binance-dashboard .cockpit-broker-status.connected{color:#5ce3c7;border-color:rgba(53,221,188,.32);background:rgba(29,181,151,.07);}
#tab-binance-dashboard .cockpit-broker-status.error{color:#ff7c8e;border-color:rgba(255,92,116,.30);background:rgba(255,92,116,.06);}
#tab-binance-dashboard .cockpit-broker-status.loading{color:#e9c85d;border-color:rgba(240,185,11,.25);}
#tab-binance-dashboard .cockpit-broker-meta{min-width:0;color:#7891a0;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-primary-grid{margin-bottom:12px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-secondary-grid{margin-bottom:0!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card{
  border-color:rgba(240,185,11,.20)!important;
  background:
    linear-gradient(180deg,rgba(240,185,11,.025),transparent 72px),
    linear-gradient(180deg,rgba(11,27,43,.96),rgba(8,22,35,.98))!important;
}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card .monitor-title{color:#f0c84b!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card .monitor-title::after{
  content:"BINANCE";display:inline-flex;align-items:center;margin-left:7px;padding:2px 5px;
  border:1px solid rgba(240,185,11,.22);border-radius:999px;background:rgba(240,185,11,.055);
  color:#b99a3d;font-size:6.5px;font-weight:850;letter-spacing:.06em;vertical-align:middle;
}
#tab-binance-dashboard .cockpit-binance-zone .section-pro-icon{color:#f0b90b!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-badge{border-color:rgba(240,185,11,.24)!important;color:#d5b543!important;}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-broker-zone{padding:9px;border-radius:12px;}
#tab-binance-dashboard .cockpit-broker-zone-head{min-height:40px;margin-bottom:9px;}}
@media (max-width:620px){#tab-binance-dashboard .cockpit-broker-zone{padding:7px;margin-bottom:8px;}
#tab-binance-dashboard .cockpit-broker-zone-head{align-items:flex-start;gap:8px;min-height:38px;padding-bottom:7px;margin-bottom:8px;}
#tab-binance-dashboard .cockpit-broker-logo{width:27px;height:27px;border-radius:8px;}
#tab-binance-dashboard .cockpit-broker-logo svg{width:18px;height:18px;}
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:11px;}
#tab-binance-dashboard .cockpit-broker-brand span{font-size:7px;}
#tab-binance-dashboard .cockpit-broker-zone-runtime{display:grid;justify-items:end;gap:3px;}
#tab-binance-dashboard .cockpit-broker-status{min-height:20px;font-size:7px;padding:2px 6px;}
#tab-binance-dashboard .cockpit-broker-meta{max-width:120px;font-size:6.5px;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card .monitor-title::after{display:none;}}
#tab-binance-dashboard .cockpit-broker-zone{padding:12px 13px 13px;border-radius:16px;border-color:rgba(240,185,11,.26);background:linear-gradient(180deg,rgba(45,34,12,.12),rgba(8,21,34,.22) 92px),rgba(5,16,27,.36);box-shadow:0 10px 28px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,214,90,.06);}
#tab-binance-dashboard .cockpit-broker-zone::before{left:14px;right:14px;background:linear-gradient(90deg,transparent,rgba(240,185,11,.85),transparent);}
#tab-binance-dashboard .cockpit-broker-zone-head{min-height:50px;padding:0 4px 11px;margin-bottom:12px;border-bottom-color:rgba(240,185,11,.16);}
#tab-binance-dashboard .cockpit-broker-brand{gap:12px;}
#tab-binance-dashboard .cockpit-broker-logo{width:38px;height:38px;border-radius:12px;background:radial-gradient(circle at 32% 30%,rgba(255,220,102,.20),rgba(240,185,11,.08) 55%),linear-gradient(180deg,rgba(25,21,12,.98),rgba(16,13,8,.96));border:1px solid rgba(240,185,11,.34);box-shadow:inset 0 1px 0 rgba(255,229,141,.10),0 0 20px rgba(240,185,11,.08);}
#tab-binance-dashboard .cockpit-broker-logo svg{width:24px;height:24px;}
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:14px;letter-spacing:.08em;color:#f2c84e;}
#tab-binance-dashboard .cockpit-broker-brand span{font-size:9px;color:#b59d52;}
#tab-binance-dashboard .cockpit-broker-status{min-height:25px;padding:4px 10px;font-size:9px;border-color:rgba(240,185,11,.25);background:rgba(17,21,20,.68);}
#tab-binance-dashboard .cockpit-broker-meta{font-size:9px;color:#a48f5f;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card{border-color:rgba(240,185,11,.24)!important;background:linear-gradient(180deg,rgba(32,27,14,.94),rgba(12,21,32,.98) 84px),linear-gradient(180deg,rgba(8,24,38,.98),rgba(8,22,35,.98))!important;box-shadow:0 8px 22px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,215,93,.04)!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-header{margin-bottom:11px;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-size:13px;color:#f0c84b!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-meta{color:#aa9a6a!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-head{color:#d9b55b!important;background:rgba(30,26,16,.78)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row,#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-row{border-color:rgba(240,185,11,.16)!important;background:linear-gradient(180deg,rgba(23,19,12,.76),rgba(10,21,31,.92))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row[data-cockpit-target-id]:hover{border-color:rgba(240,185,11,.32)!important;background:linear-gradient(180deg,rgba(31,25,12,.92),rgba(12,25,37,.96))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-metric,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table td,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-main,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip{border-color:rgba(240,185,11,.16)!important;background:linear-gradient(180deg,rgba(23,19,12,.74),rgba(9,21,31,.92))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-label,#tab-binance-dashboard .cockpit-binance-zone .cockpit-subsection-head,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table th,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip span,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-sub{color:#baa66d!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-value,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-title,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table strong{color:#fff2c6!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-sub,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip em,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-meta{color:#b59c64!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-badge,#tab-binance-dashboard .cockpit-binance-zone .cockpit-count-pill{border-color:rgba(240,185,11,.28)!important;background:rgba(240,185,11,.08)!important;color:#f3cb56!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{border-color:rgba(240,185,11,.38)!important;background:linear-gradient(180deg,rgba(240,185,11,.18),rgba(240,185,11,.07))!important;color:#f3cf68!important;box-shadow:inset 0 1px 0 rgba(255,224,123,.12)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn:hover{border-color:rgba(255,221,120,.56)!important;background:linear-gradient(180deg,rgba(240,185,11,.25),rgba(240,185,11,.11))!important;color:#fff4cb!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{border-color:rgba(240,185,11,.44)!important;color:#ffdfa1!important;background:linear-gradient(180deg,rgba(83,54,12,.58),rgba(35,24,12,.52))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill.warn{border-color:rgba(240,185,11,.34)!important;background:rgba(240,185,11,.12)!important;color:#ffe18a!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill.good{border-color:rgba(101,234,185,.24)!important;background:rgba(33,163,123,.12)!important;color:#9ef0de!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill.bad{border-color:rgba(255,93,115,.25)!important;background:rgba(255,93,115,.08)!important;color:#ffc4cb!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-row,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-table,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-row,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-head{border-color:rgba(240,185,11,.16)!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-row,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-row{background:linear-gradient(180deg,rgba(23,19,12,.70),rgba(10,21,31,.92))!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-head{background:rgba(31,26,15,.92)!important;color:#d9b55b!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-name strong,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-value{color:#fff1c4!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-name span,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-muted,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-origin,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-consumers{color:#baa66d!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-settings-btn{background:rgba(240,185,11,.08)!important;border-color:rgba(240,185,11,.34)!important;color:#f4cd60!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-row input{border-color:rgba(240,185,11,.24)!important;background:#0c151d!important;color:#fff6df!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-close{border-color:rgba(240,185,11,.24)!important;background:linear-gradient(180deg,rgba(35,28,16,.98),rgba(20,17,10,.98))!important;color:#eed28a!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-save{border-color:rgba(240,185,11,.62)!important;background:linear-gradient(180deg,#ffd65f,#eab10a)!important;color:#071018!important;}
@media (max-width:620px){#tab-binance-dashboard .cockpit-broker-zone{padding:8px;}
#tab-binance-dashboard .cockpit-broker-zone-head{padding-bottom:8px;margin-bottom:8px;}
#tab-binance-dashboard .cockpit-broker-logo{width:30px;height:30px;border-radius:9px;}
#tab-binance-dashboard .cockpit-broker-logo svg{width:20px;height:20px;}}
#tab-binance-dashboard .cockpit-broker-zone{padding:16px 18px 18px!important;border-radius:20px!important;border:1px solid rgba(240,185,11,.30)!important;background:radial-gradient(circle at 12% 0%,rgba(240,185,11,.10),rgba(240,185,11,0) 24%),linear-gradient(180deg,#0f1116 0%,#090b0f 100%)!important;box-shadow:0 14px 34px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,224,122,.05)!important;}
#tab-binance-dashboard .cockpit-broker-zone::before{left:18px!important;right:18px!important;height:1px!important;background:linear-gradient(90deg,transparent,rgba(240,185,11,.95),transparent)!important;}
#tab-binance-dashboard .cockpit-broker-zone-head{min-height:62px!important;padding:0 2px 14px!important;margin-bottom:16px!important;align-items:center!important;border-bottom-color:rgba(240,185,11,.18)!important;}
#tab-binance-dashboard .cockpit-broker-brand{gap:14px!important;}
#tab-binance-dashboard .cockpit-broker-logo{width:44px!important;height:44px!important;border-radius:14px!important;color:#f0b90b!important;background:linear-gradient(180deg,#15120d,#080a0d)!important;border:1px solid rgba(240,185,11,.34)!important;box-shadow:inset 0 1px 0 rgba(255,227,145,.10),0 0 0 1px rgba(240,185,11,.10),0 10px 24px rgba(0,0,0,.22)!important;}
#tab-binance-dashboard .cockpit-broker-logo svg{width:28px!important;height:28px!important;}
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:24px!important;letter-spacing:.08em!important;color:#f0b90b!important;}
#tab-binance-dashboard .cockpit-broker-brand span{font-size:11px!important;letter-spacing:.08em!important;color:#b8942c!important;}
#tab-binance-dashboard .cockpit-broker-status{min-height:30px!important;padding:6px 12px!important;border-radius:999px!important;border-color:rgba(240,185,11,.32)!important;background:linear-gradient(180deg,rgba(8,12,16,.96),rgba(16,21,24,.92))!important;color:#ffe6a3!important;font-size:10px!important;letter-spacing:.08em!important;}
#tab-binance-dashboard .cockpit-broker-meta{font-size:10px!important;color:#a88a2c!important;}
@media (min-width:1351px){#tab-binance-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.28fr) minmax(350px,.96fr) minmax(320px,.90fr)!important;gap:16px!important;}
#tab-binance-dashboard .cockpit-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px!important;}
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-queue-panel,#tab-binance-dashboard .cockpit-primary-grid > .cockpit-position-panel,#tab-binance-dashboard .cockpit-primary-grid > .cockpit-order-panel{height:568px!important;min-height:568px!important;max-height:568px!important;}
#tab-binance-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{height:246px!important;min-height:246px!important;max-height:246px!important;}}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card{padding:14px 16px 16px!important;border-radius:18px!important;border:1px solid rgba(240,185,11,.20)!important;background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.08),rgba(240,185,11,0) 22%),linear-gradient(180deg,#121417 0%,#090b0f 100%)!important;box-shadow:0 10px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,232,152,.04)!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:54px;border-radius:18px 18px 0 0;background:linear-gradient(180deg,rgba(240,185,11,.06),rgba(240,185,11,0));pointer-events:none;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card > *{position:relative;z-index:1;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-header{margin-bottom:14px!important;align-items:flex-start!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-size:18px!important;font-weight:900!important;letter-spacing:-.02em!important;color:#f0b90b!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-meta{font-size:11px!important;color:#9d8440!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-head{padding:9px 12px!important;border-radius:12px!important;background:linear-gradient(180deg,rgba(35,29,16,.95),rgba(21,18,12,.92))!important;color:#d8b14a!important;font-size:10px!important;letter-spacing:.08em!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row,#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-row{padding:12px 14px!important;border-radius:14px!important;border:1px solid rgba(240,185,11,.14)!important;background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row + .cockpit-table-row,#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-row + .cockpit-signal-row{margin-top:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row[data-cockpit-target-id]:hover{transform:translateY(-1px);border-color:rgba(240,185,11,.34)!important;background:linear-gradient(180deg,rgba(26,22,14,.98),rgba(11,14,18,.98))!important;box-shadow:0 10px 18px rgba(0,0,0,.16)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-badge,#tab-binance-dashboard .cockpit-binance-zone .cockpit-count-pill{background:rgba(240,185,11,.11)!important;border-color:rgba(240,185,11,.32)!important;color:#f4c84a!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill{min-height:30px!important;padding:6px 11px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.04em!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{min-height:31px!important;padding:6px 12px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;border-color:#8e6d12!important;background:linear-gradient(180deg,#2c2413,#16110a)!important;color:#ffd86e!important;box-shadow:inset 0 1px 0 rgba(255,223,124,.10)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{border-color:#b98b12!important;background:linear-gradient(180deg,#4a3812,#20170a)!important;color:#ffe4a0!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn:hover{background:linear-gradient(180deg,#5f4714,#241a0b)!important;border-color:#ffd05f!important;color:#fff4d1!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-summary{gap:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-metric{padding:12px 12px 10px!important;border-radius:14px!important;border:1px solid rgba(240,185,11,.18)!important;background:linear-gradient(180deg,rgba(17,19,23,.98),rgba(8,10,14,.98))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-label{font-size:11px!important;color:#aa8a33!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-value{font-size:18px!important;font-weight:850!important;color:#fff3c8!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-sub{font-size:10px!important;color:#927939!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-subsection-head{font-size:12px!important;font-weight:800!important;color:#c9a541!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table th,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table th{padding-bottom:8px!important;font-size:10px!important;letter-spacing:.08em!important;color:#cda844!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table td,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table td{padding:11px 4px!important;border-bottom:1px solid rgba(240,185,11,.10)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-mini-table tr{background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98));}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-mini-table tbody tr+tr td{border-top:10px solid transparent!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:first-child{border-left:1px solid rgba(240,185,11,.14)!important;border-radius:12px 0 0 12px!important;padding-left:12px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:last-child{border-right:1px solid rgba(240,185,11,.14)!important;border-radius:0 12px 12px 0!important;padding-right:12px!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-row{padding:14px 15px!important;border-radius:14px!important;border:1px solid rgba(240,185,11,.14)!important;background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98))!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-row + .signal-cache-row{margin-top:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-row{border-radius:16px!important;background:linear-gradient(180deg,rgba(17,19,23,.98),rgba(8,10,14,.98))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-main,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip{border-radius:14px!important;border:1px solid rgba(240,185,11,.14)!important;background:linear-gradient(180deg,rgba(13,16,20,.96),rgba(8,11,14,.98))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-main{padding:16px 16px 14px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-title{font-size:16px!important;color:#fff4cb!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-sub{font-size:11px!important;color:#af9150!important;}
@media (max-width:620px){#tab-binance-dashboard .cockpit-broker-zone{padding:10px!important;border-radius:16px!important;}
#tab-binance-dashboard .cockpit-broker-zone-head{min-height:44px!important;padding-bottom:10px!important;margin-bottom:10px!important;}
#tab-binance-dashboard .cockpit-broker-logo{width:34px!important;height:34px!important;border-radius:11px!important;}
#tab-binance-dashboard .cockpit-broker-logo svg{width:22px!important;height:22px!important;}
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:18px!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card{padding:10px 11px 11px!important;border-radius:15px!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-size:15px!important;}}
#tab-binance-dashboard .cockpit-broker-zone{padding:12px 14px 14px!important;border-radius:18px!important;border-color:rgba(240,185,11,.24)!important;background:radial-gradient(circle at 10% 0%,rgba(240,185,11,.06),rgba(240,185,11,0) 22%),linear-gradient(180deg,rgba(10,12,16,.98),rgba(7,10,14,.98))!important;box-shadow:0 10px 26px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,230,152,.03)!important;}
#tab-binance-dashboard .cockpit-broker-zone::before{left:14px!important;right:14px!important;background:linear-gradient(90deg,transparent,rgba(240,185,11,.55),transparent)!important;}
#tab-binance-dashboard .cockpit-broker-zone-head{min-height:48px!important;padding:0 2px 10px!important;margin-bottom:12px!important;}
#tab-binance-dashboard .cockpit-broker-brand{gap:10px!important;}
#tab-binance-dashboard .cockpit-broker-logo{width:36px!important;height:36px!important;border-radius:11px!important;color:#f0b90b!important;background:linear-gradient(180deg,#12100b,#090c10)!important;border:1px solid rgba(240,185,11,.28)!important;box-shadow:inset 0 1px 0 rgba(255,230,155,.08),0 0 0 1px rgba(240,185,11,.04)!important;}
#tab-binance-dashboard .cockpit-broker-logo svg{width:22px!important;height:22px!important;}
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:15px!important;letter-spacing:.07em!important;color:#f0c85d!important;}
#tab-binance-dashboard .cockpit-broker-brand span{font-size:8.5px!important;letter-spacing:.06em!important;color:#b59a55!important;}
#tab-binance-dashboard .cockpit-broker-status{min-height:24px!important;padding:4px 10px!important;font-size:9px!important;}
#tab-binance-dashboard .cockpit-broker-meta{font-size:8px!important;color:#aa9050!important;}
@media (min-width:1351px){#tab-binance-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.20fr) minmax(340px,.96fr) minmax(318px,.92fr)!important;gap:14px!important;}
#tab-binance-dashboard .cockpit-secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;}
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-queue-panel,#tab-binance-dashboard .cockpit-primary-grid > .cockpit-position-panel,#tab-binance-dashboard .cockpit-primary-grid > .cockpit-order-panel{height:520px!important;min-height:520px!important;max-height:520px!important;}
#tab-binance-dashboard .cockpit-secondary-grid > #cockpit-next-run-card,#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-signal-panel,#tab-binance-dashboard .cockpit-secondary-grid > .cockpit-exception-panel{height:228px!important;min-height:228px!important;max-height:228px!important;}}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card{padding:12px 13px 13px!important;border-radius:17px!important;border-color:rgba(240,185,11,.18)!important;background:radial-gradient(circle at 0% 0%,rgba(240,185,11,.04),rgba(240,185,11,0) 20%),linear-gradient(180deg,#0f1217 0%,#080b10 100%)!important;box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,232,152,.03)!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card::before{height:40px!important;background:linear-gradient(180deg,rgba(240,185,11,.04),rgba(240,185,11,0))!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;margin-bottom:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-size:15px!important;font-weight:850!important;color:#f1ca5a!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-meta{font-size:10px!important;color:#9b8955!important;line-height:1.35!important;text-align:right!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-head{padding:8px 10px!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(24,20,12,.92),rgba(16,14,10,.90))!important;color:#cfa94a!important;font-size:9px!important;letter-spacing:.08em!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row,#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-row{padding:10px 12px!important;border-radius:13px!important;border:1px solid rgba(240,185,11,.12)!important;background:linear-gradient(180deg,rgba(11,14,19,.98),rgba(7,10,14,.98))!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row + .cockpit-table-row,#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-row + .cockpit-signal-row{margin-top:8px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-badge,#tab-binance-dashboard .cockpit-binance-zone .cockpit-count-pill{background:rgba(240,185,11,.09)!important;border-color:rgba(240,185,11,.24)!important;color:#edc554!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill{min-height:28px!important;padding:5px 10px!important;font-size:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{min-height:29px!important;padding:5px 11px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;border-color:rgba(240,185,11,.28)!important;background:linear-gradient(180deg,#241d11,#14110b)!important;color:#f6cc59!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{background:linear-gradient(180deg,#352911,#18120a)!important;color:#ffdfa1!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-summary{gap:8px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-metric{padding:11px 11px 9px!important;border-radius:13px!important;background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;border:1px solid rgba(240,185,11,.13)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-label{font-size:10px!important;color:#b59645!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-value{font-size:15px!important;font-weight:850!important;color:#fff4cf!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-sub{font-size:9px!important;color:#937b41!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-subsection-head{font-size:11px!important;color:#c8a548!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table th,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table th{padding-bottom:6px!important;font-size:9px!important;color:#c9a546!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table td,#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table td{padding:9px 4px!important;border-bottom:1px solid rgba(240,185,11,.08)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:first-child{padding-left:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table tbody tr td:last-child{padding-right:10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-row{padding:12px 13px!important;border-radius:13px!important;background:linear-gradient(180deg,rgba(11,14,19,.98),rgba(7,10,14,.98))!important;border-color:rgba(240,185,11,.12)!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-row + .signal-cache-row{margin-top:8px!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-head{font-size:9px!important;background:linear-gradient(180deg,rgba(24,20,12,.92),rgba(16,14,10,.90))!important;color:#cfa94a!important;}
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-settings,#tab-binance-dashboard .cockpit-binance-zone .signal-cache-policy-row,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-main,#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip{background:linear-gradient(180deg,rgba(12,14,19,.98),rgba(7,10,14,.98))!important;border-color:rgba(240,185,11,.12)!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-main{padding:14px!important;border-radius:13px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-title{font-size:15px!important;color:#fff3ca!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-sub{font-size:10px!important;color:#a88b4a!important;}
@media (max-width:620px){#tab-binance-dashboard .cockpit-broker-zone{padding:9px!important;border-radius:15px!important;}
#tab-binance-dashboard .cockpit-broker-zone-head{min-height:40px!important;padding-bottom:8px!important;margin-bottom:8px!important;}
#tab-binance-dashboard .cockpit-broker-logo{width:30px!important;height:30px!important;border-radius:9px!important;}
#tab-binance-dashboard .cockpit-broker-logo svg{width:18px!important;height:18px!important;}
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:13px!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-card{padding:10px 10px 11px!important;border-radius:14px!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-size:14px!important;}}
@media (min-width:1101px){#tab-binance-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.16fr) minmax(340px,.98fr) minmax(330px,.96fr)!important;gap:14px!important;}
#tab-binance-dashboard .cockpit-primary-grid > .cockpit-queue-panel,#tab-binance-dashboard .cockpit-primary-grid > .cockpit-position-panel,#tab-binance-dashboard .cockpit-primary-grid > .cockpit-order-panel{min-height:520px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{grid-template-columns:30px minmax(175px,1.14fr) 92px minmax(160px,1fr) 78px!important;gap:10px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head{padding:0 10px 6px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{padding:10px 10px!important;min-height:56px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{justify-self:end!important;text-align:right!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table,
  #tab-binance-dashboard .cockpit-position-panel .cockpit-mini-table{table-layout:auto!important;min-width:0!important;width:100%!important;}}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-size:14px!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-meta{font-size:9px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-head{font-size:8px!important;padding:8px 10px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-table-row{padding:10px 10px!important;}
#tab-binance-dashboard .cockpit-strategy-name strong{font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
#tab-binance-dashboard .cockpit-strategy-name .cockpit-strategy-meta{margin-top:3px!important;}
#tab-binance-dashboard .cockpit-strategy-meta span:last-child{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#tab-binance-dashboard .cockpit-action-runtime{gap:3px!important;min-width:0!important;}
#tab-binance-dashboard .cockpit-action-runtime strong{font-size:10px!important;line-height:1.28!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:keep-all!important;}
#tab-binance-dashboard .cockpit-action-runtime span{font-size:9px!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
#tab-binance-dashboard .cockpit-control-btn{min-width:74px!important;width:74px!important;padding:6px 0!important;font-size:10px!important;text-align:center!important;}
#tab-binance-dashboard .cockpit-position-summary{grid-template-columns:minmax(0,1.18fr) minmax(0,.92fr) minmax(0,1fr)!important;gap:8px!important;}
#tab-binance-dashboard .cockpit-position-metric{min-width:0!important;}
#tab-binance-dashboard .cockpit-position-label{font-size:10px!important;line-height:1.25!important;}
#tab-binance-dashboard .cockpit-position-value{font-size:14px!important;line-height:1.15!important;letter-spacing:-.02em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#tab-binance-dashboard #cockpit-notional-value{font-size:13px!important;}
#tab-binance-dashboard .cockpit-position-sub{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table-wrap{overflow:auto!important;max-height:none!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table{table-layout:auto!important;border-spacing:0 7px!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th,#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td{overflow:visible!important;text-overflow:clip!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(1),#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(1){width:72px!important;white-space:nowrap!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(2),#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(2){width:34%!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(3),#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(3){width:24%!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table th:nth-child(4),#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-table td:nth-child(4){width:116px!important;white-space:nowrap!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-time{font-size:11px!important;white-space:nowrap!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-strategy > strong{font-size:11px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-mini-meta{font-size:9px!important;line-height:1.25!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-order-action{font-size:11px!important;line-height:1.22!important;white-space:normal!important;word-break:keep-all!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-status-pill{min-width:94px!important;justify-content:center!important;font-size:10px!important;padding:5px 10px!important;}
#tab-binance-dashboard .cockpit-broker-logo.binance-logo{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:inherit!important;}
#tab-binance-dashboard .cockpit-broker-logo.binance-logo img{display:block;width:100%;height:100%;object-fit:contain;}
#tab-binance-dashboard .cockpit-broker-brand strong{letter-spacing:.06em!important;text-transform:none!important;}
#tab-binance-dashboard .cockpit-broker-brand > div span{letter-spacing:.03em!important;text-transform:none!important;}
#tab-binance-dashboard .cockpit-title-badge,#tab-binance-dashboard .monitor-title .binance-chip{font-weight:700!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title .monitor-badge,
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-head .inline-badge,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-title-tag{background:rgba(240,185,11,.12)!important;border:1px solid rgba(240,185,11,.24)!important;color:#e0bc4f!important;box-shadow:none!important;}
@media (max-width:620px){#tab-binance-dashboard .cockpit-broker-logo.binance-logo{width:28px!important;height:28px!important;}}
@media (min-width:1101px){#tab-binance-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.22fr) minmax(332px,.98fr) minmax(318px,.90fr)!important;
    gap:14px!important;
  }
#tab-binance-dashboard .cockpit-queue-panel .cockpit-table-body{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable!important;
    padding-right:8px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:28px minmax(138px,1.08fr) 88px minmax(0,1fr) 90px!important;
    gap:8px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head{
    padding:0 14px 6px 10px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    padding:10px 14px 10px 10px!important;
    min-height:56px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:nth-child(2),
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:nth-child(4){
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{
    justify-self:end!important;
    text-align:right!important;
    min-width:90px!important;
    overflow:visible!important;
  }
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{
    min-width:82px!important;
    width:82px!important;
    padding:6px 0!important;
    font-size:10px!important;
    text-align:center!important;
    flex-shrink:0!important;
  }
#tab-binance-dashboard .cockpit-action-runtime strong{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
#tab-binance-dashboard .cockpit-action-runtime span,
  #tab-binance-dashboard .cockpit-strategy-meta span:last-child{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }}
@media (min-width:1101px){#tab-binance-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.22fr) minmax(332px,.98fr) minmax(318px,.90fr)!important;gap:14px!important;}
#tab-binance-dashboard .cockpit-queue-panel .cockpit-table-body{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;padding-right:8px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{grid-template-columns:28px minmax(138px,1.08fr) 88px minmax(0,1fr) 90px!important;gap:8px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head{padding:0 14px 6px 10px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{padding:10px 14px 10px 10px!important;min-height:56px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{justify-self:end!important;text-align:right!important;min-width:90px!important;overflow:visible!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{min-width:82px!important;width:82px!important;max-width:82px!important;padding:6px 0!important;flex:0 0 82px!important;}}
@media (min-width:1101px){#tab-binance-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.30fr) minmax(330px,.96fr) minmax(318px,.90fr)!important;
    gap:14px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:28px minmax(150px,1.10fr) 108px minmax(100px,1fr) 88px!important;
    column-gap:12px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head{
    padding:0 14px 7px 10px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    padding:11px 14px 11px 10px!important;
    min-height:64px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    overflow:visible!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){
    min-width:0!important;
    padding-left:2px!important;
  }
#tab-binance-dashboard .cockpit-status-pill{
    max-width:100%!important;
    padding:5px 7px!important;
    font-size:9px!important;
    letter-spacing:.01em!important;
    line-height:1!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }
#tab-binance-dashboard .cockpit-action-runtime{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    align-content:center!important;
  }
#tab-binance-dashboard .cockpit-action-runtime strong,
  #tab-binance-dashboard .cockpit-action-runtime span{
    display:block!important;
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
#tab-binance-dashboard .cockpit-action-runtime strong{
    font-size:10px!important;
    line-height:1.25!important;
  }
#tab-binance-dashboard .cockpit-action-runtime span{
    font-size:8px!important;
    line-height:1.30!important;
  }
#tab-binance-dashboard .cockpit-strategy-name{
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-strategy-name strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    white-space:normal!important;
    line-height:1.22!important;
    max-height:2.44em!important;
  }
#tab-binance-dashboard .cockpit-strategy-meta{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
    flex-wrap:nowrap!important;
  }
#tab-binance-dashboard .cockpit-strategy-meta > span:last-child{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{
    min-width:88px!important;
    justify-self:end!important;
    text-align:right!important;
  }
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{
    min-width:80px!important;
    width:80px!important;
    max-width:80px!important;
    flex:0 0 80px!important;
  }}
@media (min-width:1101px){#tab-binance-dashboard .cockpit-primary-grid{grid-template-columns:minmax(0,1.30fr) minmax(332px,.96fr) minmax(320px,.90fr)!important;gap:14px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{grid-template-columns:28px minmax(150px,1.10fr) 108px minmax(96px,1fr) 88px!important;column-gap:10px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head{padding:0 12px 5px 10px!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{padding:8px 12px 8px 10px!important;min-height:54px!important;align-items:center!important;}
#tab-binance-dashboard .cockpit-strategy-name strong{line-height:1.16!important;max-height:2.32em!important;margin-bottom:1px!important;}
#tab-binance-dashboard .cockpit-strategy-meta{gap:4px!important;}
#tab-binance-dashboard .cockpit-strategy-meta span,#tab-binance-dashboard .cockpit-strategy-meta .badge{font-size:8px!important;line-height:1.1!important;}
#tab-binance-dashboard .cockpit-status-pill{padding:4px 7px!important;font-size:9px!important;line-height:1!important;}
#tab-binance-dashboard .cockpit-action-runtime{gap:1px!important;align-content:center!important;}
#tab-binance-dashboard .cockpit-action-runtime strong{font-size:10px!important;line-height:1.1!important;}
#tab-binance-dashboard .cockpit-action-runtime span{font-size:8px!important;line-height:1.15!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{min-width:78px!important;width:78px!important;max-width:78px!important;padding:5px 0!important;}}
#tab-binance-dashboard .cockpit-queue-panel .monitor-title::before,
#tab-binance-dashboard .cockpit-position-panel .monitor-title::before,
#tab-binance-dashboard .cockpit-order-panel .monitor-title::before{content:none!important;display:none!important;}
#tab-binance-dashboard .binance-section-icon{width:16px!important;height:16px!important;margin-right:7px!important;vertical-align:-2px!important;color:#f0b90b!important;}
#tab-binance-dashboard .binance-section-icon svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.55!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
#tab-binance-dashboard .cockpit-binance-zone .monitor-title{font-weight:650!important;letter-spacing:-.01em!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-value,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-mini-table strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-strategy-name strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-order-strategy strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-order-action{font-weight:600!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-badge,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-count-pill,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-title-badge,
#tab-binance-dashboard .cockpit-binance-zone .monitor-title .binance-chip,
#tab-binance-dashboard .cockpit-binance-zone .monitor-title .monitor-badge,
#tab-binance-dashboard .cockpit-binance-zone .signal-cache-head .inline-badge,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-title-tag{font-weight:500!important;letter-spacing:0!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn{font-size:10px!important;min-height:28px!important;padding:4px 12px!important;background:linear-gradient(180deg,rgba(43,33,14,.92),rgba(19,15,9,.96))!important;border-color:rgba(240,185,11,.34)!important;color:#f5cb58!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn.stop{background:linear-gradient(180deg,rgba(52,40,14,.90),rgba(21,15,8,.96))!important;color:#f8d98e!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-control-btn:hover{background:linear-gradient(180deg,rgba(67,51,18,.94),rgba(28,20,10,.98))!important;color:#fff2c1!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-status-pill{font-size:10px!important;padding:4px 10px!important;min-height:26px!important;}
#tab-binance-dashboard .cockpit-order-panel .cockpit-status-pill{min-width:88px!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-broker-status{font-weight:500!important;}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-broker-name{font-weight:650!important;letter-spacing:.03em!important;}
#tab-binance-dashboard .cockpit-broker-zone-head{
  min-height:30px!important;
  margin-bottom:8px!important;
  padding:0 2px 4px!important;
  border-bottom:0!important;
  align-items:center!important;
  gap:10px!important;
}
#tab-binance-dashboard .cockpit-broker-brand{
  gap:8px!important;
}
#tab-binance-dashboard .cockpit-broker-logo.binance-logo{
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
#tab-binance-dashboard .cockpit-broker-brand > div{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
}
#tab-binance-dashboard .cockpit-broker-brand > div span{display:none!important;}
#tab-binance-dashboard .cockpit-broker-brand strong{
  color:#f0c84b!important;
  font-size:14px!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
  line-height:1.1!important;
  text-transform:none!important;
}
#tab-binance-dashboard .cockpit-broker-zone-runtime{
  gap:6px!important;
  align-items:center!important;
}
#tab-binance-dashboard .cockpit-broker-status{
  min-height:24px!important;
  padding:3px 10px!important;
  font-size:9px!important;
  font-weight:600!important;
}
#tab-binance-dashboard .cockpit-broker-meta{
  font-size:8px!important;
  line-height:1.2!important;
  color:#9d8b59!important;
}
#tab-binance-dashboard .cockpit-binance-zone{
  padding-top:9px!important;
}
@media (max-width: 900px){#tab-binance-dashboard .cockpit-broker-zone-head{
    min-height:26px!important;
    margin-bottom:6px!important;
    padding-bottom:2px!important;
  }
#tab-binance-dashboard .cockpit-broker-brand strong{font-size:13px!important;}
#tab-binance-dashboard .cockpit-broker-status{min-height:22px!important;padding:2px 8px!important;font-size:8px!important;}
#tab-binance-dashboard .cockpit-broker-meta{font-size:7px!important;}}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-panel .section-pro-icon svg,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-panel .section-pro-icon svg{
  stroke:#f0b90b!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-panel .section-pro-icon,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-panel .section-pro-icon{
  color:#f0b90b!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-panel .monitor-title,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-panel .monitor-title{
  color:#f3ce63!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-secondary-grid > .cockpit-signal-panel,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-secondary-grid > .cockpit-exception-panel{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
#tab-binance-dashboard .cockpit-binance-zone #cockpit-signal-health{
  max-height:none!important;
  overflow:visible!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-table,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-grid{
  height:auto!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card{
  padding:10px 11px!important;
  gap:6px!important;
  min-height:0!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card-head strong{
  font-size:12px!important;
  line-height:1.25!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card-row,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card-row strong{
  font-size:10px!important;
  line-height:1.25!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip{
  padding:9px 10px!important;
  gap:3px!important;
  min-height:0!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip span{
  font-size:9px!important;
  line-height:1.15!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip strong{
  font-size:16px!important;
  line-height:1.05!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-chip em{
  font-size:10px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media (max-width:1480px){#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-grid,
  #tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }}
@media (max-width:900px){#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-grid,
  #tab-binance-dashboard .cockpit-binance-zone .cockpit-exception-cards{
    grid-template-columns:1fr!important;
  }}
@media (max-width:620px){#tab-binance-dashboard{
    width:100%!important;
    max-width:100%!important;
  }}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-position-summary{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "equity equity"
      "margin notional"!important;
    gap:8px!important;
    align-items:stretch!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric:nth-child(1){
    grid-area:equity!important;
    grid-column:auto!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric:nth-child(2){
    grid-area:margin!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric:nth-child(3){
    grid-area:notional!important;
  }
#tab-binance-dashboard .cockpit-position-summary .cockpit-position-metric{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }}
@media (max-width:620px){#tab-binance-dashboard .cockpit-position-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "equity equity"
      "margin notional"!important;
    gap:8px!important;
  }}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-strategy-name strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table td strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table tbody td:first-child strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-order-strategy > strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card-head strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-signal-name strong{
  color:#f5d77d!important;
  text-shadow:0 0 12px rgba(240,185,11,.08)!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card-row strong{
  color:#edd28a!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-position-table td strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-order-panel .cockpit-order-strategy > strong,
#tab-binance-dashboard .cockpit-binance-zone .cockpit-cache-card-head strong{
  letter-spacing:-.01em!important;
}
#tab-binance-dashboard .cockpit-binance-zone .cockpit-strategy-name .cockpit-strategy-meta > span:last-child{
  color:#7c98aa!important;
  text-shadow:none!important;
}
#tab-binance-dashboard > .cockpit-market-overview,
#tab-binance-dashboard > .cockpit-dashboard-calendar{
  background:linear-gradient(180deg,rgba(9,31,46,.96) 0%,rgba(4,17,27,.985) 54%,rgba(0,0,0,.995) 100%)!important;
  border-color:rgba(77,216,255,.22)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-binance-dashboard > .cockpit-market-overview .market-card{
  background:linear-gradient(180deg,rgba(10,35,51,.96) 0%,rgba(4,18,28,.985) 58%,rgba(0,0,0,.995) 100%)!important;
}
#tab-binance-dashboard > .cockpit-dashboard-calendar .market-calendar-row{
  background:linear-gradient(90deg,rgba(8,29,43,.42),rgba(0,0,0,.10))!important;
  border-bottom-color:rgba(77,216,255,.09)!important;
}
#tab-binance-dashboard > .cockpit-dashboard-calendar .market-calendar-row:hover{
  background:linear-gradient(90deg,rgba(16,56,78,.48),rgba(0,0,0,.14))!important;
}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-position-panel .cockpit-position-summary{
    display:grid!important;
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:
      "equity equity"
      "margin notional"!important;
    gap:8px!important;
    align-items:stretch!important;
  }
#tab-binance-dashboard .cockpit-position-panel .cockpit-position-summary > .cockpit-position-metric:nth-child(1){
    grid-area:equity!important;
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    justify-self:stretch!important;
    box-sizing:border-box!important;
  }
#tab-binance-dashboard .cockpit-position-panel .cockpit-position-summary > .cockpit-position-metric:nth-child(2){
    grid-area:margin!important;
    width:100%!important;
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-position-panel .cockpit-position-summary > .cockpit-position-metric:nth-child(3){
    grid-area:notional!important;
    width:100%!important;
    min-width:0!important;
  }}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-row{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
#tab-binance-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-top{
    min-width:0!important;
    max-width:100%!important;
    gap:6px!important;
    overflow:hidden!important;
  }
#tab-binance-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-name{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
#tab-binance-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-signal-name strong{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
#tab-binance-dashboard .cockpit-binance-zone #cockpit-signal-health .cockpit-status-pill{
    flex:0 0 auto!important;
    min-width:0!important;
    max-width:none!important;
    padding:4px 7px!important;
    font-size:9px!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }}
@media (min-width:761px) and (max-width:1100px){#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:38px minmax(0,1fr) auto auto!important;
    grid-template-areas:
      "rank name status control"
      "rank action action action"!important;
    column-gap:8px!important;
    row-gap:7px!important;
    align-items:start!important;
    min-height:0!important;
    padding:11px 10px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(1){
    grid-area:rank!important;
    align-self:start!important;
    padding-top:2px!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(2){
    grid-area:name!important;
    min-width:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){
    grid-area:status!important;
    justify-self:end!important;
    align-self:start!important;
    display:flex!important;
    align-items:center!important;
    padding-top:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){
    grid-area:action!important;
    min-width:0!important;
    width:100%!important;
    padding-top:0!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(5){
    grid-area:control!important;
    justify-self:end!important;
    align-self:start!important;
    min-width:0!important;
    padding-top:0!important;
  }
#tab-binance-dashboard .cockpit-queue-panel .cockpit-status-pill{
    margin:0!important;
    min-height:28px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
#tab-binance-dashboard .cockpit-queue-panel .cockpit-control-btn{
    min-width:72px!important;
    width:72px!important;
    max-width:72px!important;
    min-height:28px!important;
    padding:5px 9px!important;
    margin:0!important;
  }
#tab-binance-dashboard .cockpit-queue-panel .cockpit-strategy-name strong{
    padding-right:3px!important;
  }
#tab-binance-dashboard .cockpit-queue-panel .cockpit-action-runtime{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
  }}
#tab-binance-dashboard .cockpit-toss-watchlist-zone{
  position:relative;
  margin:10px 0 12px;
  padding:12px 13px 13px;
  border:1px solid rgba(49,130,246,.34);
  border-radius:16px;
  background:radial-gradient(circle at 8% 0%,rgba(49,130,246,.10),rgba(49,130,246,0) 24%),linear-gradient(180deg,rgba(8,25,49,.96),rgba(5,16,29,.98));
  box-shadow:0 10px 26px rgba(0,0,0,.16),inset 0 1px 0 rgba(129,180,255,.05);
  overflow:hidden;
}
#tab-binance-dashboard .cockpit-toss-watchlist-zone::before{
  content:"";
  position:absolute;
  top:0;
  left:14px;
  right:14px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(74,144,255,.88),transparent);
}
#tab-binance-dashboard .cockpit-toss-watchlist-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:30px;
  margin-bottom:9px;
}
#tab-binance-dashboard .cockpit-toss-watchlist-brand{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:#6fa9ff;
  letter-spacing:.02em;
}
#tab-binance-dashboard .cockpit-toss-watchlist-brand strong{font-size:13px;font-weight:700;white-space:nowrap;}
#tab-binance-dashboard .cockpit-toss-watchlist-logo{
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:7px;
  background:rgba(49,130,246,.12);
  border:1px solid rgba(74,144,255,.24);
}
#tab-binance-dashboard .cockpit-toss-watchlist-logo img{width:16px;height:16px;object-fit:contain;}
#tab-binance-dashboard .cockpit-toss-watchlist-meta{
  color:#829cc4;
  font-size:8px;
  letter-spacing:.02em;
  text-align:right;
  white-space:nowrap;
}
#tab-binance-dashboard .cockpit-toss-watchlist-message{
  margin:0 0 9px;
  padding:7px 9px;
  border:1px solid rgba(255,93,115,.22);
  border-radius:9px;
  background:rgba(255,93,115,.06);
  color:#ff98a6;
  font-size:9px;
}
#tab-binance-dashboard .cockpit-toss-watchlist-groups{display:grid;gap:10px;}
#tab-binance-dashboard .cockpit-toss-watchlist-group + .cockpit-toss-watchlist-group{
  padding-top:9px;
  border-top:1px solid rgba(111,169,255,.12);
}
#tab-binance-dashboard .cockpit-toss-watchlist-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
#tab-binance-dashboard .cockpit-toss-watchlist-group-head strong{
  color:#b8cceb;
  font-size:10px;
  font-weight:650;
  letter-spacing:.025em;
}
#tab-binance-dashboard .cockpit-toss-watchlist-group-head span{
  color:#6f8ebb;
  font-size:7px;
  font-weight:500;
  white-space:nowrap;
}
#tab-binance-dashboard .cockpit-toss-watchlist-cards{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card{
  min-width:0;
  min-height:72px;
  padding:8px 9px 7px;
  border:1px solid rgba(74,144,255,.24);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(11,36,70,.86),rgba(6,20,37,.94));
  box-shadow:inset 0 1px 0 rgba(151,195,255,.035);
  overflow:hidden;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.unavailable{opacity:.58;}
#tab-binance-dashboard .cockpit-toss-watchlist-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  min-width:0;
  margin-bottom:5px;
}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol{
  display:flex;
  align-items:baseline;
  gap:5px;
  min-width:0;
  overflow:hidden;
}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol strong{
  flex:0 0 auto;
  color:#f2f6ff;
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.domestic .cockpit-toss-watchlist-symbol strong{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol span{
  min-width:0;
  color:#9fb8dd;
  font-size:8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-binance-dashboard .cockpit-toss-watchlist-market{
  flex:0 0 auto;
  color:#6f8ebb;
  font-size:7px;
  white-space:nowrap;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card-body{
  display:grid;
  grid-template-columns:minmax(0,1fr) 82px;
  align-items:end;
  gap:7px;
  min-width:0;
}
#tab-binance-dashboard .cockpit-toss-watchlist-value-line{
  display:flex;
  align-items:baseline;
  gap:4px;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
}
#tab-binance-dashboard .cockpit-toss-watchlist-price{
  flex:0 0 auto;
  color:#f2f6ff;
  font-size:12px;
  font-weight:650;
}
#tab-binance-dashboard .cockpit-toss-watchlist-pnl{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#829cc4;
  font-size:8px;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-pnl{color:#21d8b7;}
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-pnl{color:#ff5d73;}
#tab-binance-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{
  justify-self:end;
  flex:none;
  width:82px;
  min-width:82px;
  max-width:82px;
  height:27px;
  min-height:27px;
  max-height:27px;
  margin:0;
}
#tab-binance-dashboard .cockpit-toss-watchlist-empty{
  grid-column:1/-1;
  padding:10px;
  border:1px dashed rgba(111,169,255,.18);
  border-radius:9px;
  color:#829cc4;
  font-size:9px;
  text-align:center;
}
@media (max-width:1500px){#tab-binance-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width:1180px){#tab-binance-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(3,minmax(0,1fr));}
#tab-binance-dashboard .cockpit-toss-watchlist-card-body{grid-template-columns:minmax(0,1fr) 74px;}
#tab-binance-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{width:74px;min-width:74px;max-width:74px;height:25px;min-height:25px;max-height:25px;}}
@media (max-width:820px){#tab-binance-dashboard .cockpit-toss-watchlist-zone{padding:9px 10px 10px;border-radius:13px;}
#tab-binance-dashboard .cockpit-toss-watchlist-head{align-items:flex-start;gap:6px;}
#tab-binance-dashboard .cockpit-toss-watchlist-meta{white-space:normal;line-height:1.35;}
#tab-binance-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
#tab-binance-dashboard .cockpit-toss-watchlist-card{padding:8px;}
#tab-binance-dashboard .cockpit-toss-watchlist-card-body{grid-template-columns:1fr;gap:4px;}
#tab-binance-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{justify-self:end;width:74px;min-width:74px;max-width:74px;}}
@media (max-width:480px){#tab-binance-dashboard .cockpit-toss-watchlist-symbol span{display:none;}
#tab-binance-dashboard .cockpit-toss-watchlist-market{font-size:6px;}
#tab-binance-dashboard .cockpit-toss-watchlist-pnl{font-size:7px;}}
#tab-binance-dashboard .cockpit-toss-watchlist-brand strong{
  font-size:var(--kst-main-title-size)!important;
  font-weight:800!important;
  line-height:1.18!important;
  letter-spacing:0!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-meta{
  font-size:9px!important;
  line-height:1.4!important;
  font-weight:400!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-group-head strong{
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-group-head span{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.4!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol strong{
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol span{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-market{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-price{
  font-size:18px!important;
  font-weight:950!important;
  line-height:1.1!important;
  letter-spacing:.01em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-pnl{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive{
  border-color:rgba(32,214,187,.46)!important;
  box-shadow:inset 0 0 0 1px rgba(32,214,187,.045)!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative{
  border-color:rgba(255,93,115,.43)!important;
  box-shadow:inset 0 0 0 1px rgba(255,93,115,.04)!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.flat{
  border-color:rgba(70,151,190,.26)!important;
  box-shadow:none!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.unavailable{
  border-color:rgba(255,93,115,.28)!important;
}
@media (max-width:768px){#tab-binance-dashboard .cockpit-toss-watchlist-brand strong{
    font-size:var(--kst-main-title-size)!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-symbol strong,
  #tab-binance-dashboard .cockpit-toss-watchlist-group-head strong{
    font-size:var(--kst-subtitle-size)!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-price{
    font-size:17px!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-pnl{
    font-size:9px!important;
  }}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol strong{
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-symbol span{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-market{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-price{
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-pnl{
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}
@media (max-width:768px){#tab-binance-dashboard .cockpit-toss-watchlist-symbol strong{
    font-size:11px!important;
    font-weight:700!important;
    line-height:1.28!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-price{
    font-size:17px!important;
    font-weight:400!important;
    line-height:1.1!important;
    letter-spacing:-.025em!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-pnl{
    font-size:9px!important;
    font-weight:400!important;
    line-height:1.3!important;
  }}
#tab-binance-dashboard .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  color:#f7fcff!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-pnl{
  color:#21d8b7!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-pnl{
  color:#ff5d73!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-pnl{
  color:#8ca7b7!important;
}
#tab-binance-dashboard .cockpit-signal-key{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
}
#tab-binance-dashboard .cockpit-signal-key em{
  display:inline-flex!important;
  align-items:center!important;
  min-height:15px!important;
  padding:0 5px!important;
  border:1px solid rgba(240,185,11,.28)!important;
  border-radius:999px!important;
  font-size:7px!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  line-height:1!important;
  color:#d8c77b!important;
  white-space:nowrap!important;
}
@media (max-width:700px){#tab-binance-dashboard .cockpit-signal-key em{font-size:8px!important;}}
#tab-binance-dashboard .cockpit-toss-watchlist-cards{
  grid-template-columns:repeat(auto-fit,minmax(186px,1fr))!important;
  gap:7px!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card.market-card{
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:104px!important;
  padding:9px!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,rgba(10,35,51,.96) 0%,rgba(4,18,28,.985) 58%,rgba(0,0,0,.995) 100%)!important;
  overflow:hidden!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  margin-bottom:0!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-symbol{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-symbol strong{
  display:block!important;
  color:#e7f8ff!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .market-card-meta{
  margin-top:3px!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-secondary{
  color:#91aaba!important;
  font-size:8px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-market{
  display:block!important;
  margin-top:2px!important;
  color:#819aaa!important;
  font-size:7px!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
  margin-top:7px!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-value-line{
  display:block!important;
  min-width:0!important;
  flex:1 1 auto!important;
  white-space:normal!important;
  overflow:visible!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  display:block!important;
  width:100%!important;
  margin-top:0!important;
  color:#f7fcff!important;
  font-size:17px!important;
  font-weight:400!important;
  line-height:1.1!important;
  letter-spacing:-.04em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-pnl{
  display:block!important;
  margin-top:3px!important;
  font-size:9px!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{
  flex:0 0 42%!important;
  width:42%!important;
  max-width:96px!important;
  min-width:48px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  justify-self:auto!important;
}
@media (max-width:620px){#tab-binance-dashboard .cockpit-toss-watchlist-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card.market-card{
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
    padding:7px 8px!important;
    display:flex!important;
    flex-direction:column!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-head{
    flex:0 0 40px!important;
    min-height:40px!important;
    max-height:40px!important;
    overflow:hidden!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
    flex:0 0 40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin-top:0!important;
    align-items:flex-start!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price{
    min-height:20px!important;
    line-height:20px!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-pnl{
    min-height:20px!important;
    max-height:20px!important;
    line-height:10px!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card .market-candle-wrap{
    flex:0 0 44%!important;
    width:44%!important;
    min-width:44px!important;
    max-width:78px!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    margin-top:4px!important;
  }}
#tab-binance-dashboard .cockpit-toss-watchlist-cards{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  font-size:18px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
}
@media (max-width:1600px){#tab-binance-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(5,minmax(0,1fr))!important;}}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:760px){#tab-binance-dashboard .cockpit-toss-watchlist-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price{font-size:17px!important;}}
#tab-binance-dashboard .cockpit-toss-watchlist-card.market-card{
  background:linear-gradient(180deg,rgba(16,58,128,.88) 0%,rgba(5,24,58,.965) 48%,rgba(0,0,0,.995) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(122,181,255,.075)!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.positive .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.negative .cockpit-toss-watchlist-price,
#tab-binance-dashboard .cockpit-toss-watchlist-card.flat .cockpit-toss-watchlist-price{
  font-weight:400!important;
}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
  margin-top:10px!important;
}
@media (max-width:620px){#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-head{
    flex-basis:28px!important;
    min-height:28px!important;
    max-height:28px!important;
  }
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-card-body{
    margin-top:3px!important;
  }}
#tab-binance-dashboard .cockpit-toss-watchlist-card .cockpit-toss-watchlist-pnl{
  font-size:11px!important;
}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
  grid-template-columns:30px minmax(175px,1.22fr) 88px minmax(130px,.90fr)!important;
}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head > div:last-child,
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:last-child{
  justify-self:stretch!important;
  text-align:left!important;
}
@media (max-width:1100px){#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:32px minmax(0,1fr)!important;
    grid-template-areas:"rank name" "rank status" "rank action"!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(1){grid-area:rank!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(2){grid-area:name!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(3){grid-area:status!important;}
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-row > div:nth-child(4){grid-area:action!important;}}
@media (min-width:1101px){#tab-binance-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(0,1.18fr) minmax(340px,1.01fr) minmax(330px,.97fr)!important;
  }
#tab-binance-dashboard .cockpit-queue-table .cockpit-table-head,
  #tab-binance-dashboard .cockpit-queue-table .cockpit-table-row{
    grid-template-columns:30px minmax(155px,1.05fr) 88px minmax(135px,.95fr)!important;
  }}

/* v3.1.88 - Binance Dashboard strategy queue is strictly read-only. */
#tab-binance-dashboard #cockpit-strategy-queue .cockpit-table-row{cursor:default!important;}

/* v3.1.89 - Binance Dashboard NEXT ACTION primary text matches Strategy title readability. */
#tab-binance-dashboard .cockpit-action-runtime strong{
  font-size:12px!important;
  color:#f4fbff!important;
}

/* v3.1.90 - Common Main: neutral unified Watchlist identity + Global Market Overview title. */
#tab-dashboard .cockpit-toss-watchlist-zone{
  border-color:rgba(125,211,252,.22)!important;
  background:
    radial-gradient(circle at 0% 0%,rgba(34,211,238,.075),transparent 24%),
    radial-gradient(circle at 100% 0%,rgba(139,92,246,.07),transparent 28%),
    linear-gradient(145deg,rgba(15,20,29,.985) 0%,rgba(8,12,19,.992) 52%,rgba(2,5,10,.998) 100%)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
#tab-dashboard .cockpit-toss-watchlist-zone::before{
  background:linear-gradient(90deg,transparent,rgba(34,211,238,.78),rgba(139,92,246,.74),transparent)!important;
}
#tab-dashboard .cockpit-toss-watchlist-brand{
  color:#dce8ff!important;
}
#tab-dashboard .cockpit-toss-watchlist-brand strong{
  color:#eef5ff!important;
}
#tab-dashboard .cockpit-toss-watchlist-logo{
  width:23px!important;
  height:23px!important;
  color:#b7ccff!important;
  border-color:rgba(139,171,255,.26)!important;
  background:linear-gradient(145deg,rgba(34,211,238,.10),rgba(139,92,246,.12))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
#tab-dashboard .cockpit-toss-watchlist-logo svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#tab-dashboard .cockpit-toss-watchlist-meta{
  color:#8f9eb4!important;
}
#tab-dashboard .cockpit-toss-watchlist-group + .cockpit-toss-watchlist-group{
  border-top-color:rgba(148,163,184,.12)!important;
}
#tab-dashboard .cockpit-toss-watchlist-group-head strong{
  color:#cbd7e8!important;
}
#tab-dashboard .cockpit-toss-watchlist-group-head span{
  color:#7f8da3!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.market-card{
  background:
    linear-gradient(180deg,rgba(21,28,39,.985) 0%,rgba(9,14,22,.992) 60%,rgba(2,5,9,.998) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
#tab-dashboard .cockpit-toss-watchlist-card.flat{
  border-color:rgba(125,151,180,.26)!important;
}
#tab-dashboard .cockpit-toss-watchlist-empty{
  border-color:rgba(148,163,184,.18)!important;
  color:#8f9eb4!important;
}

/* v3.1.91 - Unified Watchlist switches from chart cards to a quote-comparison list. */
.watchlist-list-scroll{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  border:1px solid rgba(148,163,184,.14);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(10,15,23,.985),rgba(3,6,11,.998));
}
.watchlist-quote-list{
  min-width:1040px;
  width:100%;
}
.watchlist-quote-head,
.watchlist-quote-row{
  display:grid;
  grid-template-columns:34px 78px minmax(210px,1.6fr) 118px 92px 92px 118px 92px 92px;
  align-items:center;
  column-gap:10px;
  min-width:0;
}
.watchlist-quote-head{
  min-height:30px;
  padding:0 11px;
  color:#7f90a8;
  border-bottom:1px solid rgba(148,163,184,.13);
  background:linear-gradient(180deg,rgba(24,31,43,.88),rgba(8,12,18,.94));
  font-size:8px;
  font-weight:750;
  letter-spacing:.035em;
  white-space:nowrap;
}
.watchlist-quote-row{
  position:relative;
  min-height:46px;
  padding:6px 11px;
  border-bottom:1px solid rgba(148,163,184,.09);
  color:#dbe7f5;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.watchlist-quote-row:last-child{border-bottom:0;}
.watchlist-quote-row:hover{background:rgba(105,135,180,.045);}
.watchlist-quote-row.unavailable{opacity:.66;}
.watchlist-source-cell{display:flex;align-items:center;justify-content:center;min-width:0;}
.watchlist-toss-logo{
  display:block;
  width:18px;
  height:18px;
  object-fit:contain;
  filter:drop-shadow(0 2px 5px rgba(49,130,246,.20));
}
.watchlist-symbol-cell,
.watchlist-name-cell,
.watchlist-metric{min-width:0;}
.watchlist-symbol-cell strong{
  display:block;
  color:#f4f8ff;
  font-size:11px;
  font-weight:750;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.watchlist-name-cell{
  color:#aebfd5;
  font-size:10px;
  font-weight:450;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.watchlist-metric{
  color:#eef5ff;
  font-size:11px;
  font-weight:500;
  line-height:1.25;
  text-align:right;
  white-space:nowrap;
}
.watchlist-metric.price{color:#f6fbff;font-weight:550;}
.watchlist-metric.positive{color:#21d8b7;}
.watchlist-metric.negative{color:#ff5d73;}
.watchlist-metric.flat{color:#91a0b5;}
.watchlist-row-error{
  grid-column:2/-1;
  margin-top:2px;
  color:#d7909d;
  font-size:7px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-dashboard .cockpit-toss-watchlist-groups,
#tab-watchlist .toss-watchlist-groups{display:grid;gap:10px;}
#tab-dashboard .cockpit-toss-watchlist-group + .cockpit-toss-watchlist-group,
#tab-watchlist .toss-watchlist-group + .toss-watchlist-group{
  padding-top:9px;
  border-top:1px solid rgba(148,163,184,.12);
}
#tab-dashboard .watchlist-list-scroll{
  border-color:rgba(125,151,180,.17);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
#tab-watchlist .watchlist-list-scroll{
  border-color:rgba(49,130,246,.19);
  background:linear-gradient(180deg,rgba(7,19,38,.94),rgba(1,5,12,.995));
}
@media (max-width:760px){
  .watchlist-quote-list{min-width:960px;}
  .watchlist-quote-head,
  .watchlist-quote-row{
    grid-template-columns:30px 72px minmax(185px,1.45fr) 108px 84px 84px 108px 84px 84px;
    column-gap:8px;
  }
  .watchlist-quote-row{min-height:41px;padding:6px 9px;}
  .watchlist-quote-head{padding:0 9px;}
}

/* v3.1.92 - Unified Watchlist: two quote datasets per visual row + mobile horizontal pan. */
#tab-dashboard .cockpit-toss-watchlist-zone,
#tab-dashboard .cockpit-toss-watchlist-groups,
#tab-dashboard .cockpit-toss-watchlist-group,
#tab-watchlist .toss-watchlist-groups,
#tab-watchlist .toss-watchlist-group{
  min-width:0;
}
.watchlist-pair-scroll{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto!important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  overscroll-behavior-x:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(125,151,180,.50) rgba(6,10,16,.75);
  border:1px solid rgba(148,163,184,.14);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(10,15,23,.985),rgba(3,6,11,.998));
}
.watchlist-pair-scroll::-webkit-scrollbar{height:8px;}
.watchlist-pair-scroll::-webkit-scrollbar-track{background:rgba(6,10,16,.78);border-radius:999px;}
.watchlist-pair-scroll::-webkit-scrollbar-thumb{background:rgba(125,151,180,.46);border-radius:999px;}
.watchlist-pair-list{
  width:100%;
  min-width:1220px;
}
.watchlist-pair-head,
.watchlist-pair-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:10px;
  min-width:0;
}
.watchlist-pair-head{
  min-height:27px;
  padding:0 7px;
  align-items:center;
  color:#7f90a8;
  border-bottom:1px solid rgba(148,163,184,.13);
  background:linear-gradient(180deg,rgba(24,31,43,.88),rgba(8,12,18,.94));
}
.watchlist-pair-row{
  padding:0 7px;
  border-bottom:1px solid rgba(148,163,184,.09);
}
.watchlist-pair-row:last-child{border-bottom:0;}
.watchlist-dataset-head,
.watchlist-dataset{
  display:grid;
  grid-template-columns:42px 57px minmax(128px,1fr) 79px 57px 64px 79px 57px 64px;
  align-items:center;
  column-gap:5px;
  min-width:0;
}
.watchlist-dataset-head{
  min-height:27px;
  color:#7f90a8;
  font-size:7px;
  font-weight:750;
  letter-spacing:.028em;
  white-space:nowrap;
}
.watchlist-dataset{
  position:relative;
  min-height:39px;
  padding:5px 0;
  color:#dbe7f5;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.watchlist-dataset:first-child{padding-right:5px;}
.watchlist-dataset:nth-child(2){padding-left:5px;border-left:1px solid rgba(148,163,184,.10);}
.watchlist-dataset:hover{background:rgba(105,135,180,.045);}
.watchlist-dataset.unavailable{opacity:.66;}
.watchlist-dataset.empty{opacity:0;pointer-events:none;}
.watchlist-source-cell{gap:3px;justify-content:flex-start;}
.watchlist-toss-logo{width:17px;height:17px;}
.watchlist-yahoo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border:1px solid rgba(178,120,255,.50);
  border-radius:5px;
  color:#d8b9ff;
  background:linear-gradient(145deg,rgba(112,38,180,.35),rgba(44,16,79,.42));
  font-size:7px;
  font-weight:850;
  line-height:1;
}
.watchlist-dataset .watchlist-symbol-cell strong{font-size:10px;}
.watchlist-dataset .watchlist-name-cell{font-size:8px;}
.watchlist-dataset .watchlist-metric{font-size:9px;}
.watchlist-dataset .watchlist-row-error{grid-column:2/-1;font-size:6px;}
#tab-dashboard .watchlist-pair-scroll{
  border-color:rgba(125,151,180,.17);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
#tab-watchlist .watchlist-pair-scroll{
  border-color:rgba(49,130,246,.19);
  background:linear-gradient(180deg,rgba(7,19,38,.94),rgba(1,5,12,.995));
}
@media (max-width:900px){
  .watchlist-pair-list{min-width:1180px;}
  .watchlist-pair-scroll{margin-bottom:2px;}
}
@media (max-width:620px){
  #tab-dashboard .cockpit-toss-watchlist-zone{overflow:visible!important;}
  .watchlist-pair-scroll{
    width:100%;
    max-width:100%;
    padding-bottom:2px;
  }
  .watchlist-pair-list{min-width:1160px;}
}

/* Unified provider selector inside the existing Watchlist visual editor. */
#tab-watchlist .toss-watchlist-config-symbol-row{
  grid-template-columns:auto minmax(0,1fr) 76px auto;
}
#tab-watchlist .toss-watchlist-config-source{
  width:76px;
  min-width:76px;
  height:25px;
  padding:0 20px 0 7px;
  border:1px solid rgba(103,145,205,.28);
  border-radius:6px;
  color:#c8d8ee;
  background:rgba(4,12,25,.92);
  font-size:8px;
  font-weight:700;
}
#tab-watchlist .watchlist-search-yahoo{
  border-color:rgba(165,94,234,.28)!important;
  background:linear-gradient(90deg,rgba(104,42,155,.13),rgba(4,14,30,.88))!important;
}
@media (max-width:620px){
  #tab-watchlist .toss-watchlist-config-symbol-row{
    grid-template-columns:auto minmax(0,1fr) 70px auto;
  }
  #tab-watchlist .toss-watchlist-config-source{width:70px;min-width:70px;}
}


/* v3.1.96 - Watchlist full-width single-row cards with refined readable typography. */
.watchlist-card-scroll{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(125,151,180,.46) rgba(6,10,16,.55);
  padding:1px 1px 3px;
}
.watchlist-card-scroll::-webkit-scrollbar{height:7px;}
.watchlist-card-scroll::-webkit-scrollbar-track{background:rgba(6,10,16,.55);border-radius:999px;}
.watchlist-card-scroll::-webkit-scrollbar-thumb{background:rgba(125,151,180,.42);border-radius:999px;}
.watchlist-card-grid,
#tab-dashboard .watchlist-card-grid,
#tab-watchlist .watchlist-card-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:7px;
  width:100%;
  min-width:0;
}
.watchlist-inline-card{
  position:relative;
  display:grid;
  grid-template-columns:64px minmax(250px,1fr) 84px 68px 76px 84px 68px 76px 104px;
  align-items:center;
  column-gap:8px;
  width:100%;
  min-width:900px;
  min-height:45px;
  padding:8px 10px;
  border:1px solid rgba(98,134,176,.20);
  border-radius:9px;
  background:linear-gradient(180deg,rgba(12,20,31,.96),rgba(5,10,17,.985));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 4px 12px rgba(0,0,0,.12);
  color:#dbe7f5;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  transition:border-color .14s ease,background .14s ease,transform .14s ease;
}
.watchlist-inline-card:hover{
  border-color:rgba(76,220,199,.33);
  background:linear-gradient(180deg,rgba(14,25,37,.98),rgba(6,12,20,.99));
  transform:translateY(-1px);
}
.watchlist-inline-card.unavailable{opacity:.58;}
.watchlist-inline-card .watchlist-symbol-cell strong{
  color:#f8fbff;
  font-size:13px;
  font-weight:850;
  letter-spacing:.015em;
  line-height:1.12;
  white-space:nowrap;
}
.watchlist-inline-card .watchlist-name-cell{
  color:#b7c7da;
  font-size:9.5px;
  font-weight:600;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.watchlist-inline-card .watchlist-metric{
  min-width:0;
  padding-left:8px;
  border-left:1px solid rgba(134,157,184,.16);
  color:#edf5ff;
  font-size:13px;
  font-weight:700;
  line-height:1.12;
  text-align:right;
  white-space:nowrap;
}
.watchlist-inline-card .watchlist-metric.price{
  color:#f8fbff;
  font-weight:780;
}
.watchlist-inline-card .watchlist-metric.session.price{border-left-color:rgba(65,203,186,.28);}
.watchlist-inline-card .watchlist-metric.positive{color:#21d8b7;}
.watchlist-inline-card .watchlist-metric.negative{color:#ff5d73;}
.watchlist-inline-card .watchlist-metric.flat{color:#8fa0b8;}
.watchlist-session-cell{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
  padding-left:6px;
}
.watchlist-session-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:90px;
  height:26px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.025em;
  line-height:1;
  white-space:nowrap;
}
.watchlist-session-dot{
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 7px currentColor;
}
.watchlist-session-badge.regular{
  color:#35e3be;
  border-color:rgba(53,227,190,.23);
  background:rgba(24,155,127,.12);
}
.watchlist-session-badge.premarket{
  color:#f3b54a;
  border-color:rgba(243,181,74,.23);
  background:rgba(198,125,24,.12);
}
.watchlist-session-badge.closed{
  color:#8fa6c4;
  border-color:rgba(143,166,196,.18);
  background:rgba(91,113,143,.10);
}
.watchlist-inline-card .watchlist-row-error{
  grid-column:2/-1;
  margin:3px 0 0;
  color:#df8a99;
  font-size:7px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media (max-width:760px){
  .watchlist-card-scroll{width:100%;max-width:100%;padding-bottom:4px;}
  .watchlist-card-grid,
  #tab-dashboard .watchlist-card-grid,
  #tab-watchlist .watchlist-card-grid{min-width:900px;}
  .watchlist-inline-card{min-height:45px;padding:8px 10px;}
}


/* v3.1.98 - Watchlist section parity, strict column alignment, provider identity and headers. */
#tab-dashboard .cockpit-toss-watchlist-head{
  min-height:0;
  margin-bottom:7px!important;
  align-items:center!important;
}
#tab-dashboard .cockpit-toss-watchlist-head .monitor-title::before{
  content:none!important;
  display:none!important;
}
.watchlist-card-scroll{
  --watchlist-row-min:1080px;
  --watchlist-columns:132px minmax(300px,1fr) 112px 78px 86px 112px 78px 86px 116px;
}
.watchlist-column-head,
.watchlist-inline-card{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:var(--watchlist-columns);
  align-items:center;
  column-gap:8px;
  width:100%;
  min-width:var(--watchlist-row-min);
}
.watchlist-column-head{
  min-height:26px;
  padding:0 10px;
  color:#7790ad;
  border-bottom:1px solid rgba(148,163,184,.11);
  font-size:7.5px;
  font-weight:760;
  letter-spacing:.035em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}
.watchlist-column-head > div{
  min-width:0;
  text-align:right;
}
.watchlist-column-head .watchlist-column-symbol,
.watchlist-column-head .watchlist-column-name{
  text-align:left;
}
.watchlist-group-stack,
#tab-dashboard .watchlist-group-stack,
#tab-watchlist .watchlist-group-stack{
  width:100%;
  min-width:var(--watchlist-row-min);
}
.watchlist-card-grid,
#tab-dashboard .watchlist-card-grid,
#tab-watchlist .watchlist-card-grid{
  margin-top:5px;
}
#tab-dashboard .cockpit-toss-watchlist-group-head,
#tab-watchlist .toss-watchlist-group-head{
  box-sizing:border-box;
  min-width:var(--watchlist-row-min);
}
.watchlist-inline-card{
  grid-template-columns:var(--watchlist-columns);
}
.watchlist-symbol-cell{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.watchlist-provider-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-width:38px;
  height:18px;
  padding:0 6px;
  border:1px solid rgba(130,155,185,.25);
  border-radius:999px;
  color:#aebfd2;
  background:rgba(92,112,137,.11);
  font-size:6.8px;
  font-weight:850;
  letter-spacing:.03em;
  line-height:1;
  white-space:nowrap;
}
.watchlist-provider-badge.toss{
  color:#8bc1ff;
  border-color:rgba(49,130,246,.32);
  background:rgba(49,130,246,.13);
}
.watchlist-provider-badge.yahoo{
  color:#d6b7ff;
  border-color:rgba(158,92,222,.32);
  background:rgba(112,45,174,.15);
}
.watchlist-provider-badge.auto{
  color:#a9bfd4;
  border-color:rgba(125,151,180,.25);
  background:rgba(85,105,128,.12);
}
.watchlist-inline-card .watchlist-name-cell,
.watchlist-inline-card .watchlist-metric,
.watchlist-inline-card .watchlist-session-cell{
  align-self:center;
}
.watchlist-inline-card .watchlist-metric{
  box-sizing:border-box;
}
@media (max-width:760px){
  .watchlist-card-grid,
  #tab-dashboard .watchlist-card-grid,
  #tab-watchlist .watchlist-card-grid,
  .watchlist-column-head{min-width:var(--watchlist-row-min);}
}


/* v3.1.99 - Watchlist visual parity + deterministic column geometry. */
/* The Main Dashboard Watchlist is now the same monitor-card family as the
   Global Market Overview and Market Calendar, rather than a bespoke panel. */
#tab-dashboard > .cockpit-toss-watchlist-zone.monitor-card{
  margin:0 0 9px!important;
  padding:9px 10px 10px!important;
  border:1px solid rgba(77,216,255,.22)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(9,31,46,.96) 0%,rgba(4,17,27,.985) 54%,rgba(0,0,0,.995) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
  overflow:hidden!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone.monitor-card::before,
#tab-dashboard > .cockpit-toss-watchlist-zone.monitor-card::after{
  content:none!important;
  display:none!important;
}
#tab-dashboard > .cockpit-market-overview .monitor-title,
#tab-dashboard > .cockpit-toss-watchlist-zone .monitor-title,
#tab-dashboard > .cockpit-dashboard-calendar .monitor-title{
  font-size:var(--kst-main-title-size)!important;
  font-weight:800!important;
  line-height:1.18!important;
  letter-spacing:-.02em!important;
  color:var(--kst-main-title)!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone .cockpit-toss-watchlist-head{
  min-height:0!important;
  margin-bottom:7px!important;
  align-items:center!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone .section-pro-icon,
#tab-dashboard > .cockpit-dashboard-calendar .section-pro-icon{
  width:18px!important;
  height:18px!important;
  margin-right:6px!important;
  vertical-align:-3px!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone .section-pro-icon svg,
#tab-dashboard > .cockpit-dashboard-calendar .section-pro-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:#32d7cf!important;
  stroke-width:1.55!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* One master grid owns both the column header and every quote row.  No row
   padding/gap is allowed to shift a data column independently. */
.watchlist-card-scroll{
  --watchlist-row-min:1240px;
  --watchlist-columns:120px minmax(420px,1fr) 124px 88px 94px 124px 88px 94px 116px;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0 0 3px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.watchlist-column-head,
.watchlist-inline-card{
  display:grid!important;
  grid-template-columns:var(--watchlist-columns)!important;
  column-gap:0!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:var(--watchlist-row-min)!important;
  padding-left:0!important;
  padding-right:0!important;
}
.watchlist-column-head{
  min-height:35px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  border-bottom:1px solid rgba(77,216,255,.12)!important;
  background:rgba(3,18,28,.38)!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
/* Header typography is intentionally identical to the NASDAQ 100 / S&P 500
   market-card labels. */
.watchlist-column-head > .market-card-label{
  box-sizing:border-box!important;
  min-width:0!important;
  padding:0 10px!important;
  color:#ecf7fd!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.24!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.watchlist-column-head > div:nth-child(1),
.watchlist-column-head > div:nth-child(2){
  text-align:left!important;
}
.watchlist-column-head > div:nth-child(n+3):nth-child(-n+8){
  text-align:right!important;
}
.watchlist-column-head > div:nth-child(9){
  text-align:center!important;
}

.watchlist-group-stack,
#tab-dashboard .watchlist-group-stack,
#tab-watchlist .watchlist-group-stack,
.watchlist-card-grid,
#tab-dashboard .watchlist-card-grid,
#tab-watchlist .watchlist-card-grid,
#tab-dashboard .cockpit-toss-watchlist-group,
#tab-watchlist .toss-watchlist-group,
#tab-dashboard .cockpit-toss-watchlist-group-head,
#tab-watchlist .toss-watchlist-group-head{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:var(--watchlist-row-min)!important;
}
#tab-dashboard .cockpit-toss-watchlist-group-head,
#tab-watchlist .toss-watchlist-group-head{
  min-height:24px!important;
  margin:0 0 5px!important;
  padding:6px 10px 0!important;
}
.watchlist-card-grid,
#tab-dashboard .watchlist-card-grid,
#tab-watchlist .watchlist-card-grid{
  margin-top:0!important;
  gap:7px!important;
}
.watchlist-inline-card{
  min-height:45px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.watchlist-inline-card > .watchlist-symbol-cell,
.watchlist-inline-card > .watchlist-name-cell,
.watchlist-inline-card > .watchlist-metric,
.watchlist-inline-card > .watchlist-session-cell{
  box-sizing:border-box!important;
  min-width:0!important;
  height:100%!important;
  padding:0 10px!important;
  align-self:stretch!important;
  display:flex!important;
  align-items:center!important;
}
.watchlist-inline-card > .watchlist-symbol-cell,
.watchlist-inline-card > .watchlist-name-cell{
  justify-content:flex-start!important;
}
.watchlist-inline-card > .watchlist-metric{
  justify-content:flex-end!important;
  border-left:1px solid rgba(134,157,184,.16)!important;
  text-align:right!important;
}
.watchlist-inline-card > .watchlist-session-cell{
  justify-content:center!important;
  border-left:1px solid rgba(134,157,184,.16)!important;
}
.watchlist-inline-card .watchlist-symbol-cell{
  gap:6px!important;
}
.watchlist-inline-card .watchlist-symbol-cell strong{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 43px!important;
  width:43px!important;
  min-width:43px!important;
  max-width:43px!important;
  color:#f8fbff!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.watchlist-provider-badge{
  min-width:38px!important;
  height:18px!important;
  padding:0 6px!important;
  font-size:7px!important;
}
.watchlist-inline-card .watchlist-name-cell{
  color:#b7c7da!important;
  font-size:9.5px!important;
  font-weight:600!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.watchlist-inline-card .watchlist-metric{
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.watchlist-session-badge{
  min-width:90px!important;
  height:26px!important;
  font-size:8.5px!important;
}

@media (max-width:1100px){
  .watchlist-column-head > .market-card-label{font-size:11px!important;}
}
@media (max-width:760px){
  .watchlist-card-scroll{--watchlist-row-min:1240px;}
  .watchlist-column-head,
  .watchlist-inline-card{min-width:var(--watchlist-row-min)!important;}
}

/* v3.1.100 - Main Dashboard Watchlist: exact monitor-family header/panel parity. */
/*
   The Watchlist intentionally uses the same monitor-card + monitor-header +
   monitor-title primitives as Global Market Overview and Market Calendar.
   This final block neutralizes legacy Watchlist-only presentation overrides.
*/
#tab-dashboard > .cockpit-toss-watchlist-zone.monitor-card{
  margin:0 0 10px!important;
  padding:9px 10px 10px!important;
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(77,216,255,.22)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,rgba(9,31,46,.96) 0%,rgba(4,17,27,.985) 54%,rgba(0,0,0,.995) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(118,226,255,.035),0 10px 24px rgba(0,0,0,.16)!important;
  backdrop-filter:blur(10px)!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone.monitor-card::before,
#tab-dashboard > .cockpit-toss-watchlist-zone.monitor-card::after{
  content:none!important;
  display:none!important;
}

/* Exact same header geometry and typography as sibling monitor sections. */
#tab-dashboard > .cockpit-toss-watchlist-zone > .monitor-header.cockpit-section-header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:0!important;
  margin:0 0 7px!important;
  padding:0!important;
  position:relative!important;
  z-index:1!important;
}
#tab-dashboard > .cockpit-market-overview .monitor-title,
#tab-dashboard > .cockpit-toss-watchlist-zone .monitor-title,
#tab-dashboard > .cockpit-dashboard-calendar .monitor-title{
  margin:0!important;
  padding:0!important;
  font-family:inherit!important;
  font-size:var(--kst-main-title-size)!important;
  font-weight:800!important;
  line-height:1.18!important;
  letter-spacing:-.02em!important;
  color:var(--kst-main-title)!important;
  text-transform:none!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone > .monitor-header .monitor-title::before{
  content:none!important;
  display:none!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone .section-pro-icon,
#tab-dashboard > .cockpit-dashboard-calendar .section-pro-icon{
  width:18px!important;
  height:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-right:6px!important;
  vertical-align:-3px!important;
}
#tab-dashboard > .cockpit-toss-watchlist-zone .section-pro-icon svg,
#tab-dashboard > .cockpit-dashboard-calendar .section-pro-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:#32d7cf!important;
  stroke-width:1.55!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}


/* Column labels use the exact Market Snapshot subtitle scale/tone. */
#tab-dashboard .watchlist-column-head{
  min-height:32px!important;
  padding:0!important;
  background:transparent!important;
  border-bottom:1px solid rgba(77,216,255,.12)!important;
}
#tab-dashboard .watchlist-column-head > .market-card-label{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  height:100%!important;
  padding:0 10px!important;
  font-family:inherit!important;
  font-size:var(--kst-subtitle-size)!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:.02em!important;
  color:#eef7fc!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tab-dashboard .watchlist-column-head > div:nth-child(1),
#tab-dashboard .watchlist-column-head > div:nth-child(2){
  justify-content:flex-start!important;
  text-align:left!important;
}
#tab-dashboard .watchlist-column-head > div:nth-child(n+3):nth-child(-n+8){
  justify-content:flex-end!important;
  text-align:right!important;
}
#tab-dashboard .watchlist-column-head > div:nth-child(9){
  justify-content:center!important;
  text-align:center!important;
}

/* One geometry source for header and every row. */
#tab-dashboard .watchlist-card-scroll{
  --watchlist-row-min:1240px;
  --watchlist-columns:120px minmax(420px,1fr) 124px 88px 94px 124px 88px 94px 116px;
}
#tab-dashboard .watchlist-column-head,
#tab-dashboard .watchlist-inline-card{
  display:grid!important;
  grid-template-columns:var(--watchlist-columns)!important;
  column-gap:0!important;
  width:100%!important;
  min-width:var(--watchlist-row-min)!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-symbol-cell,
#tab-dashboard .watchlist-inline-card > .watchlist-name-cell,
#tab-dashboard .watchlist-inline-card > .watchlist-metric,
#tab-dashboard .watchlist-inline-card > .watchlist-session-cell{
  box-sizing:border-box!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0 10px!important;
  align-self:stretch!important;
  display:flex!important;
  align-items:center!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-symbol-cell,
#tab-dashboard .watchlist-inline-card > .watchlist-name-cell{
  justify-content:flex-start!important;
  text-align:left!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-metric{
  justify-content:flex-end!important;
  text-align:right!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-session-cell{
  justify-content:center!important;
  text-align:center!important;
}


/* v3.1.101 - Watchlist number density + mobile status-fit + KR200-ready market overview. */
/*
   Final watchlist pass for this cycle:
   - numeric cells are one size smaller and no longer bold,
   - the status column receives more space so the badge is not clipped on
     half-width desktop/mobile layouts,
   - the overall minimum row width is slightly reduced so scrolling pressure is
     lower while preserving a single-row contract.
*/
#tab-dashboard .watchlist-card-scroll{
  --watchlist-row-min:1200px!important;
  --watchlist-columns:120px minmax(360px,1fr) 116px 78px 86px 116px 78px 86px 132px!important;
  padding:0 8px 4px 0!important;
  scrollbar-gutter:stable both-edges!important;
}
#tab-dashboard .watchlist-column-head,
#tab-dashboard .watchlist-inline-card{
  min-width:var(--watchlist-row-min)!important;
}
#tab-dashboard .watchlist-inline-card .watchlist-metric{
  font-size:12px!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-session-cell{
  padding:0 12px!important;
}
#tab-dashboard .watchlist-session-badge{
  min-width:98px!important;
  height:24px!important;
  padding:0 10px!important;
  font-size:8px!important;
}
@media (max-width:1100px){
  #tab-dashboard .watchlist-card-scroll{
    --watchlist-row-min:1180px!important;
    --watchlist-columns:112px minmax(340px,1fr) 112px 74px 82px 112px 74px 82px 132px!important;
  }
  #tab-dashboard .watchlist-inline-card .watchlist-metric{font-size:11px!important;}
}
@media (max-width:760px){
  #tab-dashboard .watchlist-card-scroll{
    --watchlist-row-min:1140px!important;
    --watchlist-columns:108px minmax(320px,1fr) 108px 72px 80px 108px 72px 80px 128px!important;
    padding:0 10px 6px 0!important;
  }
  #tab-dashboard .watchlist-column-head > .market-card-label{font-size:11px!important;}
  #tab-dashboard .watchlist-inline-card .watchlist-name-cell{font-size:9px!important;}
  #tab-dashboard .watchlist-inline-card .watchlist-metric{font-size:11px!important;}
  #tab-dashboard .watchlist-session-badge{min-width:96px!important;}
}


/* v3.1.102 - Watchlist symbol-width + session-first quote order. */
#tab-dashboard .watchlist-card-scroll{
  --watchlist-row-min:1215px!important;
  --watchlist-columns:150px minmax(335px,1fr) 116px 78px 86px 116px 78px 86px 132px!important;
}
#tab-dashboard .watchlist-inline-card .watchlist-symbol-cell strong{
  flex:0 0 64px!important;
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media (max-width:1100px){
  #tab-dashboard .watchlist-card-scroll{
    --watchlist-row-min:1200px!important;
    --watchlist-columns:148px minmax(320px,1fr) 112px 74px 82px 112px 74px 82px 132px!important;
  }
}
@media (max-width:760px){
  #tab-dashboard .watchlist-card-scroll{
    --watchlist-row-min:1170px!important;
    --watchlist-columns:146px minmax(300px,1fr) 108px 72px 80px 108px 72px 80px 128px!important;
  }
  #tab-dashboard .watchlist-inline-card .watchlist-symbol-cell strong{
    flex-basis:62px!important;
    width:62px!important;
    min-width:62px!important;
    max-width:62px!important;
  }
}


/* v3.1.105 - Binance Dashboard Positions / Strategies width swap. */
/* Keep the v3.1.104 DOM order while moving the original width emphasis with the panels. */
@media (min-width:1101px){
  #tab-binance-dashboard .cockpit-primary-grid{
    grid-template-columns:minmax(340px,1.01fr) minmax(0,1.18fr) minmax(330px,.97fr)!important;
  }
}


/* v3.1.106 - Fixed FOREIGN/DOMESTIC identity contract + merged SYMBOL column. */
.watchlist-card-scroll{
  --watchlist-row-min:1040px!important;
  --watchlist-columns:minmax(360px,1fr) 116px 78px 86px 116px 78px 86px 132px!important;
}
.watchlist-column-head,
.watchlist-inline-card{
  grid-template-columns:var(--watchlist-columns)!important;
  min-width:var(--watchlist-row-min)!important;
}
.watchlist-column-head > div:nth-child(1){text-align:left!important;justify-content:flex-start!important;}
.watchlist-column-head > div:nth-child(n+2):nth-child(-n+7){text-align:right!important;justify-content:flex-end!important;}
.watchlist-column-head > div:nth-child(8){text-align:center!important;justify-content:center!important;}
.watchlist-inline-card > .watchlist-identity-cell{
  justify-content:flex-start!important;
  text-align:left!important;
  min-width:0!important;
  overflow:hidden!important;
}
.watchlist-inline-card .watchlist-identity-cell strong{
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:calc(100% - 52px)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.watchlist-inline-card .watchlist-provider-badge{margin-left:2px!important;}
#tab-dashboard .watchlist-card-scroll{
  --watchlist-row-min:1040px!important;
  --watchlist-columns:minmax(360px,1fr) 116px 78px 86px 116px 78px 86px 132px!important;
}
#tab-watchlist .watchlist-card-scroll{
  --watchlist-row-min:1040px!important;
  --watchlist-columns:minmax(360px,1fr) 116px 78px 86px 116px 78px 86px 132px!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-symbol-cell,
#tab-watchlist .watchlist-inline-card > .watchlist-symbol-cell{
  padding:0 10px!important;
}
#tab-watchlist .toss-watchlist-config-group-id-wrap.fixed{
  display:flex;
  align-items:center;
  gap:10px;
}
#tab-watchlist .toss-watchlist-config-fixed-group-id{
  color:#eef7fc;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
}
@media (max-width:1100px){
  .watchlist-card-scroll,
  #tab-dashboard .watchlist-card-scroll,
  #tab-watchlist .watchlist-card-scroll{
    --watchlist-row-min:1010px!important;
    --watchlist-columns:minmax(330px,1fr) 112px 74px 82px 112px 74px 82px 132px!important;
  }
}
@media (max-width:760px){
  .watchlist-card-scroll,
  #tab-dashboard .watchlist-card-scroll,
  #tab-watchlist .watchlist-card-scroll{
    --watchlist-row-min:980px!important;
    --watchlist-columns:minmax(310px,1fr) 108px 72px 80px 108px 72px 80px 128px!important;
  }
}


/* v3.1.107 - Watchlist provider-leading identity + responsive status containment. */
/* Provider identity now reads TOSS/YAHOO/AUTO first, then the group-driven symbol/name.
   The horizontal scroller is border-box constrained so its right padding is included in
   the panel width; responsive status tracks/badges are also tightened to keep CLOSED /
   REGULAR / PRE-MARKET fully inside the scrollable row on half-width and mobile. */
.watchlist-card-scroll,
#tab-dashboard .watchlist-card-scroll,
#tab-watchlist .watchlist-card-scroll{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding-right:12px!important;
  scroll-padding-inline-end:12px!important;
}
.watchlist-inline-card .watchlist-identity-cell{
  gap:8px!important;
}
.watchlist-inline-card .watchlist-provider-badge{
  order:0!important;
  margin-left:0!important;
  margin-right:0!important;
  flex:0 0 auto!important;
}
.watchlist-inline-card .watchlist-identity-cell strong{
  order:1!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:calc(100% - 54px)!important;
}
#tab-dashboard .watchlist-inline-card > .watchlist-session-cell,
#tab-watchlist .watchlist-inline-card > .watchlist-session-cell{
  box-sizing:border-box!important;
  min-width:0!important;
  overflow:hidden!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
@media (max-width:1100px){
  .watchlist-card-scroll,
  #tab-dashboard .watchlist-card-scroll,
  #tab-watchlist .watchlist-card-scroll{
    --watchlist-row-min:990px!important;
    --watchlist-columns:minmax(330px,1fr) 112px 74px 82px 112px 74px 82px 118px!important;
    padding-right:10px!important;
    scroll-padding-inline-end:10px!important;
  }
  #tab-dashboard .watchlist-session-badge,
  #tab-watchlist .watchlist-session-badge{
    min-width:88px!important;
    max-width:100%!important;
    padding:0 8px!important;
  }
}
@media (max-width:760px){
  .watchlist-card-scroll,
  #tab-dashboard .watchlist-card-scroll,
  #tab-watchlist .watchlist-card-scroll{
    --watchlist-row-min:950px!important;
    --watchlist-columns:minmax(300px,1fr) 108px 72px 80px 108px 72px 80px 112px!important;
    padding-right:8px!important;
    scroll-padding-inline-end:8px!important;
  }
  #tab-dashboard .watchlist-session-badge,
  #tab-watchlist .watchlist-session-badge{
    min-width:84px!important;
    height:23px!important;
    padding:0 7px!important;
    font-size:7.8px!important;
  }
}

/* v3.1.109 - Common > Crypto Research */
.crypto-research-shell{
  border-color:rgba(41,211,201,.30)!important;
  background:linear-gradient(180deg,rgba(7,29,42,.96),rgba(5,12,20,.985))!important;
}
.crypto-research-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px 10px;
}
.crypto-research-subtitle{
  margin-top:4px;
  color:#7899aa;
  font-size:11px;
  line-height:1.45;
}
.crypto-research-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.crypto-research-runtime{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.crypto-research-section{
  margin-top:12px;
}
.crypto-research-provider-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(41,211,201,.20);
  border-bottom:0;
  border-radius:12px 12px 0 0;
  background:linear-gradient(180deg,rgba(9,31,45,.94),rgba(5,17,26,.96));
}
.crypto-research-provider-copy{
  display:flex;
  align-items:baseline;
  gap:10px;
  min-width:0;
}
.crypto-research-provider-copy strong{
  color:#71e5db;
  font-size:13px;
  font-weight:800;
}
.crypto-research-provider-copy span{
  color:#6f8d9f;
  font-size:10px;
}
.crypto-research-source-status{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.crypto-research-provider-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:22px;
  padding:0 8px;
  border:1px solid rgba(100,128,146,.26);
  border-radius:999px;
  background:rgba(0,0,0,.26);
  color:#91a7b5;
  font-size:8.5px;
  font-weight:700;
  letter-spacing:.02em;
  white-space:nowrap;
}
.crypto-research-provider-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#78909c;
  box-shadow:0 0 8px rgba(120,144,156,.30);
}
.crypto-research-provider-chip.ok,
.crypto-research-provider-chip.partial{
  border-color:rgba(41,211,201,.30);
  color:#7de6dc;
  background:rgba(19,93,89,.13);
}
.crypto-research-provider-chip.ok .crypto-research-provider-dot{
  background:#28d8ca;
  box-shadow:0 0 9px rgba(40,216,202,.52);
}
.crypto-research-provider-chip.partial .crypto-research-provider-dot{
  background:#f2bf59;
  box-shadow:0 0 9px rgba(242,191,89,.45);
}
.crypto-research-provider-chip.error{
  border-color:rgba(255,86,107,.30);
  color:#ff8798;
  background:rgba(101,20,34,.15);
}
.crypto-research-provider-chip.error .crypto-research-provider-dot{
  background:#ff5e73;
  box-shadow:0 0 9px rgba(255,94,115,.45);
}
.crypto-research-table-wrap{
  width:100%;
  overflow-x:auto;
  box-sizing:border-box;
  border:1px solid rgba(41,211,201,.20);
  border-radius:0 0 12px 12px;
  background:#050b12;
  scrollbar-gutter:stable both-edges;
}
.crypto-research-head,
.crypto-research-row{
  display:grid;
  grid-template-columns:112px 118px 110px 150px minmax(520px,1fr);
  min-width:1060px;
  align-items:center;
}
.crypto-research-head{
  min-height:34px;
  color:#eef7fc;
  background:linear-gradient(180deg,rgba(10,34,49,.94),rgba(6,19,29,.96));
  border-bottom:1px solid rgba(41,211,201,.19);
  font-size:10px;
  font-weight:700;
  letter-spacing:.02em;
}
.crypto-research-head>div,
.crypto-research-row>div{
  min-width:0;
  padding:0 12px;
  box-sizing:border-box;
}
.crypto-research-row{
  min-height:48px;
  border-bottom:1px solid rgba(91,126,145,.16);
  background:linear-gradient(180deg,rgba(8,16,24,.94),rgba(5,11,17,.98));
  transition:background .15s ease,border-color .15s ease;
}
.crypto-research-row:last-child{border-bottom:0;}
.crypto-research-row:hover{
  background:linear-gradient(180deg,rgba(9,35,44,.96),rgba(5,15,22,.99));
  border-color:rgba(41,211,201,.26);
}
.crypto-research-date{
  color:#8ca7b6;
  font-size:10.5px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.crypto-research-source,
.crypto-research-type,
.crypto-research-category{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:21px;
  max-width:100%;
  padding:0 8px;
  border-radius:999px;
  font-size:8.5px;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.crypto-research-source{
  color:#d5b3ff;
  border:1px solid rgba(178,114,255,.34);
  background:rgba(102,47,165,.18);
}
.crypto-research-source.galaxy{
  color:#9ed9ff;
  border-color:rgba(71,176,255,.40);
  background:linear-gradient(180deg,rgba(36,108,166,.25),rgba(23,63,105,.18));
}
.crypto-research-source.certik,
.crypto-research-source.certik-security,
.crypto-research-source.certik-ecosystem{
  color:#98f0cb;
  border-color:rgba(69,219,157,.38);
  background:linear-gradient(180deg,rgba(32,130,91,.23),rgba(20,77,56,.17));
}
.crypto-research-source.coingecko{
  color:#d9ff7a;
  border-color:rgba(173,255,47,.35);
  background:rgba(92,126,24,.16);
}
.crypto-research-type{
  color:#d8c4ff;
  border:1px solid rgba(164,127,238,.28);
  background:rgba(91,62,151,.14);
}
.crypto-research-category{
  color:#75ded5;
  border:1px solid rgba(41,211,201,.27);
  background:rgba(25,110,105,.13);
}
.crypto-research-title-cell{padding-right:18px!important;}
.crypto-research-title{
  display:block;
  color:#e8f0f5;
  font-size:11.5px;
  font-weight:650;
  line-height:1.45;
  text-decoration:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.crypto-research-title:hover{
  color:#70e6dc;
  text-decoration:underline;
  text-decoration-color:rgba(112,230,220,.48);
  text-underline-offset:3px;
}
.crypto-research-empty{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  color:#718b99;
  font-size:11px;
}
@media (max-width:1100px){
  .crypto-research-topbar{align-items:stretch;flex-direction:column;}
  .crypto-research-actions{justify-content:space-between;}
  .crypto-research-runtime{justify-content:flex-start;}
  .crypto-research-head,.crypto-research-row{
    grid-template-columns:106px 112px 104px 136px minmax(500px,1fr);
    min-width:1020px;
  }
}
@media (max-width:760px){
  .crypto-research-topbar{padding:12px 12px 9px;}
  .crypto-research-actions{align-items:stretch;flex-direction:column;}
  .crypto-research-runtime{gap:6px;}
  .crypto-research-provider-bar{align-items:flex-start;flex-direction:column;}
  .crypto-research-source-status{justify-content:flex-start;}
  .crypto-research-head,.crypto-research-row{
    grid-template-columns:100px 104px 98px 128px minmax(430px,1fr);
    min-width:940px;
  }
  .crypto-research-head{font-size:9.5px;}
  .crypto-research-title{font-size:11px;}
}


/* v3.1.114 - Crypto Research seven-source metadata feed. */

/* v3.1.120 - Remove Halborn provider after deployment-host HTTP 429 rate limiting. */

/* v3.1.121 - Audit/security research provider expansion. */


/* v3.1.122 - Crypto Research source-by-source progressive panels.
   Providers render independently as soon as each request completes; there is no
   cross-source chronological table or global re-sort in the active UI. */
.crypto-research-section{
  min-width:0;
}
.crypto-research-provider-bar{
  border-bottom:1px solid rgba(41,211,201,.20);
  border-radius:12px;
  margin-bottom:10px;
}
.crypto-research-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  align-items:start;
  min-width:0;
}
.crypto-research-provider{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(41,211,201,.20);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(5,20,30,.97),rgba(4,11,17,.99));
  box-shadow:0 8px 22px rgba(0,0,0,.14);
}
.crypto-research-provider.ok{border-color:rgba(41,211,201,.25);}
.crypto-research-provider.partial{border-color:rgba(242,191,89,.28);}
.crypto-research-provider.error{border-color:rgba(255,94,115,.30);}
.crypto-research-provider.loading{border-color:rgba(102,145,169,.24);}
.crypto-research-provider-head{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 11px;
  box-sizing:border-box;
  border-bottom:1px solid rgba(41,211,201,.16);
  background:linear-gradient(180deg,rgba(9,32,46,.96),rgba(5,19,28,.98));
}
.crypto-research-provider-head>div:first-child{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.crypto-research-provider-head strong{
  color:#e9f6fb;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
}
.crypto-research-provider-head span{
  color:#6f91a3;
  font-size:8.5px;
  line-height:1.25;
}

.crypto-research-provider-head-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
.crypto-research-provider-refresh{
  min-height:24px;
  padding:0 8px;
  border:1px solid rgba(78,165,199,.30);
  border-radius:7px;
  background:linear-gradient(180deg,rgba(16,46,65,.95),rgba(8,27,41,.98));
  color:#cfe9f5;
  font-size:7.5px;
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
}
.crypto-research-provider-refresh:hover:not(:disabled){
  border-color:rgba(65,222,207,.50);
  color:#79eadf;
}
.crypto-research-provider-refresh:disabled{
  opacity:.48;
  cursor:not-allowed;
}

.crypto-research-provider-status{
  flex:0 0 auto;
  padding:3px 6px;
  border:1px solid rgba(105,137,155,.25);
  border-radius:999px;
  color:#8ca6b5;
  background:rgba(0,0,0,.18);
  font-size:7.5px;
  font-weight:800;
  letter-spacing:.02em;
  white-space:nowrap;
}
.crypto-research-provider-status.ok{
  color:#42e8ce;
  border-color:rgba(66,232,206,.38);
}
.crypto-research-provider-status.partial{
  color:#f2c567;
  border-color:rgba(242,197,103,.38);
}
.crypto-research-provider-status.error{
  color:#ff7f92;
  border-color:rgba(255,127,146,.40);
}
.crypto-research-provider-status.loading{
  color:#8fb0c1;
}
.crypto-research-provider-list{
  display:flex;
  flex-direction:column;
  max-height:760px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.crypto-research-item{
  min-width:0;
  padding:9px 10px 10px;
  border-bottom:1px solid rgba(91,126,145,.16);
  background:linear-gradient(180deg,rgba(8,16,24,.94),rgba(5,11,17,.98));
  transition:background .15s ease,border-color .15s ease;
}
.crypto-research-item:last-child{border-bottom:0;}
.crypto-research-item:hover{
  background:linear-gradient(180deg,rgba(9,35,44,.96),rgba(5,15,22,.99));
  border-color:rgba(41,211,201,.25);
}
.crypto-research-item-meta{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  margin-bottom:6px;
}
.crypto-research-item-meta .crypto-research-date{
  flex:0 0 auto;
  font-size:8.5px;
}
.crypto-research-item-meta .crypto-research-type,
.crypto-research-item-meta .crypto-research-category{
  min-height:18px;
  padding:0 6px;
  font-size:7.5px;
}
.crypto-research-item-meta .crypto-research-category{
  min-width:0;
  max-width:48%;
}
.crypto-research-provider .crypto-research-title{
  font-size:10.5px;
  font-weight:650;
  line-height:1.42;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.crypto-research-provider-empty{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  color:#718b99;
  font-size:9.5px;
  line-height:1.45;
  text-align:center;
}
.crypto-research-provider-note{
  padding:8px 10px;
  border-top:1px solid rgba(242,191,89,.18);
  color:#caa75f;
  background:rgba(83,62,17,.10);
  font-size:8px;
  line-height:1.4;
}
@media (max-width:1400px){
  .crypto-research-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  .crypto-research-grid{grid-template-columns:1fr;}
  .crypto-research-provider-list{max-height:620px;}
}


/* v3.1.123 - Eight-source Crypto Research grid, Glassnode removed, and per-source refresh controls. */
/* v3.1.124 - Fix Crypto Research desktop geometry to the intended four-column layout.
   Match CEX Listing News breakpoints: 4 columns wide, 2 at <=1400px, 1 at <=760px. */


/* v3.1.125 - Crypto Research reduced to Galaxy, CertiK, Coinbase Research, and CoinGecko only. */
/* v3.1.131 - Coinbase Research removed; CertiK split into Security and Ecosystem logical sources. */


/* v3.1.126 - Scrollable sidebar navigation. */
.app-sidebar{
  overflow:hidden!important;
}
.sidebar-nav.app-tabs{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  padding-right:2px!important;
  padding-bottom:10px!important;
}
.sidebar-nav.app-tabs::-webkit-scrollbar{width:5px;}
.sidebar-nav.app-tabs::-webkit-scrollbar-track{background:rgba(4,13,20,.35);}
.sidebar-nav.app-tabs::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(88,155,188,.36);
}
.sidebar-nav.app-tabs::-webkit-scrollbar-thumb:hover{background:rgba(88,190,224,.52);}
.sidebar-nav.app-tabs{scrollbar-width:thin;scrollbar-color:rgba(88,155,188,.42) rgba(4,13,20,.28);}

/* v3.1.127 - Crypto Research full-list provider panels (no internal list scrolling). */
.crypto-research-provider-list{
  max-height:none!important;
  overflow-y:visible!important;
  overscroll-behavior:auto!important;
  scrollbar-gutter:auto!important;
}
@media (max-width:760px){
  .crypto-research-provider-list{max-height:none!important;}
}


/* v3.1.128 - Compact Crypto Research header + non-OK 60-second provider retry.
   Header geometry mirrors Common > CEX Listing News: the monitor-card owns the
   outer padding, so the research topbar no longer adds a second padding layer. */
#tab-crypto-research > .crypto-research-shell{
  margin-bottom:12px;
}
#tab-crypto-research .crypto-research-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:0;
}
#tab-crypto-research .crypto-research-subtitle{
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  line-height:1.4;
}
#tab-crypto-research .crypto-research-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
#tab-crypto-research .crypto-research-runtime{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media (max-width:760px){
  #tab-crypto-research .crypto-research-topbar{flex-direction:column;align-items:stretch;}
  #tab-crypto-research .crypto-research-actions{justify-content:space-between;align-items:flex-end;}
  #tab-crypto-research .crypto-research-runtime{justify-content:flex-start;}
}

/* v3.1.137 - Star Investors > Super Investors shallow one-page explorer. */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* Star Investors sidebar group: distinct warm accent while preserving Toolkit rhythm. */
.sidebar-nav-group.star-investors{
  background:linear-gradient(180deg,rgba(35,24,13,.98),rgba(11,14,19,.98))!important;
  border:1px solid rgba(255,166,72,.22)!important;
  box-shadow:0 8px 20px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,220,166,.04)!important;
}
.sidebar-nav-group.star-investors .sidebar-group-toggle{
  background:linear-gradient(180deg,rgba(45,30,15,.96),rgba(24,18,12,.96))!important;
  color:#ffd2a0!important;
  border-bottom:1px solid rgba(255,166,72,.12)!important;
  padding:7px 10px!important;
  min-height:34px!important;
  font-size:13px!important;
}
.sidebar-nav-group.star-investors .sidebar-group-mark{
  width:20px!important;
  height:20px!important;
  border-radius:6px!important;
  color:#ffb566!important;
  background:linear-gradient(180deg,rgba(73,43,18,.98),rgba(22,17,13,.98))!important;
  border:1px solid rgba(255,174,84,.30)!important;
  box-shadow:inset 0 1px 0 rgba(255,229,186,.10)!important;
}
.sidebar-nav-group.star-investors .sidebar-group-mark svg,
.sidebar-nav-group.star-investors .nav-pro-icon svg{
  width:15px!important;
  height:15px!important;
  stroke:currentColor!important;
  fill:none!important;
}
.sidebar-nav-group.star-investors .sidebar-group-items{padding:3px!important;gap:1px!important;}
.sidebar-nav-group.star-investors .sidebar-nav-item,
.sidebar-nav-group.star-investors .app-tab{
  width:100%!important;
  min-height:32px!important;
  padding:7px 12px!important;
  gap:10px!important;
  border-radius:9px!important;
  border:1px solid rgba(255,166,72,.08)!important;
  background:linear-gradient(180deg,rgba(17,18,22,.96),rgba(10,13,18,.98))!important;
  color:#dce4ec!important;
  font-size:13px!important;
  font-weight:600!important;
}
.sidebar-nav-group.star-investors .sidebar-nav-item:hover,
.sidebar-nav-group.star-investors .app-tab:hover{
  background:linear-gradient(90deg,rgba(255,166,72,.15),rgba(255,166,72,.04))!important;
  border-color:rgba(255,166,72,.18)!important;
  color:#fff4e7!important;
}
.sidebar-nav-group.star-investors .sidebar-nav-item.active,
.sidebar-nav-group.star-investors .app-tab.active{
  background:linear-gradient(90deg,rgba(255,166,72,.22),rgba(255,166,72,.07))!important;
  border-color:rgba(255,166,72,.28)!important;
  box-shadow:inset 3px 0 0 #ff9f43!important;
  color:#fff5e9!important;
}
.sidebar-nav-group.star-investors .sidebar-icon{width:16px!important;color:#ffb566!important;}
.sidebar-nav-group.star-investors .sidebar-group-chevron{
  background:linear-gradient(180deg,rgba(55,37,18,.96),rgba(24,18,11,.96))!important;
  border:1px solid rgba(255,174,84,.26)!important;
  box-shadow:inset 0 1px 0 rgba(255,231,190,.09),0 4px 10px rgba(0,0,0,.20)!important;
}
.sidebar-nav-group.star-investors .sidebar-group-chevron::before{color:#ffb566;}

.super-investors-shell{padding:12px 14px;}
.super-investors-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:relative;
  z-index:1;
}
.super-investors-subtitle{
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
  line-height:1.45;
}
.super-investors-actions,
.super-investors-runtime{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.super-investors-section{display:grid;gap:10px;}
.super-investors-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 11px;
  border:1px solid rgba(255,174,84,.16);
  border-radius:11px;
  background:linear-gradient(180deg,rgba(18,24,31,.92),rgba(9,15,22,.96));
}
.super-investors-sort{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.super-investors-sort-btn{
  min-height:31px;
  padding:6px 11px;
  border:1px solid rgba(133,166,190,.14);
  border-radius:999px;
  background:rgba(9,17,25,.80);
  color:#8fa7b8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.03em;
  cursor:pointer;
}
.super-investors-sort-btn:hover{border-color:rgba(255,174,84,.34);color:#ffd5aa;}
.super-investors-sort-btn.active{
  border-color:rgba(255,174,84,.55);
  background:rgba(255,159,67,.12);
  color:#ffd4a4;
  box-shadow:inset 0 0 0 1px rgba(255,174,84,.05);
}
.super-investors-search{
  display:flex;
  align-items:center;
  gap:7px;
  width:min(100%,330px);
  min-height:34px;
  padding:0 10px;
  border:1px solid rgba(133,166,190,.15);
  border-radius:9px;
  background:#08121b;
  color:#718b9d;
}
.super-investors-search:focus-within{border-color:rgba(255,174,84,.46);box-shadow:0 0 0 2px rgba(255,159,67,.06);}
.super-investors-search svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;flex:0 0 auto;}
.super-investors-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#e8f2f8;
  font-size:10px;
  font-weight:750;
}
.super-investors-search input::placeholder{color:#607889;}
.super-investors-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 2px;
}
.super-investors-section-head>div{display:flex;align-items:baseline;gap:8px;}
.super-investors-section-head strong{color:#bfefff;font-size:11px;font-weight:950;}
.super-investors-section-head span{color:#718b9c;font-size:8px;}
.super-investors-note{text-align:right;}
.super-investors-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.super-investors-empty{
  grid-column:1/-1;
  padding:32px 18px;
  border:1px dashed rgba(255,174,84,.18);
  border-radius:12px;
  background:rgba(9,17,24,.66);
  color:#8199aa;
  font-size:10px;
  text-align:center;
}
.super-investors-empty.error{color:#ff94a3;border-color:rgba(255,93,115,.24);}
.super-investor-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(103,176,210,.16);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(11,25,35,.96),rgba(7,15,23,.98));
  box-shadow:0 10px 24px rgba(0,0,0,.14),inset 0 1px 0 rgba(180,231,255,.025);
}
.super-investor-card:hover{border-color:rgba(255,174,84,.28);box-shadow:0 12px 28px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,222,178,.04);}
.super-investor-card.unavailable{opacity:.74;}
.super-investor-card-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:12px 12px 10px;
  border-bottom:1px solid rgba(96,155,186,.10);
}
.super-investor-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(255,174,84,.28);
  background:radial-gradient(circle at 35% 30%,rgba(255,205,143,.18),rgba(255,159,67,.06) 60%,rgba(11,22,30,.95));
  color:#ffd0a0;
  font-size:10px;
  font-weight:950;
  letter-spacing:.04em;
}
.super-investor-identity{display:grid;gap:2px;min-width:0;}
.super-investor-identity strong{color:#f3f8fb;font-size:11px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.super-investor-identity span{color:#7892a3;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.super-investor-source-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border:1px solid rgba(109,178,207,.14);
  border-radius:8px;
  color:#77d8ff;
  text-decoration:none;
  font-size:13px;
  font-weight:950;
}
.super-investor-source-link:hover{border-color:rgba(255,174,84,.42);color:#ffc382;background:rgba(255,159,67,.07);}
.super-investor-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  padding:10px 12px;
}
.super-investor-metrics>div{
  min-width:0;
  padding:9px 7px;
  border:1px solid rgba(96,155,186,.10);
  border-radius:9px;
  background:rgba(5,14,22,.72);
  text-align:center;
}
.super-investor-metrics strong{display:block;color:#f0f8fc;font-size:13px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.super-investor-metrics span{display:block;margin-top:3px;color:#668092;font-size:7px;font-weight:900;letter-spacing:.06em;}
.super-investor-card-section{padding:9px 12px;border-top:1px solid rgba(96,155,186,.08);}
.super-investor-card-section.latest{padding-bottom:11px;}
.super-investor-card-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7893a4;font-size:7px;font-weight:950;letter-spacing:.08em;}
.super-investor-tickers{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-height:25px;margin-top:7px;}
.super-investor-ticker{
  padding:4px 7px;
  border:1px solid rgba(73,208,255,.18);
  border-radius:999px;
  background:rgba(66,198,255,.055);
  color:#aeeaff;
  font-size:8px;
  font-weight:950;
}
.super-investor-top-empty{color:#587181;font-size:9px;}
.super-investor-source-status{padding:2px 5px;border-radius:999px;font-size:6px;font-weight:950;letter-spacing:.05em;}
.super-investor-source-status.ok{border:1px solid rgba(25,229,197,.25);background:rgba(25,229,197,.06);color:#5af0d7;}
.super-investor-source-status.error{border:1px solid rgba(255,93,115,.25);background:rgba(255,93,115,.06);color:#ff91a1;}
.super-investor-move{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:7px;margin-top:7px;min-height:24px;}
.super-investor-move strong{color:#eaf5fa;font-size:9px;font-weight:950;}
.super-investor-move>span:last-child{min-width:0;color:#8ba3b2;font-size:8px;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.super-investor-move.unavailable{display:block;color:#647e90;font-size:8px;}
.super-investor-move-badge{padding:3px 6px;border-radius:999px;font-size:7px;font-weight:950;letter-spacing:.04em;}
.super-investor-move-badge.positive{border:1px solid rgba(25,229,197,.25);background:rgba(25,229,197,.065);color:#41e8cb;}
.super-investor-move-badge.negative{border:1px solid rgba(255,93,115,.26);background:rgba(255,93,115,.065);color:#ff8194;}
.super-investor-move-badge.neutral{border:1px solid rgba(138,169,188,.20);background:rgba(138,169,188,.05);color:#a0b4c0;}

@media(max-width:1400px){
  .super-investors-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .super-investors-topbar{align-items:flex-start;flex-direction:column;}
  .super-investors-actions,.super-investors-runtime{justify-content:flex-start;}
  .super-investors-toolbar{align-items:stretch;flex-direction:column;}
  .super-investors-search{width:100%;}
  .super-investors-section-head{align-items:flex-start;flex-direction:column;}
  .super-investors-note{text-align:left;}
  .super-investors-grid{grid-template-columns:1fr;}
}

/* v3.1.138 - Super Investors UI pass inspired by the information hierarchy of
   leading portfolio-explorer products while preserving Toolkit dark styling. */
.super-investors-shell{
  padding:14px 16px 13px;
  border-color:rgba(255,174,84,.18)!important;
  background:linear-gradient(180deg,rgba(12,27,38,.98),rgba(7,18,27,.99))!important;
}
.super-investors-subtitle{font-size:11px;color:#8da6b7;}
.super-investors-toolbar{
  padding:11px 12px;
  border-color:rgba(255,174,84,.18);
  background:linear-gradient(180deg,rgba(15,23,31,.96),rgba(8,15,22,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.super-investors-sort-btn{min-height:33px;padding:7px 13px;font-size:10px;}
.super-investors-search{min-height:36px;width:min(100%,360px);}
.super-investors-search input{font-size:11px;}
.super-investors-section-head strong{font-size:12px;}
.super-investors-section-head span{font-size:9px;}
.super-investors-grid{gap:14px;align-items:start;}
.super-investor-card{
  border-color:rgba(103,176,210,.18);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(12,28,39,.985),rgba(7,16,24,.99));
  box-shadow:0 14px 32px rgba(0,0,0,.18),inset 0 1px 0 rgba(199,236,255,.025);
  transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.super-investor-card:hover{
  transform:translateY(-1px);
  border-color:rgba(255,174,84,.34);
  box-shadow:0 18px 38px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,225,186,.04);
}
.super-investor-card-head{
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:11px;
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(110,172,202,.10);
}
.super-investor-avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  font-size:11px;
  border-color:rgba(255,184,102,.33);
  background:radial-gradient(circle at 35% 28%,rgba(255,220,170,.22),rgba(255,159,67,.08) 55%,rgba(11,22,30,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 5px 14px rgba(0,0,0,.18);
}
.super-investor-avatar.avatar-ray-dalio{background:radial-gradient(circle at 35% 28%,rgba(177,219,255,.22),rgba(68,150,219,.09) 58%,rgba(10,21,30,.96));border-color:rgba(118,192,255,.32);color:#bfe5ff;}
.super-investor-avatar.avatar-james-simons{background:radial-gradient(circle at 35% 28%,rgba(205,188,255,.22),rgba(120,89,211,.10) 58%,rgba(10,21,30,.96));border-color:rgba(170,143,255,.32);color:#ded0ff;}
.super-investor-avatar.avatar-catherine-wood{background:radial-gradient(circle at 35% 28%,rgba(255,184,220,.21),rgba(197,78,147,.10) 58%,rgba(10,21,30,.96));border-color:rgba(255,139,196,.30);color:#ffc7e5;}
.super-investor-avatar.avatar-george-soros{background:radial-gradient(circle at 35% 28%,rgba(182,239,216,.21),rgba(50,161,120,.09) 58%,rgba(10,21,30,.96));border-color:rgba(103,224,174,.28);color:#baf4dc;}
.super-investor-avatar.avatar-bill-ackman{background:radial-gradient(circle at 35% 28%,rgba(255,214,162,.22),rgba(201,135,51,.10) 58%,rgba(10,21,30,.96));border-color:rgba(246,188,111,.31);color:#ffe0b7;}
.super-investor-identity{gap:3px;}
.super-investor-identity strong{font-size:13px;letter-spacing:-.01em;}
.super-investor-identity span{font-size:9px;color:#819aaa;}
.super-investor-card-head-right{display:grid;justify-items:end;gap:5px;}
.super-investor-period{
  padding:4px 7px;
  border-radius:999px;
  border:1px solid rgba(255,174,84,.23);
  background:rgba(255,159,67,.07);
  color:#ffd1a2;
  font-size:8px;
  font-weight:950;
  letter-spacing:.04em;
}
.super-investor-source-status{font-size:6px;padding:2px 5px;}
.super-investor-metrics{gap:8px;padding:11px 14px;}
.super-investor-metrics>div{
  padding:11px 8px 9px;
  border-radius:10px;
  background:linear-gradient(180deg,rgba(6,16,24,.92),rgba(5,13,20,.86));
  border-color:rgba(107,169,198,.11);
}
.super-investor-metrics strong{font-size:16px;line-height:1.05;}
.super-investor-metrics span{margin-top:5px;font-size:7px;color:#7891a2;}
.super-investor-qoq{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin:0 14px 12px;
  overflow:hidden;
  border:1px solid rgba(105,166,196,.10);
  border-radius:10px;
  background:rgba(105,166,196,.08);
}
.super-investor-qoq>div{display:grid;gap:4px;padding:8px 7px;background:#07131c;text-align:center;}
.super-investor-qoq span{font-size:6px;font-weight:900;letter-spacing:.05em;color:#6d8798;white-space:nowrap;}
.super-investor-qoq strong{font-size:10px;font-weight:950;color:#b9cad5;}
.super-investor-qoq strong.positive{color:#39dec2;}
.super-investor-qoq strong.negative{color:#ff7d91;}
.super-investor-qoq strong.neutral{color:#a4b6c2;}
.super-investor-card-section{padding:11px 14px;border-top:1px solid rgba(96,155,186,.08);}
.super-investor-card-label{font-size:7px;color:#7992a3;}
.super-investor-card-label>span:last-child{color:#5f788a;font-weight:850;}
.super-investor-position-list{display:grid;gap:6px;margin-top:9px;}
.super-investor-position{
  display:grid;
  grid-template-columns:17px minmax(0,1fr) 46px;
  align-items:center;
  gap:7px;
  min-height:24px;
}
.super-investor-position-rank{display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:rgba(126,161,182,.08);color:#6f8797;font-size:7px;font-weight:950;}
.super-investor-position-main{display:grid;gap:4px;min-width:0;}
.super-investor-position-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#dce9f0;font-size:9px;font-weight:900;}
.super-investor-position-track{height:3px;overflow:hidden;border-radius:999px;background:rgba(100,151,180,.10);}
.super-investor-position-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#3bd1e7,#6f8cff);opacity:.78;}
.super-investor-position-weight{text-align:right;color:#a9c5d5;font-size:8px;font-weight:900;}
.super-investor-card-section.changes{padding-bottom:12px;}
.super-investor-change-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px;}
.super-investor-change-box{
  display:grid;
  gap:4px;
  min-width:0;
  padding:9px 10px;
  border-radius:10px;
  border:1px solid rgba(114,169,197,.10);
  background:rgba(5,14,22,.72);
}
.super-investor-change-box>span{font-size:6px;font-weight:950;letter-spacing:.06em;color:#708999;}
.super-investor-change-box strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:950;color:#e8f4fa;}
.super-investor-change-box small{font-size:8px;font-weight:850;color:#8ba2b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.super-investor-change-box.positive{border-color:rgba(25,229,197,.16);background:rgba(25,229,197,.035);}
.super-investor-change-box.positive>span,.super-investor-change-box.positive small{color:#50d8c0;}
.super-investor-change-box.negative{border-color:rgba(255,93,115,.17);background:rgba(255,93,115,.035);}
.super-investor-change-box.negative>span,.super-investor-change-box.negative small{color:#ff8da0;}
.super-investor-change-box.empty{opacity:.65;}
.super-investor-card-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:34px;
  padding:8px 14px;
  border-top:1px solid rgba(96,155,186,.08);
  background:rgba(4,12,18,.40);
  color:#60798a;
  font-size:7px;
  font-weight:850;
}
.super-investor-card-foot .super-investor-source-link{
  width:auto;
  height:auto;
  padding:4px 7px;
  border-radius:7px;
  color:#78d8ff;
  font-size:7px;
  font-weight:900;
}
@media(max-width:1540px){
  .super-investors-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:980px){
  .super-investor-qoq{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .super-investors-grid{grid-template-columns:1fr;}
  .super-investor-card-head{grid-template-columns:auto minmax(0,1fr);}
  .super-investor-card-head-right{grid-column:1/-1;display:flex;justify-content:flex-start;align-items:center;}
  .super-investor-metrics strong{font-size:14px;}
}

/* v3.1.139 - Super Investors readability + Top 10 holdings. */
.super-investor-qoq>div{gap:5px;padding:10px 8px;}
.super-investor-qoq span{font-size:8px;line-height:1.15;font-weight:950;letter-spacing:.045em;}
.super-investor-qoq strong{font-size:12px;line-height:1.1;}
.super-investor-card-section{padding:13px 14px;}
.super-investor-card-label{font-size:9px;line-height:1.15;letter-spacing:.075em;}
.super-investor-card-label>span:last-child{font-size:9px;}
.super-investor-position-list{gap:7px;margin-top:11px;}
.super-investor-position{
  grid-template-columns:19px minmax(0,1fr) 58px;
  align-items:center;
  gap:8px;
  min-height:30px;
}
.super-investor-position-rank{width:19px;height:19px;font-size:8px;}
.super-investor-position-main{gap:5px;}
.super-investor-position-main strong{
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  color:#e5f1f6;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
}
.super-investor-position-track{height:3px;}
.super-investor-position-weight{font-size:10px;line-height:1.15;font-weight:950;}
.super-investor-card-section.changes{padding-bottom:14px;}
.super-investor-change-grid{gap:9px;margin-top:11px;}
.super-investor-change-box{gap:5px;padding:11px 11px;}
.super-investor-change-box>span{font-size:8px;line-height:1.15;}
.super-investor-change-box strong{font-size:11px;line-height:1.2;}
.super-investor-change-box small{font-size:10px;line-height:1.15;}
.super-investor-card-foot{font-size:8px;}
.super-investor-card-foot .super-investor-source-link{font-size:8px;}
@media(max-width:760px){
  .super-investor-qoq span{font-size:7.5px;}
  .super-investor-qoq strong{font-size:11px;}
  .super-investor-card-label,.super-investor-card-label>span:last-child{font-size:8.5px;}
  .super-investor-position{grid-template-columns:19px minmax(0,1fr) 54px;}
  .super-investor-position-main strong{font-size:10.5px;}
  .super-investor-position-weight{font-size:9.5px;}
}

/* v3.1.143 - compact windowed pager over the 15-page Star Investors universe. */
.super-investors-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  margin:20px 0 4px;
  padding:4px 0 2px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.super-investors-page-btn,.super-investors-page-nav{
  min-width:30px;
  height:30px;
  padding:0 8px;
  border:1px solid rgba(91,201,255,.18);
  border-radius:9px;
  background:#07151d;
  color:#9db7c5;
  font-size:11px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease;
}
.super-investors-page-btn:hover,.super-investors-page-nav:hover:not(:disabled){
  color:#e5fbff;
  border-color:rgba(68,224,220,.55);
  background:#0a2029;
  transform:translateY(-1px);
}
.super-investors-page-btn.active{
  color:#041216;
  border-color:#47e2dc;
  background:#47e2dc;
  box-shadow:0 0 0 1px rgba(71,226,220,.12),0 0 16px rgba(71,226,220,.12);
}
.super-investors-page-nav{font-size:18px;padding-bottom:2px;}
.super-investors-page-nav:disabled{opacity:.3;cursor:not-allowed;}
.super-investors-page-ellipsis{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:30px;
  color:#668291;
  font-size:12px;
  font-weight:800;
  line-height:1;
  user-select:none;
}
@media(max-width:760px){
  .super-investors-pagination{justify-content:flex-start;padding-bottom:7px;}
  .super-investors-page-btn,.super-investors-page-nav{min-width:30px;height:32px;flex:0 0 auto;}
  .super-investors-page-ellipsis{min-width:14px;height:32px;flex:0 0 auto;}
}

/* v3.1.145 - Star Investors statistics readability + scheduler-only header. */
.star-investor-statistics-section{
  margin-top:10px;
  padding:14px;
  border:1px solid rgba(70,207,211,.22);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(7,24,34,.92),rgba(4,15,23,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.star-investor-statistics-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}
.star-investor-statistics-head>div{display:flex;align-items:baseline;gap:9px;min-width:0;}
.star-investor-statistics-head strong{font-size:14px;color:#dff8fb;letter-spacing:-.01em;}
.star-investor-statistics-head>div span{font-size:10px;color:#7f9dad;font-weight:800;}
.star-investor-statistics-note{max-width:620px;text-align:right;font-size:9px;line-height:1.45;color:#607f90;}
.star-investor-statistics-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.star-investor-stat-kpi{
  display:grid;
  gap:4px;
  min-height:72px;
  padding:10px 11px;
  border:1px solid rgba(88,170,200,.12);
  border-radius:10px;
  background:linear-gradient(180deg,rgba(4,16,24,.92),rgba(3,12,19,.82));
}
.star-investor-stat-kpi span{font-size:8px;font-weight:950;letter-spacing:.065em;color:#708e9f;}
.star-investor-stat-kpi strong{font-size:18px;line-height:1.05;color:#e9f7fb;font-weight:900;}
.star-investor-stat-kpi small{font-size:9px;line-height:1.2;color:#698493;}
.star-investor-statistics-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.star-investor-stat-card{
  overflow:hidden;
  border:1px solid rgba(93,171,200,.12);
  border-radius:11px;
  background:rgba(3,14,22,.78);
}
.star-investor-stat-card.increase,.star-investor-stat-card.new{border-color:rgba(40,219,190,.15);}
.star-investor-stat-card.reduce,.star-investor-stat-card.exit{border-color:rgba(255,105,128,.16);}
.star-investor-stat-card-head{
  display:grid;
  gap:3px;
  padding:10px 11px 9px;
  border-bottom:1px solid rgba(91,154,185,.10);
  background:rgba(7,23,32,.72);
}
.star-investor-stat-card-head strong{font-size:10.5px;color:#dcecf2;letter-spacing:.025em;}
.star-investor-stat-card-head span{font-size:8px;color:#668393;}
.star-investor-stat-rank-list{display:grid;}
.star-investor-stat-rank-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:46px;
  padding:7px 10px;
  border-bottom:1px solid rgba(92,150,179,.07);
}
.star-investor-stat-rank-row:last-child{border-bottom:0;}
.star-investor-stat-rank-index{
  display:flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:50%;
  background:rgba(103,157,184,.09);color:#6f8b9a;font-size:8px;font-weight:950;
}
.star-investor-stat-rank-name{display:grid;gap:2px;min-width:0;}
.star-investor-stat-rank-name strong{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:10.5px;color:#dcecf2;font-weight:900;
}
.star-investor-stat-rank-name small{font-size:8px;color:#65808f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.star-investor-stat-rank-value{font-size:10.5px;font-weight:950;color:#a8c0ce;white-space:nowrap;}
.star-investor-stat-rank-value.positive{color:#42d8bd;}
.star-investor-stat-rank-value.negative{color:#ff8094;}
.star-investor-stat-rank-empty,.star-investor-stat-empty{
  padding:16px;color:#6f8b9a;font-size:10px;text-align:center;
}
.star-investor-statistics-summary>.star-investor-stat-empty{grid-column:1/-1;min-height:58px;display:flex;align-items:center;justify-content:center;border:1px dashed rgba(89,159,190,.14);border-radius:10px;}
@media(max-width:1250px){
  .star-investor-statistics-summary{grid-template-columns:repeat(3,minmax(0,1fr));}
  .star-investor-statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .star-investor-statistics-section{padding:11px;}
  .star-investor-statistics-head{display:grid;gap:5px;}
  .star-investor-statistics-head>div{display:grid;gap:3px;}
  .star-investor-statistics-note{text-align:left;max-width:none;}
  .star-investor-statistics-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  .star-investor-stat-kpi{min-height:66px;padding:9px;}
  .star-investor-stat-kpi strong{font-size:17px;}
  .star-investor-statistics-grid{grid-template-columns:1fr;gap:7px;}
  .star-investor-stat-rank-row{min-height:46px;padding:8px 9px;}
  .star-investor-stat-rank-name strong{font-size:10.5px;}
  .star-investor-stat-rank-value{font-size:10.5px;}
}

/* v3.1.147 - Star Investors mobile header alignment + centered compact pagination. */
#tab-super-investors{
  width:100%;
  max-width:100%;
  margin-inline:auto;
  box-sizing:border-box;
}
#tab-super-investors > .monitor-card,
#tab-super-investors > .market-section{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  box-sizing:border-box;
}
#tab-super-investors .super-investors-pagination{
  width:100%;
  max-width:100%;
  justify-self:stretch;
  justify-content:center!important;
  box-sizing:border-box;
}
@media(max-width:1100px){
  #tab-super-investors .super-investors-topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    justify-content:stretch!important;
    gap:8px!important;
  }
  #tab-super-investors .super-investors-actions{
    width:auto!important;
    min-width:0!important;
    justify-self:end!important;
    align-self:start!important;
    justify-content:flex-end!important;
  }
  #tab-super-investors .super-investors-runtime{
    min-width:0!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
  }
}
@media(max-width:760px){
  #tab-super-investors .super-investors-topbar{
    flex-direction:row!important;
  }
  #tab-super-investors .super-investors-pagination{
    justify-content:center!important;
    padding-left:0!important;
    padding-right:0!important;
    padding-bottom:7px;
    overflow-x:auto;
    scroll-padding-inline:8px;
  }
}
@media(max-width:460px){
  #tab-super-investors .super-investors-topbar{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  #tab-super-investors .super-investors-runtime{
    gap:4px!important;
  }
  #tab-super-investors .super-investors-runtime .market-status{
    font-size:8px;
    gap:4px;
  }
  #tab-super-investors .super-investors-runtime .market-status-dot{
    width:6px;
    height:6px;
  }
  #tab-super-investors .super-investors-runtime .market-runtime-meta{
    min-height:22px;
    padding:0 6px;
    font-size:7px;
  }
}


/* v3.1.148 - Star Investors labels + manager card period alignment. */
.super-investor-period{
  padding:5px 8px;
  font-size:9px;
  line-height:1;
  white-space:nowrap;
}
.super-investor-card-head-right{
  justify-self:end;
  align-self:start;
  white-space:nowrap;
}
/* All statistics ranking values, including Managers/New/Exits/Holders/Net, share one size. */
.star-investor-stat-rank-value{font-size:10.5px;}
@media(max-width:760px){
  .super-investor-card-head{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:9px;
  }
  .super-investor-card-head-right{
    grid-column:auto;
    display:flex;
    justify-content:flex-end;
    justify-self:end;
    align-items:flex-start;
    min-width:max-content;
  }
  .super-investor-period{
    padding:5px 8px;
    font-size:9px;
  }
}

/* v3.1.149 - Move Binance scheduler NEXT RUN out of the global header and into Binance Dashboard. */
.topbar-ops-cluster{
  grid-template-columns:minmax(118px,.55fr) minmax(160px,.72fr)!important;
  max-width:340px!important;
}
#cockpit-cpu-card,
#cockpit-ram-card{
  grid-area:auto!important;
}

#tab-binance-dashboard .binance-next-run-strip{
  width:100%;
  min-width:0;
  min-height:38px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:auto auto minmax(150px,.72fr) minmax(220px,1.35fr) auto;
  align-items:center;
  column-gap:12px;
  row-gap:4px;
  margin:0 0 12px;
  padding:8px 12px;
  border:1px solid rgba(240,185,11,.32);
  border-radius:10px;
  background:linear-gradient(90deg,rgba(240,185,11,.075),rgba(8,19,29,.94) 28%,rgba(7,18,28,.96));
  box-shadow:inset 0 1px 0 rgba(255,226,126,.04);
  overflow:hidden;
}
#tab-binance-dashboard .binance-next-run-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#d9b55b;
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em;
  white-space:nowrap;
}
#tab-binance-dashboard .binance-next-run-label .cockpit-status-icon{
  color:#f0b90b;
}
#tab-binance-dashboard .binance-next-run-strip .cockpit-next-run-time{
  color:#75d7ff;
  font-size:15px!important;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
}
#tab-binance-dashboard .binance-next-run-sub{
  min-width:0;
  color:#c6b77f;
  font-size:9px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-binance-dashboard .binance-next-run-detail{
  min-width:0;
  color:#7f93a1;
  font-size:8px;
  line-height:1.25;
  text-align:right;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#tab-binance-dashboard .binance-next-run-badge{
  color:#aa9a6a;
  font-size:7px;
  font-weight:700;
  letter-spacing:.04em;
  white-space:nowrap;
}
#tab-binance-dashboard .binance-next-run-strip.tone-good{
  border-color:rgba(73,205,177,.28);
}
#tab-binance-dashboard .binance-next-run-strip.tone-good .cockpit-status-icon{
  color:#38ddbd;
}
#tab-binance-dashboard .binance-next-run-strip.tone-warn{
  border-color:rgba(240,185,11,.38);
}
#tab-binance-dashboard .binance-next-run-strip.tone-bad{
  border-color:rgba(255,93,115,.36);
}
#tab-binance-dashboard .binance-next-run-strip.tone-bad .cockpit-status-icon{
  color:#ff7184;
}

@media (max-width:1100px){
  body.view-dashboard .topbar-ops-cluster{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:"cpu ram"!important;
    max-width:none!important;
  }
  body.view-dashboard #cockpit-cpu-card{grid-area:cpu!important;}
  body.view-dashboard #cockpit-ram-card{grid-area:ram!important;}
  #tab-binance-dashboard .binance-next-run-strip{
    grid-template-columns:auto auto minmax(0,1fr) auto;
  }
  #tab-binance-dashboard .binance-next-run-detail{
    display:none;
  }
}

@media (max-width:620px){
  #tab-binance-dashboard .binance-next-run-strip{
    grid-template-columns:auto 1fr auto;
    grid-template-areas:
      "label time badge"
      "sub sub sub";
    padding:8px 9px;
    column-gap:8px;
    margin-bottom:9px;
  }
  #tab-binance-dashboard .binance-next-run-label{grid-area:label;}
  #tab-binance-dashboard .binance-next-run-strip .cockpit-next-run-time{
    grid-area:time;
    justify-self:start;
    font-size:13px!important;
  }
  #tab-binance-dashboard .binance-next-run-sub{
    grid-area:sub;
    font-size:8px;
  }
  #tab-binance-dashboard .binance-next-run-badge{
    grid-area:badge;
    justify-self:end;
    font-size:6px;
  }
}

/* v3.1.150 - Binance-native styling for the Dashboard NEXT RUN scheduler strip. */
#tab-binance-dashboard .binance-next-run-strip{
  min-height:42px;
  border-color:rgba(240,185,11,.30)!important;
  background:
    linear-gradient(180deg,rgba(42,33,13,.72),rgba(15,17,18,.88) 55%,rgba(8,16,23,.98))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,225,121,.08),
    0 0 0 1px rgba(240,185,11,.025)!important;
}
#tab-binance-dashboard .binance-next-run-label{
  color:#f0b90b!important;
  font-weight:800;
}
#tab-binance-dashboard .binance-next-run-label .cockpit-status-icon,
#tab-binance-dashboard .binance-next-run-strip.tone-good .cockpit-status-icon,
#tab-binance-dashboard .binance-next-run-strip.tone-warn .cockpit-status-icon{
  color:#f0b90b!important;
  text-shadow:0 0 10px rgba(240,185,11,.22);
}
#tab-binance-dashboard .binance-next-run-strip .cockpit-next-run-time{
  color:#ffe27a!important;
  font-size:17px!important;
  font-weight:900!important;
  letter-spacing:.015em!important;
  text-shadow:0 0 12px rgba(240,185,11,.18);
}
#tab-binance-dashboard .binance-next-run-sub{
  color:#d6bd69!important;
  font-size:9px!important;
  font-weight:600;
}
#tab-binance-dashboard .binance-next-run-detail{
  color:#cdb66f!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:600;
  letter-spacing:.005em;
}
#tab-binance-dashboard .binance-next-run-badge{
  color:#c5a84c!important;
  font-size:8px!important;
  font-weight:700;
}
#tab-binance-dashboard .binance-next-run-strip.tone-good,
#tab-binance-dashboard .binance-next-run-strip.tone-warn,
#tab-binance-dashboard .binance-next-run-strip.tone-neutral{
  border-color:rgba(240,185,11,.30)!important;
}
#tab-binance-dashboard .binance-next-run-strip.tone-bad{
  border-color:rgba(255,93,115,.42)!important;
}
#tab-binance-dashboard .binance-next-run-strip.tone-bad .cockpit-status-icon{
  color:#ff7184!important;
  text-shadow:0 0 10px rgba(255,93,115,.18);
}

@media (max-width:620px){
  #tab-binance-dashboard .binance-next-run-strip .cockpit-next-run-time{
    font-size:15px!important;
  }
  #tab-binance-dashboard .binance-next-run-sub{
    font-size:9px!important;
  }
  #tab-binance-dashboard .binance-next-run-badge{
    font-size:7px!important;
  }
}


/* v3.1.151 - Header rebrand to System Trading Terminal + pulse identity + Market Session widget. */
.topbar-trading-brand{
  flex:0 0 340px!important;
  gap:12px!important;
}
.topbar-pulse-logo{
  flex:0 0 52px;
  width:52px;
  height:34px;
  overflow:visible;
}
.topbar-pulse-logo .pulse-badge{
  fill:rgba(7,25,40,.96);
  stroke:rgba(98,223,255,.22);
  stroke-width:1.15;
}
.topbar-pulse-logo .pulse-track{
  fill:none;
  stroke:url(#pulseTrackGradient);
  stroke-width:3.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.9;
}
.topbar-pulse-logo .pulse-line{
  fill:none;
  stroke:url(#pulseLineGradient);
  stroke-width:3.1;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:url(#pulseGlow);
}
.topbar-pulse-logo .pulse-dot{
  fill:#5de8ff;
  filter:url(#pulseGlow);
}
.topbar-pulse-logo .pulse-dot-left{fill:#17ccb9;}
.topbar-pulse-logo .pulse-dot-center{fill:#7ef3ff;}
.topbar-pulse-logo .pulse-dot-right{fill:#91d9ff;}
.topbar-trading-brand-copy{
  display:grid!important;
  align-items:center!important;
  gap:3px!important;
}
.topbar-trading-brand-copy strong{
  font-size:18px!important;
  letter-spacing:-.02em!important;
}
.topbar-trading-brand-copy span{
  display:block!important;
  color:#7fb6d2!important;
  font-size:10.5px!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.topbar-market-session{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:6px!important;
  width:196px!important;
  min-width:196px!important;
  max-width:196px!important;
  height:48px!important;
  padding:7px 10px!important;
  border:1px solid rgba(77,216,255,.14)!important;
  border-radius:10px!important;
  background:linear-gradient(180deg,rgba(10,28,43,.94),rgba(8,21,33,.94))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02), 0 10px 22px rgba(0,0,0,.16)!important;
}
.topbar-market-session-title{
  color:#7ea9bf!important;
  font-size:8px!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  line-height:1!important;
}
.topbar-market-session-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  min-width:0!important;
}
.market-session-pill{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:2px!important;
  min-width:0!important;
  padding:4px 6px!important;
  border-radius:9px!important;
  border:1px solid rgba(105,175,205,.17)!important;
  background:rgba(10,18,29,.78)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.market-session-pill .session-name{
  color:#80a8bd!important;
  font-size:7px!important;
  line-height:1!important;
  letter-spacing:.14em!important;
  font-weight:700!important;
  text-transform:uppercase!important;
}
.market-session-pill strong{
  color:#eef8fd!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.04em!important;
  white-space:nowrap!important;
}
.market-session-pill[data-tone="regular"] strong,
.market-session-pill[data-tone="live"] strong{color:#79f1ee!important;}
.market-session-pill[data-tone="pre"] strong,
.market-session-pill[data-tone="after"] strong{color:#ffcf76!important;}
.market-session-pill[data-tone="closed"] strong{color:#8ca6b6!important;}
.market-session-pill[data-tone="regular"]{border-color:rgba(41,214,181,.34)!important;background:linear-gradient(180deg,rgba(9,34,34,.96),rgba(8,22,24,.96))!important;}
.market-session-pill[data-tone="live"]{border-color:rgba(97,228,255,.34)!important;background:linear-gradient(180deg,rgba(8,31,37,.96),rgba(8,21,31,.96))!important;}
.market-session-pill[data-tone="pre"],
.market-session-pill[data-tone="after"]{border-color:rgba(255,190,88,.34)!important;background:linear-gradient(180deg,rgba(44,28,10,.96),rgba(28,20,10,.96))!important;}
.market-session-pill[data-tone="closed"]{background:linear-gradient(180deg,rgba(16,24,34,.96),rgba(10,18,28,.96))!important;}

@media (min-width:1101px){
  .topbar-right{gap:8px!important;}
  .topbar-ops-cluster{gap:8px!important;}
  #cockpit-cpu-card{flex:0 0 108px!important;width:108px!important;min-width:108px!important;max-width:108px!important;}
  #cockpit-ram-card{flex:0 0 175px!important;width:175px!important;min-width:175px!important;max-width:175px!important;}
  .topbar-market-session{flex:0 0 196px!important;}
  .topbar-fear-greed{flex:0 0 150px!important;min-width:150px!important;max-width:150px!important;}
  .topbar-clock-card{flex:0 0 206px!important;width:206px!important;min-width:206px!important;max-width:206px!important;}
}
@media (min-width:1101px) and (max-width:1500px){
  .topbar-trading-brand{flex-basis:292px!important;}
  .topbar-trading-brand-copy strong{font-size:16px!important;}
  .topbar-trading-brand-copy span{font-size:9.5px!important;}
  #cockpit-cpu-card{flex-basis:96px!important;width:96px!important;min-width:96px!important;max-width:96px!important;}
  #cockpit-ram-card{flex-basis:158px!important;width:158px!important;min-width:158px!important;max-width:158px!important;}
  .topbar-market-session{width:178px!important;min-width:178px!important;max-width:178px!important;padding-inline:8px!important;}
  .topbar-fear-greed{flex-basis:136px!important;min-width:136px!important;max-width:136px!important;}
  .topbar-clock-card{flex-basis:178px!important;width:178px!important;min-width:178px!important;max-width:178px!important;}
  .market-session-pill{padding:4px 5px!important;}
  .market-session-pill strong{font-size:9px!important;}
}
@media (max-width:1100px){
  .app-topbar{
    min-height:auto!important;
    height:auto!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  .topbar-trading-brand{
    flex:1 1 auto!important;
    min-width:0!important;
    height:auto!important;
    padding:2px 0 0 0!important;
  }
  .topbar-pulse-logo{width:44px!important;height:30px!important;flex-basis:44px!important;}
  .topbar-trading-brand-copy strong{font-size:15px!important;}
  .topbar-trading-brand-copy span{font-size:9px!important;}
  .topbar-right{
    grid-template-columns:minmax(165px,1.2fr) minmax(120px,.85fr) minmax(150px,1fr)!important;
    align-items:stretch!important;
  }
  .topbar-market-session{
    width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:46px!important;padding:6px 8px!important;
  }
  .topbar-market-session-title{font-size:7.5px!important;}
  .market-session-pill strong{font-size:9px!important;}
}
@media (max-width:620px){
  .topbar-right{
    grid-template-columns:minmax(72px,.58fr) minmax(104px,.82fr) minmax(134px,1.02fr)!important;
    gap:5px!important;
  }
  .topbar-pulse-logo{width:38px!important;height:27px!important;flex-basis:38px!important;}
  .topbar-trading-brand-copy strong{font-size:13px!important;}
  .topbar-trading-brand-copy span{display:none!important;}
  .topbar-market-session{
    padding:5px 6px!important;
    min-height:44px!important;
    gap:5px!important;
  }
  .topbar-market-session-grid{gap:4px!important;}
  .market-session-pill{padding:3px 5px!important;border-radius:8px!important;}
  .market-session-pill .session-name{font-size:6.5px!important;}
  .market-session-pill strong{font-size:8px!important;}
}


/* v3.1.152 - Desktop header alignment repair.
   The previous v3.1.151 header used fixed-width new widgets inside an older flex shell,
   which left uneven spacing and misalignment across the desktop runtime strip.
   Recompose the desktop topbar as a single explicit grid. */
@media (min-width:1101px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:minmax(300px,1fr) 108px 175px 196px 150px 206px!important;
    grid-template-areas:"brand cpu ram session fear clock"!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:8px!important;
    row-gap:0!important;
    min-height:60px!important;
  }
  .topbar-left{
    grid-area:brand!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    margin-right:0!important;
  }
  .topbar-right,
  .topbar-ops-cluster{
    display:contents!important;
  }
  #cockpit-cpu-card{
    grid-area:cpu!important;
    justify-self:stretch!important;
  }
  #cockpit-ram-card{
    grid-area:ram!important;
    justify-self:stretch!important;
  }
  .topbar-market-session{
    grid-area:session!important;
    justify-self:stretch!important;
  }
  .topbar-fear-greed{
    grid-area:fear!important;
    justify-self:stretch!important;
  }
  .topbar-clock-card{
    grid-area:clock!important;
    justify-self:stretch!important;
  }
}
@media (min-width:1101px) and (max-width:1500px){
  .app-topbar{
    grid-template-columns:minmax(250px,1fr) 96px 158px 178px 136px 178px!important;
  }
}


/* v3.1.153 - Correct the desktop grid ownership from v3.1.152.
   The first desktop grid cell belongs to the actual brand element, not the hidden mobile-nav wrapper. */
@media (min-width:1101px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:minmax(300px,1fr) 108px 175px 196px 150px 206px!important;
    grid-template-areas:"brand cpu ram session fear clock"!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:8px!important;
    min-height:60px!important;
    height:60px!important;
    overflow:hidden!important;
  }
  .app-topbar > .topbar-left{
    display:none!important;
  }
  .app-topbar > .topbar-trading-brand{
    grid-area:brand!important;
    display:flex!important;
    align-items:center!important;
    justify-self:start!important;
    align-self:center!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    height:48px!important;
    margin:0!important;
    padding:0 8px 0 0!important;
  }
  .app-topbar > .topbar-right,
  .app-topbar .topbar-ops-cluster{
    display:contents!important;
  }
  #cockpit-cpu-card{grid-area:cpu!important;}
  #cockpit-ram-card{grid-area:ram!important;}
  .topbar-market-session{grid-area:session!important;}
  .topbar-fear-greed{grid-area:fear!important;}
  .topbar-clock-card{grid-area:clock!important;}
  #cockpit-cpu-card,
  #cockpit-ram-card,
  .topbar-market-session,
  .topbar-fear-greed,
  .topbar-clock-card{
    justify-self:stretch!important;
    align-self:center!important;
    margin:0!important;
  }
}
@media (min-width:1101px) and (max-width:1500px){
  .app-topbar{
    grid-template-columns:minmax(250px,1fr) 96px 158px 178px 136px 178px!important;
  }
}


/* v3.1.154 - Reduce the oversized desktop gap between the brand and CPU cards.
   Keep the same six header widgets, but let the brand take only its content width and
   move the remaining free space to a trailing spacer column on the far right. */
@media (min-width:1101px){
  .app-topbar{
    grid-template-columns:max-content 108px 175px 196px 150px 206px minmax(0,1fr)!important;
    grid-template-areas:"brand cpu ram session fear clock ."!important;
    justify-content:start!important;
  }
  .app-topbar > .topbar-trading-brand{
    max-width:none!important;
    width:max-content!important;
    padding-right:4px!important;
  }
}
@media (min-width:1101px) and (max-width:1500px){
  .app-topbar{
    grid-template-columns:max-content 96px 158px 178px 136px 178px minmax(0,1fr)!important;
  }
}


/* v3.1.156 - Proportional full-width runtime header.
   Distribute all available header width across the visible widgets instead of moving
   unused space around. Market Session is now KR/US only and RAM text never ellipsizes. */
@media (min-width:1101px){
  .app-topbar{
    grid-template-columns:
      minmax(260px,1.38fr)
      minmax(92px,.54fr)
      minmax(220px,1.12fr)
      minmax(270px,1.28fr)
      minmax(150px,.82fr)
      minmax(205px,1.02fr)!important;
    grid-template-areas:"brand cpu ram session fear clock"!important;
    width:100%!important;
    justify-content:stretch!important;
    align-items:center!important;
    column-gap:8px!important;
    overflow:hidden!important;
  }
  .app-topbar > .topbar-trading-brand{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    justify-self:stretch!important;
    padding-right:8px!important;
  }
  #cockpit-cpu-card,
  #cockpit-ram-card,
  .topbar-market-session,
  .topbar-fear-greed,
  .topbar-clock-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  #cockpit-ram-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  #cockpit-ram-label{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:8.5px!important;
    letter-spacing:-.01em!important;
  }
  #cockpit-ram-value{
    font-size:13px!important;
    white-space:nowrap!important;
  }
  .topbar-market-session{
    height:48px!important;
    padding:6px 9px!important;
  }
  .topbar-market-session-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .market-session-pill{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    column-gap:7px!important;
    padding:5px 7px!important;
  }
  .market-session-pill .session-name{
    font-size:7.2px!important;
    letter-spacing:.08em!important;
    white-space:nowrap!important;
  }
  .market-session-pill strong{
    justify-self:end!important;
    font-size:9px!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
}
@media (min-width:1101px) and (max-width:1500px){
  .app-topbar{
    grid-template-columns:
      minmax(230px,1.28fr)
      minmax(78px,.48fr)
      minmax(185px,1.02fr)
      minmax(225px,1.12fr)
      minmax(126px,.72fr)
      minmax(170px,.92fr)!important;
    column-gap:6px!important;
  }
  .topbar-trading-brand-copy strong{font-size:15px!important;}
  .topbar-trading-brand-copy span{font-size:8.8px!important;}
  #cockpit-ram-label{font-size:7.6px!important;}
  #cockpit-ram-value{font-size:12px!important;}
  .topbar-market-session{padding-inline:7px!important;}
  .market-session-pill{padding-inline:5px!important;column-gap:5px!important;}
  .market-session-pill .session-name{font-size:6.6px!important;}
  .market-session-pill strong{font-size:8px!important;}
}
@media (max-width:1100px){
  .topbar-market-session-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .market-session-pill{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:5px!important;
  }
  .market-session-pill strong{
    justify-self:end!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  #cockpit-ram-label{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
}


/* v3.1.156 - Frameless global terminal header.
   The header is one continuous status bar. Individual runtime cards no longer float
   inside bordered boxes; slim separators define groups and only market-state pills
   retain compact state surfaces. */
@media (min-width:1101px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:
      minmax(300px,1.42fr)
      minmax(92px,.48fr)
      minmax(235px,1.08fr)
      minmax(300px,1.30fr)
      minmax(170px,.80fr)
      minmax(235px,1.02fr)!important;
    grid-template-areas:"brand cpu ram session fear clock"!important;
    align-items:stretch!important;
    column-gap:0!important;
    height:62px!important;
    min-height:62px!important;
    padding:0 14px!important;
    overflow:hidden!important;
    background:linear-gradient(180deg,rgba(7,25,38,.99) 0%,rgba(3,13,21,.995) 100%)!important;
    border-bottom:1px solid rgba(77,216,255,.20)!important;
    box-shadow:0 6px 18px rgba(0,0,0,.18)!important;
  }
  .app-topbar > .topbar-left{display:none!important;}
  .app-topbar > .topbar-trading-brand{
    grid-area:brand!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    align-items:center!important;
    justify-self:stretch!important;
    margin:0!important;
    padding:0 18px 0 0!important;
  }
  .app-topbar > .topbar-right,
  .app-topbar .topbar-ops-cluster{display:contents!important;}

  #cockpit-cpu-card{grid-area:cpu!important;}
  #cockpit-ram-card{grid-area:ram!important;}
  .topbar-market-session{grid-area:session!important;}
  .topbar-fear-greed{grid-area:fear!important;}
  .topbar-clock-card{grid-area:clock!important;}

  #cockpit-cpu-card,
  #cockpit-ram-card,
  .topbar-market-session,
  .topbar-fear-greed,
  .topbar-clock-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0 16px!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }

  #cockpit-cpu-card,
  #cockpit-ram-card{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  #cockpit-cpu-card .topbar-resource-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
  }
  #cockpit-cpu-card .topbar-op-label,
  #cockpit-ram-card .topbar-op-label{
    color:#82afc4!important;
    font-size:8px!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
  }
  #cockpit-cpu-card strong,
  #cockpit-ram-card strong{
    color:#f2f8fb!important;
    font-size:14px!important;
    font-weight:750!important;
    white-space:nowrap!important;
  }
  #cockpit-ram-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
  }
  #cockpit-ram-label{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    font-size:8.5px!important;
    letter-spacing:.01em!important;
  }

  .topbar-market-session{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:13px!important;
  }
  .topbar-market-session-title{
    margin:0!important;
    color:#7da9be!important;
    font-size:7.5px!important;
    font-weight:750!important;
    line-height:1!important;
    letter-spacing:.13em!important;
    white-space:nowrap!important;
  }
  .topbar-market-session-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
  }
  .market-session-pill{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    gap:3px!important;
    padding:6px 9px!important;
    border-radius:9px!important;
    border:1px solid rgba(88,173,207,.20)!important;
    background:rgba(8,20,31,.66)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
  }
  .market-session-pill .session-name{
    font-size:6.7px!important;
    letter-spacing:.10em!important;
    color:#7fa9bc!important;
    white-space:nowrap!important;
  }
  .market-session-pill strong{
    justify-self:start!important;
    font-size:9px!important;
    font-weight:750!important;
    text-align:left!important;
    white-space:nowrap!important;
  }
  .market-session-pill[data-tone="regular"]{
    border-color:rgba(41,214,181,.32)!important;
    background:rgba(7,38,35,.56)!important;
  }
  .market-session-pill[data-tone="pre"],
  .market-session-pill[data-tone="after"]{
    border-color:rgba(255,190,88,.30)!important;
    background:rgba(42,28,9,.50)!important;
  }
  .market-session-pill[data-tone="closed"]{
    border-color:rgba(111,145,163,.18)!important;
    background:rgba(12,22,31,.48)!important;
  }

  .topbar-fear-greed{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
  }
  .topbar-fear-greed .fear-greed-gauge{
    flex:0 0 30px!important;
    width:30px!important;
    height:30px!important;
  }
  .topbar-fear-greed .fear-greed-copy strong{font-size:9px!important;}
  .topbar-fear-greed .fear-greed-copy span{font-size:8px!important;}
  .topbar-fear-greed .fear-greed-copy small{font-size:6.5px!important;}

  .topbar-clock-card{
    display:grid!important;
    grid-template-rows:1fr 1fr!important;
    align-items:center!important;
    padding-right:0!important;
  }
  .topbar-clock-card .clock-row{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    align-items:center!important;
    gap:9px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  .topbar-clock-card .clock-row + .clock-row{
    border-top:1px solid rgba(77,216,255,.08)!important;
  }
  .topbar-clock-card .clock-city{
    color:#68dfff!important;
    font-size:8px!important;
    letter-spacing:.10em!important;
  }
  .topbar-clock-card .clock-value{
    justify-self:end!important;
    color:#e7f6fd!important;
    font-size:9px!important;
    white-space:nowrap!important;
  }
}

@media (min-width:1101px) and (max-width:1500px){
  .app-topbar{
    grid-template-columns:
      minmax(260px,1.30fr)
      minmax(80px,.44fr)
      minmax(195px,1fr)
      minmax(250px,1.18fr)
      minmax(145px,.76fr)
      minmax(190px,.94fr)!important;
    padding-inline:10px!important;
  }
  #cockpit-cpu-card,
  #cockpit-ram-card,
  .topbar-market-session,
  .topbar-fear-greed,
  .topbar-clock-card{padding-inline:11px!important;}
  .topbar-market-session{gap:9px!important;}
  .market-session-pill{padding-inline:7px!important;}
  #cockpit-ram-label{font-size:7.6px!important;}
  #cockpit-ram-card strong{font-size:12px!important;}
}

/* Mobile keeps the same frameless language while preserving the existing two-row shell. */
@media (max-width:1100px){
  body.view-dashboard .topbar-op-card,
  body.view-dashboard .topbar-market-session,
  body.view-dashboard .topbar-fear-greed,
  body.view-dashboard .topbar-clock-card{
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.view-dashboard .topbar-op-card,
  body.view-dashboard .topbar-market-session{
    border-color:rgba(77,216,255,.13)!important;
  }
}


/* v3.1.158 - Header typography readability + exact 50/50 world clock rows.
   Keep CPU/RAM percentage values unchanged; enlarge labels and supporting text. */
@media (min-width:1101px){
  /* Resource labels: values (e.g. 39.9%, 45.8%) intentionally unchanged. */
  #cockpit-cpu-card .topbar-op-label{
    font-size:10px!important;
    letter-spacing:.12em!important;
  }
  #cockpit-ram-label{
    font-size:10.5px!important;
    letter-spacing:.01em!important;
  }

  /* Market Session hierarchy. */
  .topbar-market-session-title{
    font-size:9.5px!important;
    letter-spacing:.12em!important;
  }
  .market-session-pill .session-name{
    font-size:8.7px!important;
    letter-spacing:.09em!important;
  }
  .market-session-pill strong{
    font-size:11px!important;
  }

  /* Sentiment copy; gauge number remains at its current size. */
  .topbar-fear-greed .fear-greed-copy strong{
    font-size:11px!important;
  }
  .topbar-fear-greed .fear-greed-copy span{
    font-size:10px!important;
  }
  .topbar-fear-greed .fear-greed-copy small{
    font-size:8.5px!important;
  }

  /* World clock: exactly two equal vertical halves. */
  .topbar-clock-card{
    display:grid!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  .topbar-clock-card .clock-row{
    height:100%!important;
    min-height:0!important;
    align-self:stretch!important;
    align-content:center!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    padding:0!important;
    margin:0!important;
  }
  .topbar-clock-card .clock-row + .clock-row{
    border-top:1px solid rgba(77,216,255,.10)!important;
    margin:0!important;
    padding:0!important;
  }
  .topbar-clock-card .clock-city{
    font-size:10px!important;
    letter-spacing:.09em!important;
  }
  .topbar-clock-card .clock-value{
    font-size:11px!important;
  }
}

@media (min-width:1101px) and (max-width:1500px){
  #cockpit-cpu-card .topbar-op-label{font-size:9px!important;}
  #cockpit-ram-label{font-size:9.2px!important;}
  .topbar-market-session-title{font-size:8.5px!important;}
  .market-session-pill .session-name{font-size:7.8px!important;}
  .market-session-pill strong{font-size:10px!important;}
  .topbar-fear-greed .fear-greed-copy strong{font-size:10px!important;}
  .topbar-fear-greed .fear-greed-copy span{font-size:9px!important;}
  .topbar-fear-greed .fear-greed-copy small{font-size:7.5px!important;}
  .topbar-clock-card .clock-city{font-size:9px!important;}
  .topbar-clock-card .clock-value{font-size:10px!important;}
}


/* v3.1.158 - Increase Fear & Greed copy readability without changing the gauge value size. */
@media (min-width:1101px){
  .topbar-fear-greed .fear-greed-copy strong{font-size:13px!important;}
  .topbar-fear-greed .fear-greed-copy span{font-size:12px!important;}
  .topbar-fear-greed .fear-greed-copy small{font-size:10.5px!important;}
}
@media (min-width:1101px) and (max-width:1500px){
  .topbar-fear-greed .fear-greed-copy strong{font-size:12px!important;}
  .topbar-fear-greed .fear-greed-copy span{font-size:11px!important;}
  .topbar-fear-greed .fear-greed-copy small{font-size:9.5px!important;}
}


/* v3.1.159 - Mobile dashboard header reflow: centered title row, taller pulse,
   and Fear & Greed moved beside Market Session. */
@media (max-width:620px){
  body.view-dashboard .app-topbar{
    grid-template-columns:38px minmax(0,1fr) 38px!important;
    grid-template-areas:
      "nav brand brand"
      "ops ops ops"!important;
    min-height:auto!important;
    padding:7px 8px!important;
    row-gap:7px!important;
  }
  body.view-dashboard .topbar-left{
    grid-area:nav!important;
    position:relative!important;
    z-index:2!important;
    align-self:center!important;
  }
  body.view-dashboard .topbar-trading-brand{
    grid-area:brand!important;
    grid-column:1 / -1!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    max-width:calc(100% - 52px)!important;
    min-width:0!important;
    height:40px!important;
    gap:8px!important;
    padding:0!important;
    margin:0 auto!important;
  }
  body.view-dashboard .topbar-pulse-logo{
    width:42px!important;
    height:32px!important;
    flex:0 0 42px!important;
  }
  body.view-dashboard .topbar-trading-brand-copy{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    min-width:0!important;
  }
  body.view-dashboard .topbar-trading-brand-copy strong{
    font-size:17px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-trading-brand-copy span{
    display:none!important;
  }
  body.view-dashboard .topbar-right{
    grid-area:ops!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:
      "cpu ram"
      "session fear"!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.view-dashboard .topbar-ops-cluster{display:contents!important;}
  body.view-dashboard #cockpit-cpu-card{
    grid-area:cpu!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
  }
  body.view-dashboard #cockpit-ram-card{
    grid-area:ram!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
  }
  body.view-dashboard .topbar-market-session{
    grid-area:session!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:50px!important;
    height:auto!important;
    padding:6px 8px!important;
    gap:5px!important;
  }
  body.view-dashboard .topbar-market-session-title{font-size:7px!important;}
  body.view-dashboard .topbar-market-session-grid{gap:4px!important;}
  body.view-dashboard .market-session-pill{padding:4px 6px!important;}
  body.view-dashboard .market-session-pill .session-name{font-size:6.5px!important;}
  body.view-dashboard .market-session-pill strong{font-size:8.5px!important;}
  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:50px!important;
    height:auto!important;
    padding:6px 8px!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{
    width:34px!important;
    height:34px!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge::after{inset:4px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge span{font-size:10px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy{
    min-width:0!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy strong{
    display:block!important;
    font-size:11px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy span{
    display:block!important;
    font-size:9px!important;
    font-weight:700!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy small{
    display:block!important;
    font-size:7px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.view-dashboard .topbar-clock-card{display:none!important;}
}

@media (max-width:390px){
  body.view-dashboard .app-topbar{
    grid-template-columns:36px minmax(0,1fr) 36px!important;
    padding:6px 7px!important;
    row-gap:6px!important;
  }
  body.view-dashboard .topbar-trading-brand{
    max-width:calc(100% - 46px)!important;
    gap:7px!important;
    height:38px!important;
  }
  body.view-dashboard .topbar-pulse-logo{
    width:40px!important;
    height:31px!important;
    flex-basis:40px!important;
  }
  body.view-dashboard .topbar-trading-brand-copy strong{font-size:15px!important;}
  body.view-dashboard .topbar-right{gap:5px!important;}
  body.view-dashboard #cockpit-cpu-card,
  body.view-dashboard #cockpit-ram-card{height:44px!important;min-height:44px!important;}
  body.view-dashboard .topbar-market-session,
  body.view-dashboard .topbar-fear-greed{min-height:48px!important;padding:5px 7px!important;}
  body.view-dashboard .topbar-fear-greed{grid-template-columns:30px minmax(0,1fr)!important;gap:5px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{width:30px!important;height:30px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy strong{font-size:10px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy span{font-size:8.5px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy small{display:none!important;}
}


/* v3.1.160 - Admin > Watchlist color alignment with Admin > Log/System.
   COLOR-ONLY OVERRIDE: do not change typography, font sizes, spacing, geometry or layout. */
#tab-watchlist{
  --admin-watchlist-accent:#c9abef;
  --admin-watchlist-primary:#f2eaff;
  --admin-watchlist-secondary:#cbb9df;
  --admin-watchlist-muted:#9986ae;
  --admin-watchlist-faint:#79698c;
  --admin-watchlist-border:rgba(180,138,232,.24);
  --admin-watchlist-border-soft:rgba(180,138,232,.16);
  --admin-watchlist-border-faint:rgba(180,138,232,.11);
  background:#000!important;
}

/* Main workspace shell mirrors Admin Log/System purple-black surfaces. */
#tab-watchlist .toss-watchlist-section{
  background:linear-gradient(180deg,rgba(31,23,43,.97) 0%,rgba(14,12,20,.99) 54%,rgba(0,0,0,.996) 100%)!important;
  border-color:var(--admin-watchlist-border)!important;
  box-shadow:inset 0 1px 0 rgba(225,204,255,.04),0 10px 24px rgba(0,0,0,.16)!important;
}
#tab-watchlist .toss-watchlist-section .monitor-title,
#tab-watchlist .toss-watchlist-editor-title,
#tab-watchlist .toss-watchlist-group-title{
  color:var(--admin-watchlist-accent)!important;
}

/* Configuration editor + group surfaces. */
#tab-watchlist .toss-watchlist-editor,
#tab-watchlist .toss-watchlist-config-group,
#tab-watchlist .toss-watchlist-card{
  background:linear-gradient(180deg,rgba(34,25,47,.90),rgba(2,2,4,.94))!important;
  border-color:var(--admin-watchlist-border-soft)!important;
  box-shadow:inset 0 1px 0 rgba(225,204,255,.025)!important;
}
#tab-watchlist .toss-watchlist-card:hover{
  border-color:rgba(199,160,244,.36)!important;
}
#tab-watchlist .toss-watchlist-group + .toss-watchlist-group{
  border-top-color:rgba(180,138,232,.13)!important;
}

/* Visual editor rows, empty states and table rows. */
#tab-watchlist .toss-watchlist-config-symbol-row,
#tab-watchlist .watchlist-inline-card,
#tab-watchlist .watchlist-dataset{
  background:linear-gradient(180deg,rgba(25,19,35,.88),rgba(3,3,5,.94))!important;
  border-color:rgba(180,138,232,.13)!important;
}
#tab-watchlist .toss-watchlist-config-symbol-empty,
#tab-watchlist .toss-watchlist-config-loading,
#tab-watchlist .toss-watchlist-config-empty,
#tab-watchlist .toss-watchlist-empty{
  border-color:rgba(180,138,232,.18)!important;
  background:rgba(16,12,23,.38)!important;
}
#tab-watchlist .watchlist-list-scroll,
#tab-watchlist .watchlist-card-scroll{
  background:linear-gradient(180deg,rgba(24,18,33,.91),rgba(1,1,2,.985))!important;
  border-color:rgba(180,138,232,.16)!important;
}
#tab-watchlist .watchlist-column-head,
#tab-watchlist .watchlist-quote-head{
  background:linear-gradient(180deg,rgba(48,35,65,.70),rgba(4,3,6,.84))!important;
  border-color:rgba(180,138,232,.13)!important;
}

/* Inputs/selects/raw editor: same dark-purple control family as Admin > System. */
#tab-watchlist .toss-watchlist-config-group-id,
#tab-watchlist .toss-watchlist-config-search,
#tab-watchlist .toss-watchlist-yaml,
#tab-watchlist .toss-watchlist-config-symbol-row select{
  background:linear-gradient(180deg,rgba(34,25,47,.92),rgba(2,2,4,.95))!important;
  border-color:rgba(180,138,232,.20)!important;
}
#tab-watchlist .toss-watchlist-config-group-id:focus,
#tab-watchlist .toss-watchlist-config-search:focus,
#tab-watchlist .toss-watchlist-yaml:focus,
#tab-watchlist .toss-watchlist-config-symbol-row select:focus{
  border-color:rgba(199,160,244,.58)!important;
  box-shadow:0 0 0 2px rgba(180,138,232,.08)!important;
}
#tab-watchlist .toss-watchlist-config-search-results{
  background:linear-gradient(180deg,rgba(31,23,43,.99),rgba(3,2,5,.995))!important;
  border-color:rgba(180,138,232,.28)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.48)!important;
}
#tab-watchlist .toss-watchlist-config-search-results button:hover:not(:disabled){
  background:rgba(150,105,211,.16)!important;
}

/* Move/reorder controls follow the Admin navigation purple accent. */
#tab-watchlist .toss-watchlist-icon-btn:not(.danger),
#tab-watchlist .toss-watchlist-editor-actions .secondary{
  background:linear-gradient(180deg,rgba(61,45,82,.92),rgba(21,16,29,.97))!important;
  border-color:rgba(186,145,235,.30)!important;
  box-shadow:inset 0 1px 0 rgba(229,211,255,.06)!important;
}
#tab-watchlist .toss-watchlist-icon-btn:not(.danger):not(:disabled):hover,
#tab-watchlist .toss-watchlist-editor-actions .secondary:hover{
  background:linear-gradient(180deg,rgba(75,55,101,.96),rgba(27,19,38,.99))!important;
  border-color:rgba(199,160,244,.46)!important;
}
#tab-watchlist .toss-watchlist-icon-btn:disabled{
  background:rgba(27,21,36,.58)!important;
  border-color:rgba(147,116,181,.16)!important;
}

/* Primary save action uses Admin purple instead of Toss/Binance blue-yellow identity. */
#tab-watchlist #toss-watchlist-editor-save{
  background:linear-gradient(180deg,rgba(145,99,207,.98),rgba(89,58,129,.98))!important;
  border-color:rgba(205,169,249,.58)!important;
  color:#fff7ff!important;
  box-shadow:inset 0 1px 0 rgba(239,224,255,.12),0 5px 14px rgba(63,34,98,.24)!important;
}
#tab-watchlist #toss-watchlist-editor-save:hover{
  background:linear-gradient(180deg,rgba(164,115,226,.99),rgba(104,68,151,.99))!important;
  border-color:rgba(218,187,255,.72)!important;
}

/* Keep destructive and P/L semantic colors; neutral/source badges move to Admin-neutral purple. */
#tab-watchlist .watchlist-provider-badge.auto{
  color:#c9b8dc!important;
  border-color:rgba(180,138,232,.24)!important;
  background:rgba(150,105,211,.10)!important;
}
#tab-watchlist .watchlist-provider-badge.yahoo{
  color:#d8bdf5!important;
  border-color:rgba(180,138,232,.30)!important;
  background:rgba(150,105,211,.13)!important;
}
#tab-watchlist .watchlist-session-badge.closed{
  border-color:rgba(180,138,232,.16)!important;
  background:rgba(43,34,55,.34)!important;
}

/* Color hierarchy only; typography values are intentionally untouched. */
#tab-watchlist .toss-watchlist-editor-path,
#tab-watchlist .toss-watchlist-editor-status,
#tab-watchlist .toss-watchlist-group-meta,
#tab-watchlist .toss-watchlist-config-group-tools>span,
#tab-watchlist .toss-watchlist-config-search-state,
#tab-watchlist .toss-watchlist-config-symbol-empty,
#tab-watchlist .toss-watchlist-config-loading,
#tab-watchlist .toss-watchlist-empty{
  color:var(--admin-watchlist-muted)!important;
}
#tab-watchlist .toss-watchlist-config-symbol-copy span,
#tab-watchlist .toss-watchlist-symbol-wrap span,
#tab-watchlist .toss-watchlist-editor-help,
#tab-watchlist .toss-watchlist-config-group-id-wrap label{
  color:var(--admin-watchlist-secondary)!important;
}
#tab-watchlist .toss-watchlist-config-symbol-copy strong,
#tab-watchlist .toss-watchlist-symbol-wrap strong,
#tab-watchlist .toss-watchlist-config-group-id,
#tab-watchlist .toss-watchlist-config-search,
#tab-watchlist .toss-watchlist-yaml{
  color:var(--admin-watchlist-primary)!important;
}


/* v3.1.161: Admin Watchlist symbol delete (×) button + provider popup readability.
   Color-only refinement; typography, sizing and layout stay unchanged. */
#tab-watchlist .toss-watchlist-icon-btn.danger[data-watchlist-action="symbol-delete"]{
  background:linear-gradient(180deg,rgba(55,31,65,.96),rgba(19,12,24,.99))!important;
  border-color:rgba(229,103,137,.40)!important;
  color:#ff8ea4!important;
  box-shadow:inset 0 1px 0 rgba(238,207,255,.05)!important;
}
#tab-watchlist .toss-watchlist-icon-btn.danger[data-watchlist-action="symbol-delete"]:hover{
  background:linear-gradient(180deg,rgba(83,35,58,.98),rgba(39,17,30,.995))!important;
  border-color:rgba(255,112,145,.66)!important;
  color:#ffd5de!important;
}

/* Native provider popup: closed select remains dark; opened option text stays black on light surfaces. */
#tab-watchlist .toss-watchlist-config-symbol-row select option{
  background:#f4f0f7!important;
  color:#120d16!important;
}
#tab-watchlist .toss-watchlist-config-symbol-row select option:checked{
  background:#d9c6ee!important;
  color:#100a14!important;
}


/* v3.1.163 - Folded-mobile Main Dashboard refinements.
   Desktop/foldable layouts remain unchanged. */
@media (max-width:620px){
  /* Market Session: keep KR/US identity and state on separate lines so labels never collide. */
  body.view-dashboard .topbar-market-session{
    min-width:0!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-market-session-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    min-width:0!important;
  }
  body.view-dashboard .market-session-pill{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    align-content:center!important;
    align-items:center!important;
    justify-items:start!important;
    gap:3px!important;
    min-width:0!important;
    overflow:hidden!important;
    padding:5px 7px!important;
  }
  body.view-dashboard .market-session-pill .session-name{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    font-size:6.5px!important;
    line-height:1!important;
    letter-spacing:.07em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.view-dashboard .market-session-pill strong{
    display:block!important;
    justify-self:start!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:8.5px!important;
    line-height:1.05!important;
    text-align:left!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  /* Dashboard section headings: title first line, metadata second line. Both stay single-line. */
  #tab-dashboard > .cockpit-market-overview > .monitor-header.cockpit-section-header,
  #tab-dashboard > .cockpit-dashboard-calendar > .monitor-header.cockpit-section-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:start!important;
    justify-items:start!important;
    gap:3px!important;
    margin-bottom:7px!important;
  }
  #tab-dashboard > .cockpit-market-overview .monitor-title,
  #tab-dashboard > .cockpit-dashboard-calendar .monitor-title{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    font-size:15px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #tab-dashboard > .cockpit-market-overview .monitor-meta,
  #tab-dashboard > .cockpit-dashboard-calendar .monitor-meta{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    font-size:8.5px!important;
    line-height:1.2!important;
    text-align:left!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media (max-width:390px){
  #tab-dashboard > .cockpit-market-overview .monitor-title,
  #tab-dashboard > .cockpit-dashboard-calendar .monitor-title{
    font-size:14px!important;
  }
  #tab-dashboard > .cockpit-market-overview .monitor-meta,
  #tab-dashboard > .cockpit-dashboard-calendar .monitor-meta{
    font-size:8px!important;
  }
}


/* v3.1.168 - Foldable / half-width desktop header parity.
   621-1100px previously inherited an old rule that hid Fear & Greed entirely.
   Keep CPU/RAM on row 1 and place Market Session + Fear & Greed on row 2.
   The world clock remains hidden at this intermediate width. */
@media (min-width:621px) and (max-width:1100px){
  body.view-dashboard .app-topbar{
    min-height:auto!important;
    height:auto!important;
  }
  body.view-dashboard .topbar-right{
    grid-area:ops!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:
      "cpu ram"
      "session fear"!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
  }
  body.view-dashboard .topbar-ops-cluster{display:contents!important;}
  body.view-dashboard #cockpit-cpu-card{
    grid-area:cpu!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.view-dashboard #cockpit-ram-card{
    grid-area:ram!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.view-dashboard .topbar-market-session{
    grid-area:session!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:50px!important;
    height:auto!important;
    align-self:stretch!important;
  }
  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:50px!important;
    height:auto!important;
    padding:7px 10px!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    overflow:hidden!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    border-color:rgba(77,216,255,.13)!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{
    width:38px!important;
    height:38px!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge::after{inset:4px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge span{font-size:11px!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy{
    min-width:0!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy strong{
    display:block!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy span{
    display:block!important;
    font-size:10.5px!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-fear-greed .fear-greed-copy small{
    display:block!important;
    font-size:8px!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-clock-card{display:none!important;}
}


/* v3.1.168 - Star Investors ranking medals + stronger rank legibility + avatar-ready fallback. */
.star-investor-stat-rank-row{
  grid-template-columns:24px minmax(0,1fr) auto;
  gap:9px;
}
.star-investor-stat-rank-index{
  width:22px!important;
  height:22px!important;
  border:1px solid rgba(130,174,198,.20)!important;
  background:linear-gradient(180deg,rgba(30,53,66,.92),rgba(12,31,42,.96))!important;
  color:#d9edf7!important;
  font-size:10px!important;
  font-weight:1000!important;
  line-height:1!important;
  text-shadow:0 1px 1px rgba(0,0,0,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.20);
}
.star-investor-stat-rank-row:nth-child(1) .star-investor-stat-rank-index{
  border-color:rgba(255,209,92,.78)!important;
  background:linear-gradient(145deg,#ffe58a 0%,#dba72d 52%,#8c6411 100%)!important;
  color:#241800!important;
  text-shadow:0 1px 0 rgba(255,255,255,.28);
  box-shadow:0 0 0 1px rgba(255,217,107,.12),0 3px 9px rgba(218,162,38,.25),inset 0 1px 0 rgba(255,255,255,.45);
}
.star-investor-stat-rank-row:nth-child(2) .star-investor-stat-rank-index{
  border-color:rgba(218,230,239,.72)!important;
  background:linear-gradient(145deg,#f2f7fa 0%,#aebcc7 53%,#667580 100%)!important;
  color:#12202a!important;
  text-shadow:0 1px 0 rgba(255,255,255,.34);
  box-shadow:0 0 0 1px rgba(220,235,245,.10),0 3px 8px rgba(154,176,190,.19),inset 0 1px 0 rgba(255,255,255,.55);
}
.star-investor-stat-rank-row:nth-child(3) .star-investor-stat-rank-index{
  border-color:rgba(225,152,92,.72)!important;
  background:linear-gradient(145deg,#e9ad78 0%,#a86637 54%,#654022 100%)!important;
  color:#fff4e7!important;
  text-shadow:0 1px 2px rgba(42,19,5,.78);
  box-shadow:0 0 0 1px rgba(225,152,92,.10),0 3px 8px rgba(151,87,41,.22),inset 0 1px 0 rgba(255,255,255,.28);
}

/* Use the same medal vocabulary inside each investor's Top Holdings list. */
.super-investor-position{
  grid-template-columns:22px minmax(0,1fr) auto!important;
}
.super-investor-position-rank{
  width:20px!important;
  height:20px!important;
  border:1px solid rgba(126,161,182,.16)!important;
  background:rgba(28,49,62,.76)!important;
  color:#c9dde8!important;
  font-size:9px!important;
  font-weight:1000!important;
  line-height:1!important;
}
.super-investor-position:nth-child(1) .super-investor-position-rank{
  border-color:rgba(255,209,92,.72)!important;
  background:linear-gradient(145deg,#ffe58a,#cf9825 58%,#7d570d)!important;
  color:#241800!important;
}
.super-investor-position:nth-child(2) .super-investor-position-rank{
  border-color:rgba(218,230,239,.67)!important;
  background:linear-gradient(145deg,#eef4f7,#a6b5bf 58%,#606f79)!important;
  color:#13212a!important;
}
.super-investor-position:nth-child(3) .super-investor-position-rank{
  border-color:rgba(224,150,90,.67)!important;
  background:linear-gradient(145deg,#e8ac76,#9d5f33 58%,#5d391f)!important;
  color:#fff4e7!important;
}

/* Avatar-ready shell: images can be added later via row.avatar_url; initials remain the guaranteed fallback. */
.super-investor-avatar{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
}
.super-investor-avatar-fallback{
  position:relative;
  z-index:1;
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
}
.super-investor-avatar-image{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:inherit;
  opacity:0;
  transition:opacity .16s ease;
}
.super-investor-avatar.has-image .super-investor-avatar-image{opacity:1;}
.super-investor-avatar.has-image .super-investor-avatar-fallback{visibility:hidden;}

@media(max-width:760px){
  .star-investor-stat-rank-row{grid-template-columns:25px minmax(0,1fr) auto;}
  .star-investor-stat-rank-index{width:23px!important;height:23px!important;font-size:10px!important;}
}


/* v3.1.168 - Star Investors pages 1-4 avatar expansion.
   Person illustrations use cover; institution marks use contain with a dark inset plate. */
.super-investor-avatar.avatar-kind-logo{
  background:radial-gradient(circle at 45% 35%,rgba(39,72,96,.92),rgba(8,22,35,.98) 72%)!important;
}
.super-investor-avatar.avatar-kind-logo .super-investor-avatar-image{
  object-fit:contain!important;
  object-position:center!important;
  padding:4px!important;
  box-sizing:border-box!important;
}
.super-investor-avatar.avatar-kind-person .super-investor-avatar-image{
  object-fit:cover!important;
  object-position:center 34%!important;
}


/* v3.1.168 - Page 2-4 premium portrait + institution brand refresh. */
.super-investor-avatar.avatar-kind-logo{
  background:linear-gradient(145deg,#f9fbfd,#e9eef4)!important;
  box-shadow:inset 0 0 0 1px rgba(151,169,188,.28),0 0 0 1px rgba(87,123,155,.22)!important;
}
.super-investor-avatar.avatar-kind-logo .super-investor-avatar-image{
  object-fit:contain!important;
  object-position:center!important;
  padding:2px!important;
  background:#f8fafc!important;
}
.super-investor-avatar.avatar-kind-person .super-investor-avatar-image{
  object-fit:cover!important;
  object-position:center 39%!important;
}

/* v3.2.0 - Star Investors consensus rebuild + universe discovery controls. */
.super-investors-controls{
  display:grid;
  grid-template-columns:minmax(260px,1.8fr) repeat(4,minmax(130px,.72fr)) auto auto;
  gap:8px;
  align-items:end;
  margin:10px 0 14px;
  padding:10px;
  border:1px solid rgba(80,177,207,.14);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(7,20,29,.82),rgba(4,13,20,.82));
}
.super-investors-search-field,
.super-investors-control{
  min-width:0;
}
.super-investors-search-field{
  display:flex;
  align-items:center;
  gap:8px;
  height:38px;
  padding:0 11px;
  border:1px solid rgba(101,173,204,.16);
  border-radius:9px;
  background:#06141d;
  color:#7894a4;
}
.super-investors-search-field:focus-within{border-color:rgba(67,222,214,.46);box-shadow:0 0 0 2px rgba(67,222,214,.05);}
.super-investors-search-field svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;flex:0 0 auto;}
.super-investors-search-field input{
  min-width:0;width:100%;border:0;outline:0;background:transparent;color:#dcebf1;font-size:10.5px;font-weight:700;
}
.super-investors-search-field input::placeholder{color:#607b8c;}
.super-investors-control{display:grid;gap:5px;}
.super-investors-control>span{padding-left:2px;font-size:7px;font-weight:950;letter-spacing:.08em;color:#6d899a;}
.super-investors-control select{
  width:100%;height:38px;padding:0 28px 0 10px;
  border:1px solid rgba(101,173,204,.16);border-radius:9px;
  outline:0;background:#06141d;color:#cfe1e9;font-size:9.5px;font-weight:850;cursor:pointer;
}
.super-investors-control select:focus{border-color:rgba(67,222,214,.46);box-shadow:0 0 0 2px rgba(67,222,214,.05);}
.super-investors-order,.super-investors-reset{
  height:38px;padding:0 11px;border:1px solid rgba(101,173,204,.16);border-radius:9px;
  background:#071821;color:#9eb6c3;font-size:8.5px;font-weight:950;letter-spacing:.04em;cursor:pointer;
}
.super-investors-order{display:flex;align-items:center;justify-content:center;gap:5px;min-width:68px;}
.super-investors-order-icon{font-size:14px;color:#47ded6;line-height:1;}
.super-investors-order:hover,.super-investors-reset:hover{border-color:rgba(67,222,214,.42);color:#e8faff;background:#0a2029;}
.super-investors-reset{color:#718d9d;}

.star-investor-statistics-summary{grid-template-columns:repeat(3,minmax(0,1fr));}
.star-investor-statistics-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;}
.star-investor-stat-card.bought{border-color:rgba(40,219,190,.20);}
.star-investor-stat-card.sold{border-color:rgba(255,105,128,.20);}
.star-investor-stat-card.bought .star-investor-stat-card-head{background:linear-gradient(90deg,rgba(34,176,157,.075),rgba(7,23,32,.72));}
.star-investor-stat-card.sold .star-investor-stat-card-head{background:linear-gradient(90deg,rgba(212,70,94,.07),rgba(7,23,32,.72));}
.star-investor-stat-rank-row{min-height:43px;padding:6px 9px;}
.star-investor-stat-rank-index{width:19px;height:19px;}
.star-investor-stat-rank-name strong{font-size:10px;}
.star-investor-stat-rank-name small{font-size:7.5px;}
.star-investor-stat-rank-value{font-size:9.5px;}

@media(max-width:1500px){
  .super-investors-controls{grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(125px,.75fr));}
  .super-investors-sort-control{grid-column:auto;}
  .super-investors-order,.super-investors-reset{align-self:end;}
}
@media(max-width:1100px){
  .super-investors-controls{grid-template-columns:repeat(3,minmax(0,1fr));}
  .super-investors-search-field{grid-column:1/-1;}
  .star-investor-statistics-grid{grid-template-columns:1fr;}
}
@media(max-width:760px){
  .super-investors-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px;}
  .super-investors-search-field{grid-column:1/-1;}
  .super-investors-order,.super-investors-reset{width:100%;}
  .star-investor-statistics-summary{grid-template-columns:1fr;}
  .star-investor-statistics-grid{grid-template-columns:1fr;}
  .star-investor-stat-rank-row{grid-template-columns:20px minmax(0,1fr) auto;}
}

/* v3.4.4 - move neutral Sign-In / Sign-Out action into the sidebar. */
.sidebar-session-action-wrap{
  width:100%;
  box-sizing:border-box;
  padding:0 4px 2px;
}
.sidebar-session-btn{
  display:block;
  width:100%;
  min-height:28px;
  padding:0 10px;
  border-radius:8px;
  background:linear-gradient(180deg,rgba(10,25,36,.96),rgba(5,13,20,.98));
  border-color:rgba(87,151,180,.28);
  color:#afc6d5;
  font-size:10px;
  letter-spacing:.07em;
  text-align:center;
}
.sidebar-session-btn:hover{
  border-color:rgba(77,208,225,.58);
  color:#e5fbff;
  background:linear-gradient(180deg,rgba(13,34,47,.98),rgba(6,17,25,.98));
}
.sidebar-session-btn[hidden]{display:none!important;}

/* v3.4.5 - World Clock placement repair + 13F Insights naming release.
   Current header contract:
   desktop   = Brand | Market Session | [World Clock above Fear & Greed]
   621-1100  = Brand row, then Market Session left + [World Clock above Fear & Greed] right
   <=620     = retain the compact Market Session + Fear & Greed mobile layout; clock stays hidden. */
@media (min-width:1101px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:minmax(260px,1fr) minmax(220px,320px) minmax(310px,420px)!important;
    grid-template-rows:24px minmax(42px,1fr)!important;
    grid-template-areas:
      "brand session clock"
      "brand session fear"!important;
    min-height:76px!important;
    height:76px!important;
    padding:4px 10px!important;
    column-gap:10px!important;
    row-gap:4px!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }
  .app-topbar > .topbar-left{display:none!important;}
  .app-topbar > .topbar-trading-brand{
    grid-area:brand!important;
    width:100%!important;
    height:auto!important;
    min-width:0!important;
    max-width:none!important;
    align-self:center!important;
    justify-self:stretch!important;
    margin:0!important;
  }
  .app-topbar > .topbar-right,
  .app-topbar .topbar-ops-cluster{display:contents!important;}
  .topbar-market-session{
    grid-area:session!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    margin:0!important;
  }
  .topbar-clock-card{
    grid-area:clock!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:24px!important;
    min-height:24px!important;
    padding:0 8px!important;
    margin:0!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    border:1px solid rgba(77,216,255,.13)!important;
    border-radius:7px!important;
    background:rgba(7,21,31,.72)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .topbar-clock-card .clock-row{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:7px!important;
    height:100%!important;
    min-height:0!important;
    padding:0 7px!important;
    margin:0!important;
    align-items:center!important;
    align-content:center!important;
    border:0!important;
    overflow:hidden!important;
  }
  .topbar-clock-card .clock-row + .clock-row{
    border-top:0!important;
    border-left:1px solid rgba(77,216,255,.10)!important;
    padding-top:0!important;
    margin-top:0!important;
  }
  .topbar-clock-card .clock-city{
    font-size:8.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .topbar-clock-card .clock-value{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
    font-size:9.5px!important;
    line-height:1!important;
  }
  .topbar-fear-greed{
    grid-area:fear!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    overflow:hidden!important;
  }
}

@media (min-width:621px) and (max-width:1100px){
  body.view-dashboard .app-topbar{
    min-height:auto!important;
    height:auto!important;
  }
  body.view-dashboard .topbar-right{
    grid-area:ops!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:24px minmax(50px,1fr)!important;
    grid-template-areas:
      "session clock"
      "session fear"!important;
    gap:6px 7px!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    align-items:stretch!important;
  }
  body.view-dashboard .topbar-ops-cluster{display:contents!important;}
  body.view-dashboard .topbar-market-session{
    grid-area:session!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:80px!important;
    align-self:stretch!important;
  }
  body.view-dashboard .topbar-clock-card{
    grid-area:clock!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:24px!important;
    min-height:24px!important;
    padding:0 5px!important;
    margin:0!important;
    border:1px solid rgba(77,216,255,.13)!important;
    border-radius:7px!important;
    background:rgba(7,21,31,.72)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-clock-card .clock-row{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:4px!important;
    height:100%!important;
    min-height:0!important;
    padding:0 5px!important;
    margin:0!important;
    align-items:center!important;
    align-content:center!important;
    border:0!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-clock-card .clock-row + .clock-row{
    border-top:0!important;
    border-left:1px solid rgba(77,216,255,.10)!important;
    padding-top:0!important;
    margin-top:0!important;
  }
  body.view-dashboard .topbar-clock-card .clock-city{
    font-size:7.5px!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-clock-card .clock-value{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
    font-size:8.5px!important;
  }
  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:50px!important;
    align-self:stretch!important;
    justify-self:stretch!important;
  }
}

@media (max-width:620px){
  body.view-dashboard .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:"session fear"!important;
    gap:6px!important;
  }
  body.view-dashboard .topbar-ops-cluster{display:contents!important;}
  body.view-dashboard .topbar-market-session{grid-area:session!important;}
  body.view-dashboard .topbar-fear-greed{grid-area:fear!important;}
  body.view-dashboard .topbar-clock-card{display:none!important;}
}

/* v3.4.7 - Restore the proven terminal header order after CPU/RAM removal.
   Desktop contract: Brand | Market Session | Fear & Greed | World Clock.
   World Clock owns the far-right column and is split vertically 50/50:
   SEOUL on top, NEW YORK on the bottom. Main Dashboard has no CPU/RAM surface. */
@media (min-width:1101px){
  .app-topbar{
    display:grid!important;
    grid-template-columns:
      minmax(250px,1.60fr)
      minmax(190px,1.00fr)
      minmax(180px,.95fr)
      minmax(220px,1.05fr)!important;
    grid-template-rows:62px!important;
    grid-template-areas:"brand session fear clock"!important;
    height:62px!important;
    min-height:62px!important;
    padding:0 14px!important;
    column-gap:0!important;
    row-gap:0!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }
  .app-topbar > .topbar-left{display:none!important;}
  .app-topbar > .topbar-trading-brand{
    grid-area:brand!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    align-items:center!important;
    justify-self:stretch!important;
    margin:0!important;
    padding:0 18px 0 0!important;
    box-sizing:border-box!important;
  }
  .app-topbar > .topbar-right,
  .app-topbar .topbar-ops-cluster{display:contents!important;}

  .topbar-market-session{
    grid-area:session!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .topbar-market-session-title{
    margin:0!important;
    font-size:9px!important;
    line-height:1!important;
    letter-spacing:.12em!important;
    white-space:nowrap!important;
  }
  .topbar-market-session-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
  }
  .market-session-pill{
    min-width:0!important;
    padding:5px 8px!important;
  }

  .topbar-fear-greed{
    grid-area:fear!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 16px!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .topbar-fear-greed .fear-greed-gauge{
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
  }
  .topbar-fear-greed .fear-greed-copy{min-width:0!important;}

  .topbar-clock-card{
    grid-area:clock!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 0 0 16px!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .topbar-clock-card .clock-row{
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    align-items:center!important;
    align-content:center!important;
    gap:9px!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 8px 0 0!important;
    border:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .topbar-clock-card .clock-row + .clock-row{
    border-top:1px solid rgba(77,216,255,.10)!important;
    border-left:0!important;
    margin:0!important;
    padding-top:0!important;
  }
  .topbar-clock-card .clock-city{
    font-size:9px!important;
    line-height:1!important;
    letter-spacing:.09em!important;
    white-space:nowrap!important;
  }
  .topbar-clock-card .clock-value{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
    justify-self:stretch!important;
    font-size:10px!important;
    line-height:1!important;
  }
}

/* Half-width desktop / unfolded foldables keep the same semantic order.
   The brand remains on the first row; status widgets use one second row. */
@media (min-width:621px) and (max-width:1100px){
  body.view-dashboard .app-topbar{
    min-height:auto!important;
    height:auto!important;
  }
  body.view-dashboard .topbar-right{
    grid-area:ops!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(190px,.85fr)!important;
    grid-template-rows:minmax(56px,1fr)!important;
    grid-template-areas:"session fear clock"!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
    height:60px!important;
    align-items:stretch!important;
  }
  body.view-dashboard .topbar-ops-cluster{display:contents!important;}
  body.view-dashboard .topbar-market-session{
    grid-area:session!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 9px!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-market-session-title{
    font-size:7.5px!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-market-session-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    min-width:0!important;
  }
  body.view-dashboard .market-session-pill{
    min-width:0!important;
    padding:4px 6px!important;
  }
  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 10px!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-clock-card{
    grid-area:clock!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 0 0 9px!important;
    border:0!important;
    border-left:1px solid rgba(77,216,255,.13)!important;
    border-radius:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-clock-card .clock-row{
    display:grid!important;
    grid-template-columns:62px minmax(0,1fr)!important;
    align-items:center!important;
    align-content:center!important;
    gap:5px!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 6px 0 0!important;
    border:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-clock-card .clock-row + .clock-row{
    border-top:1px solid rgba(77,216,255,.10)!important;
    border-left:0!important;
    margin:0!important;
    padding-top:0!important;
  }
  body.view-dashboard .topbar-clock-card .clock-city{
    font-size:8px!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-clock-card .clock-value{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
    font-size:8.5px!important;
  }
}

/* Phones retain the compact two-widget status row. */
@media (max-width:620px){
  body.view-dashboard .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:"session fear"!important;
    gap:6px!important;
  }
  body.view-dashboard .topbar-ops-cluster{display:contents!important;}
  body.view-dashboard .topbar-market-session{grid-area:session!important;}
  body.view-dashboard .topbar-fear-greed{grid-area:fear!important;}
  body.view-dashboard .topbar-clock-card{display:none!important;}
}

/* v3.4.7 - Keep SEOUL / NEW YORK timestamps on the exact same horizontal grid.
   The two timestamp strings have identical character counts, but proportional
   numerals (especially 1 vs 0) can make their left edges look staggered when
   right-aligned. Tabular numerals give every digit one advance width while
   preserving the proven right-edge alignment and terminal typography. */
@media (min-width:621px){
  body.view-dashboard .topbar-clock-card .clock-value{
    font-variant-numeric:tabular-nums lining-nums!important;
    font-feature-settings:"tnum" 1,"lnum" 1!important;
  }
}

/* v3.4.7 - Normalize both World Clock rows to the same right inset.
   A legacy second-row padding:0!important rule survived from an older layout,
   so NEW YORK extended 8px/6px farther right than SEOUL. */
@media (min-width:1101px){
  body.view-dashboard .topbar-clock-card .clock-row + .clock-row,
  .topbar-clock-card .clock-row + .clock-row{
    padding:0 8px 0 0!important;
  }
}
@media (min-width:621px) and (max-width:1100px){
  body.view-dashboard .topbar-clock-card .clock-row + .clock-row{
    padding:0 6px 0 0!important;
  }
}

/* v3.4.9 - Responsive status clocks.
   Full desktop keeps the dedicated far-right World Clock column.
   Half-width desktop / foldables and phones move SEOUL above Market Session
   and NEW YORK above Fear & Greed so both clocks remain visible without a
   third status column. */
.topbar-inline-clock{display:none;}

@media (min-width:621px) and (max-width:1100px){
  body.view-dashboard .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
    grid-template-rows:76px!important;
    grid-template-areas:"session fear"!important;
    gap:0!important;
    height:76px!important;
    align-items:stretch!important;
  }
  body.view-dashboard .topbar-clock-card{display:none!important;}

  body.view-dashboard .topbar-market-session{
    grid-area:session!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-rows:23px minmax(0,1fr)!important;
    grid-template-areas:
      "clock clock"
      "title pills"!important;
    align-items:center!important;
    gap:0 7px!important;
    padding:0 9px!important;
  }
  body.view-dashboard .topbar-market-session .topbar-inline-clock{
    grid-area:clock!important;
  }
  body.view-dashboard .topbar-market-session-title{grid-area:title!important;}
  body.view-dashboard .topbar-market-session-grid{grid-area:pills!important;}

  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    grid-template-rows:23px minmax(0,1fr)!important;
    grid-template-areas:
      "clock clock"
      "gauge copy"!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:0 8px!important;
    padding:0 10px!important;
  }
  body.view-dashboard .topbar-fear-greed .topbar-inline-clock{grid-area:clock!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{grid-area:gauge!important;justify-self:center!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy{grid-area:copy!important;}

  body.view-dashboard .topbar-inline-clock{
    display:grid!important;
    grid-template-columns:auto minmax(8px,1fr) auto auto!important;
    align-items:center!important;
    column-gap:7px!important;
    width:100%!important;
    min-width:0!important;
    height:23px!important;
    border-bottom:1px solid rgba(77,216,255,.10)!important;
    color:#7de8ff!important;
    font-variant-numeric:tabular-nums lining-nums!important;
    font-feature-settings:"tnum" 1,"lnum" 1!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-inline-clock-city{
    grid-column:1!important;
    font-size:8px!important;
    line-height:1!important;
    letter-spacing:.10em!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-inline-clock-date{
    grid-column:3!important;
    color:#a8bfd0!important;
    font-size:8px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-inline-clock-time{
    grid-column:4!important;
    color:#f2fbff!important;
    font-size:9px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

@media (max-width:620px){
  body.view-dashboard .topbar-right{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:"session fear"!important;
    gap:6px!important;
    align-items:stretch!important;
  }
  body.view-dashboard .topbar-clock-card{display:none!important;}

  body.view-dashboard .topbar-market-session{
    grid-area:session!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:21px auto auto!important;
    grid-template-areas:
      "clock"
      "title"
      "pills"!important;
    align-content:start!important;
    gap:4px!important;
    padding:6px 8px 7px!important;
  }
  body.view-dashboard .topbar-market-session .topbar-inline-clock{grid-area:clock!important;}
  body.view-dashboard .topbar-market-session-title{grid-area:title!important;margin:0!important;}
  body.view-dashboard .topbar-market-session-grid{grid-area:pills!important;}

  body.view-dashboard .topbar-fear-greed{
    grid-area:fear!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    grid-template-rows:21px minmax(54px,1fr)!important;
    grid-template-areas:
      "clock clock"
      "gauge copy"!important;
    align-items:center!important;
    gap:0 8px!important;
    padding:6px 8px 7px!important;
  }
  body.view-dashboard .topbar-fear-greed .topbar-inline-clock{grid-area:clock!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-gauge{grid-area:gauge!important;justify-self:center!important;}
  body.view-dashboard .topbar-fear-greed .fear-greed-copy{grid-area:copy!important;}

  body.view-dashboard .topbar-inline-clock{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:5px!important;
    width:100%!important;
    min-width:0!important;
    height:21px!important;
    border-bottom:1px solid rgba(77,216,255,.10)!important;
    font-variant-numeric:tabular-nums lining-nums!important;
    font-feature-settings:"tnum" 1,"lnum" 1!important;
    overflow:hidden!important;
  }
  body.view-dashboard .topbar-inline-clock-city{
    grid-column:1!important;
    color:#7de8ff!important;
    font-size:7.5px!important;
    line-height:1!important;
    letter-spacing:.08em!important;
    white-space:nowrap!important;
  }
  body.view-dashboard .topbar-inline-clock-date{display:none!important;}
  body.view-dashboard .topbar-inline-clock-time{
    grid-column:3!important;
    color:#f2fbff!important;
    font-size:9px!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-align:right!important;
  }
}

/* v3.4.9 - Guest manual refresh controls stay absent until Admin auth is confirmed. */
#market-refresh[hidden],
#listing-news-refresh[hidden],
#crypto-research-refresh[hidden]{display:none!important;}
