.bwe-bridge-settings { padding: 8px 14px; font-size: 12px; border-top: 1px solid #e8eef6; }
.bwe-bridge-settings summary { color: #4565a0; cursor: pointer; }
.bwe-bridge-settings p { margin: 8px 0; line-height: 1.45; }
.bwe-bridge-settings label { display: block; margin-top: 12px; }
.bwe-bridge-settings select, .bwe-bridge-settings input { width: 100%; box-sizing: border-box; margin: 6px 0; padding: 7px; border: 1px solid #d5deed; border-radius: 6px; background: #fff; color: #182a43; }
.bwe-bridge-settings input { font-family: monospace; }
.bwe-bridge-settings button { padding: 6px 9px; border: 1px solid #cbd8ef; border-radius: 6px; background: #f7f9fe; cursor: pointer; font: inherit; color: #28456f; }
.bwe-bridge-settings button:disabled { opacity: .5; cursor: wait; }
.bwe-bridge-status { padding: 8px 14px; margin: 0; color: #416390; background: #f5f8ff; font-size: 12px; line-height: 1.45; }
.bwe-bridge-status.is-error { color: #a24b20; background: #fff7ed; }
.bwe-bridge-status[hidden] { display: none; }

.bybiteye-column.bwe-has-data > :is(#bybitEyePlaceholder, .bybiteye-loading, #bybitEyeScamSlot, #OldBybitInfoBox, #NewBybitInfoBox) { display: none !important; }
.bybiteye-panel:has(.bwe-has-data) > #bybitEyeBridgeControls { display: none; }
.bybiteye-column:has(> :is(.bwe-source-hint, .bwe-source-progress):not([hidden])) { min-height: 0; }
.bybiteye-column:has(> :is(.bwe-source-hint, .bwe-source-progress):not([hidden])) > :is(#bybitEyePlaceholder, .bybiteye-loading) { display: none !important; }
.bwe-data-panel[hidden], .bwe-source-hint[hidden], .bwe-source-alert[hidden], .bwe-source-progress[hidden] { display: none !important; }
.bwe-data-panel {
  --bwe-ink: var(--text, #182a43);
  --bwe-surface: var(--panel, #fff);
  --bwe-line: var(--line, #dce5f0);
  --bwe-accent: #285dba;
  --bwe-muted: #526781;
  --bwe-warn: #9b3a1c;
  --bwe-caution: #805312;
  --bwe-good: #167249;
  display: grid;
  width: 100%;
  min-width: 0;
  align-content: start;
  color: var(--bwe-ink);
  background: var(--bwe-surface);
  font: 13px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.bwe-source-hint, .bwe-source-alert, .bwe-source-progress { margin: 0; padding: 9px 14px; font-size: 12px; }
.bwe-source-hint, .bwe-source-progress { color: #456590; background: #f2f6fc; }
.bwe-source-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; --bwe-accent: #285dba; --bwe-surface: #fff; }
.bwe-source-hint p { margin: 0; }
.bwe-source-hint p:empty { display: none; }
.bwe-source-alert, .bwe-source-progress.is-error { color: #873717; background: #fff2e7; }
.bwe-profile { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; padding: 12px 14px; border-inline-start: 3px solid var(--bwe-accent); background: color-mix(in srgb, var(--bwe-accent) 8%, var(--bwe-surface)); }
.bwe-profile strong { overflow-wrap: anywhere; font-size: 16px; }
.bwe-profile p { flex-basis: 100%; }
.bwe-data-section { min-width: 0; padding: 12px 14px; border-top: 1px solid var(--bwe-line); }
.bwe-capture { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 14px; font-size: 12px; }
.bwe-data-panel :is(p, h3, h4, dl, dd) { margin: 0; }
.bwe-data-section h3 { margin-bottom: 7px; line-height: 1.2; font-size: 13px; font-weight: 750; }
.bwe-data-stack { display: grid; gap: 6px; min-width: 0; }
.bwe-data-stack > :empty { display: none; }
.bwe-muted { color: var(--bwe-muted); }
.bwe-warning { color: var(--bwe-warn); }
.bwe-caution { color: var(--bwe-caution); }
.bwe-positive { color: var(--bwe-good); }
.bwe-requisite { display: block; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bwe-details { min-width: 0; border: 1px solid var(--bwe-line); border-radius: 5px; }
.bwe-details > summary { padding: 6px 8px; color: var(--bwe-accent); cursor: pointer; font-weight: 650; }
.bwe-details[open] > summary { border-bottom: 1px solid var(--bwe-line); }
.bwe-details > :is(div, ul) { margin: 0; padding: 6px 8px; }
.bwe-notes { display: grid; gap: 6px; padding: 0; margin: 0; overflow-wrap: anywhere; list-style: none; }
.bwe-notes li + li { border-top: 1px solid var(--bwe-line); padding-top: 6px; }
.bwe-metrics > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding-block: 3px; }
.bwe-metrics dd { text-align: end; font-weight: 700; font-variant-numeric: tabular-nums; }
.bwe-metrics small { grid-column: 1 / -1; }
.bwe-stat-group { padding: 6px 8px; border-inline-start: 2px solid var(--bwe-line); }
.bwe-stat-group:has(h4.bwe-warning) { border-inline-start-color: var(--bwe-warn); background: color-mix(in srgb, var(--bwe-warn) 6%, var(--bwe-surface)); }
.bwe-stat-group h4 { font-size: 12px; }
.bwe-trades { max-height: 250px; overflow: auto; }
.bwe-trades table { width: 100%; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.bwe-trades :is(th, td) { text-align: start; padding: 5px 6px; border-bottom: 1px solid var(--bwe-line); }
.bwe-trades th { position: sticky; top: 0; color: var(--bwe-muted); background: var(--bwe-surface); }
.bwe-action { justify-self: start; padding: 6px 9px; font: inherit; font-weight: 650; color: var(--bwe-accent); background: var(--bwe-surface); border: 1px solid var(--bwe-accent); border-radius: 5px; cursor: pointer; }
.bwe-action:disabled { cursor: wait; opacity: .65; }
.bwe-display { margin: 6px 14px 12px; }
.bwe-original-view { min-width: 0; }
.bwe-clock, .bwe-display-option { display: flex; align-items: center; gap: 7px; padding: 5px 8px; }
.bwe-clock select { max-width: 100%; min-width: 0; }
:is(html.dark, [data-theme="dark"]) .bwe-data-panel { --bwe-ink: #e8eef7; --bwe-surface: #1b2534; --bwe-line: #39475c; --bwe-accent: #adc7ff; --bwe-muted: #b8c6db; --bwe-warn: #ffb491; --bwe-caution: #efc782; --bwe-good: #83dfaa; }
