.tb-indicator-settings { font-size: 18px !important; line-height: 1 !important; min-width: 34px !important; padding-inline: 9px !important; }
.tb-indicator-layer { pointer-events: none; overflow: visible; }
.tb-indicator-badge { pointer-events: auto; cursor: help; }
.tb-indicator-badge-bg { fill: rgba(6, 10, 18, .66); stroke: rgba(255, 255, 255, .10); stroke-width: .8; }
.tb-indicator-badge:hover .tb-indicator-badge-bg, .tb-indicator-badge:focus .tb-indicator-badge-bg { fill: rgba(10, 16, 27, .88); stroke: currentColor; stroke-opacity: .8; }
.tb-indicator-badge-passive { opacity: .78; }
.tb-indicator-badge-live .tb-indicator-badge-bg { stroke: currentColor; stroke-opacity: .55; filter: drop-shadow(0 0 3px currentColor); }
.tb-indicator-badge-text { fill: rgba(238, 246, 252, .95); text-anchor: start; font: 600 10px/1 'Inter', 'Segoe UI', system-ui, sans-serif; letter-spacing: .02em; pointer-events: none; }
.tb-indicator-glyph { pointer-events: none; }
.tb-indicator-glyph-track { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.tb-indicator-glyph-arc { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.tb-indicator-glyph-line-strong { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tb-indicator-glyph-line-soft { stroke: rgba(255, 255, 255, .5); stroke-width: 1.1; stroke-linecap: round; }
.tb-indicator-glyph-bar { fill: currentColor; }
.tb-indicator-glyph-dot { fill: currentColor; }
.tb-indicator-tooltip { position: fixed; z-index: 1000100; display: none; width: min(340px, calc(100vw - 16px)); padding: 12px 14px; border: 1px solid rgba(42,231,255,.62); border-radius: 9px; background: rgba(4,10,20,.97); color: #eaf8ff; box-shadow: 0 12px 36px rgba(0,0,0,.58), 0 0 16px rgba(42,231,255,.16); font: 13px/1.35 system-ui,sans-serif; pointer-events: none; }
.tb-indicator-tooltip.is-visible { display: grid; gap: 4px; }
.tb-indicator-tooltip strong { color: #8eeeff; font-size: 14px; }
.tb-indicator-tooltip b { color: #fff; font-size: 14px; }
.tb-indicator-tooltip span { color: #d3e4f0; }
.tb-indicator-tooltip small { color: #8fa8ba; font-size: 11px; }
.tb-indicator-hover-values { margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(148,163,184,.22); color: #cfe6f2; font: 11px/1.5 system-ui,sans-serif; }
.tb-indicator-hover-title { margin-bottom: 3px; color: #8eeeff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tb-indicator-hover-row { display: flex; justify-content: space-between; gap: 14px; }
.tb-indicator-hover-row span { color: #9fb4c8; }
.tb-indicator-hover-row b { color: #eaf6ff; font-weight: 600; }
.tb-indicator-hover-bullish b { color: #35e08a; }
.tb-indicator-hover-bearish b { color: #ff6b7d; }
.tb-indicator-detail-panel { position: fixed; top: 84px; right: 18px; z-index: 1000101; display: none; width: min(390px, calc(100vw - 36px)); padding: 18px; border: 1px solid rgba(42,231,255,.68); border-radius: 12px; background: rgba(4,10,20,.98); color: #eaf8ff; box-shadow: 0 18px 56px rgba(0,0,0,.68), 0 0 22px rgba(42,231,255,.18); font: 14px/1.45 system-ui,sans-serif; }
.tb-indicator-detail-panel.is-visible { display: block; }
.tb-indicator-detail-panel h3 { margin: 0 0 8px; color: #8eeeff; font-size: 17px; }
.tb-indicator-detail-panel p { margin: 10px 0; color: #d3e4f0; }
.tb-indicator-detail-panel small { color: #8fa8ba; }
.tb-indicator-detail-close { position: absolute; top: 7px; right: 9px; border: 0; background: transparent; color: #a9c0cf; font-size: 22px; cursor: pointer; }
.tb-indicator-bullish { color: #35e08a; }
.tb-indicator-bearish { color: #ff6b7d; }
.tb-indicator-neutral { color: #9fb4c8; }
.tb-indicator-fire-symbol { pointer-events: none; opacity: .96; }
.tb-indicator-fire-pulse { transform-box: fill-box; transform-origin: center bottom; animation: tb-indicator-fire-pulse 1.6s ease-in-out infinite; }
.tb-indicator-fire-shape { fill: #ff8a1d; stroke: rgba(20, 8, 0, .38); stroke-width: .9; filter: drop-shadow(0 0 4px rgba(255, 122, 24, .55)); }
.tb-indicator-fire-inner { fill: #ffd166; }
.tb-indicator-small-signal { pointer-events: auto; cursor: help; animation: tb-indicator-small-signal-pulse 1.8s ease-in-out infinite; }
.tb-indicator-small-signal-dot { r: 4.5px; fill: currentColor; stroke: rgba(255,255,255,.9); stroke-width: 1px; filter: drop-shadow(0 0 4px currentColor); }
@keyframes tb-indicator-small-signal-pulse { 0%,100% { opacity: .42; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.18); } }
@keyframes tb-indicator-fire-pulse { 0%,100% { transform: scale(.94); opacity: .82; } 45% { transform: scale(1.14); opacity: 1; } 62% { transform: scale(1.05); opacity: .94; } }
.tb-indicator-panel { position: fixed; top: 72px; right: 22px; z-index: 100002; width: 330px; max-height: min(760px, calc(100vh - 100px)); overflow: auto; padding: 16px; border: 1px solid rgba(42, 231, 255, .55); border-radius: 12px; background: rgba(7, 15, 29, .97); color: #e8f6ff; box-shadow: 0 18px 50px rgba(0,0,0,.62), 0 0 22px rgba(42,231,255,.12); font: 13px/1.35 system-ui, sans-serif; }
.tb-indicator-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 15px; }
.tb-indicator-close { border: 0; background: transparent; color: #91a4bb; font-size: 22px; cursor: pointer; }
.tb-indicator-panel label { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.tb-indicator-panel select { margin-left: auto; min-width: 110px; padding: 5px 7px; border: 1px solid rgba(148,163,184,.35); border-radius: 6px; background: #0f1a2a; color: #e8f6ff; }
.tb-indicator-panel input { accent-color: #2ae7ff; }
.tb-indicator-config-section { margin: 12px 0; border-top: 1px solid rgba(148,163,184,.18); padding-top: 9px; }
.tb-indicator-config-section summary { cursor: pointer; color: #dcefff; font-weight: 700; }
.tb-indicator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 8px; }
.tb-indicator-grid label { display: grid; grid-template-columns: 1fr auto; gap: 5px; align-items: center; margin: 3px 0; font-size: 11px; }
.tb-indicator-grid input, .tb-indicator-grid select { width: 66px; min-width: 0; margin-left: 0; padding: 3px 4px; }
.tb-indicator-grid select { width: 72px; }
.tb-indicator-panel details + details { margin-top: 8px; }
.tb-indicator-thresholds { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(148,163,184,.18); }
.tb-indicator-thresholds strong { display: block; margin-bottom: 6px; }
.tb-indicator-thresholds input { width: 72px; margin-left: auto; padding: 4px 6px; border: 1px solid rgba(148,163,184,.35); border-radius: 5px; background: #0f1a2a; color: #e8f6ff; }
.tb-indicator-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.tb-indicator-actions button { padding: 7px 10px; border: 1px solid rgba(42,231,255,.4); border-radius: 6px; background: rgba(42,231,255,.12); color: #e8f6ff; cursor: pointer; }
.tb-indicator-actions .tb-indicator-reset { background: rgba(255,255,255,.06); }
.tb-indicator-note { margin: 14px 0 0; color: #91a4bb; font-size: 11px; }
body.tb-look-standard .tb-indicator-panel { border-color: rgba(100,116,139,.65); background: rgba(15,23,42,.98); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
body.tb-look-standard .tb-indicator-tooltip, body.tb-look-standard .tb-indicator-detail-panel { border-color: rgba(100,116,139,.75); background: rgba(248,250,252,.98); color: #10233a; box-shadow: 0 14px 38px rgba(15,23,42,.28); }
body.tb-look-standard .tb-indicator-tooltip strong, body.tb-look-standard .tb-indicator-detail-panel h3 { color: #0f5d83; }
body.tb-look-standard .tb-indicator-tooltip span, body.tb-look-standard .tb-indicator-detail-panel p { color: #334e68; }
body.tb-look-standard .tb-indicator-hover-values { border-top-color: rgba(100,116,139,.28); color: #334e68; }
body.tb-look-standard .tb-indicator-fire-shape { fill: #ea580c; stroke: rgba(120, 53, 15, .5); filter: none; }
body.tb-look-standard .tb-indicator-fire-inner { fill: #fbbf24; }
@media (prefers-reduced-motion: reduce) { .tb-indicator-fire-symbol, .tb-indicator-small-signal { animation: none; } .tb-indicator-fire-shape { filter: none; } }
@media (max-width: 600px) { .tb-indicator-panel { top: 58px; right: 10px; left: 10px; width: auto; } }
