/* Luma Quant — base styles (loaded in order from web/index.html) */
    :root {
      color-scheme: light;
      --ink: #1f2937;
      --muted: #6b7280;
      --line: #d6dbe4;
      --panel: #ffffff;
      --accent: #2563eb;
      --green: #059669;
      --red: #dc2626;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: #f5f7fb;
    }
    header {
      padding: 14px 24px;
      border-bottom: 1px solid var(--line);
      background: var(--panel);
      display: flex;
      align-items: center;
      gap: 16px;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 20;
    }
    h1 { margin: 0; font-size: 24px; }
    .brand-subtitle { color: var(--muted); font-size: 12px; margin-top: 2px; }
    .brand-lockup {
      position: relative;
      display: flex;
      align-items: center;
      gap: 11px;
      min-width: 260px;
    }
    .brand-mark-frame {
      width: 46px;
      height: 46px;
      min-width: 46px;
      margin: 0;
      padding: 4px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(97, 215, 255, 0.24);
      border-radius: 11px;
      background: linear-gradient(145deg, rgba(77,141,255,0.13), rgba(97,215,255,0.03));
      box-shadow: 0 6px 20px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.05);
    }
    .brand-mark {
      display: block;
      width: 37px;
      height: 37px;
      object-fit: contain;
    }
    .brand-copy { min-width: 0; }
    .top-nav {
      display: flex;
      gap: 4px;
      padding: 4px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f8fafc;
    }
    button.nav-tab {
      width: auto;
      height: auto;
      min-height: 34px;
      margin: 0;
      padding: 4px 14px;
      border-radius: 4px;
      color: var(--muted);
      background: transparent;
      font-size: 13px;
      line-height: 1.25;
      word-break: keep-all;
    }
    button.nav-tab.active { color: white; background: var(--ink); }
    [hidden] { display: none !important; }
    main {
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr) 300px;
      gap: 18px;
      padding: 18px;
      min-height: calc(100vh - 72px);
    }
    aside, section {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 16px;
    }
    label { display: block; margin: 14px 0 6px; font-weight: 650; }
    input, select, button {
      width: 100%;
      height: 38px;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      padding: 0 10px;
      font: inherit;
      background: white;
    }
    button {
      margin-top: 12px;
      background: var(--accent);
      color: white;
      border: 0;
      font-weight: 700;
      cursor: pointer;
    }
    button.secondary { background: #374151; }
    .chart-card { min-width: 0; position: relative; display: flex; flex-direction: column; }
    .chart-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
    .chart-title .ct-name { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.1; }
    .chart-title .ct-symbol { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
    .symbol-name { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.3; word-break: break-word; }
    .symbol-name strong { color: var(--ink); font-weight: 650; }
    .indicator-snapshot {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }
    .indicator-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .indicator-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
    .indicator-sub { color: var(--muted); font-size: 12px; }
    .indicator-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
      gap: 10px;
      align-content: start;
    }
    .indicator-tile {
      background: var(--bg-soft, #f1f5f9);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 10px 12px;
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
    }
    .indicator-tile .it-label {
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.03em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .indicator-tile .it-value {
      font-size: 18px;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      line-height: 1.15;
    }
    .indicator-tile .it-sub {
      font-size: 12px;
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }
    .indicator-tile .it-tag {
      align-self: flex-start;
      font-size: 10px;
      font-weight: 700;
      padding: 1px 6px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-top: 1px;
    }
    .indicator-tile .it-tag.pos { background: rgba(38,194,129,0.16); color: var(--green); }
    .indicator-tile .it-tag.neg { background: rgba(255,84,112,0.16); color: var(--red); }
    .indicator-tile .it-tag.neutral { background: rgba(120,130,150,0.18); color: var(--muted); }
    .it-bar {
      height: 5px;
      border-radius: 999px;
      background: var(--line);
      position: relative;
      margin-top: 5px;
      overflow: hidden;
    }
    .it-bar > span {
      position: absolute;
      top: -2px;
      width: 3px;
      height: 9px;
      border-radius: 2px;
      background: var(--accent);
      transform: translateX(-1.5px);
    }
    /* ---- per-chart fullscreen ("放大") support ---- */
    .chart-expand-host { position: relative; }
    .chart-expand-btn {
      position: absolute;
      top: 8px;
      right: 8px;
      z-index: 15;
      width: 30px;
      height: 30px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line, rgba(148,163,184,0.4));
      border-radius: 6px;
      background: rgba(15, 23, 42, 0.55);
      color: var(--text, #e2e8f0);
      cursor: pointer;
      opacity: 0.5;
      font-weight: 400;
      transition: opacity 0.15s ease, background 0.15s ease;
    }
    .chart-expand-host:hover .chart-expand-btn { opacity: 0.9; }
    .chart-expand-btn:hover { opacity: 1; background: rgba(30, 41, 59, 0.85); }
    .chart-expand-btn svg { width: 16px; height: 16px; display: block; }
    .chart-expand-host:fullscreen,
    .chart-expand-host:-webkit-full-screen {
      width: 100vw;
      height: 100vh;
      box-sizing: border-box;
      padding: 22px;
      background: var(--bg-soft, #0b1020);
      display: flex;
      flex-direction: column;
    }
    .chart-expand-host:fullscreen > canvas,
    .chart-expand-host:-webkit-full-screen > canvas {
      flex: 1 1 auto;
      width: 100% !important;
      height: 100% !important;
      min-height: 0;
    }
    canvas {
      width: 100%;
      height: 680px;
      display: block;
      background: white;
      border: 1px solid var(--line);
      border-radius: 6px;
    }
    .chart-tooltip {
      position: absolute;
      display: none;
      z-index: 10;
      min-width: 190px;
      padding: 10px 12px;
      border-radius: 6px;
      background: rgba(17, 24, 39, 0.94);
      color: #ffffff;
      font-size: 12px;
      line-height: 1.55;
      pointer-events: none;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
    }
    .chart-tooltip strong { display: block; margin-bottom: 3px; }
    .chart-tooltip .up { color: var(--gain-tooltip, #6ee7b7); }
    .chart-tooltip .down { color: var(--loss-tooltip, #fca5a5); }
    .up { color: var(--gain, var(--green)); }
    .down { color: var(--loss, var(--red)); }
    
    .hint { color: var(--muted); font-size: 13px; margin-top: 10px; }
    .source-card {
      margin-top: 14px;
      padding: 10px 12px;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      background: #f8fafc;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }
    .source-card strong {
      display: block;
      margin-bottom: 3px;
      color: var(--ink);
      font-size: 13px;
    }
    .source-card.ready strong { color: var(--green); }
    .source-card.error strong { color: var(--red); }
    .strategy-options {
      display: grid;
      gap: 7px;
      margin-top: 8px;
    }
    .strategy-option {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 66px;
      align-items: center;
      gap: 8px;
      margin: 0;
      font-size: 13px;
      font-weight: 600;
    }
    .strategy-toggle {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      margin: 0;
      cursor: pointer;
      font-size: 13px;
    }
    .strategy-toggle input {
      width: 16px;
      height: 16px;
      margin: 0;
      flex: 0 0 auto;
      accent-color: var(--accent);
    }
    .strategy-weight-wrap {
      display: grid;
      grid-template-columns: 46px 14px;
      align-items: center;
      gap: 3px;
      color: var(--muted);
      font-size: 12px;
    }
    input.strategy-weight {
      width: 46px;
      height: 30px;
      padding: 0 4px;
      text-align: right;
      font-size: 12px;
    }
    .strategy-panel { grid-column: 2 / 4; }
    .strategy-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 14px;
    }
    .strategy-header h2 { margin: 0; }
    .strategy-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
    .strategy-header-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 7px;
    }
    .fit-status {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      min-height: 18px;
      text-align: right;
    }
    .fit-status.loading::before {
      content: "";
      width: 13px;
      height: 13px;
      border: 2px solid #cbd5e1;
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: fitSpin 0.8s linear infinite;
      flex: 0 0 auto;
    }
    @keyframes fitSpin {
      to { transform: rotate(360deg); }
    }
    label.trade-marker-toggle {
      display: flex;
      align-items: center;
      gap: 7px;
      margin: 0;
      color: var(--ink);
      font-size: 12px;
      white-space: nowrap;
    }
    .trade-marker-toggle input { width: 16px; height: 16px; margin: 0; padding: 0; }
    .strategy-metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
      gap: 10px;
      margin-bottom: 16px;
    }
    .strategy-stat {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px 12px;
    }
    .strategy-stat span { display: block; color: var(--muted); font-size: 12px; }
    .strategy-stat strong { display: block; margin-top: 4px; font-size: 21px; }
    .strategy-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .strategy-table th, .strategy-table td {
      text-align: right;
      padding: 9px 10px;
      border-bottom: 1px solid #e5e7eb;
    }
    .strategy-table th:nth-child(-n+2), .strategy-table td:nth-child(-n+2) { text-align: left; }
    .strategy-table th:nth-child(2), .strategy-table td:nth-child(2) { min-width: 165px; }
	    #strategyChart { height: 300px; margin-top: 16px; }
	    .strategy-chart-wrap { position: relative; min-width: 0; }
    .analytics-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px;
    }
    .mini-btn {
      width: auto; height: 28px; margin: 0; padding: 0 12px;
      font-size: 12px; font-weight: 650; border-radius: 6px;
      background: rgba(77, 141, 255, 0.16); color: #93c5fd;
      border: 1px solid rgba(77, 141, 255, 0.4); cursor: pointer;
    }
    .mini-btn:hover { background: rgba(77, 141, 255, 0.28); }
    .analytics-card {
      border: 1px solid var(--line, #232b3d); border-radius: 8px; padding: 10px 12px;
      background: rgba(13, 18, 32, 0.55); min-width: 0;
    }
    .analytics-card h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted, #9aa4bb); font-weight: 650; }
    .analytics-card canvas { width: 100%; height: 190px; display: block; }
    .monthly-returns-wrap { margin-top: 14px; }
    .monthly-returns-wrap h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted, #9aa4bb); font-weight: 650; }
    .monthly-returns { overflow-x: auto; }
    .monthly-returns table { border-collapse: collapse; font-size: 11.5px; width: 100%; }
    .monthly-returns th, .monthly-returns td {
      padding: 4px 6px; text-align: right; border: 1px solid var(--line, #232b3d);
      min-width: 46px; white-space: nowrap; font-variant-numeric: tabular-nums;
    }
    .monthly-returns th { color: var(--muted, #9aa4bb); font-weight: 650; }
    .monthly-returns td:first-child, .monthly-returns th:first-child { text-align: left; font-weight: 650; }
    @media (max-width: 980px) { .analytics-grid { grid-template-columns: 1fr; } }
    .strategy-pie-wrap {
      display: grid;
      grid-template-columns: minmax(170px, 0.32fr) minmax(260px, 0.68fr);
      align-items: center;
      gap: 14px;
      margin-top: 16px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f8fafc;
    }
    .strategy-pie-copy h3 { margin: 0 0 4px; font-size: 16px; }
    .strategy-pie-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
    #strategyPieChart {
      width: 100%;
      height: 230px;
      border: 0;
      background: transparent;
    }
    .strategy-mix-visual {
      display: grid;
      grid-template-columns: minmax(220px, 0.62fr) minmax(180px, 0.38fr);
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
    .strategy-mix-list {
      display: grid;
      gap: 8px;
      min-width: 0;
      font-size: 12px;
    }
    .strategy-mix-row {
      min-width: 0;
      border-left: 6px solid var(--strategy-mix-color, var(--accent));
      padding-left: 12px;
    }
    .strategy-mix-name { color: var(--ink); font-size: 16px; font-weight: 750; line-height: 1.25; }
    .strategy-mix-value { margin-top: 6px; color: var(--strategy-mix-color, var(--accent)); font-size: 30px; font-variant-numeric: tabular-nums; font-weight: 850; }
    .strategy-mix-hint { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
    .strategy-mix-empty {
      color: var(--muted);
      line-height: 1.45;
    }
    .paper-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(120px, 1fr));
      gap: 10px;
      margin-top: 16px;
    }
    .paper-stat {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px 12px;
      background: #f8fafc;
    }
    .paper-stat span { display: block; color: var(--muted); font-size: 12px; }
    .paper-stat strong { display: block; margin-top: 4px; font-size: 19px; }
    .paper-log-wrap { max-height: 170px; overflow: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; }
    .paper-toolbar { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; }
    .paper-toolbar label { margin: 0; color: var(--muted); white-space: nowrap; }
    .paper-toolbar select { width: auto; min-width: 140px; }
    .corr-matrix-wrap { overflow: auto; max-height: 320px; }
    .corr-matrix { border-collapse: collapse; font-size: 11px; margin: 4px auto 0; font-variant-numeric: tabular-nums; }
    .corr-matrix th { padding: 4px 6px; color: var(--muted); font-weight: 600; text-align: center; }
    .corr-matrix td { min-width: 42px; padding: 6px 4px; text-align: center; border: 1px solid rgba(127, 127, 127, 0.18); }
    .paper-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .paper-table th, .paper-table td { padding: 8px 9px; border-bottom: 1px solid #e5e7eb; text-align: right; }
    .paper-table th:first-child, .paper-table td:first-child { text-align: left; }
	    .metric { margin-bottom: 22px; }
    .metric span { color: var(--muted); display: block; font-size: 13px; margin-bottom: 4px; }
    .metric strong { font-size: 30px; letter-spacing: 0; }
    .status {
      color: var(--muted); min-height: 22px; max-width: 340px;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default;
    }
    main.pulse-view {
      display: block;
      max-width: 1500px;
      margin: 0 auto;
      padding: 22px;
    }
    .pulse-toolbar {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 18px;
    }
    .pulse-toolbar h2 { margin: 0; font-size: 26px; }
    .pulse-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .pulse-control { width: 220px; flex: 0 0 auto; }
    .pulse-control label { margin-top: 0; }
    .industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .industry-card {
      min-width: 0;
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 16px;
    }
    .industry-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
    .industry-rank { color: var(--accent); font-size: 12px; font-weight: 750; text-transform: uppercase; }
    .industry-card h3 { margin: 3px 0 0; font-size: 19px; }
    .heat-score { text-align: right; white-space: nowrap; }
    .heat-score strong { display: block; font-size: 25px; }
    .heat-score span { color: var(--muted); font-size: 11px; }
    .industry-stats { display: flex; gap: 18px; margin: 14px 0; padding: 10px 0; border-block: 1px solid #e5e7eb; }
    .industry-stats span { color: var(--muted); font-size: 11px; }
    .industry-stats strong { display: block; margin-top: 2px; color: var(--ink); font-size: 16px; }
    .industry-reason { min-height: 58px; margin: 0 0 10px; color: #475569; font-size: 13px; line-height: 1.5; }
    .headline-list { margin: 0 0 13px; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
    .headline-list li { margin-bottom: 4px; }
    .headline-list a { color: var(--accent); text-decoration: none; }
    .headline-list a:hover { text-decoration: underline; }
    .stock-table-wrap { overflow-x: auto; }
    .stock-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .stock-table th, .stock-table td { padding: 7px 6px; border-bottom: 1px solid #edf0f4; text-align: right; }
    .stock-table th { color: var(--muted); font-weight: 650; }
    .stock-table th:nth-child(2), .stock-table td:nth-child(2) { text-align: left; }
    .ticker-symbol { font-weight: 750; color: var(--ink); }
    .pulse-meta { margin-top: 14px; color: var(--muted); font-size: 12px; }
    .pulse-loading { padding: 48px 16px; text-align: center; color: var(--muted); }
    main.portfolio-view {
      display: grid;
      grid-template-columns: 330px minmax(0, 1fr);
      gap: 18px;
      max-width: 1500px;
      margin: 0 auto;
      padding: 22px;
    }
    .portfolio-panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 16px;
      min-width: 0;
    }
    .portfolio-panel h2 { margin: 0 0 5px; font-size: 24px; }
    .portfolio-panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
    .portfolio-status {
      min-height: 20px;
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
    }
    textarea#portfolioSymbols {
      min-height: 116px;
      resize: vertical;
      line-height: 1.35;
    }
    .portfolio-metrics {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 10px;
      margin: 14px 0 16px;
    }
    .portfolio-chart-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.68fr) minmax(220px, 0.32fr);
      gap: 14px;
      align-items: stretch;
      margin-bottom: 14px;
    }
    #portfolioChart, #portfolioWeightChart {
      height: 300px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
    }
    #portfolioChart { width: 100%; display: block; }
    .portfolio-table-wrap {
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: 6px;
    }
    .portfolio-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
    }
    .portfolio-table th, .portfolio-table td {
      padding: 8px 9px;
      border-bottom: 1px solid #e5e7eb;
      text-align: right;
      white-space: nowrap;
    }
    .portfolio-table th:nth-child(-n+3), .portfolio-table td:nth-child(-n+3) { text-align: left; }
    @media (max-width: 1000px) {
      main { grid-template-columns: 1fr; }
      main.portfolio-view { grid-template-columns: 1fr; }
      .strategy-panel { grid-column: auto; }
      .strategy-header { flex-direction: column; gap: 10px; }
      .strategy-header-actions { align-items: flex-start; }
      .strategy-metrics { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
      .strategy-pie-wrap { grid-template-columns: 1fr; }
      .portfolio-chart-grid { grid-template-columns: 1fr; }
      canvas { height: 520px; }
      .industry-grid { grid-template-columns: 1fr; }
      header { flex-wrap: wrap; }
      .brand-lockup { min-width: 0; flex: 1 1 auto; }
      .top-nav { order: 3; width: 100%; }
      button.nav-tab { flex: 1; }
      .pulse-toolbar { align-items: stretch; flex-direction: column; }
      .pulse-control { width: 100%; }
    }

    
tr.strategy-unused td { color: var(--muted); font-size: 12px; font-style: italic; }
/* strategy list: used strategies only + add search (strategy-list.js) */
.strategy-option.tl-hidden { display: none; }
.tl-tag { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 999px; font-size: 10px; font-weight: 650; color: #c4b5fd; border: 1px solid rgba(196,181,253,0.45); white-space: nowrap; }
.tl-tag.strategy { color: #93c5fd; border-color: rgba(147,197,253,0.45); margin-left: 0; }
.tl-tag.factor { margin-left: 0; }
.tl-factor-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tl-strategy-tools { margin-top: 8px; display: grid; gap: 8px; }
.tl-strategy-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; font-size: 11.5px; color: var(--muted); }
button.tl-link { width: auto; height: auto; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; color: #93c5fd; font-size: 11.5px; font-weight: 650; cursor: pointer; }
button.tl-link:hover { text-decoration: underline; filter: none; }
.tl-add { position: relative; }
.tl-add input { width: 100%; box-sizing: border-box; height: 34px; font-size: 12.5px; }
.tl-add-list { position: absolute; left: 0; width: max(100%, min(400px, calc(100vw - 32px))); top: calc(100% + 4px); z-index: 30; max-height: 320px; overflow-y: auto; background: var(--panel, #121826); border: 1px solid var(--line, #232b3d); border-radius: 8px; box-shadow: 0 16px 36px rgba(0,0,0,0.45); padding: 4px; }
button.tl-add-item { display: flex; align-items: center; gap: 7px; width: 100%; height: auto; margin: 0; padding: 7px 8px; border: 0; border-radius: 6px; background: none; box-shadow: none; color: var(--ink); font-size: 12.5px; font-weight: 550; text-align: left; cursor: pointer; }
button.tl-add-item:hover { background: rgba(77,141,255,0.12); filter: none; }
button.tl-add-item.on { opacity: .6; }
.tl-add-name { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.tl-add-sub { flex: 0 0 auto; font-size: 11px; color: var(--muted); }
.tl-add-empty { padding: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { #tradingView > aside > .tl-strategy-tools { grid-column: 1 / -1; } }
