/* BTL_BUILD_ID:1.8.5.0.4.1-accuracy-authority-calibration-completion */
#binary-trade-lab-root,
#binary-trade-lab-root * {
  box-sizing: border-box;
}

html.btl-fullscreen-page,
body.btl-fullscreen-page {
  margin: 0;
  max-width: none;
  overflow-x: hidden;
  background: #101414;
}

#binary-trade-lab-root {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.btl-fullscreen-page #binary-trade-lab-root {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.btl-standalone-body,
.btl-login-body {
  margin: 0;
  min-height: 100dvh;
  background: #101414;
  color: #f4f7f5;
}

.btl-standalone-frame {
  min-height: 100dvh;
  background: #101414;
}

.btl-standalone-frame #binary-trade-lab-root {
  width: 100%;
  margin: 0;
}

.btl-appbar {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-bottom: 1px solid #34403c;
  background: #0d1212;
  color: #f4f7f5;
}

.btl-appbar strong,
.btl-appbar span,
.btl-appbar a {
  display: inline-flex;
  align-items: center;
}

.btl-appbar span {
  color: #aebbb6;
  margin-left: 8px;
  font-size: 13px;
}

.btl-appbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btl-appbar-user a {
  border: 1px solid #35547a;
  border-radius: 8px;
  padding: 6px 10px;
  background: #1d2c40;
  color: #dbeafe;
  text-decoration: none;
  font-weight: 800;
}

.btl-login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.btl-login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
  border: 1px solid #34403c;
  border-radius: 8px;
  background: #171d1d;
  padding: 22px;
}

.btl-login-card h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.btl-login-card p {
  margin: 0;
  color: #aebbb6;
}

.btl-login-card form {
  display: grid;
  gap: 12px;
}

.btl-login-card label {
  display: grid;
  gap: 6px;
  color: #aebbb6;
  font-weight: 800;
}

.btl-login-card input[type="text"],
.btl-login-card input[type="password"] {
  min-height: 42px;
  border: 1px solid #34403c;
  border-radius: 8px;
  background: #1e2525;
  color: #f4f7f5;
  padding: 9px 10px;
}

.btl-login-remember {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
}

.btl-login-error {
  border: 1px solid #743040;
  border-radius: 8px;
  background: #26141a;
  color: #fecdd3;
  padding: 10px 12px;
}

.btl-login-lost {
  color: #8be5c3;
  font-weight: 800;
  text-decoration: none;
}

.btl-login-warning {
  padding: 16px;
  border-radius: 8px;
  background: #fff7dd;
  border: 1px solid #f1cf76;
  color: #302400;
}

.btl-logout-link {
  border-color: #35547a !important;
  background: #1d2c40 !important;
  color: #dbeafe !important;
  text-decoration: none;
  font-weight: 800;
}

.btl-root {
  --btl-bg: #101414;
  --btl-panel: #171d1d;
  --btl-panel-2: #1e2525;
  --btl-text: #f4f7f5;
  --btl-muted: #aebbb6;
  --btl-line: #34403c;
  --btl-green: #34d399;
  --btl-red: #fb7185;
  --btl-amber: #fbbf24;
  --btl-blue: #60a5fa;
  --btl-bullish: #34d399;
  --btl-call-color: #34d399;
  --btl-bearish: #fb7185;
  --btl-put-color: #fb7185;
  --btl-wait-color: #fbbf24;
  --btl-neutral-color: #94a3b8;
  --btl-invalid-color: #991b1b;
  color: var(--btl-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.btl-shell {
  max-width: none;
  margin: 0 auto;
  padding: 18px;
  background: var(--btl-bg);
  border: 0;
  min-height: calc(100dvh - 44px);
}

.btl-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--btl-line);
}

.btl-kicker {
  margin: 0 0 4px;
  color: var(--btl-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.btl-topbar h1 {
  margin: 0;
  color: var(--btl-text);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
}

.btl-fixed-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px;
  max-width: 470px;
}

.btl-fixed-rules span {
  border: 1px solid var(--btl-line);
  background: var(--btl-panel);
  color: var(--btl-muted);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.btl-fixed-rules .btl-logout-link {
  border: 1px solid #35547a;
  background: #1d2c40;
  color: #dbeafe;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.btl-safety,
.btl-message {
  margin-top: 12px;
  border-radius: 8px;
  padding: 11px 12px;
}

.btl-safety {
  color: #fde9ad;
  background: #2b2412;
  border: 1px solid #6b5520;
}

.btl-db-warning {
  color: #dbeafe;
  background: #17243a;
  border-color: #2f4974;
}

.btl-fullscreen-note {
  color: #dbeafe;
  background: #14243a;
  border-color: #35547a;
}

.btl-message {
  color: var(--btl-muted);
  background: var(--btl-panel);
  border: 1px solid var(--btl-line);
}

.btl-analysis-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid #35547a;
  border-radius: 8px;
  background: #14243a;
  color: #dbeafe;
  padding: 11px 12px;
}

.btl-analysis-progress strong,
.btl-analysis-progress span {
  color: inherit;
}

.btl-layout {
  display: grid;
  grid-template-columns: minmax(460px, .95fr) minmax(520px, 1.05fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.btl-panel,
.btl-stats > div,
.btl-week-grid > div {
  border: 1px solid var(--btl-line);
  background: var(--btl-panel);
  border-radius: 8px;
}

.btl-panel {
  padding: 16px;
}

.btl-full {
  margin-top: 14px;
}

.btl-sticky {
  position: sticky;
  top: 16px;
}

.btl-indicator-panel {
  grid-column: 1 / -1;
}

.btl-indicator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px;
  align-items: start;
}

.btl-indicator-card {
  min-width: 0;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  padding: 10px;
}

.btl-indicator-card h3 {
  margin: 0 0 8px;
  color: var(--btl-text);
  font-size: 14px;
  line-height: 1.2;
}

.btl-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.btl-section-head h2 {
  color: var(--btl-text);
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.btl-section-head span {
  color: var(--btl-muted);
  font-size: 13px;
}

.btl-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.btl-form-grid label {
  color: var(--btl-muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
}

.btl-form-grid select,
.btl-form-grid input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: var(--btl-panel-2);
  color: var(--btl-text);
  padding: 9px 10px;
  font-size: 15px;
}

.btl-form-grid option {
  color: #111827;
}

.btl-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.btl-workflow span {
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  color: var(--btl-muted);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.btl-fast-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  padding: 10px;
  margin-bottom: 12px;
}

.btl-fast-panel strong,
.btl-fast-panel span {
  display: block;
}

.btl-fast-panel span {
  color: var(--btl-muted);
}

.btl-expiry-rule {
  margin-top: 10px;
  border: 1px solid #35547a;
  border-radius: 8px;
  background: #14243a;
  color: #dbeafe;
  padding: 9px 10px;
  font-weight: 800;
}

.btl-simple-settings {
  margin-top: 12px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  overflow: hidden;
}

.btl-simple-settings summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--btl-text);
  font-weight: 800;
}

.btl-simple-settings-body {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--btl-line);
  padding: 12px;
}

.btl-simple-guide-grid,
.btl-simple-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.btl-simple-guide-grid > div,
.btl-simple-summary-grid > div {
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: var(--btl-panel-2);
  padding: 10px;
}

.btl-simple-guide-grid h3,
.btl-simple-guide-grid p,
.btl-simple-summary h3,
.btl-simple-summary p {
  margin: 0;
}

.btl-simple-guide-grid h3 {
  margin-bottom: 6px;
  color: var(--btl-text);
  font-size: 14px;
}

.btl-simple-guide-grid p {
  color: var(--btl-muted);
  font-size: 13px;
}

.btl-simple-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btl-simple-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: var(--btl-panel-2);
  color: var(--btl-muted);
  padding: 9px 10px;
  font-weight: 700;
}

.btl-simple-wait {
  margin-top: 0;
  border-color: #7a5d1d;
  background: #2b2412;
  color: #fde9ad;
}

.btl-simple-summary {
  display: grid;
  gap: 10px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  padding: 12px;
  margin-bottom: 12px;
}

.btl-simple-summary-grid > div {
  display: grid;
  gap: 3px;
}

.btl-simple-summary-grid span {
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-simple-summary-grid strong {
  color: var(--btl-text);
  font-size: 16px;
}

.btl-simple-summary-grid small,
.btl-simple-summary p {
  color: var(--btl-muted);
  overflow-wrap: anywhere;
}

.btl-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.btl-capture-slot {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  gap: 10px;
  min-height: 330px;
  border: 1px dashed #53615d;
  border-radius: 8px;
  background: #111818;
  color: var(--btl-muted);
  cursor: pointer;
  padding: 12px;
  overflow: hidden;
}

.btl-capture-slot:focus {
  outline: 2px solid var(--btl-green);
  outline-offset: 2px;
}

.btl-capture-slot input {
  display: none;
}

.btl-capture-slot img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  background: #070909;
  border-radius: 8px;
  border: 1px solid #26302d;
}

.btl-capture-copy {
  display: grid;
  gap: 3px;
}

.btl-capture-copy strong {
  color: var(--btl-text);
  font-size: 16px;
}

.btl-capture-copy span,
.btl-capture-copy small {
  color: var(--btl-muted);
  overflow-wrap: anywhere;
}

.btl-capture-done {
  border-style: solid;
  border-color: #247052;
  background: #10221c;
}

.btl-capture-disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btl-capture-active {
  border-style: solid;
  border-color: var(--btl-green);
  box-shadow: 0 0 0 2px rgba(52, 211, 153, .18);
}

.btl-capture-ready {
  border-color: #60a5fa;
}

.btl-capture-error {
  border-style: solid;
  border-color: #743040;
  background: #26141a;
}

.btl-capture-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.btl-upload-link,
.btl-clear-shot {
  border-radius: 8px;
  border: 1px solid var(--btl-line);
  background: var(--btl-panel-2);
  color: var(--btl-text);
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
}

.btl-clear-shot {
  color: #fecdd3;
  border-color: #743040;
  background: #26141a;
}

.btl-countdown-strip {
  margin-top: 10px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  color: var(--btl-muted);
  padding: 10px 12px;
  font-weight: 800;
}

.btl-countdown-ok {
  border-color: #247052;
  color: #b7f7d8;
  background: #10221c;
}

.btl-countdown-error,
.btl-error-message {
  border-color: #743040 !important;
  color: #fecdd3 !important;
  background: #26141a !important;
}

.btl-upload-box {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-top: 12px;
  border: 1px dashed #53615d;
  border-radius: 8px;
  background: #111818;
  cursor: pointer;
  overflow: hidden;
}

.btl-upload-box input {
  display: none;
}

.btl-upload-box span {
  display: grid;
  gap: 4px;
  text-align: center;
  padding: 20px;
  color: var(--btl-muted);
}

.btl-upload-box strong {
  color: var(--btl-text);
}

.btl-upload-box small {
  color: var(--btl-muted);
}

.btl-upload-box img {
  width: 100%;
  max-height: calc(100vh - 360px);
  min-height: 260px;
  object-fit: contain;
  background: #070909;
}

.btl-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btl-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  color: var(--btl-muted);
  min-height: 38px;
  padding: 8px 10px;
  font-weight: 800;
}

.btl-actions-tight {
  margin-top: 0;
}

.btl-primary,
.btl-secondary,
.btl-record,
.btl-win,
.btl-loss,
.btl-push,
.btl-delete {
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  min-height: 38px;
}

.btl-primary {
  background: var(--btl-green);
  color: #062117;
  padding: 10px 14px;
}

.btl-primary:disabled,
.btl-record:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.btl-secondary {
  background: #1d2c40;
  color: #dbeafe;
  border-color: #35547a;
  padding: 9px 12px;
}

.btl-record {
  width: 100%;
  margin-top: 14px;
  padding: 11px 12px;
  background: var(--btl-green);
  color: #062117;
}

.btl-record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.btl-record-grid .btl-record,
.btl-record-grid .btl-secondary {
  margin-top: 0;
  width: 100%;
}

.btl-record-override {
  background: var(--btl-amber);
  color: #2b1c00;
}

.btl-gate-card {
  border-radius: 8px;
  padding: 14px 16px;
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
  border: 1px solid var(--btl-line);
}

.btl-gate-card span,
.btl-gate-card small {
  color: rgba(255,255,255,.82);
}

.btl-gate-card strong {
  color: var(--btl-text);
  font-size: 24px;
  line-height: 1.05;
}

.btl-gate-trade {
  background: #103b2d;
  border-color: #1f8a62;
}

.btl-gate-watch {
  background: #3a2d12;
  border-color: #b7791f;
}

.btl-gate-edge {
  background: #202727;
  border-color: #46524f;
}

.btl-gate-blocked {
  background: #3a1720;
  border-color: #9f3347;
}

.btl-decision {
  border-radius: 8px;
  padding: 16px;
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.btl-entry-banner {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 11px 12px;
  margin-bottom: 12px;
  border: 1px solid #35547a;
  background: #14243a;
  color: #dbeafe;
}

.btl-entry-banner strong,
.btl-entry-banner span,
.btl-entry-banner small {
  color: inherit;
}

.btl-timing-banner {
  position: sticky;
  top: 8px;
  z-index: 5;
  font-size: 15px;
}

.btl-timing-banner strong {
  font-size: 20px;
}

.btl-entry-countdown {
  border-color: #7a5d1d;
  background: #2b2412;
  color: #fde9ad;
}

.btl-entry-open,
.btl-entry-enter {
  border-color: #247052;
  background: #10221c;
  color: #b7f7d8;
}

.btl-entry-wait {
  border-color: #7a5d1d;
  background: #2b2412;
  color: #fde9ad;
}

.btl-entry-confirm {
  border-color: #35547a;
  background: #14243a;
  color: #dbeafe;
}

.btl-entry-late,
.btl-entry-stale,
.btl-entry-avoid {
  border-color: #743040;
  background: #26141a;
  color: #fecdd3;
}

.btl-decision span,
.btl-decision small {
  color: rgba(255,255,255,.82);
}

.btl-decision strong {
  color: var(--btl-text);
  font-size: 32px;
  line-height: 1;
}

.btl-call {
  background: #12392d;
  border: 1px solid #1c6a50;
}

.btl-put {
  background: #3a1720;
  border: 1px solid #743040;
}

.btl-no {
  background: #3a2d12;
  border: 1px solid #7a5d1d;
}

.btl-horizon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btl-horizon-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.btl-horizon-title strong {
  font-size: 13px;
}

.btl-horizon-title span {
  color: var(--btl-muted);
  font-size: 10px;
  text-align: right;
}

.btl-official-horizons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 5px;
}

.btl-horizon-card {
  border-radius: 8px;
  padding: 10px;
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--btl-text);
  text-align: left;
}

button.btl-horizon-card {
  width: 100%;
  min-height: 142px;
  border-width: 1px 1px 1px 4px;
  background: #141b1b;
  cursor: pointer;
}

button.btl-horizon-card:hover,
button.btl-horizon-card:focus-visible {
  background: #1b2423;
  outline: 2px solid #6b7d77;
  outline-offset: 1px;
}

.btl-horizon-card.btl-horizon-selected {
  box-shadow: 0 0 0 2px #e5f4ee;
}

.btl-horizon-call {
  border-color: #1d7a5c;
  border-left-color: var(--btl-call-color) !important;
}

.btl-horizon-put {
  border-color: #843244;
  border-left-color: var(--btl-put-color) !important;
}

.btl-horizon-neutral {
  border-color: #52605c;
  border-left-color: var(--btl-neutral-color) !important;
}

.btl-horizon-head,
.btl-horizon-signal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btl-horizon-head > span {
  color: var(--btl-muted);
  font-size: 9px;
  font-weight: 900;
}

.btl-horizon-signal b {
  color: inherit;
  font-size: 18px;
}

.btl-horizon-call .btl-horizon-signal b { color: var(--btl-call-color); }
.btl-horizon-put .btl-horizon-signal b { color: var(--btl-put-color); }
.btl-horizon-neutral .btl-horizon-signal b { color: var(--btl-neutral-color); }

.btl-horizon-status {
  justify-self: start;
  padding: 2px 6px;
  border: 1px solid #55615e;
  border-radius: 4px;
  color: var(--btl-neutral-color) !important;
  background: #222929;
  font-size: 9px !important;
  font-weight: 900;
}

.btl-horizon-ready .btl-horizon-status {
  border-color: #1d7a5c;
  color: #a7f3d0 !important;
  background: #0d3025;
}

.btl-horizon-wait .btl-horizon-status {
  border-color: #8a6413;
  color: #fde68a !important;
  background: #32270e;
}

.btl-horizon-invalid .btl-horizon-status {
  border-color: #863749;
  color: #fecdd3 !important;
  background: #351720;
}

.btl-horizon-card p,
.btl-horizon-card small {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.btl-horizon-card p {
  font-size: 11px;
}

.btl-horizon-card small {
  font-size: 10px;
}

.btl-horizon-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btl-horizon-card strong,
.btl-horizon-card p,
.btl-horizon-card small,
.btl-horizon-card em {
  color: var(--btl-text);
  margin: 0;
}

.btl-horizon-card span,
.btl-horizon-card small,
.btl-horizon-card em {
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-research-only {
  border-style: dashed;
  opacity: .86;
}

.btl-trade-zone,
.btl-candle-type {
  border: 1px solid var(--btl-line);
  background: var(--btl-panel-2);
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
}

.btl-trade-zone h3,
.btl-candle-type h3 {
  color: var(--btl-text);
  margin: 0;
  font-size: 15px;
}

.btl-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btl-zone-grid div {
  border-top: 1px solid var(--btl-line);
  padding-top: 8px;
}

.btl-zone-grid span,
.btl-zone-grid strong {
  display: block;
}

.btl-zone-grid span {
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-zone-grid strong {
  color: var(--btl-text);
  overflow-wrap: anywhere;
}

.btl-candle-type p {
  margin: 6px 0 0;
  color: var(--btl-muted);
}

.btl-candle-type strong {
  color: var(--btl-text);
  text-transform: uppercase;
}

.btl-override-field {
  border-top: 1px solid var(--btl-line);
  margin-top: 12px;
  padding-top: 10px;
}

.btl-override-field {
  color: var(--btl-muted);
  font-weight: 700;
}

.btl-override-field input {
  width: 100%;
  margin-top: 6px;
}

.btl-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btl-summary div {
  border-bottom: 1px solid var(--btl-line);
  padding: 8px 0;
}

.btl-summary span,
.btl-summary strong {
  display: block;
}

.btl-summary span {
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-summary strong {
  color: var(--btl-text);
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.btl-summary small {
  display: block;
  color: var(--btl-muted);
  font-size: 11px;
  margin-top: 2px;
}

.btl-platform-panel {
  border-top: 1px solid var(--btl-line);
  margin-top: 12px;
  padding-top: 10px;
}

.btl-platform-panel h3 {
  margin: 0;
  color: var(--btl-text);
  font-size: 15px;
}

.btl-validation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.btl-validation-item {
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  padding: 8px;
}

.btl-validation-item span,
.btl-validation-item strong {
  display: block;
}

.btl-validation-item span {
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-validation-pass {
  border-color: #247052;
  background: #10221c;
}

.btl-validation-fail {
  border-color: #743040;
  background: #26141a;
}

.btl-reading {
  border-top: 1px solid var(--btl-line);
  margin-top: 12px;
  padding-top: 10px;
}

.btl-reading h3 {
  margin: 0 0 6px;
  color: var(--btl-text);
  font-size: 15px;
}

.btl-reading p {
  margin: 6px 0;
  color: var(--btl-muted);
}

.btl-reading ul {
  margin: 0;
  padding-left: 18px;
  color: var(--btl-muted);
}

.btl-reading li {
  margin: 4px 0;
}

.btl-warns li {
  color: #fde9ad;
}

.btl-muted-line,
.btl-small-warning {
  color: var(--btl-muted);
  margin: 8px 0 0;
}

.btl-small-warning {
  color: #fde9ad;
}

.btl-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.btl-stats > div {
  padding: 12px;
}

.btl-stats span,
.btl-stats small,
.btl-week-grid span {
  display: block;
  color: var(--btl-muted);
}

.btl-stats span,
.btl-week-grid span {
  font-size: 12px;
}

.btl-stats strong,
.btl-week-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--btl-text);
  font-size: 24px;
  overflow-wrap: anywhere;
}

.btl-week-grid strong {
  font-size: 17px;
}

.btl-table-wrap {
  overflow-x: auto;
}

.btl-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.btl-table th,
.btl-table td {
  padding: 10px;
  border-bottom: 1px solid var(--btl-line);
  text-align: left;
  color: var(--btl-text);
  vertical-align: top;
}

.btl-table th {
  color: var(--btl-muted);
  font-size: 12px;
  font-weight: 800;
}

.btl-table small {
  display: block;
  color: var(--btl-muted);
}

.btl-indicator-table {
  min-width: 0;
  table-layout: fixed;
}

.btl-detected-wrap {
  margin-bottom: 0;
}

.btl-indicator-wrap {
  overflow-x: visible;
}

.btl-indicator-table th,
.btl-indicator-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  padding: 8px;
  font-size: 13px;
}

.btl-detected-table th:nth-child(1),
.btl-detected-table td:nth-child(1) {
  width: 32%;
}

.btl-detected-table th:nth-child(2),
.btl-detected-table td:nth-child(2) {
  width: 20%;
}

.btl-detected-table th:nth-child(3),
.btl-detected-table td:nth-child(3) {
  width: 48%;
}

.btl-template-table th:nth-child(1),
.btl-template-table td:nth-child(1) {
  width: 25%;
}

.btl-template-table th:nth-child(2),
.btl-template-table td:nth-child(2) {
  width: 28%;
}

.btl-template-table th:nth-child(3),
.btl-template-table td:nth-child(3) {
  width: 47%;
}

.btl-pill {
  display: inline-flex;
  border-radius: 8px;
  padding: 4px 7px;
  font-size: 12px;
  font-weight: 900;
}

.btl-result {
  display: inline-flex;
  min-width: 72px;
  color: var(--btl-muted);
  font-weight: 800;
}

.btl-mistake {
  display: block;
  margin-top: 6px;
  max-width: 190px;
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: var(--btl-panel-2);
  color: var(--btl-text);
  padding: 7px 8px;
}

.btl-win,
.btl-loss,
.btl-push,
.btl-delete {
  padding: 6px 8px;
  margin: 0 3px 4px 0;
}

.btl-win {
  background: #14382d;
  color: var(--btl-green);
  border-color: #236b53;
}

.btl-loss {
  background: #3a1720;
  color: var(--btl-red);
  border-color: #743040;
}

.btl-push {
  background: #28303b;
  color: #d5dce8;
  border-color: #536174;
}

.btl-inline-report-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 12px;
}

.btl-delete {
  background: #252d2d;
  color: var(--btl-text);
  border-color: var(--btl-line);
  min-width: 34px;
}

.btl-profit {
  color: var(--btl-green) !important;
  font-weight: 900;
}

.btl-loss-text {
  color: var(--btl-red) !important;
  font-weight: 900;
}

.btl-empty {
  text-align: center !important;
  color: var(--btl-muted) !important;
  padding: 26px !important;
}

.btl-journal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.btl-journal-head h2 {
  margin: 0 0 4px;
  color: var(--btl-text);
  font-size: 20px;
}

.btl-journal-head p {
  margin: 0;
  color: var(--btl-muted);
}

.btl-week-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.btl-week-grid > div {
  padding: 11px;
}

.btl-recommendation {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--btl-line);
  color: #dbeafe;
}

.btl-calibration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.btl-calibration-grid > div {
  border: 1px solid var(--btl-line);
  border-radius: 8px;
  background: #111818;
  padding: 9px;
}

.btl-calibration-grid span,
.btl-calibration-grid small {
  display: block;
  color: var(--btl-muted);
}

.btl-calibration-grid strong {
  display: block;
  color: var(--btl-text);
  font-size: 20px;
}

@media (min-width: 1680px) {
  .btl-layout {
    grid-template-columns: minmax(390px, .9fr) minmax(500px, 1fr) minmax(600px, 1.05fr);
  }

  .btl-indicator-panel {
    grid-column: auto;
    position: sticky;
    top: 16px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }
}

@media (max-width: 1120px) {
  .btl-topbar,
  .btl-layout {
    grid-template-columns: 1fr;
  }

  .btl-fixed-rules {
    max-width: none;
  }

  .btl-sticky {
    position: static;
  }

  .btl-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .btl-shell {
    padding: 12px;
  }

  .btl-topbar h1 {
    font-size: 28px;
  }

  .btl-fixed-rules,
  .btl-form-grid,
  .btl-workflow,
  .btl-fast-panel,
  .btl-capture-grid,
  .btl-summary,
  .btl-validation-grid,
  .btl-horizon-grid,
  .btl-zone-grid,
  .btl-simple-guide-grid,
  .btl-simple-checklist,
  .btl-simple-summary-grid,
  .btl-record-grid,
  .btl-stats,
  .btl-week-grid {
    grid-template-columns: 1fr;
  }

  .btl-section-head,
  .btl-journal-head,
  .btl-analysis-progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .btl-upload-box {
    min-height: 220px;
  }
}

/* Alpha8 compact trading cockpit. */
.btl-alpha8-shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 8px 12px 18px;
  background: var(--btl-bg);
  overflow-x: hidden;
}

.btl-cockpit-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--btl-line);
  border-radius: 6px;
  background: #111717;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}

.btl-cockpit-bar strong {
  margin-right: 4px;
  font-size: 17px;
}

.btl-cockpit-bar > span,
.btl-cockpit-bar > a {
  padding: 4px 7px;
  border: 1px solid #2c3835;
  border-radius: 5px;
  color: var(--btl-muted);
  font-size: 12px;
  text-decoration: none;
}

.btl-session-badge {
  color: #dbeafe !important;
  border-color: #31557c !important;
  background: #17283b;
}

.btl-risk-clear {
  color: #a7f3d0 !important;
  border-color: #17694e !important;
  background: #0c3025;
}

.btl-risk-stop {
  color: #fecdd3 !important;
  border-color: #743040 !important;
  background: #32151d;
}

.btl-cockpit-user {
  margin-left: auto;
}

.btl-help-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 3px;
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-help-line > span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid var(--btl-line);
  border-radius: 50%;
  color: var(--btl-text);
  font-weight: 900;
}

.btl-cockpit-grid {
  display: grid;
  grid-template-areas: "capture decision evidence";
  grid-template-columns: minmax(290px, .82fr) minmax(430px, 1.22fr) minmax(280px, .82fr);
  gap: 10px;
  min-width: 0;
  align-items: stretch;
}

.btl-cockpit-grid > * {
  min-width: 0;
}

.btl-cockpit-capture { grid-area: capture; }
.btl-cockpit-decision { grid-area: decision; }
.btl-cockpit-evidence { grid-area: evidence; }

.btl-cockpit-grid > .btl-panel {
  height: clamp(500px, calc(100dvh - 205px), 630px);
  padding: 10px;
  border-radius: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.btl-cockpit-grid .btl-section-head {
  margin-bottom: 8px;
}

.btl-cockpit-grid .btl-section-head h2 {
  margin: 0;
  font-size: 17px;
}

.btl-cockpit-grid .btl-section-head span {
  font-size: 11px;
}

.btl-compact-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}

.btl-compact-controls label,
.btl-inline-select,
.btl-drawer-grid label,
.btl-sound-settings label {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--btl-muted);
  font-size: 11px;
  font-weight: 800;
}

.btl-compact-controls select,
.btl-compact-controls input,
.btl-inline-select select,
.btl-drawer-grid input,
.btl-drawer-grid select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 6px 7px;
  border: 1px solid var(--btl-line);
  border-radius: 5px;
  background: var(--btl-panel-2);
  color: var(--btl-text);
}

.btl-inline-select {
  margin-bottom: 8px;
}

.btl-cockpit-capture .btl-capture-grid {
  grid-template-columns: 1fr;
  gap: 7px;
}

.btl-cockpit-capture .btl-upload-box {
  min-height: 190px;
  padding: 8px;
  border-radius: 6px;
}

.btl-cockpit-capture .btl-upload-copy h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.btl-cockpit-capture .btl-upload-copy p,
.btl-cockpit-capture .btl-upload-copy small,
.btl-cockpit-capture .btl-image-meta {
  font-size: 11px;
  line-height: 1.3;
}

.btl-cockpit-capture .btl-preview {
  max-height: 150px;
  object-fit: contain;
}

.btl-capture-actions,
.btl-watch-actions,
.btl-record-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.btl-capture-actions button,
.btl-watch-actions button,
.btl-record-grid button {
  flex: 1 1 112px;
  min-height: 34px;
  padding: 7px 9px;
  font-size: 12px;
}

.btl-action-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px;
  border: 1px solid var(--btl-line);
  border-radius: 6px;
  background: #1b2222;
}

.btl-action-banner strong {
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1;
}

.btl-action-banner span {
  font-size: 17px;
  font-weight: 900;
}

.btl-status-call {
  border-color: #16805b;
  background: #0d3025;
  color: #a7f3d0;
}

.btl-status-put,
.btl-status-risk,
.btl-status-invalid {
  border-color: #863749;
  background: #351720;
  color: #fecdd3;
}

.btl-status-wait {
  border-color: #8a6413;
  background: #32270e;
  color: #fde68a;
}

.btl-status-no-setup {
  color: #d8e0dd;
  background: #222929;
}

.btl-watch-banner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  padding: 8px 10px;
  border-left: 3px solid var(--btl-blue);
  background: #15202a;
  font-size: 12px;
}

.btl-entry-wait,
.btl-entry-confirm {
  border-left-color: var(--btl-amber);
  background: #2b240f;
}

.btl-entry-rescan {
  border-left-color: var(--btl-blue);
  background: #14263a;
}

.btl-entry-enter {
  border-left-color: var(--btl-green);
  background: #0d3025;
}

.btl-entry-avoid,
.btl-entry-stale,
.btl-entry-expired {
  border-left-color: var(--btl-red);
  background: #32151d;
}

.btl-decision-metrics,
.btl-evidence-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.btl-decision-metrics > div,
.btl-evidence-summary > div,
.btl-condition-grid > div {
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--btl-line);
  border-radius: 5px;
  background: #121919;
}

.btl-decision-metrics span,
.btl-decision-brief span,
.btl-evidence-summary span,
.btl-condition-grid span {
  display: block;
  color: var(--btl-muted);
  font-size: 10px;
}

.btl-decision-metrics strong,
.btl-evidence-summary strong,
.btl-condition-grid strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.btl-decision-brief {
  display: grid;
  grid-template-columns: .9fr 1.25fr 1fr;
  gap: 6px;
  margin-top: 7px;
}

.btl-decision-brief > div {
  min-width: 0;
  padding: 7px;
  border-top: 1px solid var(--btl-line);
}

.btl-decision-brief strong,
.btl-decision-brief p,
.btl-decision-brief li {
  font-size: 11px;
  line-height: 1.3;
}

.btl-decision-brief ul {
  margin: 3px 0 0 16px;
  padding: 0;
}

.btl-journal-drawer {
  margin-top: 8px;
  border-top: 1px solid var(--btl-line);
}

.btl-journal-drawer summary,
.btl-below-cockpit > details > summary,
.btl-strategy-guide > summary {
  cursor: pointer;
  padding: 8px 2px;
  color: var(--btl-text);
  font-weight: 850;
}

.btl-drawer-grid,
.btl-condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.btl-validation-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.btl-validation-strip > span {
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--btl-line);
  border-radius: 5px;
  background: #121919;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.btl-validation-strip .btl-check-pass {
  border-color: #17694e;
  background: #0d2a22;
}

.btl-validation-strip .btl-check-fail {
  border-color: #743040;
  background: #2d171d;
}

.btl-cockpit-evidence .btl-evidence-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btl-indicator-evidence,
.btl-visible-warnings {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--btl-line);
}

.btl-indicator-evidence h3,
.btl-visible-warnings h3 {
  margin: 0 0 6px;
  font-size: 13px;
}

.btl-evidence-row {
  display: grid;
  grid-template-columns: minmax(74px, .7fr) auto minmax(100px, 1.3fr);
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-top: 1px solid #293330;
}

.btl-evidence-row:first-of-type {
  border-top: 0;
}

.btl-evidence-row strong,
.btl-evidence-row small {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
}

.btl-indicator-evidence .btl-detected-table,
.btl-indicator-evidence .btl-table-wrap {
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
}

.btl-indicator-evidence table {
  width: 100%;
  table-layout: fixed;
  font-size: 10px;
}

.btl-indicator-evidence th,
.btl-indicator-evidence td {
  padding: 5px 4px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btl-visible-warnings ul {
  margin: 0 0 0 16px;
  padding: 0;
  color: #fde68a;
  font-size: 11px;
}

.btl-first-stats {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.btl-first-stats > div {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--btl-line);
  border-radius: 5px;
  background: #131a1a;
}

.btl-first-stats span {
  display: block;
  color: var(--btl-muted);
  font-size: 10px;
}

.btl-first-stats strong {
  display: block;
  margin-top: 1px;
  font-size: 16px;
}

.btl-below-cockpit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.btl-below-cockpit > details {
  min-width: 0;
  border: 1px solid var(--btl-line);
  border-radius: 6px;
  background: var(--btl-panel);
  padding: 0 9px;
}

.btl-below-cockpit > .btl-wide-detail {
  grid-column: span 2;
}

.btl-detail-pad {
  padding: 4px 0 10px;
  min-width: 0;
}

.btl-preview-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 48px 20px 20px;
  background: rgba(3, 7, 7, .92);
}

.btl-preview-modal img {
  width: auto;
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
}

.btl-preview-modal button {
  position: absolute;
  top: 12px;
  right: 16px;
}

@media (min-width: 900px) and (max-width: 1279px) {
  .btl-cockpit-grid {
    grid-template-areas:
      "decision capture"
      "evidence evidence";
    grid-template-columns: minmax(430px, 1.15fr) minmax(310px, .85fr);
  }

  .btl-cockpit-grid > .btl-panel {
    height: auto;
    min-height: 480px;
    max-height: 650px;
  }

  .btl-cockpit-evidence {
    min-height: 0 !important;
  }

  .btl-cockpit-evidence .btl-evidence-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .btl-alpha8-shell {
    padding: 7px;
  }

  .btl-cockpit-grid {
    grid-template-areas:
      "decision"
      "capture"
      "evidence";
    grid-template-columns: minmax(0, 1fr);
  }

  .btl-cockpit-grid > .btl-panel {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .btl-first-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .btl-below-cockpit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btl-below-cockpit > .btl-wide-detail {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .btl-cockpit-bar {
    padding: 5px 7px;
  }

  .btl-cockpit-user {
    margin-left: 0;
  }

  .btl-compact-controls,
  .btl-decision-metrics,
  .btl-decision-brief,
  .btl-evidence-summary,
  .btl-cockpit-evidence .btl-evidence-summary,
  .btl-drawer-grid,
  .btl-condition-grid,
  .btl-first-stats,
  .btl-below-cockpit {
    grid-template-columns: 1fr;
  }

  .btl-below-cockpit > .btl-wide-detail {
    grid-column: auto;
  }

  .btl-action-banner,
  .btl-watch-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .btl-official-horizons {
    grid-template-columns: 1fr;
  }

  .btl-validation-strip {
    grid-template-columns: 1fr;
  }
}


/* 0.4.1 signal-hold upgrade */
.btl-entry-enter {
  border-left-color: #00f5a0;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.23), rgba(13, 48, 37, 0.92));
  box-shadow: 0 0 0 1px rgba(0, 245, 160, 0.22), 0 0 18px rgba(0, 245, 160, 0.18);
}

.btl-entry-enter strong {
  color: #d1fae5;
  letter-spacing: 0.03em;
}

.btl-sound-settings select {
  width: 100%;
  min-height: 34px;
  padding: 6px 7px;
  border: 1px solid var(--btl-line);
  border-radius: 5px;
  background: #0d1110;
  color: var(--btl-text);
  font-weight: 800;
}

/* v0.4.2 login cockpit and trade-timer upgrade */
body.btl-login-body {
  margin: 0 !important;
  min-height: 100dvh;
  background: #061111 !important;
  color: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btl-login-screen {
  width: 100vw;
  min-height: 100dvh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 44px);
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.28), transparent 34%),
    radial-gradient(circle at 80% 15%, rgba(96, 165, 250, 0.20), transparent 36%),
    linear-gradient(135deg, #061111 0%, #0d1919 45%, #101414 100%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.btl-login-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}

.btl-login-shell {
  width: min(1180px, 100%);
  min-height: min(720px, calc(100dvh - 60px));
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.btl-login-hero,
.btl-login-card {
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(6, 17, 17, 0.84));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.btl-login-hero {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.btl-login-badge,
.btl-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.10);
  color: #a7f3d0 !important;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btl-login-hero h1 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.btl-login-lead {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1 !important;
  font-size: clamp(18px, 2.2vw, 27px);
  line-height: 1.32;
}

.btl-login-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.btl-login-feature-grid div {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.66);
  padding: 16px;
}

.btl-login-feature-grid strong {
  display: block;
  color: #f8fafc;
  font-size: 15px;
  margin-bottom: 6px;
}

.btl-login-feature-grid span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}

.btl-login-disclaimer {
  margin: 0;
  color: #fbbf24 !important;
  font-size: 13px;
  font-weight: 800;
}

.btl-login-card {
  width: 100%;
  align-self: center;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.btl-login-card h2,
.btl-login-card h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.btl-login-card p {
  color: #cbd5e1 !important;
}

.btl-login-card form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.btl-login-card label {
  color: #e2e8f0 !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.btl-login-card input[type="text"],
.btl-login-card input[type="password"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.30);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.62);
  color: #f8fafc;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
}

.btl-login-card input[type="text"]:focus,
.btl-login-card input[type="password"]:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
}

.btl-login-remember {
  color: #cbd5e1 !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center;
}

.btl-login-submit,
.btl-login-card .btl-primary {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
  color: #041313 !important;
  font-size: 16px;
  font-weight: 950;
  border: 0 !important;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(20, 184, 166, 0.24);
}

.btl-login-lost {
  color: #a7f3d0 !important;
  font-weight: 850;
  text-decoration: none !important;
}

.btl-login-error {
  border: 1px solid rgba(251, 113, 133, 0.45);
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.28);
  color: #fecdd3;
  padding: 12px 14px;
}

.btl-trade-timer-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.08));
}

.btl-trade-timer-control strong {
  display: block;
  color: var(--btl-text, #f8fafc);
}

.btl-trade-timer-control span,
.btl-trade-timer-control small {
  color: var(--btl-muted, #aebbb6);
}

.btl-trade-timer-control label {
  display: grid;
  gap: 5px;
  font-weight: 800;
}

.btl-trade-timer-control select {
  min-width: 190px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #111827;
  color: #f8fafc;
  padding: 7px 10px;
}

.btl-trade-timer-control small {
  grid-column: 1 / -1;
  font-weight: 800;
}

@media (max-width: 880px) {
  .btl-login-shell {
    grid-template-columns: 1fr;
  }
  .btl-login-hero {
    min-height: auto;
  }
  .btl-login-feature-grid,
  .btl-trade-timer-control {
    grid-template-columns: 1fr;
  }
  .btl-login-card {
    align-self: stretch;
  }
}

/* v0.4.3: API failures are visually distinct from market NO_EDGE/BLOCKED decisions. */
.btl-analysis-error-banner {
  border: 1px solid rgba(255, 73, 92, 0.8);
  background: rgba(102, 18, 31, 0.94);
  color: #fff5f6;
  font-weight: 700;
}

/* 0.4.4 truth-layer additions */
.btl-payout-confirm {
  align-content: center;
}

.btl-payout-confirm > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--btl-line);
  border-radius: 5px;
  background: var(--btl-panel-2);
  color: var(--btl-text);
  font-weight: 700;
}

.btl-payout-confirm input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  margin: 0;
}

/* 0.4.4.1 operational truth: hard-cap and browser-only record labels. */
.btl-trade-cap-warning {
  border: 1px solid rgba(245, 158, 11, 0.72);
  background: rgba(120, 53, 15, 0.88);
  color: #fff7ed;
  font-weight: 750;
}

.btl-local-warning {
  border: 1px solid rgba(56, 189, 248, 0.62);
  background: rgba(8, 47, 73, 0.9);
  color: #e0f2fe;
  font-weight: 700;
}

.btl-local-only-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(56, 189, 248, 0.62);
  border-radius: 999px;
  background: rgba(8, 47, 73, 0.9);
  color: #e0f2fe;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* 0.4.5 operational UX: remove theme spacing and nested cockpit scroll traps. */
body.btl-standalone-body,
body.btl-fullscreen-page {
  padding: 0 !important;
}

.btl-standalone-frame {
  padding: 0 !important;
  margin: 0 !important;
}

.btl-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btl-brand-title img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex: 0 0 auto;
}

.btl-validation-strip .btl-check-pending {
  border-color: #3d4b48;
  background: #17201f;
  color: #aebbb6;
}

.btl-local-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btl-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.btl-inline-actions button {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #47615b;
  border-radius: 5px;
  background: #172523;
  color: #f4f7f5;
  cursor: pointer;
  font-weight: 800;
}

.btl-inline-actions button:last-child {
  border-color: #743040;
  background: #2d171d;
}

.btl-inline-actions button:disabled {
  cursor: wait;
  opacity: .6;
}

@media (min-width: 1280px) {
  .btl-cockpit-grid {
    align-items: stretch;
  }

  .btl-cockpit-grid > .btl-panel {
    height: auto;
    min-height: min(610px, calc(100dvh - 155px));
    max-height: none;
    overflow: visible;
  }

  .btl-cockpit-capture .btl-upload-box {
    min-height: 255px;
  }
}

/* 0.5.0 — Capital, daily-loss and session discipline */
.btl-capital-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr)) minmax(150px, auto);
  gap: 8px;
  align-items: stretch;
  margin: 8px 0 10px;
  padding: 9px;
  border: 1px solid var(--btl-border, #2d423c);
  border-radius: 8px;
  background: #101a18;
}

.btl-capital-strip > div {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(148, 173, 164, 0.18);
  border-radius: 6px;
  background: rgba(7, 15, 14, 0.55);
}

.btl-capital-strip span,
.btl-capital-strip small {
  display: block;
  color: #9eb1aa;
  font-size: 11px;
  line-height: 1.25;
}

.btl-capital-strip strong {
  display: block;
  margin: 3px 0;
  color: #f3f8f6;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.btl-capital-open {
  border-color: #2f8b69;
  box-shadow: inset 0 0 0 1px rgba(47, 139, 105, 0.14);
}

.btl-capital-blocked,
.btl-capital-unconfigured {
  border-color: #8c5b39;
  background: #1b1712;
}

.btl-capital-unconfigured {
  grid-template-columns: 1fr auto;
}

.btl-capital-unconfigured > div {
  border: 0;
  background: transparent;
}

.btl-capital-gate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.btl-capital-gate > span {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.btl-capital-gate button,
.btl-capital-unconfigured button,
.btl-capital-actions button {
  min-height: 34px;
  border: 1px solid #4d7468;
  border-radius: 5px;
  background: #183a31;
  color: #f4fbf8;
  cursor: pointer;
  font-weight: 700;
}

.btl-capital-gate button:hover,
.btl-capital-unconfigured button:hover,
.btl-capital-actions button:hover {
  background: #215043;
}

.btl-capital-gate button:disabled,
.btl-capital-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.btl-capital-settings {
  display: grid;
  gap: 14px;
}

.btl-capital-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.btl-capital-form-grid label,
.btl-override-reason-field,
.btl-override-ack {
  display: grid;
  gap: 5px;
  align-content: start;
  color: #c7d3cf;
  font-size: 12px;
  font-weight: 700;
}

.btl-capital-form-grid input,
.btl-capital-form-grid select,
.btl-override-reason-field textarea,
.btl-drawer-grid select {
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  border: 1px solid #354a44;
  border-radius: 5px;
  background: #0e1715;
  color: #f5f8f7;
  padding: 7px 9px;
}

.btl-capital-form-grid input:disabled,
.btl-capital-form-grid select:disabled {
  color: #87958f;
  background: #111513;
}

.btl-capital-form-grid small,
.btl-override-reason-field small {
  color: #899c95;
  font-weight: 400;
  line-height: 1.35;
}

.btl-capital-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btl-capital-actions button {
  padding: 7px 14px;
}

.btl-capital-actions a {
  color: #9bc8ff;
}

.btl-risk-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 173, 164, 0.16);
}

.btl-risk-rules strong,
.btl-risk-rules span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #14231f;
  color: #b8c9c3;
  font-size: 11px;
}

.btl-risk-rules strong {
  background: #254b3f;
  color: #fff;
}

.btl-override-ack {
  grid-column: span 2;
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 8px;
  border: 1px solid #7b5e2d;
  border-radius: 5px;
  background: rgba(111, 76, 23, 0.18);
  color: #f0d7a5;
}

.btl-override-ack input {
  margin-top: 2px;
}

@media (max-width: 1280px) {
  .btl-capital-strip {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }
  .btl-capital-form-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 820px) {
  .btl-capital-strip,
  .btl-capital-unconfigured {
    grid-template-columns: 1fr 1fr;
  }
  .btl-capital-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .btl-capital-strip,
  .btl-capital-unconfigured,
  .btl-capital-form-grid {
    grid-template-columns: 1fr;
  }
  .btl-override-ack {
    grid-column: auto;
  }
}


/* Version 0.8.0 — decision-oriented cockpit and workflow refinement */
.btl-skip-link{position:fixed;left:12px;top:-80px;z-index:100000;padding:10px 14px;border-radius:6px;background:#fff;color:#111;font-weight:800;box-shadow:0 6px 24px rgba(0,0,0,.35)}
.btl-skip-link:focus{top:12px}
.btl-shell :focus-visible{outline:3px solid #f7c948;outline-offset:3px}
.btl-sr-live,.screen-reader-text{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}
.btl-governance-chip{display:inline-flex!important;align-items:center;padding:3px 8px!important;border-radius:999px;font-size:10px!important;font-weight:800;letter-spacing:.03em;white-space:nowrap}.btl-governance-chip.is-ready{background:#163f32;color:#9ff0cd}.btl-governance-chip.is-blocked{background:#46251f;color:#ffc1b3}
.btl-connection-status{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0;padding:8px 10px;border:1px solid #2f5c4c;border-radius:8px;background:#101c18}.btl-connection-status>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btl-connection-status strong{font-size:11px;letter-spacing:.05em}.btl-connection-status small{color:#9fb0aa}.btl-connection-status button{min-height:30px;border:1px solid #6e8b82;border-radius:5px;background:#1a302a;color:#fff;font-weight:700}.btl-connection-status.is-local{border-color:#8b5d32;background:#211911}.btl-connection-status.is-pending{border-color:#526f83;background:#101a21}.btl-connection-dot{width:9px;height:9px;border-radius:50%;background:#56d89b;box-shadow:0 0 0 4px rgba(86,216,155,.12)}.btl-connection-status.is-local .btl-connection-dot{background:#f4aa55;box-shadow:0 0 0 4px rgba(244,170,85,.12)}.btl-connection-status.is-pending .btl-connection-dot{background:#7fc7f1;box-shadow:0 0 0 4px rgba(127,199,241,.12);animation:btl-connection-pulse 1.2s ease-in-out infinite}@keyframes btl-connection-pulse{50%{opacity:.35;transform:scale(.8)}}
.btl-server-badge,.btl-local-only-badge{display:inline-flex!important;width:max-content;margin-top:4px;padding:2px 6px;border-radius:999px;font-size:9px!important;font-weight:800!important;letter-spacing:.04em}.btl-server-badge{background:#163f32;color:#9ff0cd}.btl-local-only-badge{background:#56361d;color:#ffd6a5}
.btl-session-workflow{margin:10px 0;padding:12px;border:1px solid #344d46;border-radius:10px;background:#101917}.btl-workflow-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.btl-workflow-heading span{color:#94a8a0;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.btl-workflow-heading h2{margin:2px 0 0;font-size:16px}.btl-workflow-heading button{min-height:32px}.btl-session-workflow ol{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:7px;margin:0;padding:0;list-style:none}.btl-session-workflow li{display:grid;grid-template-columns:22px 1fr auto;gap:7px;align-items:center;min-width:0;padding:8px;border:1px solid #2e403b;border-radius:7px;background:#0c1412}.btl-session-workflow li>span{display:grid;place-items:center;width:20px;height:20px;border:1px solid #566861;border-radius:50%;font-size:11px}.btl-session-workflow li strong,.btl-session-workflow li small{display:block;overflow-wrap:anywhere}.btl-session-workflow li strong{font-size:11px}.btl-session-workflow li small{margin-top:2px;color:#91a39c;font-size:10px}.btl-session-workflow li button{min-height:28px;padding:3px 8px;border:1px solid #50776a;border-radius:5px;background:#173a30;color:#fff;font-size:10px;font-weight:800}.btl-session-workflow li.is-complete{border-color:#2e785d;background:#10241e}.btl-session-workflow li.is-complete>span{border-color:#57cc9a;background:#184936;color:#b9f6dc}.btl-session-workflow li.is-current{border-color:#d49b3e;box-shadow:inset 0 0 0 1px rgba(212,155,62,.2)}
.btl-session-progress{margin:10px 0;padding:11px;border:1px solid #334a44;border-radius:9px;background:#0f1816}.btl-session-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}.btl-session-progress-head span,.btl-session-progress-head strong{display:block}.btl-session-progress-head>span{padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800}.btl-session-progress-head>span.is-open{background:#174934;color:#a9f5d4}.btl-session-progress-head>span.is-blocked{background:#4a241e;color:#ffc2b6}.btl-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:8px}.btl-progress-grid>div{padding:8px;border:1px solid rgba(150,175,166,.15);border-radius:7px;background:#0a1210}.btl-progress-grid span,.btl-progress-grid strong,.btl-progress-grid small{display:block}.btl-progress-grid span,.btl-progress-grid small{color:#92a69f;font-size:10px}.btl-progress-grid strong{margin:3px 0;font-size:12px}.btl-progress-grid progress{width:100%;height:7px;accent-color:#56c997}
.btl-state-rail{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(440px,2fr);gap:10px;align-items:center;margin:10px 0;padding:10px;border:1px solid #364c46;border-radius:8px;background:#0f1715}.btl-state-rail-label strong,.btl-state-rail-label span{display:block}.btl-state-rail-label strong{font-size:13px}.btl-state-rail-label span{margin-top:3px;color:#9cadA6;font-size:11px;line-height:1.35}.btl-state-rail-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.btl-state-rail-steps span{padding:6px 4px;border:1px solid #344740;border-radius:5px;text-align:center;color:#82948e;font-size:9px;font-weight:800;text-transform:uppercase}.btl-state-rail-steps .is-active{color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.btl-state-analysis.is-active{background:#2c4154}.btl-state-observation.is-active{background:#4b421d}.btl-state-trade_ready.is-active{background:#14573b}.btl-state-watch_only.is-active{background:#59421b}.btl-state-blocked.is-active{background:#5a241f}
.btl-expiry-alert{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0;padding:12px 14px;border:2px solid #d09035;border-radius:9px;background:#2a1f0d}.btl-expiry-alert div strong,.btl-expiry-alert div span{display:block}.btl-expiry-alert div strong{font-size:14px;letter-spacing:.04em}.btl-expiry-alert div span{margin-top:4px;color:#f0d4a7}.btl-expiry-alert.is-critical{border-color:#f05c4f;background:#321311;box-shadow:0 0 0 3px rgba(240,92,79,.1)}.btl-expiry-alert button{min-height:36px;border:1px solid currentColor;border-radius:6px;background:#fff;color:#321311;font-weight:900}
.btl-screenshot-guide{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0;padding:8px;border:1px solid #31453f;border-radius:7px;background:#0c1513}.btl-screenshot-guide strong,.btl-screenshot-guide span{padding:4px 7px;border-radius:999px;font-size:10px}.btl-screenshot-guide strong{background:#28473d;color:#fff}.btl-screenshot-guide span{background:#141f1c;color:#b9c8c3}.btl-capture-dragover{border-color:#f4c257!important;background:#27210f!important;box-shadow:inset 0 0 0 2px rgba(244,194,87,.25)}
.btl-mobile-journal-hint{display:none;color:#94a8a0;font-size:11px}.btl-journal-actions{white-space:nowrap}
.btl-settings-state{float:right;padding:2px 7px;border-radius:999px;background:#164a36;color:#aff2d4;font-size:9px;font-weight:800}
.btl-admin-diagnostics .btl-diagnostic-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:8px}.btl-diagnostic-grid>div{padding:9px;border:1px solid #30443e;border-radius:6px;background:#0c1513}.btl-diagnostic-grid span,.btl-diagnostic-grid strong{display:block}.btl-diagnostic-grid span{color:#8fa199;font-size:10px}.btl-diagnostic-grid strong{margin-top:3px;overflow-wrap:anywhere}.btl-admin-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.btl-admin-links a{padding:7px 10px;border:1px solid #4b6c61;border-radius:5px;color:#c8f2e4;text-decoration:none}
.btl-shortcut-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.72)}.btl-shortcut-modal>div{position:relative;width:min(560px,100%);padding:22px;border:1px solid #526b63;border-radius:12px;background:#101917;box-shadow:0 24px 80px rgba(0,0,0,.55)}.btl-shortcut-modal h2{margin-top:0}.btl-shortcut-modal>div>button{position:absolute;right:12px;top:10px;width:34px;height:34px;border:1px solid #5c716a;border-radius:50%;background:#1b2a26;color:#fff;font-size:22px}.btl-shortcut-modal dl{display:grid;gap:7px}.btl-shortcut-modal dl div{display:grid;grid-template-columns:100px 1fr;gap:10px;padding:8px;border-bottom:1px solid #293a35}.btl-shortcut-modal dt{font-weight:900;color:#f4c66e}.btl-shortcut-modal dd{margin:0;color:#c5d0cc}
@media (max-width:1100px){.btl-session-workflow ol{grid-template-columns:repeat(3,1fr)}.btl-progress-grid{grid-template-columns:repeat(2,1fr)}.btl-state-rail{grid-template-columns:1fr}.btl-state-rail-steps{grid-template-columns:repeat(5,1fr)}}
@media (max-width:760px){.btl-session-workflow ol{grid-template-columns:1fr}.btl-workflow-heading,.btl-session-progress-head,.btl-expiry-alert,.btl-connection-status{align-items:stretch;flex-direction:column}.btl-progress-grid,.btl-admin-diagnostics .btl-diagnostic-grid{grid-template-columns:1fr}.btl-state-rail-steps{grid-template-columns:1fr 1fr}.btl-mobile-journal-hint{display:block}.btl-table-wrap{overflow:visible}.btl-table,.btl-table tbody,.btl-table tr,.btl-table td{display:block;width:100%;box-sizing:border-box}.btl-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}.btl-table tr.btl-journal-row{margin:10px 0;padding:10px;border:1px solid #334943;border-radius:9px;background:#0e1715}.btl-table tr.btl-journal-row td{display:grid;grid-template-columns:minmax(90px,34%) 1fr;gap:8px;padding:7px 4px;border:0;border-bottom:1px solid rgba(151,175,166,.11)}.btl-table tr.btl-journal-row td:last-child{border-bottom:0}.btl-table tr.btl-journal-row td::before{content:attr(data-label);color:#8fa29b;font-size:10px;font-weight:800;text-transform:uppercase}.btl-journal-actions button{min-height:38px;margin:2px}.btl-cockpit-bar{overflow-x:auto}.btl-governance-chip{display:none!important}}
@media (max-width:480px){.btl-state-rail-steps{grid-template-columns:1fr}.btl-shortcut-modal dl div{grid-template-columns:1fr}.btl-session-workflow{padding:9px}.btl-expiry-alert button{width:100%}}


/* 0.9.0 release-candidate standalone shell hardening. */
html.btl-standalone-html,
html.btl-standalone-html body,
body.btl-standalone-body,
body.btl-login-body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 100% !important;
  background: #101414 !important;
  overflow-x: hidden !important;
}

html.btl-standalone-html {
  height: 100%;
  margin-top: 0 !important;
  scroll-padding-top: 8px;
}

body.btl-standalone-body {
  min-height: 100dvh !important;
}

body.btl-standalone-body.admin-bar,
html.btl-standalone-html.admin-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.btl-standalone-body #wpadminbar,
html.btl-standalone-html #wpadminbar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
}

.btl-standalone-frame,
.btl-standalone-frame #binary-trade-lab-root,
.btl-alpha8-shell {
  position: relative;
  top: 0 !important;
  margin-top: 0 !important;
}

.btl-standalone-frame {
  width: 100%;
  min-height: 100dvh;
  display: block;
}

.btl-alpha8-shell {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  padding: 8px clamp(8px, 1vw, 14px) 18px;
}

@media (min-width: 1280px) {
  .btl-alpha8-shell {
    padding-top: 8px;
  }
  .btl-cockpit-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
  }
}

@media (max-width: 760px) {
  .btl-alpha8-shell {
    padding: 6px 7px 14px;
  }
}


/* 0.9.1 workspace display and audio refinement. */
html.btl-standalone-html,
html.btl-standalone-html body {
  width: 100%;
  min-height: 100%;
  overscroll-behavior: none;
}

body.btl-login-body,
body.btl-standalone-body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.btl-login-body {
  background: #06100e !important;
  overflow: hidden !important;
}

.btl-login-screen {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(10px, 1.6vw, 24px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: auto;
  background:
    radial-gradient(circle at 10% 10%, rgba(16, 185, 129, .20), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, .16), transparent 34%),
    linear-gradient(145deg, #06100e 0%, #081513 50%, #09131a 100%);
}

.btl-login-screen::before {
  opacity: .10;
  background-size: 52px 52px;
}

.btl-login-glow {
  position: fixed;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .18;
}
.btl-login-glow-a { left: -12vw; bottom: -18vw; background: #10b981; }
.btl-login-glow-b { right: -12vw; top: -18vw; background: #2563eb; }

.btl-login-shell {
  width: min(1320px, 100%);
  min-height: min(760px, calc(100dvh - 24px));
  max-height: calc(100dvh - 20px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(4, 13, 12, .76);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
}

.btl-login-brandbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 2.4vw, 32px);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
  background: rgba(7, 18, 16, .82);
}

.btl-login-brand,
.btl-login-brand > div {
  display: flex;
  align-items: center;
}
.btl-login-brand { gap: 11px; }
.btl-login-brand > div { align-items: flex-start; flex-direction: column; line-height: 1.12; }
.btl-login-brand img { border-radius: 9px; box-shadow: 0 0 0 1px rgba(52, 211, 153, .24); }
.btl-login-brand strong { color: #f8fafc; font-size: 17px; letter-spacing: -.02em; }
.btl-login-brand span { color: #8fa6a0; font-size: 11px; }

.btl-login-trust { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.btl-login-trust span {
  padding: 5px 9px;
  border: 1px solid rgba(94, 234, 212, .20);
  border-radius: 999px;
  background: rgba(13, 148, 136, .08);
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}

.btl-login-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .72fr);
}

.btl-login-hero,
.btl-login-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
}

.btl-login-hero {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
  justify-content: center;
  gap: clamp(14px, 2vh, 22px);
  overflow: hidden;
}

.btl-login-badge { padding: 6px 11px; font-size: 10px; }
.btl-login-hero h1 {
  max-width: 780px;
  font-size: clamp(46px, 5.7vw, 78px);
  line-height: .94;
  letter-spacing: -.065em;
}
.btl-login-hero h1 em { color: #54e6b4; font-style: normal; }
.btl-login-lead { max-width: 760px; font-size: clamp(17px, 1.75vw, 23px); line-height: 1.36; }

.btl-login-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.btl-login-process > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 14px;
  background: rgba(15, 23, 42, .48);
}
.btl-login-process span,
.btl-login-process strong,
.btl-login-process small { display: block; }
.btl-login-process span { color: #5eead4; font-size: 10px; font-weight: 900; }
.btl-login-process strong { margin: 4px 0 2px; color: #f8fafc; font-size: 13px; }
.btl-login-process small { color: #8fa6a0; font-size: 10px; line-height: 1.3; }

.btl-login-feature-grid { gap: 8px; }
.btl-login-feature-grid div { padding: 11px 12px; border-radius: 14px; }
.btl-login-feature-grid strong { margin-bottom: 3px; font-size: 12px; }
.btl-login-feature-grid span { font-size: 10px; line-height: 1.35; }
.btl-login-disclaimer { font-size: 11px; }

.btl-login-card {
  width: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: clamp(28px, 3.5vw, 48px);
  border-left: 1px solid rgba(148, 163, 184, .15);
  background: linear-gradient(180deg, rgba(15, 23, 42, .58), rgba(3, 12, 11, .72));
}

.btl-login-card-head { display: flex; align-items: flex-start; gap: 12px; }
.btl-login-card-head .btl-kicker { margin-bottom: 7px; padding: 5px 9px; font-size: 9px; }
.btl-login-status-dot {
  width: 11px;
  height: 11px;
  margin-top: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .12), 0 0 18px rgba(52, 211, 153, .42);
}
.btl-login-card h2 { font-size: clamp(34px, 3.3vw, 46px); }
.btl-login-card form { gap: 10px; }
.btl-login-card label:not(.btl-login-remember) { margin-top: 2px; }
.btl-login-card input[type="text"],
.btl-login-card input[type="password"] { min-height: 50px; border-radius: 13px; }

.btl-password-field { position: relative; }
.btl-password-field input { padding-right: 70px !important; }
.btl-password-field button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(94, 234, 212, .26);
  border-radius: 9px;
  background: rgba(20, 184, 166, .10);
  color: #a7f3d0;
  font-weight: 800;
  cursor: pointer;
}
.btl-login-submit { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.btl-login-submit b { font-size: 22px; }
.btl-login-submit:disabled { cursor: wait; opacity: .72; }
.btl-login-security-note {
  display: grid;
  gap: 3px;
  margin-top: 4px;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, .14);
  border-radius: 12px;
  background: rgba(2, 6, 23, .34);
}
.btl-login-security-note strong { color: #d1fae5; font-size: 11px; }
.btl-login-security-note span { color: #83958f; font-size: 10px; line-height: 1.35; }

.btl-app-boot {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: #f4f7f5;
  background: radial-gradient(circle at 50% 20%, rgba(52, 211, 153, .12), transparent 36%), #07110f;
}
.btl-app-boot img { border-radius: 12px; animation: btl-boot-pulse 1.5s ease-in-out infinite; }
.btl-app-boot strong { font-size: 18px; }
.btl-app-boot span { color: #91a39c; font-size: 12px; }
@keyframes btl-boot-pulse { 50% { opacity: .58; transform: scale(.96); } }

body.btl-standalone-body {
  background: #07110f !important;
  overflow-x: hidden !important;
}
.btl-standalone-frame { background: #07110f; }
.btl-alpha8-shell {
  width: min(100%, 1920px);
  margin: 0 auto !important;
  padding: 7px clamp(7px, .8vw, 13px) 18px;
  background:
    radial-gradient(circle at 45% -20%, rgba(52, 211, 153, .055), transparent 38%),
    #0a1110;
}

.btl-cockpit-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) minmax(180px, auto) auto;
  gap: 10px;
  min-height: 52px;
  padding: 7px 9px;
  overflow: visible;
  white-space: normal;
  border-color: #31433e;
  border-radius: 9px;
  background: rgba(10, 18, 16, .96);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.btl-cockpit-brand { display: flex; min-width: max-content; align-items: center; gap: 9px; }
.btl-cockpit-brand > small { color: #748a83; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.btl-brand-title { display: inline-flex; align-items: center; gap: 8px; }
.btl-brand-title img { border-radius: 6px; }
.btl-cockpit-context { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
.btl-cockpit-context > span,
.btl-cockpit-context > a { padding: 3px 6px; border: 1px solid #2c3835; border-radius: 5px; color: var(--btl-muted); font-size: 10px; text-decoration: none; }
.btl-decision-beacon {
  min-width: 180px;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "small span" "strong span";
  align-items: center;
  gap: 0 10px;
  padding: 5px 9px;
  border: 1px solid #3c4c47;
  border-radius: 7px;
  background: #101917;
}
.btl-decision-beacon small { grid-area: small; color: #83968f; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.btl-decision-beacon strong { grid-area: strong; font-size: 11px; line-height: 1.1; }
.btl-decision-beacon span { grid-area: span; color: #cbd5d1; font-size: 10px; font-weight: 800; }
.btl-decision-analysis { border-color: #496379; background: #10202c; }
.btl-decision-observation { border-color: #7b6830; background: #241f10; }
.btl-decision-trade_ready { border-color: #2f9d71; background: #0d2a20; box-shadow: 0 0 0 2px rgba(52,211,153,.08); }
.btl-decision-watch_only { border-color: #9b7132; background: #2b210f; }
.btl-decision-blocked { border-color: #a44b47; background: #301514; }
.btl-cockpit-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: max-content; }
.btl-toolbar-button {
  min-height: 31px;
  padding: 4px 8px;
  border: 1px solid #3c514a;
  border-radius: 6px;
  background: #14201d;
  color: #c9d7d2;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}
.btl-toolbar-button:hover { border-color: #61c9a4; color: #fff; }
.btl-sound-quick.is-on { border-color: #287d60; color: #b7f6dc; background: #103025; }
.btl-sound-quick.is-muted { border-color: #6b4b38; color: #f0c8a9; background: #271911; }
.btl-cockpit-user { margin-left: 4px; padding: 4px 7px; border: 1px solid #2c3835; border-radius: 5px; color: #aebbb6; font-size: 10px; }

.btl-density-compact .btl-help-line { min-height: 22px; padding: 2px 3px; font-size: 10px; }
.btl-density-compact .btl-connection-status { margin: 5px 0; padding: 6px 8px; }
.btl-density-compact .btl-session-workflow { margin: 6px 0; padding: 8px; }
.btl-density-compact .btl-workflow-heading { margin-bottom: 6px; }
.btl-density-compact .btl-session-workflow li { padding: 5px 6px; }
.btl-density-compact .btl-message { margin-top: 6px; padding: 7px 9px; font-size: 11px; }
.btl-density-compact .btl-capital-strip { margin: 6px 0; padding: 6px; }
.btl-density-compact .btl-state-rail { margin: 6px 0; padding: 7px; }
.btl-density-compact .btl-cockpit-grid > .btl-panel { padding: 9px; }
.btl-density-compact .btl-first-stats { margin-top: 6px; }

.btl-focus-mode .btl-help-line,
.btl-focus-mode .btl-session-workflow { display: none; }
.btl-focus-mode .btl-state-rail { grid-template-columns: 1fr auto; }
.btl-focus-mode .btl-state-rail-steps span:not(.is-active) { display: none; }
.btl-focus-mode .btl-cockpit-grid > .btl-panel { min-height: min(690px, calc(100dvh - 190px)); }

.btl-sound-settings { display: grid; gap: 10px; }
.btl-sound-settings-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.btl-sound-settings-head h3,
.btl-sound-settings-head p { margin: 0; }
.btl-sound-settings-head p { margin-top: 3px; color: #91a39c; font-size: 10px; }
.btl-sound-settings-head > span { padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; }
.btl-sound-settings-head > span.is-ready { background: #164a36; color: #aff2d4; }
.btl-sound-settings-head > span.is-muted { background: #4a2b1d; color: #f0c7a6; }
.btl-toggle-row { grid-template-columns: auto 1fr !important; align-items: center; }
.btl-sound-settings input[type="range"] { width: 100%; accent-color: #34d399; }
.btl-volume-presets,
.btl-sound-tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.btl-volume-presets button,
.btl-sound-tests button {
  min-height: 34px;
  border: 1px solid #40574f;
  border-radius: 6px;
  background: #14201d;
  color: #d2ded9;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.btl-sound-tests button:first-child { border-color: #2f8b69; background: #103025; }
.btl-sound-tests button:last-child { border-color: #7c403e; background: #291514; }

@media (min-width: 1280px) {
  .btl-density-compact .btl-cockpit-grid > .btl-panel {
    min-height: min(650px, calc(100dvh - 295px));
  }
}

@media (max-width: 1180px) {
  .btl-cockpit-bar { grid-template-columns: auto 1fr auto; }
  .btl-decision-beacon { grid-column: 1 / -1; grid-row: 2; }
  .btl-cockpit-actions { grid-column: 3; grid-row: 1; }
}

@media (max-width: 860px) {
  body.btl-login-body { overflow: auto !important; }
  .btl-login-screen { place-items: start center; padding: 8px; }
  .btl-login-shell { max-height: none; min-height: calc(100dvh - 16px); border-radius: 18px; }
  .btl-login-brandbar { align-items: flex-start; flex-direction: column; }
  .btl-login-trust { justify-content: flex-start; }
  .btl-login-grid { grid-template-columns: 1fr; }
  .btl-login-card { border-top: 1px solid rgba(148, 163, 184, .15); border-left: 0; }
  .btl-login-hero { padding: 28px 22px; }
  .btl-login-card { padding: 28px 22px; }
  .btl-login-hero h1 { font-size: clamp(43px, 12vw, 66px); }
  .btl-cockpit-bar { position: relative; grid-template-columns: 1fr auto; }
  .btl-cockpit-context { grid-column: 1 / -1; }
  .btl-decision-beacon { grid-column: 1 / -1; }
  .btl-cockpit-actions { grid-column: 2; grid-row: 1; }
  .btl-cockpit-actions .btl-cockpit-user { display: none; }
}

@media (max-width: 580px) {
  .btl-login-trust span:nth-child(2) { display: none; }
  .btl-login-process { grid-template-columns: 1fr; }
  .btl-login-feature-grid { grid-template-columns: 1fr; }
  .btl-login-feature-grid div:nth-child(n+3) { display: none; }
  .btl-cockpit-brand > small,
  .btl-density-toggle { display: none; }
  .btl-cockpit-actions { flex-wrap: wrap; }
  .btl-toolbar-button { padding: 4px 6px; }
  .btl-decision-beacon { min-width: 0; }
  .btl-volume-presets,
  .btl-sound-tests { grid-template-columns: 1fr; }
}

/* Resolve the earlier two-column login-shell declaration: the outer shell is
   one column, while .btl-login-grid owns the hero/form columns. */
.btl-login-shell {
  grid-template-columns: minmax(0, 1fr) !important;
}
.btl-login-brandbar,
.btl-login-grid {
  grid-column: 1 !important;
  width: 100%;
}

/* Final 0.9.1 login viewport safeguards. */
.btl-login-screen,
.btl-login-screen * {
  box-sizing: border-box;
}
.btl-login-trust {
  flex: 1 1 0;
  min-width: 0;
  max-width: 55%;
}
.btl-login-trust span {
  white-space: nowrap;
}
@media (max-width: 860px) {
  .btl-login-trust { max-width: none; }
}

/* Keep the complete cockpit command strip inside narrow mobile viewports. */
@media (max-width: 580px) {
  .btl-cockpit-bar {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px;
  }
  .btl-cockpit-brand,
  .btl-cockpit-context,
  .btl-decision-beacon,
  .btl-cockpit-actions {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100%;
    min-width: 0;
  }
  .btl-cockpit-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .btl-cockpit-actions .btl-toolbar-button,
  .btl-cockpit-actions .btl-logout-link {
    min-width: 0;
    min-height: 34px;
    padding: 5px 4px;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    font-size: 9px;
  }
}

/* ========================================================================
   Version 1.0.1 — natural workspace scrolling and decision clarity hotfix
   Signal, scoring, horizon, model and risk behaviour are unchanged.
   ======================================================================== */

html.btl-natural-scroll,
body.btl-natural-scroll,
body.btl-standalone-body.btl-natural-scroll {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
  scroll-behavior: auto;
}

body.btl-standalone-body.btl-natural-scroll,
body.btl-standalone-body.btl-natural-scroll #binary-trade-lab-root,
body.btl-standalone-body.btl-natural-scroll .btl-standalone-frame,
body.btl-standalone-body.btl-natural-scroll .btl-alpha8-shell {
  min-height: 100dvh;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.btl-natural-scroll .btl-cockpit-grid {
  align-items: start !important;
  overflow: visible !important;
  touch-action: pan-y;
}

.btl-natural-scroll .btl-cockpit-grid > .btl-panel,
.btl-natural-scroll .btl-focus-mode .btl-cockpit-grid > .btl-panel,
.btl-natural-scroll .btl-density-compact .btl-cockpit-grid > .btl-panel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-width: auto;
  touch-action: pan-y;
}

.btl-natural-scroll .btl-cockpit-bar {
  top: 0;
}

.btl-natural-scroll .btl-table-wrap,
.btl-natural-scroll .btl-preview-modal,
.btl-natural-scroll .btl-shortcut-modal {
  overscroll-behavior: auto;
}

.btl-clarity-banner {
  --btl-clarity-border: #496379;
  --btl-clarity-bg: #10202c;
  --btl-clarity-accent: #d7e8f5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto);
  grid-template-areas:
    "main signal"
    "chips chips";
  gap: 10px 16px;
  min-height: 138px;
  padding: clamp(14px, 1.3vw, 20px);
  border: 2px solid var(--btl-clarity-border);
  border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--btl-clarity-bg) 94%, #fff 6%), var(--btl-clarity-bg));
  color: var(--btl-clarity-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 10px 26px rgba(0,0,0,.16);
}

.btl-clarity-main {
  grid-area: main;
  min-width: 0;
}

.btl-clarity-main > small {
  display: block;
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--btl-clarity-accent) 72%, transparent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.btl-clarity-main > strong {
  display: block;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.btl-clarity-main > p {
  margin: 9px 0 0;
  color: #f4f7f5;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 900;
  line-height: 1.25;
  text-wrap: balance;
}

.btl-clarity-main > span {
  display: block;
  max-width: 920px;
  margin-top: 7px;
  color: #b9c8c2;
  font-size: 11px;
  line-height: 1.45;
}

.btl-clarity-signal {
  grid-area: signal;
  align-self: stretch;
  display: grid;
  min-width: 116px;
  place-content: center;
  justify-items: center;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--btl-clarity-border) 78%, #fff 22%);
  border-radius: 9px;
  background: rgba(3, 9, 8, .32);
  text-align: center;
}

.btl-clarity-signal > span {
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .04em;
}

.btl-clarity-signal > b {
  margin-top: 4px;
  color: #fff;
  font-size: 29px;
  line-height: 1;
}

.btl-clarity-signal > small {
  margin-top: 4px;
  color: #8fa29b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.btl-clarity-chips {
  grid-area: chips;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btl-clarity-chips > span {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--btl-clarity-border) 72%, #fff 12%);
  border-radius: 999px;
  background: rgba(3, 9, 8, .28);
  color: #cbd6d2;
  font-size: 9px;
  font-weight: 850;
}

.btl-clarity-trade_now {
  --btl-clarity-border: #31c78e;
  --btl-clarity-bg: #0b3225;
  --btl-clarity-accent: #a7f3d0;
  box-shadow: 0 0 0 3px rgba(49,199,142,.10), 0 12px 34px rgba(0,0,0,.24);
}

.btl-clarity-wait_do_not_enter {
  --btl-clarity-border: #d3a237;
  --btl-clarity-bg: #36280b;
  --btl-clarity-accent: #fde68a;
}

.btl-clarity-pullback_setup {
  --btl-clarity-border: #4b9ed8;
  --btl-clarity-bg: #10283a;
  --btl-clarity-accent: #bae6fd;
}

.btl-clarity-rescan_now {
  --btl-clarity-border: #7a8ee8;
  --btl-clarity-bg: #171d3c;
  --btl-clarity-accent: #c7d2fe;
}

.btl-clarity-entry_missed {
  --btl-clarity-border: #e07a35;
  --btl-clarity-bg: #3a1d0d;
  --btl-clarity-accent: #fed7aa;
}

.btl-clarity-setup_invalidated,
.btl-clarity-risk_stop {
  --btl-clarity-border: #ef5b59;
  --btl-clarity-bg: #3a1216;
  --btl-clarity-accent: #fecaca;
}

.btl-clarity-watch_only {
  --btl-clarity-border: #b18435;
  --btl-clarity-bg: #2d230f;
  --btl-clarity-accent: #fde7a9;
}

.btl-clarity-no_edge {
  --btl-clarity-border: #65766f;
  --btl-clarity-bg: #1a2220;
  --btl-clarity-accent: #d6dfdc;
}

.btl-clarity-analysis {
  --btl-clarity-border: #496379;
  --btl-clarity-bg: #10202c;
  --btl-clarity-accent: #d7e8f5;
}

.btl-decision-command {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 9px 11px;
  border-left: 4px solid #60756d;
  border-radius: 5px;
  background: #131b19;
}

.btl-decision-command > strong {
  color: #f4f7f5;
  font-size: 12px;
  line-height: 1.35;
}

.btl-decision-command > small {
  flex: 0 0 auto;
  color: #9baca5;
  font-size: 9px;
  text-align: right;
}

.btl-decision-command.btl-entry-enter { border-left-color: #31c78e; background: #0d2d22; }
.btl-decision-command.btl-entry-wait,
.btl-decision-command.btl-entry-confirm { border-left-color: #d3a237; background: #2d250f; }
.btl-decision-command.btl-entry-rescan { border-left-color: #7a8ee8; background: #151c36; }
.btl-decision-command.btl-entry-stale,
.btl-decision-command.btl-entry-expired,
.btl-decision-command.btl-entry-avoid { border-left-color: #e05d52; background: #311518; }

.btl-five-line-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #34443f;
  border-radius: 8px;
  background: #101715;
}

.btl-five-line-card > div {
  display: grid;
  grid-template-columns: minmax(125px, .34fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(143,162,155,.12);
}

.btl-five-line-card > div:last-child { border-bottom: 0; }

.btl-five-line-card span {
  color: #83968f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.btl-five-line-card strong {
  color: #eef4f1;
  font-size: 11px;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .btl-clarity-banner { min-height: 126px; }
  .btl-clarity-main > strong { font-size: clamp(26px, 4vw, 42px); }
}

@media (max-width: 760px) {
  .btl-clarity-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "signal" "chips";
    padding: 13px;
  }
  .btl-clarity-signal {
    grid-template-columns: auto auto auto;
    gap: 9px;
    min-width: 0;
    justify-content: start;
    justify-items: start;
  }
  .btl-clarity-signal > b { margin-top: 0; font-size: 22px; }
  .btl-clarity-signal > small { margin-top: 0; align-self: center; }
  .btl-decision-command { align-items: flex-start; flex-direction: column; }
  .btl-decision-command > small { text-align: left; }
  .btl-five-line-card > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .btl-clarity-banner,
  .btl-decision-command { transition: none !important; }
}

/* 1.1.0 — optional capital discipline and setup lifecycle */
.btl-risk-optional {
  border-color: rgba(71, 171, 255, .44) !important;
  background: rgba(31, 84, 123, .28) !important;
  color: #a9dcff !important;
}

.btl-capital-optional-off {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-color: rgba(78, 165, 224, .42);
  background: linear-gradient(90deg, rgba(18, 51, 73, .55), rgba(10, 27, 31, .72));
}

.btl-capital-optional-off > div:first-child,
.btl-capital-unconfigured > div:first-child {
  display: grid;
  gap: 4px;
}

.btl-capital-optional-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.btl-capital-optional-actions button,
.btl-capital-mode-card button {
  min-height: 38px;
  border: 1px solid rgba(96, 225, 186, .45);
  border-radius: 7px;
  background: rgba(22, 91, 75, .72);
  color: #f5fffb;
  font-weight: 800;
  cursor: pointer;
  padding: 8px 12px;
}

.btl-capital-optional-actions button:disabled,
.btl-capital-mode-card button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.btl-capital-mode-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(83, 178, 228, .32);
  border-radius: 9px;
  background: rgba(9, 29, 38, .76);
}

.btl-capital-mode-card > div {
  display: grid;
  gap: 4px;
}

.btl-capital-mode-card span {
  color: var(--btl-muted);
  font-size: 12px;
}

.btl-capital-mode-card.is-enabled {
  border-color: rgba(73, 221, 164, .4);
  background: rgba(14, 62, 49, .52);
}

.btl-capital-mode-card.is-disabled {
  border-color: rgba(83, 178, 228, .38);
}

.btl-lifecycle-card {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid rgba(94, 177, 228, .34);
  border-left-width: 4px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(11, 31, 42, .94), rgba(9, 24, 29, .92));
  display: grid;
  gap: 8px;
}

.btl-lifecycle-card.btl-lifecycle-triggered {
  border-color: rgba(52, 219, 153, .65);
}

.btl-lifecycle-card.btl-lifecycle-armed {
  border-color: rgba(239, 181, 63, .62);
}

.btl-lifecycle-card.btl-lifecycle-missed,
.btl-lifecycle-card.btl-lifecycle-invalidated,
.btl-lifecycle-card.btl-lifecycle-expired {
  border-color: rgba(238, 91, 91, .62);
}

.btl-lifecycle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btl-lifecycle-head > div {
  display: grid;
  gap: 2px;
}

.btl-lifecycle-head span,
.btl-lifecycle-grid span,
.btl-lifecycle-instruction span {
  color: var(--btl-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.btl-lifecycle-head strong {
  font-size: 17px;
  color: #f5fbff;
}

.btl-lifecycle-head > span {
  border: 1px solid rgba(104, 190, 232, .28);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}

.btl-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.btl-lifecycle-grid > div,
.btl-lifecycle-instruction {
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(104, 190, 232, .18);
  border-radius: 6px;
  background: rgba(4, 17, 22, .58);
  display: grid;
  gap: 3px;
}

.btl-lifecycle-grid strong,
.btl-lifecycle-instruction strong {
  color: #eef9ff;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.btl-lifecycle-card p {
  margin: 0;
  color: #b8cbd5;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .btl-capital-optional-off,
  .btl-capital-mode-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
  .btl-capital-optional-actions {
    justify-content: stretch;
  }
  .btl-capital-optional-actions button,
  .btl-capital-mode-card button {
    width: 100%;
  }
  .btl-lifecycle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .btl-lifecycle-grid {
    grid-template-columns: 1fr;
  }
  .btl-lifecycle-head {
    align-items: flex-start;
  }
}

/* 1.1.0 — immutable research-only shadow outcome capture */
.btl-shadow-outcome {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(92, 177, 219, .28);
  border-radius: 8px;
  background: rgba(8, 25, 34, .72);
}
.btl-shadow-outcome > span,
.btl-shadow-outcome small {
  color: var(--btl-muted);
  font-size: 10px;
}
.btl-shadow-outcome strong {
  color: #eefaff;
  font-size: 14px;
}
.btl-shadow-outcome.is-recorded {
  border-color: rgba(52, 219, 153, .45);
  background: rgba(10, 53, 40, .34);
}
.btl-shadow-outcome.is-pending {
  border-color: rgba(239, 181, 63, .42);
}
.btl-shadow-outcome-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.btl-shadow-outcome-actions button {
  min-height: 36px;
  border: 1px solid rgba(118, 206, 239, .32);
  border-radius: 7px;
  background: rgba(18, 51, 64, .9);
  color: #f2fbff;
  font-weight: 800;
  cursor: pointer;
}
.btl-shadow-outcome-actions button:hover:not(:disabled),
.btl-shadow-outcome-actions button:focus-visible {
  border-color: rgba(52, 219, 153, .8);
  background: rgba(20, 82, 70, .92);
}
.btl-shadow-outcome-actions button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 560px) {
  .btl-shadow-outcome-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 1.2.0 timing evidence and pre-registered expiry comparison */
.btl-counterfactual-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(75, 210, 170, 0.26);
  border-radius: 12px;
  background: rgba(3, 20, 18, 0.64);
}
.btl-counterfactual-head,
.btl-counterfactual-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.btl-counterfactual-head { margin-bottom: 8px; }
.btl-counterfactual-head span,
.btl-counterfactual-row small,
.btl-counterfactual-panel p { color: var(--muted); }
.btl-counterfactual-row {
  display: grid;
  gap: 7px;
  padding: 9px 0;
  border-top: 1px solid rgba(151, 172, 167, 0.14);
}
.btl-counterfactual-row strong { color: var(--text); }
.btl-counterfactual-row.is-recorded strong,
.btl-counterfactual-row.is-recorded span { color: var(--success); }
.btl-counterfactual-row.is-unavailable { opacity: 0.72; }
.btl-counterfactual-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.btl-counterfactual-actions button {
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(114, 220, 190, 0.24);
  background: rgba(7, 33, 29, 0.9);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.btl-counterfactual-actions button:hover:not(:disabled),
.btl-counterfactual-actions button:focus-visible {
  border-color: var(--accent);
  background: rgba(12, 59, 50, 0.95);
}
.btl-counterfactual-actions button:disabled { opacity: 0.5; cursor: wait; }
@media (max-width: 620px) {
  .btl-counterfactual-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Version 1.3.1 — Single Decision Mode and instruction clarity */
.btl-single-expiry-selector {
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid #2a8f78;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d2a23, #101c1b);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.btl-single-expiry-selector > div:first-child { display: grid; gap: 3px; }
.btl-single-expiry-selector > div:first-child > span { color: #63d9b4; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.btl-single-expiry-selector > div:first-child > strong { font-size: 15px; }
.btl-single-expiry-selector > div:first-child > small,
.btl-single-expiry-selector > p { color: #a9c4bd; line-height: 1.45; }
.btl-single-expiry-selector > p { grid-column: 1 / -1; margin: 0; padding-top: 7px; border-top: 1px solid #27443e; }
.btl-intended-expiry-options { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.btl-intended-expiry-options button { min-width: 72px; padding: 11px 12px; border: 1px solid #385750; border-radius: 8px; color: #c5d7d2; background: #101c1b; font-weight: 850; cursor: pointer; }
.btl-intended-expiry-options button:hover,
.btl-intended-expiry-options button:focus-visible { border-color: #55d4af; outline: 2px solid rgba(85,212,175,.25); outline-offset: 2px; }
.btl-intended-expiry-options button.is-selected { color: #07120f; background: #57d9b4; border-color: #75e8c7; box-shadow: 0 0 0 2px rgba(87,217,180,.18); }

.btl-clarity-trade_now { border-color: #3dd29b !important; background: linear-gradient(135deg, #0f372a, #123f30) !important; }
.btl-clarity-wait { border-color: #e1ad35 !important; background: linear-gradient(135deg, #30250e, #3b2c0e) !important; }
.btl-clarity-no_trade { border-color: #e16057 !important; background: linear-gradient(135deg, #391516, #4a191b) !important; }
.btl-clarity-main > strong { font-size: clamp(30px, 3.4vw, 54px) !important; letter-spacing: -.03em; line-height: .95; }
.btl-clarity-main > small { color: #d8e7e2; font-weight: 850; }

.btl-six-line-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #30443f;
  border-radius: 9px;
  overflow: hidden;
  margin: 8px 0;
  background: #0d1715;
}
.btl-six-line-card > div { min-height: 62px; padding: 10px 12px; display: grid; align-content: center; gap: 5px; border-bottom: 1px solid #263a35; }
.btl-six-line-card > div:nth-child(odd) { border-right: 1px solid #263a35; }
.btl-six-line-card > div:nth-last-child(-n+2) { border-bottom: 0; }
.btl-six-line-card span { color: #82a69d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.btl-six-line-card strong { color: #f4faf8; line-height: 1.35; }

.btl-authoritative-horizon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin: 8px 0; border: 1px solid #3f8f79; border-left: 4px solid #51d3ad; border-radius: 8px; background: #10231f; }
.btl-authoritative-horizon > div { display: grid; gap: 2px; }
.btl-authoritative-horizon span { color: #65d9b6; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.btl-authoritative-horizon b { font-size: 19px; }
.btl-authoritative-horizon.is-missing { border-color: #dc6259; background: #351717; }

.btl-single-decision-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.btl-single-decision-actions button { min-height: 42px; }
.btl-single-decision-technical { margin-top: 10px; border: 1px solid #2b3c38; border-radius: 8px; background: #0d1715; }
.btl-single-decision-technical > summary,
.btl-technical-evidence-drawer > summary { cursor: pointer; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 850; }
.btl-single-decision-technical > summary span,
.btl-technical-evidence-drawer > summary span { color: #87a9a1; font-size: 11px; font-weight: 650; }
.btl-alternative-warning { display: grid; gap: 4px; padding: 10px; margin: 12px 0 8px; border: 1px solid #765f2d; border-radius: 7px; background: #2b230f; }
.btl-alternative-warning strong { color: #ffd46d; }
.btl-alternative-warning span { color: #d5c79d; }
.btl-alternative-horizons { opacity: .58; filter: saturate(.65); pointer-events: none; }
.btl-advanced-override-note { display: grid; gap: 4px; margin-top: 12px; padding: 10px; border: 1px dashed #3d514c; border-radius: 7px; color: #9db5af; }
.btl-advanced-override-note strong { color: #d6e5e1; }

.btl-single-state-rail .btl-state-rail-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.btl-state-trade_now.is-active { background: #1f6f53 !important; color: #eafff7 !important; }
.btl-state-wait.is-active { background: #76581c !important; color: #fff5cc !important; }
.btl-state-no_trade.is-active { background: #7b302d !important; color: #fff0ee !important; }

.btl-cockpit-grid { grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr); }
.btl-cockpit-evidence { grid-column: 1 / -1; padding: 0 !important; }
.btl-technical-evidence-drawer { width: 100%; }
.btl-technical-evidence-drawer > summary { min-height: 46px; }
.btl-technical-evidence-drawer[open] > summary { border-bottom: 1px solid #293d38; }

@media (max-width: 900px) {
  .btl-cockpit-grid { grid-template-columns: 1fr; }
  .btl-single-expiry-selector { grid-template-columns: 1fr; }
  .btl-intended-expiry-options { justify-content: stretch; display: grid; grid-template-columns: repeat(3, 1fr); }
  .btl-intended-expiry-options button { min-width: 0; }
  .btl-six-line-card { grid-template-columns: 1fr; }
  .btl-six-line-card > div { border-right: 0 !important; border-bottom: 1px solid #263a35 !important; }
  .btl-six-line-card > div:last-child { border-bottom: 0 !important; }
  .btl-single-decision-actions { grid-template-columns: 1fr; }
}

.btl-decision-trade_now { border-color: #43d5a1 !important; background: #0d2e24 !important; }
.btl-decision-wait { border-color: #d6a537 !important; background: #30250e !important; }
.btl-decision-no_trade { border-color: #d75f57 !important; background: #351617 !important; }
.btl-session-workflow ol { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .btl-session-workflow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .btl-session-workflow ol { grid-template-columns: 1fr; } }

/* Version 1.3.2 — rescan scheduler, opportunity rotation and expiry repair */
.btl-expiry-confirmation {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #39554e;
  border-radius: 8px;
  background: #0b1714;
  cursor: pointer;
}
.btl-expiry-confirmation.is-confirmed { border-color: #4fd1a7; background: #0d251e; }
.btl-expiry-confirmation input { margin-top: 4px; width: 18px; height: 18px; accent-color: #55d7b0; }
.btl-expiry-confirmation span { display: grid; gap: 3px; }
.btl-expiry-confirmation strong { color: #edf9f5; }
.btl-expiry-confirmation small { color: #93afa7; line-height: 1.4; }

.btl-next-best-action {
  margin: 12px 0;
  border: 1px solid #397d6b;
  border-left: 5px solid #53d7b0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(140deg, #0d211c, #101b19);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
}
.btl-next-best-action > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #2b443e;
  background: rgba(28,75,63,.25);
}
.btl-next-best-action header > div { display: grid; gap: 3px; }
.btl-next-best-action header small,
.btl-opportunity-grid span,
.btl-opportunity-guidance span { color: #72bea9; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.btl-next-best-action header strong { font-size: clamp(18px, 2vw, 27px); color: #f4fbf9; }
.btl-opportunity-proximity { border: 1px solid #4aa88e; border-radius: 999px; padding: 7px 10px; color: #cffff0; font-weight: 850; font-size: 11px; white-space: nowrap; }
.btl-opportunity-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.btl-opportunity-grid > div { display: grid; gap: 5px; padding: 12px 14px; border-right: 1px solid #283e39; border-bottom: 1px solid #283e39; }
.btl-opportunity-grid > div:last-child { border-right: 0; }
.btl-opportunity-grid strong { color: #f4faf8; line-height: 1.35; }
.btl-opportunity-guidance { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.btl-opportunity-guidance > div { display: grid; gap: 5px; padding: 12px 14px; border-right: 1px solid #283e39; border-bottom: 1px solid #283e39; }
.btl-opportunity-guidance > div:nth-child(even) { border-right: 0; }
.btl-opportunity-guidance strong { color: #dceae6; line-height: 1.45; }
.btl-opportunity-guidance small { color: #8ea9a2; line-height: 1.4; }
.btl-next-best-action > footer { display: grid; grid-template-columns: minmax(210px,1.3fr) minmax(150px,.7fr); gap: 8px; padding: 12px 14px; }
.btl-next-best-action footer button { min-height: 43px; }
.btl-opportunity-primary { border: 1px solid #5ee3ba; border-radius: 8px; background: #48d0a6; color: #07130f; font-weight: 900; cursor: pointer; }
.btl-opportunity-primary:disabled { background: #243f38; color: #9eb5ae; border-color: #36564d; cursor: wait; }
.btl-opportunity-trade-note { display: grid; place-items: center; padding: 10px; border: 1px solid #4cd7a8; border-radius: 8px; color: #bff8e4; font-weight: 800; }
.btl-opportunity-switch_pair { border-color: #d9a33a; border-left-color: #f0bb4d; }
.btl-opportunity-fix_screen { border-color: #df655c; border-left-color: #f16f65; }
.btl-opportunity-rescan_soon { border-color: #42cba4; }

.btl-recent-pair-queue { margin: 10px 0; border: 1px solid #2c403b; border-radius: 9px; background: #0c1715; }
.btl-recent-pair-queue summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px; font-weight: 850; }
.btl-recent-pair-queue summary span { color: #86a69e; font-size: 11px; }
.btl-recent-pair-queue > div { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; padding: 0 12px 12px; }
.btl-recent-pair-queue article { display: grid; gap: 3px; padding: 9px; border: 1px solid #284039; border-radius: 7px; background: #101f1b; }
.btl-recent-pair-queue article span { color: #9ec1b7; font-size: 11px; }
.btl-recent-pair-queue article small { color: #65d4b0; }

.btl-duplicate-chart-warning { margin: 10px 0; padding: 13px; border: 1px solid #e0a942; border-left: 5px solid #f1bd4e; border-radius: 9px; background: #31250d; }
.btl-duplicate-chart-warning strong { color: #ffe29a; font-size: 17px; }
.btl-duplicate-chart-warning p { color: #e1d2a8; }
.btl-duplicate-chart-warning > div { display: flex; flex-wrap: wrap; gap: 8px; }
.btl-duplicate-chart-warning button { min-height: 39px; }

@media (max-width: 980px) {
  .btl-opportunity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .btl-opportunity-grid > div:nth-child(2) { border-right: 0; }
  .btl-recent-pair-queue > div { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .btl-next-best-action > header { align-items: flex-start; flex-direction: column; }
  .btl-opportunity-grid,
  .btl-opportunity-guidance,
  .btl-next-best-action > footer,
  .btl-recent-pair-queue > div { grid-template-columns: 1fr; }
  .btl-opportunity-grid > div,
  .btl-opportunity-guidance > div { border-right: 0; }
  .btl-recent-pair-queue summary { flex-direction: column; }
}

/* Version 1.3.3 — optional Dual Expiry Intelligence */
.btl-dual-expiry-toggle {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #34524a;
  border-radius: 8px;
  background: #0a1714;
  cursor: pointer;
}
.btl-dual-expiry-toggle.is-enabled { border-color: #58c9aa; background: #0c241d; box-shadow: inset 0 0 0 1px rgba(88,201,170,.12); }
.btl-dual-expiry-toggle input { margin-top: 4px; width: 18px; height: 18px; accent-color: #55d7b0; }
.btl-dual-expiry-toggle span { display: grid; gap: 3px; }
.btl-dual-expiry-toggle strong { color: #eef9f6; }
.btl-dual-expiry-toggle small { color: #91aea6; line-height: 1.4; }

.btl-dual-expiry-intelligence {
  margin: 12px 0;
  border: 1px solid #35554c;
  border-left: 5px solid #58c9aa;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #0b1815, #111e1b);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.btl-dual-expiry-intelligence > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 15px;
  border-bottom: 1px solid #29423b;
  background: rgba(35,92,76,.22);
}
.btl-dual-expiry-intelligence header > div { display: grid; gap: 3px; }
.btl-dual-expiry-intelligence header small,
.btl-dual-expiry-row span,
.btl-dual-expiry-conclusion span { color: #72bda8; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.btl-dual-expiry-intelligence header h3 { margin: 0; color: #f2faf7; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.25; }
.btl-dual-expiry-intelligence header > span { color: #a7c2ba; font-size: 11px; font-weight: 750; text-align: right; }
.btl-dual-expiry-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 12px; }
.btl-dual-expiry-row {
  display: grid;
  grid-template-columns: minmax(110px,.7fr) minmax(105px,.65fr) minmax(110px,.65fr) minmax(190px,1.5fr);
  gap: 0;
  border: 1px solid #2c443e;
  border-radius: 9px;
  background: #0e1c18;
  overflow: hidden;
}
.btl-dual-expiry-row > div { display: grid; align-content: center; gap: 4px; padding: 11px 12px; border-right: 1px solid #294039; }
.btl-dual-expiry-row > div:last-child { border-right: 0; }
.btl-dual-expiry-row strong { color: #eef8f5; line-height: 1.35; }
.btl-dual-expiry-row small { color: #8ea9a2; line-height: 1.35; }
.btl-dual-expiry-title strong { font-size: 21px; }
.btl-dual-expiry-title span { color: #b9d8cf; }
.btl-dual-expiry-row.is-authoritative { border-color: #55d5ae; box-shadow: inset 0 0 0 1px rgba(85,213,174,.12); }
.btl-dual-expiry-row.is-comparison { opacity: .88; }
.btl-dual-expiry-row.is-best-fit { background: linear-gradient(135deg, #10291f, #0e1d19); }
.btl-dual-expiry-row.is-best-fit .btl-dual-expiry-title strong { color: #74e2bd; }
.btl-dual-expiry-timing strong { font-size: 12px; font-weight: 750; }
.btl-dual-expiry-conclusion {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border-top: 1px solid #29423b;
  background: #0c1715;
}
.btl-dual-expiry-conclusion > div { display: grid; gap: 4px; }
.btl-dual-expiry-conclusion strong { color: #f5fbf9; font-size: 17px; }
.btl-dual-expiry-conclusion p { margin: 0; color: #c8d9d4; line-height: 1.45; }
.btl-dual-expiry-conclusion small { color: #91aaa3; line-height: 1.4; }
.btl-dual-expiry-action { min-height: 43px; padding: 0 15px; border: 1px solid #5ce0b8; border-radius: 8px; background: #42cfa3; color: #07140f; font-weight: 900; cursor: pointer; }
.btl-dual-direction_conflict { border-color: #d86159; border-left-color: #ef6d63; }
.btl-dual-direction_conflict .btl-dual-expiry-conclusion { background: #2c1515; }
.btl-dual-no_decisive_advantage { border-color: #b98d35; border-left-color: #d8a53e; }
.btl-dual-no_decisive_advantage .btl-dual-expiry-conclusion { background: #261f0f; }

@media (max-width: 1120px) {
  .btl-dual-expiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .btl-dual-expiry-intelligence > header { flex-direction: column; }
  .btl-dual-expiry-intelligence header > span { text-align: left; }
  .btl-dual-expiry-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .btl-dual-expiry-row > div { border-bottom: 1px solid #294039; }
  .btl-dual-expiry-row > div:nth-child(2) { border-right: 0; }
  .btl-dual-expiry-row > div:nth-last-child(-n+2) { border-bottom: 0; }
  .btl-dual-expiry-conclusion { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .btl-dual-expiry-row { grid-template-columns: 1fr; }
  .btl-dual-expiry-row > div { border-right: 0; border-bottom: 1px solid #294039 !important; }
  .btl-dual-expiry-row > div:last-child { border-bottom: 0 !important; }
}

/* v1.3.4 — market assessment and execution permission are deliberately separate. */
.btl-gate-separation {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 9px;
  margin: 9px 0;
}
.btl-market-layer,
.btl-execution-layer {
  border: 1px solid #29433b;
  border-radius: 10px;
  background: linear-gradient(145deg, #0d1916, #101e1a);
  padding: 12px 13px;
  display: grid;
  gap: 9px;
  min-width: 0;
}
.btl-market-layer.is-candidate { border-color: #4fd5aa; box-shadow: inset 0 0 0 1px rgba(79,213,170,.1); }
.btl-market-layer.is-watch { border-color: #b89b43; }
.btl-market-layer.is-no-edge { border-color: #61403e; }
.btl-execution-layer.is-permitted { border-color: #52d8ad; background: linear-gradient(145deg, #0c2119, #10271f); }
.btl-execution-layer.is-blocked { border-color: #9b4a45; background: linear-gradient(145deg, #241312, #1a1412); }
.btl-market-layer header,
.btl-execution-layer header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px solid rgba(120,165,151,.18);
  padding-bottom: 8px;
}
.btl-market-layer header span,
.btl-execution-layer header span {
  color: #77bca8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}
.btl-market-layer header strong,
.btl-execution-layer header strong { color: #f2faf7; text-align: right; }
.btl-layer-status { display: grid; gap: 2px; }
.btl-layer-status b { color: #f4fbf8; font-size: 15px; }
.btl-layer-status small { color: #89a69e; }
.btl-market-layer p,
.btl-execution-layer p { margin: 0; color: #c4d6d0; line-height: 1.45; }
.btl-market-facts,
.btl-execution-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.btl-market-facts span,
.btl-execution-facts span {
  border: 1px solid #263a35;
  border-radius: 7px;
  padding: 7px 8px;
  color: #8fa9a1;
  font-size: 11px;
  line-height: 1.35;
}
.btl-market-facts b,
.btl-execution-facts b { color: #edf7f4; text-transform: capitalize; }
@media (max-width: 860px) {
  .btl-gate-separation { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .btl-market-facts,
  .btl-execution-facts { grid-template-columns: 1fr; }
  .btl-market-layer header,
  .btl-execution-layer header { align-items: flex-start; flex-direction: column; }
  .btl-market-layer header strong,
  .btl-execution-layer header strong { text-align: left; }
}

.btl-expiry-revalidate {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #55d8ae;
  border-radius: 8px;
  background: linear-gradient(135deg, #46d2a6, #2fb98f);
  color: #06130f;
  font-weight: 900;
  cursor: pointer;
}
.btl-expiry-revalidate:disabled { opacity: .45; cursor: not-allowed; }
.btl-no-token-note {
  grid-column: 1 / -1;
  color: #8fb6aa;
  font-size: 11px;
  line-height: 1.4;
}

/* v1.3.4.1 — automatic comparison and reconciled decision state. */
.btl-auto-comparison-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #3c8c76;
  border-left: 4px solid #55d7ad;
  border-radius: 8px;
  background: #0d231d;
  display: grid;
  gap: 3px;
}
.btl-auto-comparison-note strong { color: #eaf9f4; }
.btl-auto-comparison-note small { color: #94b8ad; line-height: 1.4; }
.btl-continuation-path {
  margin: 0 13px 12px;
  padding: 12px 14px;
  border: 1px solid #c89b3d;
  border-left: 5px solid #e1ad41;
  border-radius: 9px;
  background: linear-gradient(135deg, #2a210f, #181912);
  display: grid;
  gap: 5px;
}
.btl-continuation-path > span {
  color: #e0b452;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}
.btl-continuation-path > strong { color: #fff4d4; font-size: 17px; }
.btl-continuation-path p { margin: 0; color: #e8dcc0; line-height: 1.45; }
.btl-continuation-path small { color: #bcae8f; line-height: 1.4; }
.btl-opportunity-input_issue .btl-opportunity-proximity,
.btl-opportunity-fix_screen .btl-opportunity-proximity { border-color: #d08548; color: #ffd4a8; }


/* 1.3.4.2 bootstrap recovery surface */
.btl-boot-failure{min-height:100dvh;display:grid;place-content:center;gap:18px;padding:32px;background:radial-gradient(circle at 50% 40%,#0e2a23 0,#07110f 46%,#040a09 100%);color:#eef9f4;text-align:center}
.btl-boot-failure>div:first-child{display:grid;gap:8px}.btl-boot-failure strong{font-size:clamp(24px,3vw,38px)}.btl-boot-failure p{max-width:680px;margin:0 auto;color:#a8bbb3}.btl-boot-failure small{color:#f2bd72}.btl-boot-failure-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.btl-boot-failure button,.btl-boot-failure a{border:1px solid #2f7564;border-radius:8px;padding:12px 18px;background:#143c33;color:#fff;font-weight:800;text-decoration:none;cursor:pointer}.btl-boot-failure button:hover,.btl-boot-failure a:hover{background:#1d5749}

/* Version 1.3.4.3 — Unified Instruction Composer and expiry-gate removal */
.btl-auto-horizon-engine {
  grid-template-columns: minmax(260px,1fr) minmax(190px,.48fr);
  border-color: #3b8e78;
  background: linear-gradient(135deg, #0b2821, #0d1c19);
}
.btl-auto-expiry-result {
  display: grid;
  gap: 4px;
  min-height: 62px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid #3f665c;
  border-radius: 8px;
  background: #0b1715;
}
.btl-auto-expiry-result span,
.btl-unified-instruction-card span,
.btl-technical-expiry-diagnostic span {
  color: #77bea9;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btl-auto-expiry-result strong { color: #f2fbf8; font-size: 15px; }
.btl-unified-instruction-card {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 8px 0 12px;
  border: 1px solid #2e4b43;
  border-radius: 10px;
  overflow: hidden;
  background: #0c1714;
}
.btl-unified-instruction-card > div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 76px;
  padding: 12px 14px;
  border-right: 1px solid #2a403a;
  border-bottom: 1px solid #2a403a;
}
.btl-unified-instruction-card > div:nth-child(even) { border-right: 0; }
.btl-unified-instruction-card > div:nth-last-child(-n+2) { border-bottom: 0; }
.btl-unified-instruction-card strong { color: #f3faf8; line-height: 1.4; }
.btl-technical-expiry-diagnostic {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px dashed #35564d;
  border-radius: 8px;
  background: #0a1513;
}
.btl-technical-expiry-diagnostic strong { color: #cce2dc; }
.btl-technical-expiry-diagnostic small { color: #829f97; }
.btl-dual-expiry-intelligence { margin-top: 10px; }
.btl-dual-expiry-intelligence > header { background: rgba(30,75,63,.22); }
.btl-dual-expiry-intelligence .btl-dual-expiry-conclusion { background: #0c1815; }
@media (max-width: 720px) {
  .btl-auto-horizon-engine,
  .btl-unified-instruction-card { grid-template-columns: 1fr; }
  .btl-unified-instruction-card > div { border-right: 0; }
  .btl-unified-instruction-card > div:nth-last-child(-n+2) { border-bottom: 1px solid #2a403a; }
  .btl-unified-instruction-card > div:last-child { border-bottom: 0; }
}


/* Version 1.4.0 — Watchtower Live Capture */
.btl-watchtower{margin:0 0 14px;border:1px solid #236a58;border-radius:12px;background:linear-gradient(145deg,#0b1d18,#0a1513);overflow:hidden}.btl-watchtower-head{display:flex;justify-content:space-between;gap:16px;padding:15px 16px 10px}.btl-watchtower-head h3{margin:3px 0 4px;font-size:20px}.btl-watchtower-head p{margin:0;color:#9db8ae;max-width:720px}.btl-kicker{font-size:10px;letter-spacing:.12em;color:#61d9b3;font-weight:800}.btl-watchtower-status{align-self:flex-start;border:1px solid #3a806d;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;color:#8ce5c7;background:#0d2a22}.btl-watchtower-scanning .btl-watchtower-status,.btl-watchtower-checking .btl-watchtower-status{border-color:#e8b24f;color:#ffe0a0;background:#342710}.btl-watchtower-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 12px}.btl-watchtower-layout{display:grid;grid-template-columns:minmax(300px,1.25fr) minmax(290px,.75fr);gap:14px;padding:0 16px 14px}.btl-watchtower-preview{position:relative;aspect-ratio:16/9;min-height:190px;border:1px solid #2b4b42;border-radius:10px;background:#050b09;overflow:hidden}.btl-watchtower-preview video{width:100%;height:100%;object-fit:contain;background:#030705}.btl-watchtower-empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px;color:#87a198;padding:20px}.btl-watchtower-empty strong{color:#d9eee6}.btl-watchtower-crop-mask{position:absolute;inset:0;background:rgba(0,0,0,.42);pointer-events:none}.btl-watchtower-crop-box{position:absolute;border:2px solid #53ddb4;box-shadow:0 0 0 9999px rgba(0,0,0,.52),0 0 18px rgba(83,221,180,.25);background:rgba(30,155,120,.06)}.btl-watchtower-crop-box span{position:absolute;top:5px;left:6px;background:#063a2e;color:#a5f4d8;border-radius:4px;padding:3px 6px;font-size:9px;font-weight:900;letter-spacing:.08em}.btl-watchtower-privacy{margin:7px 2px 0;color:#819b92;font-size:11px}.btl-watchtower-controls{display:flex;flex-direction:column;gap:10px}.btl-watchtower-metrics{display:grid;grid-template-columns:1fr 1fr;gap:7px}.btl-watchtower-metrics>div{border:1px solid #294a40;border-radius:8px;padding:9px;background:#0c1916}.btl-watchtower-metrics span{display:block;color:#7fa096;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.btl-watchtower-metrics strong{display:block;margin-top:4px;font-size:12px}.btl-watchtower-crop-controls{border:1px solid #294a40;border-radius:9px;padding:10px;background:#0c1916}.btl-watchtower-presets{display:flex;gap:6px;margin-bottom:9px}.btl-watchtower-presets button{font-size:10px;padding:6px 8px}.btl-watchtower-crop-controls label{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:7px;font-size:10px;color:#9cb5ad;margin:5px 0}.btl-watchtower-crop-controls input[type=range]{width:100%}.btl-watchtower-crop-controls output{text-align:right;color:#d9eee6}.btl-watchtower-note{border-left:3px solid #44cfa3;background:#0d241e;padding:10px 11px;border-radius:7px;display:flex;flex-direction:column;gap:4px}.btl-watchtower-note span{color:#96b0a7;font-size:11px;line-height:1.4}.btl-watchtower-foot{border-top:1px solid #213b34;padding:9px 16px;display:flex;justify-content:space-between;gap:12px;color:#92ada3;font-size:11px}.btl-watchtower-foot strong{color:#ffb3ad}.btl-watchtower-warning{margin:0 16px 12px;border:1px solid #8d5f25;background:#2a1e0c;color:#ffd99a;padding:9px;border-radius:7px}.btl-watchtower .btl-danger{background:#4a1b1c;border-color:#a74a49;color:#ffe2df}.btl-watchtower .btl-primary{background:#42d2a5;border-color:#42d2a5;color:#06110e;font-weight:900}
@media(max-width:900px){.btl-watchtower-layout{grid-template-columns:1fr}.btl-watchtower-preview{min-height:220px}}@media(max-width:560px){.btl-watchtower-head{flex-direction:column}.btl-watchtower-layout{padding:0 10px 12px}.btl-watchtower-toolbar{padding-inline:10px}.btl-watchtower-metrics{grid-template-columns:1fr}.btl-watchtower-preview{min-height:180px}.btl-watchtower-foot{flex-direction:column}}

/* Version 1.4.1 — Opportunity Queue and Watchtower production hardening */
.btl-watchtower-paused .btl-watchtower-status{border-color:#c69a42;color:#ffe0a0;background:#342710}
.btl-watchtower-error .btl-watchtower-status{border-color:#a74a49;color:#ffd4d0;background:#3a1718}
.btl-watchtower-budget{display:grid;gap:8px;border:1px solid #31584d;border-radius:9px;padding:10px;background:#0b1916}
.btl-watchtower-budget>div{display:flex;justify-content:space-between;gap:12px;align-items:center}
.btl-watchtower-budget strong{font-size:12px}.btl-watchtower-budget span{color:#8fac9f;font-size:10px;text-align:right}
.btl-watchtower-budget progress{width:100%;height:9px;accent-color:#44cfa3}
.btl-watchtower-queue-prompt,.btl-watchtower-summary{margin:0 16px 12px;padding:11px 13px;border-radius:8px;display:grid;gap:4px}
.btl-watchtower-queue-prompt{border:1px solid #c38f36;border-left:4px solid #e8b24f;background:#2b210f;color:#f8e3b4}
.btl-watchtower-queue-prompt span{color:#d8c79f;font-size:11px;line-height:1.45}
.btl-watchtower-summary{border:1px solid #31584d;background:#0c1c18;color:#dcece6}
.btl-watchtower-summary span{color:#8fac9f;font-size:11px}
.btl-watchtower>.btl-recent-pair-queue,.btl-watchtower>.btl-opportunity-queue-empty{margin:0 16px 12px}
.btl-opportunity-queue-empty{display:grid;gap:4px;padding:11px 13px;border:1px dashed #34554c;border-radius:8px;background:#0b1714}
.btl-opportunity-queue-empty span{color:#86a69e;font-size:11px}
.btl-recent-pair-queue>.btl-opportunity-queue-list{display:grid;grid-template-columns:1fr;gap:7px;padding:0 12px 12px}
.btl-opportunity-queue-row{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(120px,.7fr) minmax(170px,1fr);align-items:center;gap:10px;padding:10px 11px!important}
.btl-opportunity-queue-row>div{display:grid;gap:3px}.btl-opportunity-queue-row>div:last-child{justify-items:end;text-align:right}
.btl-opportunity-queue-row.is-ready{border-color:#347b68;background:#0d211b}.btl-opportunity-queue-row.is-cooling{opacity:.82}
.btl-opportunity-queue-signal strong{font-size:12px;color:#e7f3ef}.btl-opportunity-queue-signal small{color:#8fb4a9}
.btl-queue-switch{margin-top:5px;padding:6px 8px;border:1px solid #3d8e77;border-radius:6px;background:#123b31;color:#dff8ef;font-size:10px;font-weight:800;cursor:pointer}
.btl-queue-switch:hover{background:#195244}
@media(max-width:720px){.btl-watchtower-budget>div{align-items:flex-start;flex-direction:column}.btl-watchtower-budget span{text-align:left}.btl-opportunity-queue-row{grid-template-columns:1fr}.btl-opportunity-queue-row>div:last-child{justify-items:start;text-align:left}}

/* Version 1.5.0 — Structured Market Scanner, visible evidence and early preparation */
.btl-structured-scanner{margin:0 0 14px;border:1px solid #3d627f;border-radius:12px;background:linear-gradient(145deg,#0b1721,#091117);overflow:hidden}
.btl-structured-head{display:flex;justify-content:space-between;gap:16px;padding:15px 16px 10px}.btl-structured-head h3{margin:3px 0 4px;font-size:20px}.btl-structured-head p{margin:0;color:#9fb4c4;max-width:760px;line-height:1.45}
.btl-structured-status{align-self:flex-start;border:1px solid #416f91;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;color:#bfe3ff;background:#10283a}
.btl-structured-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 16px 12px}.btl-structured-toolbar>span{margin-left:auto;color:#8da5b6;font-size:10px}.btl-button-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #3b665b;border-radius:7px;background:#12251f;color:#e4f5ef;text-decoration:none;font-size:11px;font-weight:800}.btl-button-link:hover{background:#19372e;color:#fff}
.btl-structured-warning{margin:0 16px 12px;padding:10px 12px;border:1px solid #9a6a2d;border-left:4px solid #d49a43;border-radius:8px;background:#2b210f;display:grid;gap:3px}.btl-structured-warning span{color:#d8c8a6;font-size:11px}
.btl-structured-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 16px 14px}.btl-structured-candidate{display:grid;gap:9px;padding:11px;border:1px solid #2d485b;border-radius:9px;background:#0c1820}.btl-structured-candidate.is-prepare{border-color:#d19a3e;box-shadow:inset 4px 0 #e5ae4d;background:linear-gradient(135deg,#251f12,#0d1a20)}.btl-structured-candidate.is-watch{border-color:#4b7690}.btl-structured-candidate.is-low_opportunity{opacity:.8}
.btl-structured-candidate-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.btl-structured-candidate-head>div{display:grid;gap:2px}.btl-structured-candidate-head strong{font-size:15px}.btl-structured-candidate-head span{font-size:9px;letter-spacing:.08em;color:#8fb4cd}.btl-structured-candidate-head b{font-size:11px;color:#dbeefb}
.btl-indicator-strip{display:flex;gap:5px;flex-wrap:wrap}.btl-indicator-strip span{padding:4px 6px;border:1px solid #294759;border-radius:999px;background:#0a141b;color:#9fc0d4;font-size:9px}.btl-structured-target{display:flex;justify-content:space-between;gap:8px;align-items:center}.btl-structured-target strong{color:#f4d79f;font-size:11px}.btl-structured-target span{color:#8fa6b4;font-size:9px}.btl-structured-candidate button{justify-self:start}.btl-structured-candidate small{color:#8ca1af;line-height:1.4}
.btl-structured-empty{grid-column:1/-1;display:grid;gap:4px;padding:14px;border:1px dashed #3b586c;border-radius:9px;background:#0a151c}.btl-structured-empty span{color:#8ea5b5;font-size:11px}.btl-structured-errors{margin:0 16px 12px;padding:10px 12px;border:1px solid #7e4446;border-radius:8px;background:#261315;display:grid;gap:4px}.btl-structured-errors span{color:#e7b7b8;font-size:10px}.btl-structured-foot{display:flex;justify-content:space-between;gap:14px;padding:10px 16px;border-top:1px solid #243b49;color:#9ab1c0;font-size:11px}.btl-structured-foot small{color:#728d9e;text-align:right}
.btl-watchtower-not-armed{margin:0 16px 12px;padding:11px 13px;border:1px solid #d39a3f;border-left:5px solid #f0b84e;border-radius:8px;background:#2c210d;display:grid;gap:4px;color:#fff1cf}.btl-watchtower-not-armed span{color:#d9c69c;font-size:11px;line-height:1.45}
.btl-watchtower-preparation{margin:0 16px 12px;padding:12px 13px;border:1px solid #dda43d;border-left:5px solid #ffbf4c;border-radius:9px;background:linear-gradient(135deg,#30240f,#171b16);display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.btl-watchtower-preparation>div{display:grid;gap:3px}.btl-watchtower-preparation span{color:#d9caa8;font-size:11px}.btl-watchtower-preparation b{font-size:15px;color:#ffe1a1}.btl-watchtower-preparation small{grid-column:1/-1;color:#a99978}
.btl-watchtower-health-note{display:grid;gap:3px;padding:9px 10px;border:1px solid #315349;border-radius:8px;background:#0a1714}.btl-watchtower-health-note span{color:#8daaa0;font-size:10px;line-height:1.4}.btl-watchtower-metrics .is-good{color:#78e5bd}.btl-watchtower-metrics .is-warning{color:#ffd27f}
.btl-watchtower-event-board{margin:0 16px 12px;padding:11px 12px;border:1px solid #2e4f45;border-radius:9px;background:#091512}.btl-watchtower-event-board>div{display:flex;justify-content:space-between;gap:10px}.btl-watchtower-event-board>div span{color:#87a49a;font-size:10px}.btl-watchtower-event-board ol{list-style:none;margin:9px 0 0;padding:0;display:grid;gap:5px}.btl-watchtower-event-board li{display:grid;grid-template-columns:72px minmax(125px,.6fr) 1fr;gap:7px;padding:6px 7px;border-radius:6px;background:#0d1d19;font-size:10px}.btl-watchtower-event-board time{color:#7fa195}.btl-watchtower-event-board b{color:#cfe6de}.btl-watchtower-event-board li span{color:#91aaa2}.btl-watchtower-event-board p{margin:8px 0 0;color:#829e95;font-size:10px}.btl-watchtower-preparing .btl-watchtower-status{border-color:#d7a348;color:#ffe3aa;background:#352810}
@media(max-width:900px){.btl-structured-evidence{grid-template-columns:1fr}btl-structured-toolbar>span{width:100%;margin-left:0}.btl-structured-foot{flex-direction:column}.btl-structured-foot small{text-align:left}}
@media(max-width:600px){.btl-structured-head{flex-direction:column}.btl-structured-evidence{padding-inline:10px}.btl-structured-toolbar,.btl-structured-warning{margin-left:10px;margin-right:10px}.btl-watchtower-preparation{grid-template-columns:1fr}.btl-watchtower-preparation small{grid-column:auto}.btl-watchtower-event-board li{grid-template-columns:1fr}.btl-watchtower-event-board>div{flex-direction:column}}
.btl-structured-calibration{margin:0 16px 12px;padding:11px 12px;border:1px solid #34566b;border-radius:9px;background:#0a151c;display:grid;grid-template-columns:minmax(190px,1fr) repeat(2,minmax(150px,.7fr));gap:9px}.btl-structured-calibration>div{display:grid;gap:3px}.btl-structured-calibration>div+div{padding-left:10px;border-left:1px solid #294454}.btl-structured-calibration span{color:#8fa8b8;font-size:10px}.btl-structured-calibration b{font-size:17px;color:#e2f3fd}.btl-structured-calibration small{color:#718d9d;font-size:9px}
@media(max-width:760px){.btl-structured-calibration{grid-template-columns:1fr}.btl-structured-calibration>div+div{padding-left:0;padding-top:8px;border-left:0;border-top:1px solid #294454}}

/* Version 1.6.0 Desktop Companion */
.btl-desktop-companion{margin:0 0 14px;border:1px solid #315d6e;border-radius:12px;background:linear-gradient(145deg,#081821,#091512);overflow:hidden}.btl-desktop-companion.is-online{border-color:#24785f}.btl-desktop-head{display:flex;justify-content:space-between;gap:16px;padding:15px 16px 10px}.btl-desktop-head h3{margin:3px 0 4px;font-size:20px}.btl-desktop-head p{margin:0;color:#9cb5b9;max-width:790px;line-height:1.45}.btl-desktop-badge{align-self:flex-start;border:1px solid #467a8f;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900;color:#b8e7f5;background:#0d2630;white-space:nowrap}.btl-desktop-companion.is-online .btl-desktop-badge{border-color:#3a806d;color:#8ce5c7;background:#0d2a22}.btl-desktop-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 12px}.btl-desktop-pairing{margin:0 16px 12px;border:1px solid #d9a744;border-left:5px solid #ffbf4c;border-radius:9px;background:#2a210f;padding:12px;display:grid;gap:4px}.btl-desktop-pairing span{font-size:9px;letter-spacing:.1em;color:#d8bd82}.btl-desktop-pairing strong{font-size:24px;letter-spacing:.18em;color:#fff0c9}.btl-desktop-pairing small{color:#c8b88f}.btl-desktop-metrics{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:7px;padding:0 16px 12px}.btl-desktop-metrics>div{border:1px solid #294d57;border-radius:8px;padding:9px;background:#0b1a1e}.btl-desktop-metrics span{display:block;color:#82a3aa;font-size:9px;letter-spacing:.08em}.btl-desktop-metrics strong{display:block;margin-top:4px;font-size:12px;color:#d9edf1}.btl-desktop-devices,.btl-desktop-channel-board{margin:0 16px 12px;border:1px solid #294d57;border-radius:9px;background:#08171b;overflow:hidden}.btl-desktop-devices article{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:10px;padding:10px 11px;border-top:1px solid #1f3940}.btl-desktop-devices article:first-child{border-top:0}.btl-desktop-devices article>div{display:grid;gap:2px}.btl-desktop-devices article span,.btl-desktop-devices article small{color:#88a4aa;font-size:10px}.btl-desktop-devices article>.is-good{color:#76e5bd;font-weight:900}.btl-desktop-devices article>.is-muted{color:#a6b1b3;font-weight:800}.btl-desktop-empty{margin:0 16px 12px;border:1px dashed #3c6571;border-radius:9px;padding:12px;display:grid;gap:4px;background:#0a1b20}.btl-desktop-empty span{color:#91adb3;font-size:11px;line-height:1.45}.btl-desktop-channel-board>div{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;background:#0c2228}.btl-desktop-channel-board>div span{color:#8aa6ad;font-size:10px}.btl-desktop-channel-board article{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(220px,.8fr);align-items:center;gap:10px;padding:8px 11px;border-top:1px solid #1f3940}.btl-desktop-channel-board article div{display:grid;gap:2px}.btl-desktop-channel-board article div span,.btl-desktop-channel-board article small{color:#88a4aa;font-size:10px}.btl-desktop-channel-board article>span{font-size:9px;font-weight:900;color:#9ad8e7}.btl-desktop-contract{margin:0 16px 12px;border-left:4px solid #4ccca6;background:#0b221d;border-radius:7px;padding:10px 11px;display:grid;gap:3px}.btl-desktop-contract span{color:#9cb5ae;font-size:11px;line-height:1.45}.btl-desktop-error{display:block;margin:0 16px 12px;color:#ffb3ad}.btl-desktop-foot{border-top:1px solid #1f3940;padding:9px 16px;display:flex;justify-content:space-between;gap:12px;color:#8ba7ad;font-size:10px}
@media(max-width:1000px){.btl-desktop-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.btl-desktop-head{flex-direction:column}.btl-desktop-metrics{grid-template-columns:repeat(2,1fr);padding-inline:10px}.btl-desktop-actions,.btl-desktop-pairing,.btl-desktop-devices,.btl-desktop-channel-board,.btl-desktop-empty,.btl-desktop-contract,.btl-desktop-error{margin-left:10px;margin-right:10px}.btl-desktop-devices article,.btl-desktop-channel-board article{grid-template-columns:1fr}.btl-desktop-foot{flex-direction:column}.btl-desktop-pairing strong{font-size:19px}}

/* 1.6.1 automatic directional preview and final signal handoff */
.btl-watchtower-preparation.is-call{border-color:#37d59b;box-shadow:inset 4px 0 0 #37d59b;background:linear-gradient(110deg,rgba(16,87,69,.92),rgba(13,29,25,.96))}
.btl-watchtower-preparation.is-put{border-color:#ff6e6e;box-shadow:inset 4px 0 0 #ff6e6e;background:linear-gradient(110deg,rgba(91,30,34,.94),rgba(34,18,20,.97))}
.btl-watchtower-preparation em{display:block;margin-top:.35rem;color:#d8f5e8;font-style:normal;font-size:.83rem}
.btl-watchtower-preparation.is-put em{color:#ffe1e1}

.btl-directional-preview-banner{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:14px 16px;margin:0 0 12px;border:1px solid #d7a841;border-left-width:5px;border-radius:10px;background:rgba(85,61,15,.62)}
.btl-directional-preview-banner div{display:grid;gap:3px}.btl-directional-preview-banner small{letter-spacing:.08em;color:#f4cd73}.btl-directional-preview-banner strong{font-size:1.15rem}.btl-directional-preview-banner span{color:#d7e8df}.btl-directional-preview-banner>b{white-space:nowrap;color:#fff3cd}.btl-directional-preview-banner.is-call{border-color:#37d59b;background:rgba(14,78,62,.68)}.btl-directional-preview-banner.is-put{border-color:#ff6e6e;background:rgba(90,28,33,.7)}


/* Version 1.6.2 — committed-decision persistence and non-destructive scan overlays */
.btl-decision-persistence-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px;padding:12px 14px;border:1px solid #3d6f63;border-left:5px solid #55d9ae;border-radius:9px;background:linear-gradient(110deg,rgba(11,52,43,.94),rgba(10,24,21,.98));box-shadow:0 8px 22px rgba(0,0,0,.14)}
.btl-decision-persistence-banner>div{display:grid;gap:3px;min-width:0}.btl-decision-persistence-banner small{font-size:9px;letter-spacing:.1em;color:#83dabb}.btl-decision-persistence-banner strong{font-size:14px;color:#effbf7}.btl-decision-persistence-banner span{font-size:11px;line-height:1.45;color:#a7c6bc}.btl-decision-persistence-banner>b{white-space:nowrap;border:1px solid currentColor;border-radius:999px;padding:5px 8px;font-size:9px;letter-spacing:.06em;color:#96ead0}
.btl-decision-persistence-banner.is-scanning{border-color:#3f7d95;border-left-color:#63c9ee;background:linear-gradient(110deg,rgba(12,53,69,.95),rgba(8,24,31,.98))}.btl-decision-persistence-banner.is-scanning small,.btl-decision-persistence-banner.is-scanning>b{color:#9de4ff}
.btl-decision-persistence-banner.is-error{border-color:#a76245;border-left-color:#ff966b;background:linear-gradient(110deg,rgba(75,35,23,.95),rgba(30,19,16,.98))}.btl-decision-persistence-banner.is-error small,.btl-decision-persistence-banner.is-error>b{color:#ffc09e}
.btl-decision-persistence-banner.is-reference{border-color:#b28a3b;border-left-color:#f0bc50;background:linear-gradient(110deg,rgba(73,55,18,.95),rgba(28,25,14,.98))}.btl-decision-persistence-banner.is-reference small,.btl-decision-persistence-banner.is-reference>b{color:#ffdb86}
@media(max-width:620px){.btl-decision-persistence-banner{align-items:flex-start;flex-direction:column}.btl-decision-persistence-banner>b{align-self:flex-start}}

.btl-persistent-decision-dock{position:sticky;top:54px;z-index:18;display:grid;grid-template-columns:minmax(260px,1.4fr) repeat(3,minmax(110px,.45fr));gap:8px;align-items:center;margin:0 10px 10px;padding:9px 11px;border:1px solid #2f6958;border-radius:9px;background:rgba(7,23,19,.96);backdrop-filter:blur(10px);box-shadow:0 10px 24px rgba(0,0,0,.24)}.btl-persistent-decision-dock>div{display:grid;gap:2px;min-width:0}.btl-persistent-decision-dock>div+div{padding-left:9px;border-left:1px solid #29483f}.btl-persistent-decision-dock small,.btl-persistent-decision-dock span{font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#7f9e94}.btl-persistent-decision-dock strong{font-size:12px;color:#e9f7f2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btl-persistent-decision-dock b{font-size:10px;color:#8fe2c4}.btl-persistent-decision-dock.is-expired{border-color:#8c6f32}.btl-persistent-decision-dock.is-expired b{color:#f2cb74}
.btl-decision-history{margin:0 0 12px;border:1px solid #2b4d43;border-radius:8px;background:#091713;overflow:hidden}.btl-decision-history summary{display:flex;justify-content:space-between;padding:9px 11px;cursor:pointer;font-size:11px;font-weight:800}.btl-decision-history>div{display:grid}.btl-decision-history article{display:flex;justify-content:space-between;gap:10px;padding:8px 11px;border-top:1px solid #203b34}.btl-decision-history article>div{display:grid;gap:2px}.btl-decision-history article span{font-size:9px;color:#86a198}.btl-decision-history article b{font-size:9px;color:#b7c9c3}
.btl-alert-readiness{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:6px;margin:8px 0}.btl-alert-readiness span{display:grid;gap:3px;padding:8px;border:1px solid #2b4c43;border-radius:7px;background:#0a1714;color:#819c93;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.btl-alert-readiness b{color:#d5e9e2;font-size:9px}
@media(max-width:900px){.btl-persistent-decision-dock{position:relative;top:auto;grid-template-columns:1fr 1fr}.btl-persistent-decision-dock>div+div{padding-left:0;border-left:0}.btl-alert-readiness{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.btl-persistent-decision-dock{grid-template-columns:1fr}.btl-alert-readiness{grid-template-columns:1fr}}

/* Version 1.6.4 — lean production, one action clock, diagnostics */
.btl-integration-hub{border:1px solid rgba(72,211,167,.28);border-radius:12px;background:rgba(5,25,23,.58);margin-bottom:12px;overflow:hidden}.btl-integration-hub>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(72,211,167,.18)}.btl-integration-hub>header small,.btl-integration-hub>header strong{display:block}.btl-integration-hub>header small{color:#6bd9bd;letter-spacing:.08em}.btl-integration-hub>header span{color:#88aaa2;font-size:12px}.btl-integration-status-strip{display:flex;gap:8px;flex-wrap:wrap;padding:10px 14px}.btl-integration-status-strip span{display:inline-flex;gap:6px;align-items:center;padding:6px 9px;border:1px solid rgba(125,161,153,.24);border-radius:999px;color:#8eb2a9;font-size:11px}.btl-integration-status-strip b{color:#e9fff8}.btl-integration-details{display:grid;gap:6px;padding:0 10px 10px}.btl-integration-details>details{border:1px solid rgba(125,161,153,.18);border-radius:9px;background:rgba(2,15,14,.45)}.btl-integration-details>details>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:10px 12px;color:#dff9f1;font-weight:700}.btl-integration-details>details>summary b{font-size:11px;color:#7bd9bf}.btl-integration-details>details>section{margin:0;border:0;border-top:1px solid rgba(125,161,153,.16);border-radius:0;background:transparent}.btl-desktop-separated{display:inline-flex;align-items:center;padding:8px 10px;border:1px dashed rgba(125,161,153,.35);border-radius:7px;color:#98bcb3;font-size:12px}
.btl-authoritative-countdown{position:sticky;top:4px;z-index:55;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin:8px 14px 10px;padding:11px 14px;border:2px solid rgba(99,221,183,.42);border-radius:11px;background:rgba(3,21,19,.96);box-shadow:0 8px 24px rgba(0,0,0,.24)}.btl-authoritative-countdown small,.btl-authoritative-countdown strong,.btl-authoritative-countdown span{display:block}.btl-authoritative-countdown small{font-size:10px;letter-spacing:.08em;color:#77bea9}.btl-authoritative-countdown strong{font-size:16px;color:#f4fff9}.btl-authoritative-countdown span{font-size:12px;color:#9fc1b8;margin-top:2px}.btl-authoritative-countdown>div:last-child{text-align:right;min-width:110px}.btl-authoritative-countdown b{display:block;font-size:26px;line-height:1;color:#66e1b6;font-variant-numeric:tabular-nums}.btl-authoritative-countdown.is-critical{border-color:#ffb448;background:rgba(56,27,5,.97)}.btl-authoritative-countdown.is-critical b{color:#ffd079}.btl-authoritative-countdown.is-prepare{border-color:#f2c75a}.btl-authoritative-countdown.is-wait{border-color:#5d9ed8}.btl-authoritative-countdown.is-idle{opacity:.82}
.btl-gate-waterfall,.btl-token-cost-report{margin:12px 0;border:1px solid rgba(94,189,158,.24);border-radius:10px;background:rgba(4,20,18,.58);overflow:hidden}.btl-gate-waterfall>header,.btl-token-cost-report>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 13px;border-bottom:1px solid rgba(94,189,158,.16)}.btl-gate-waterfall>header small,.btl-gate-waterfall>header strong,.btl-token-cost-report>header small,.btl-token-cost-report>header strong{display:block}.btl-gate-waterfall>header small,.btl-token-cost-report>header small{color:#69d2b2;letter-spacing:.07em}.btl-gate-waterfall>header span,.btl-token-cost-report>header span{font-size:11px;color:#8eaaa3}.btl-gate-waterfall ol{list-style:none;margin:0;padding:8px;display:grid;gap:5px}.btl-gate-waterfall li{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:start;padding:8px;border:1px solid rgba(128,163,155,.15);border-radius:7px}.btl-gate-waterfall li>b{font-size:10px;text-align:center;padding:4px 6px;border-radius:999px}.btl-gate-waterfall li div strong,.btl-gate-waterfall li div span{display:block}.btl-gate-waterfall li div span{font-size:11px;color:#96b0aa;margin-top:2px}.btl-gate-waterfall li.is-pass>b{background:rgba(48,200,145,.18);color:#72e2bb}.btl-gate-waterfall li.is-wait>b{background:rgba(233,177,65,.18);color:#f2cb74}.btl-gate-waterfall li.is-block>b{background:rgba(217,77,77,.18);color:#ff9b9b}.btl-token-cost-report>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px}.btl-token-cost-report article{padding:9px;border:1px solid rgba(128,163,155,.15);border-radius:7px}.btl-token-cost-report article span,.btl-token-cost-report article b,.btl-token-cost-report article small{display:block}.btl-token-cost-report article span{font-size:10px;color:#86aaa0;text-transform:uppercase}.btl-token-cost-report article b{font-size:17px;color:#eefcf7;margin:3px 0}.btl-token-cost-report article small{font-size:10px;color:#849e97}
@media (max-width:760px){.btl-authoritative-countdown{position:relative;top:auto;grid-template-columns:1fr;margin:7px}.btl-authoritative-countdown>div:last-child{text-align:left}.btl-token-cost-report>div{grid-template-columns:repeat(2,minmax(0,1fr))}.btl-integration-hub>header,.btl-gate-waterfall>header,.btl-token-cost-report>header{align-items:flex-start;flex-direction:column}}


/* TradeLab 1.8.0 assistant consolidation: bounded timed plans, rotation and calibration */
.btl-timed-entry-planner{margin:8px 14px 12px;border:2px solid #48d5a5;border-left-width:6px;border-radius:12px;background:linear-gradient(135deg,rgba(8,54,43,.98),rgba(4,20,17,.98));overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.22)}.btl-timed-entry-planner.is-put{border-color:#ff7a73;background:linear-gradient(135deg,rgba(75,24,28,.98),rgba(28,13,15,.98))}.btl-timed-entry-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.1)}.btl-timed-entry-head>div{display:grid;gap:3px}.btl-timed-entry-head small{font-size:9px;letter-spacing:.1em;color:#83e7c5}.btl-timed-entry-planner.is-put .btl-timed-entry-head small{color:#ffaaa6}.btl-timed-entry-head strong{font-size:21px;line-height:1.05;color:#fff}.btl-timed-entry-head span{font-size:11px;color:#b8d3ca}.btl-timed-entry-head>b{font-size:9px;letter-spacing:.07em;border:1px solid currentColor;border-radius:999px;padding:5px 8px;color:#8de7c8;white-space:nowrap}.btl-timed-entry-planner.is-put .btl-timed-entry-head>b{color:#ffaaa6}.btl-timed-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.btl-timed-entry-grid>div{display:grid;gap:4px;padding:12px 13px;border-right:1px solid rgba(255,255,255,.08)}.btl-timed-entry-grid>div:last-child{border-right:0}.btl-timed-entry-grid span{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#82aa9f}.btl-timed-entry-grid strong{font-size:13px;line-height:1.35;color:#f1fff9}.btl-timed-entry-grid small{font-size:10px;color:#8ca89f}.btl-timed-entry-limit{display:flex;justify-content:space-between;gap:12px;padding:9px 13px;border-top:1px solid rgba(255,255,255,.08);color:#9cbab0;font-size:10px}.btl-timed-entry-limit strong{color:#ffe08b}.btl-timed-entry-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 13px;border-top:1px solid rgba(255,255,255,.1)}.btl-timed-entry-actions strong{font-size:18px;color:#fff4aa}.btl-inline-error{margin:0;padding:9px 13px;border-top:1px solid #8f473e;background:#3c1817;color:#ffb8ae;font-size:11px}
.btl-watchtower-auto-arming .btl-watchtower-status,.btl-watchtower-needs-attention .btl-watchtower-status{border-color:#e8b24f;color:#ffe0a0;background:#342710}.btl-watchtower-scanning-active .btl-watchtower-status{border-color:#45d4a6;color:#b4f9df;background:#0b352a}
@media(max-width:900px){.btl-timed-entry-grid{grid-template-columns:1fr 1fr}.btl-timed-entry-grid>div:nth-child(2){border-right:0}.btl-timed-entry-grid>div{border-bottom:1px solid rgba(255,255,255,.08)}}


/* TradeLab 1.8.0 operator assistant */
.btl-assistant-brief{margin:8px 14px 12px;border:1px solid rgba(86,184,157,.38);border-left:5px solid #57d1aa;border-radius:12px;background:linear-gradient(130deg,rgba(6,34,28,.98),rgba(5,18,16,.98));overflow:hidden}.btl-assistant-brief.is-put{border-left-color:#ff847c;background:linear-gradient(130deg,rgba(62,20,24,.96),rgba(24,12,14,.98))}.btl-assistant-brief.is-monitoring{border-left-color:#62a8ce;background:linear-gradient(130deg,rgba(7,30,43,.96),rgba(5,18,25,.98))}.btl-assistant-brief>header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:11px 13px;border-bottom:1px solid rgba(255,255,255,.08)}.btl-assistant-brief>header>div{display:grid;gap:3px}.btl-assistant-brief>header small{font-size:9px;letter-spacing:.1em;color:#83dcc0}.btl-assistant-brief>header strong{font-size:19px;color:#fff}.btl-assistant-brief>header>b{font-size:12px;border:1px solid currentColor;border-radius:999px;padding:5px 8px;color:#a9ead5}.btl-assistant-brief-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.btl-assistant-brief-grid>div{display:grid;gap:4px;padding:11px 12px;border-right:1px solid rgba(255,255,255,.07)}.btl-assistant-brief-grid>div:last-child{border-right:0}.btl-assistant-brief-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#80a99c}.btl-assistant-brief-grid strong{font-size:12px;line-height:1.4;color:#f5fff9}.btl-assistant-brief-grid small{font-size:9px;line-height:1.4;color:#94aea5}
.btl-session-coach{margin:0 16px 12px;border:1px solid rgba(143,119,190,.34);border-radius:10px;background:rgba(21,16,31,.9);overflow:hidden}.btl-session-coach>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:11px 12px;color:#f4edff}.btl-session-coach>summary>span{display:grid;gap:2px}.btl-session-coach>summary small{font-size:8px;letter-spacing:.1em;color:#bca6e5}.btl-session-coach>summary strong{font-size:12px}.btl-session-coach>summary>b{font-size:10px;color:#cab9ed}.btl-session-coach-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.07)}.btl-session-coach-grid>div{display:grid;gap:3px;padding:10px;border-right:1px solid rgba(255,255,255,.06)}.btl-session-coach-grid span{font-size:8px;color:#9a8db5;text-transform:uppercase}.btl-session-coach-grid strong{font-size:15px;color:#fff}.btl-session-coach-grid small{font-size:9px;color:#b6acc9}.btl-session-coach-recommendation{display:grid;gap:3px;padding:10px 12px;border-top:1px solid rgba(255,255,255,.07)}.btl-session-coach-recommendation strong{font-size:9px;letter-spacing:.08em;color:#c7b2ef}.btl-session-coach-recommendation span{font-size:11px;color:#e1d9ee}.btl-pair-memory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px;border-top:1px solid rgba(255,255,255,.07)}.btl-pair-memory>div{display:grid;gap:2px;padding:8px;border:1px solid rgba(255,255,255,.07);border-radius:7px}.btl-pair-memory strong{font-size:11px;color:#fff}.btl-pair-memory span{font-size:8px;color:#b89fe7}.btl-pair-memory small{font-size:9px;color:#aaa0b8}.btl-session-coach footer{padding:9px 12px;border-top:1px solid rgba(255,255,255,.07)}
.btl-assistant-outcome{margin:8px 14px 12px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;border:1px solid #b79345;border-radius:10px;background:linear-gradient(120deg,rgba(57,43,11,.96),rgba(28,22,10,.98))}.btl-assistant-outcome>div:first-child{display:grid;gap:3px}.btl-assistant-outcome small{font-size:8px;letter-spacing:.09em;color:#e7c77c}.btl-assistant-outcome strong{font-size:14px;color:#fff6da}.btl-assistant-outcome span{font-size:10px;color:#cfbd92}.btl-assistant-outcome-actions{display:flex;gap:6px;flex-wrap:wrap}.btl-assistant-outcome-actions button{min-height:34px;font-size:10px;font-weight:800}
.btl-operator-mode .btl-cockpit-evidence,.btl-operator-mode .btl-first-stats,.btl-operator-mode .btl-below-cockpit,.btl-operator-mode .btl-single-decision-technical,.btl-operator-mode .btl-journal-drawer{display:none}.btl-operator-mode .btl-cockpit-grid{grid-template-columns:1fr}.btl-operator-mode .btl-cockpit-capture{max-width:none}.btl-toolbar-button.is-on{border-color:#63d7b0!important;box-shadow:0 0 0 1px rgba(99,215,176,.18) inset}
@media(max-width:980px){.btl-assistant-brief-grid{grid-template-columns:1fr 1fr}.btl-session-coach-grid{grid-template-columns:repeat(3,1fr)}.btl-pair-memory{grid-template-columns:1fr 1fr}}@media(max-width:620px){.btl-assistant-brief-grid,.btl-session-coach-grid,.btl-pair-memory{grid-template-columns:1fr}.btl-assistant-outcome{align-items:flex-start;flex-direction:column}.btl-assistant-outcome-actions{width:100%}.btl-assistant-outcome-actions button{flex:1}}

/* v1.8.0.1 — API Reliability & Latency Diagnostics */
.btl-api-reliability{border:1px solid rgba(105,210,181,.28);border-radius:12px;background:rgba(6,22,18,.78);padding:12px;margin:10px 0;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.btl-api-reliability>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.btl-api-reliability>header small{display:block;font-size:10px;letter-spacing:.12em;color:#72cbb3}
.btl-api-reliability>header strong{display:block;margin-top:2px;font-size:15px;color:#f2fbf8}
.btl-api-reliability>header>span{font-size:11px;color:#9cb7af}
.btl-api-reliability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.btl-api-reliability-grid article{border:1px solid rgba(119,187,169,.18);background:rgba(10,32,27,.66);border-radius:9px;padding:9px;min-width:0}
.btl-api-reliability-grid span,.btl-api-reliability-grid small{display:block;color:#87aaa0;font-size:10px}
.btl-api-reliability-grid b{display:block;color:#f3fbf8;font-size:14px;margin:3px 0;overflow-wrap:anywhere}
.btl-api-reliability-alert{margin-top:8px;padding:9px 10px;border-radius:9px;border-left:3px solid #efb548;background:rgba(93,55,5,.22)}
.btl-api-reliability-alert strong,.btl-api-reliability-alert span{display:block}.btl-api-reliability-alert strong{font-size:11px;color:#ffd88a}.btl-api-reliability-alert span{font-size:11px;color:#d9c8a7;margin-top:2px}
.btl-api-reliability.is-degraded{border-color:rgba(236,91,91,.45)}
.btl-api-reliability.is-elevated{border-color:rgba(239,181,72,.42)}
@media(max-width:900px){.btl-api-reliability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.btl-api-reliability-grid{grid-template-columns:1fr}}

/* v1.8.1 Indicator Integrity & Prediction Calibration — shadow/evidence only. */
.btl-integrity-calibration{margin:12px 0;border:1px solid rgba(87,205,177,.42);border-left:4px solid #57cdb1;border-radius:10px;padding:13px;background:rgba(8,31,28,.76)}
.btl-integrity-calibration.is-research{border-color:rgba(221,171,66,.5);border-left-color:#ddab42;background:rgba(42,31,10,.42)}
.btl-integrity-calibration .btl-section-head{align-items:flex-start;gap:12px}
.btl-integrity-calibration .btl-section-head small{display:block;color:#79cdbb;font-size:10px;letter-spacing:.08em;margin-bottom:4px}
.btl-integrity-calibration .btl-section-head h3{margin:0;font-size:18px}
.btl-integrity-topline,.btl-integrity-components,.btl-integrity-readings,.btl-integrity-evidence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.btl-integrity-components{grid-template-columns:repeat(7,minmax(0,1fr))}
.btl-integrity-topline>div,.btl-integrity-components>div,.btl-integrity-readings>div,.btl-integrity-evidence-grid>div{border:1px solid rgba(108,169,153,.26);border-radius:8px;padding:9px;background:rgba(4,18,17,.58);min-width:0}
.btl-integrity-topline span,.btl-integrity-components span,.btl-integrity-readings span,.btl-integrity-evidence-grid span{display:block;color:#7fb5aa;font-size:10px;text-transform:uppercase;letter-spacing:.05em}
.btl-integrity-topline strong,.btl-integrity-components strong,.btl-integrity-readings strong,.btl-integrity-evidence-grid strong{display:block;margin-top:3px;color:#f2fff9;font-size:13px}
.btl-integrity-topline small,.btl-integrity-readings small,.btl-integrity-evidence-grid small{display:block;margin-top:3px;color:#9ab8b0;font-size:10px}
.btl-integrity-calibration-note{display:flex;gap:12px;align-items:flex-start;margin-top:10px;padding:9px 10px;border-radius:8px;background:rgba(24,66,57,.42)}
.btl-integrity-calibration-note strong{white-space:nowrap;color:#b8f0df}
.btl-integrity-calibration-note span{color:#d4e7e1}
.btl-integrity-diagnostics{margin-top:10px;border:1px solid rgba(80,146,132,.3);border-radius:8px;padding:0 10px}
.btl-integrity-diagnostics summary{padding:10px 0;cursor:pointer;font-weight:700}
.btl-integrity-diagnostics summary span{float:right;color:#88a9a1;font-weight:400;font-size:11px}
.btl-integrity-evidence-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:10px}
@media(max-width:1100px){.btl-integrity-components{grid-template-columns:repeat(4,minmax(0,1fr))}.btl-integrity-topline,.btl-integrity-readings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.btl-integrity-topline,.btl-integrity-components,.btl-integrity-readings,.btl-integrity-evidence-grid{grid-template-columns:1fr 1fr}.btl-integrity-calibration-note{display:block}.btl-integrity-calibration-note strong{margin-bottom:5px}}

/* v1.8.2 Live Forex Revival & Structured Horizon Intelligence */
.btl-live-forex-radar{margin-bottom:14px;border:1px solid rgba(48,211,157,.35);box-shadow:0 0 0 1px rgba(48,211,157,.04) inset}
.btl-live-forex-radar .btl-structured-head{background:linear-gradient(90deg,rgba(16,86,74,.28),rgba(4,27,31,.15))}
.btl-structured-component-strip{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:6px;margin:8px 0}
.btl-structured-component-strip span{display:flex;flex-direction:column;gap:2px;padding:6px 7px;border:1px solid rgba(120,210,190,.16);border-radius:6px;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.btl-structured-component-strip b{font-size:13px;color:var(--btl-text,#edfdf8)}
.btl-structured-warning.is-good{border-color:rgba(48,211,157,.45);background:rgba(13,73,59,.22)}
@media(max-width:1100px){.btl-structured-component-strip{grid-template-columns:repeat(4,minmax(72px,1fr))}}
@media(max-width:720px){.btl-structured-component-strip{grid-template-columns:repeat(2,minmax(72px,1fr))}}
.btl-structured-handoff-comparison{border:1px solid rgba(82,177,255,.35);background:rgba(11,47,66,.28);padding:10px 12px;margin:8px 0;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.btl-structured-handoff-comparison header{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px}.btl-structured-handoff-comparison header small{letter-spacing:.08em}.btl-structured-handoff-comparison div{display:flex;flex-direction:column;gap:3px}.btl-structured-handoff-comparison p,.btl-structured-handoff-comparison>small{grid-column:1/-1;margin:0}.btl-structured-handoff-comparison>small{opacity:.75}
@media(max-width:720px){.btl-structured-handoff-comparison{grid-template-columns:1fr}}

/* TradeLab 1.8.3 — Directional Intelligence & AI admission efficiency */
.btl-watchtower-efficiency{display:grid;gap:7px;padding:10px;border:1px solid #315349;border-radius:8px;background:linear-gradient(135deg,#0a1714,#0d201b)}
.btl-watchtower-efficiency>div:first-child{display:grid;gap:2px}.btl-watchtower-efficiency>div:first-child span{color:#8daaa0;font-size:10px;line-height:1.4}
.btl-watchtower-efficiency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.btl-watchtower-efficiency-grid span{padding:6px 7px;border:1px solid #294a40;border-radius:6px;background:#0b1915;color:#87a49a;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.btl-watchtower-efficiency-grid b{display:block;margin-top:3px;color:#dff8ee;font-size:12px}.btl-watchtower-efficiency small{color:#78988d;line-height:1.4}.btl-directional-preview-banner.is-observation{opacity:.92;border-style:dashed}.btl-directional-preview-banner span b{color:#f5fff9}.btl-watchtower-preparation span{line-height:1.45}
@media(max-width:700px){.btl-watchtower-efficiency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.btl-directional-preview-banner{align-items:flex-start;flex-direction:column}.btl-directional-preview-banner>b{white-space:normal}}


/* TradeLab 1.8.4 — Actionable Timing & Voice Instructions */
.btl-clarity-banner[data-decision-banner] [data-live-action] { letter-spacing:.02em; }
.btl-directional-preview-banner b { white-space:nowrap; }
.btl-compact-controls label small { display:block; margin-top:4px; opacity:.72; font-size:11px; line-height:1.25; }


/* TradeLab 1.8.4 — Cockpit UX & layout stabilization */
.btl-workspace-dock{position:sticky;top:62px;z-index:25;display:flex;flex-wrap:wrap;gap:8px;margin:8px 14px 10px;padding:8px 10px;border:1px solid #304840;border-radius:11px;background:rgba(9,18,16,.92);backdrop-filter:blur(10px)}
.btl-workspace-chip{display:grid;gap:3px;min-width:160px;padding:8px 10px;border:1px solid #345048;border-radius:9px;background:#0d1715;color:#e7f5ef;text-align:left;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.btl-workspace-chip:hover{transform:translateY(-1px);border-color:#4ecfa3;background:#10211c}.btl-workspace-chip small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#8aa59c}.btl-workspace-chip strong{font-size:12px;font-weight:800;color:#f3fffb}.btl-workspace-chip.is-decision{border-left:4px solid #ff9b8f}.btl-workspace-chip.is-capture{border-left:4px solid #55d6a8}.btl-workspace-chip.is-scanner{border-left:4px solid #7db7e6}.btl-workspace-chip.is-evidence{border-left:4px solid #c3a367}.btl-workspace-chip.is-details{border-left:4px solid #aa91df}
.btl-cockpit-grid.btl-stage-capture{grid-template-areas:"capture decision" "capture evidence";grid-template-columns:minmax(460px,1.08fr) minmax(340px,.92fr)}
.btl-cockpit-grid.btl-stage-decision,.btl-cockpit-grid.btl-stage-analyzing{grid-template-areas:"decision decision" "capture evidence";grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr)}
.btl-operator-mode .btl-cockpit-grid.btl-stage-capture{grid-template-areas:"capture" "decision";grid-template-columns:1fr}
.btl-operator-mode .btl-cockpit-grid.btl-stage-decision,.btl-operator-mode .btl-cockpit-grid.btl-stage-analyzing{grid-template-areas:"decision" "capture";grid-template-columns:1fr}
.btl-cockpit-grid.btl-stage-capture .btl-cockpit-capture{position:relative}
.btl-cockpit-grid.btl-stage-decision .btl-cockpit-decision,.btl-cockpit-grid.btl-stage-analyzing .btl-cockpit-decision{min-height:0}
.btl-cockpit-grid>.btl-panel{scroll-margin-top:128px}
.btl-latest-chart-card{display:grid;grid-template-columns:minmax(0,1fr) 156px;gap:12px;align-items:center;margin:0 0 12px;padding:11px 12px;border:1px solid #315349;border-radius:10px;background:linear-gradient(135deg,#0a1714,#0f201b)}
.btl-latest-chart-copy{display:grid;gap:4px}.btl-latest-chart-copy small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#86a69a}.btl-latest-chart-copy strong{font-size:14px;color:#f3fffb}.btl-latest-chart-copy span{font-size:11px;line-height:1.45;color:#9ab8ae}.btl-latest-chart-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}.btl-latest-chart-thumb{padding:0;border:1px solid #345449;border-radius:9px;background:#08110e;overflow:hidden;cursor:pointer}.btl-latest-chart-thumb img{display:block;width:100%;height:100%;max-height:110px;object-fit:cover}.btl-latest-chart-thumb:hover{border-color:#54d6a7}
.btl-natural-scroll .btl-cockpit-grid>.btl-panel{height:auto!important}.btl-natural-scroll .btl-cockpit-grid.btl-stage-decision .btl-cockpit-decision,.btl-natural-scroll .btl-cockpit-grid.btl-stage-analyzing .btl-cockpit-decision{position:sticky;top:118px;align-self:start}
.btl-natural-scroll .btl-cockpit-grid.btl-stage-decision .btl-cockpit-capture,.btl-natural-scroll .btl-cockpit-grid.btl-stage-analyzing .btl-cockpit-capture,.btl-natural-scroll .btl-cockpit-grid.btl-stage-decision .btl-cockpit-evidence,.btl-natural-scroll .btl-cockpit-grid.btl-stage-analyzing .btl-cockpit-evidence{align-self:start}
.btl-cockpit-capture .btl-compact-controls{margin-top:8px}.btl-cockpit-capture .btl-capture-actions{position:sticky;bottom:0;z-index:4;padding-top:10px;padding-bottom:2px;background:linear-gradient(180deg,rgba(7,17,15,0),rgba(7,17,15,.92) 30%,rgba(7,17,15,.98))}
@media(max-width:1450px){.btl-cockpit-grid.btl-stage-capture{grid-template-columns:minmax(390px,1fr) minmax(320px,.9fr)}.btl-cockpit-grid.btl-stage-decision,.btl-cockpit-grid.btl-stage-analyzing{grid-template-columns:minmax(0,1.06fr) minmax(280px,.94fr)}}
@media(max-width:1180px){.btl-workspace-dock{top:56px}.btl-cockpit-grid.btl-stage-capture,.btl-cockpit-grid.btl-stage-decision,.btl-cockpit-grid.btl-stage-analyzing{grid-template-areas:"decision" "capture" "evidence";grid-template-columns:1fr}.btl-natural-scroll .btl-cockpit-grid.btl-stage-decision .btl-cockpit-decision,.btl-natural-scroll .btl-cockpit-grid.btl-stage-analyzing .btl-cockpit-decision{position:static}.btl-latest-chart-card{grid-template-columns:1fr}}
@media(max-width:760px){.btl-workspace-dock{margin-inline:10px;padding:8px}.btl-workspace-chip{min-width:calc(50% - 4px);flex:1}.btl-latest-chart-thumb img{max-height:180px}.btl-cockpit-capture .btl-capture-actions{position:static;background:none;padding-top:10px}}
@media(max-width:520px){.btl-workspace-chip{min-width:100%}}

/* TradeLab 1.8.4.1 — Execution Bridge / Trade Intent */
.btl-execution-bridge{margin:0 0 12px;border:1px solid #38544c;border-left:5px solid #718b83;border-radius:11px;background:linear-gradient(135deg,#0b1714,#101b18);overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.btl-execution-bridge.is-ready{border-color:#42d3a4;border-left-color:#55e0b4;background:linear-gradient(135deg,rgba(9,59,46,.98),rgba(8,28,23,.98));box-shadow:0 0 0 1px rgba(75,221,177,.08),0 10px 24px rgba(0,0,0,.15)}
.btl-execution-bridge.is-consumed{border-color:#786a3f;border-left-color:#d0ad55;background:linear-gradient(135deg,rgba(50,42,18,.96),rgba(24,22,14,.98))}
.btl-execution-bridge>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.btl-execution-bridge>header>div{display:grid;gap:3px}.btl-execution-bridge>header small{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#83b3a4}.btl-execution-bridge>header strong{font-size:16px;color:#f5fffb}.btl-execution-bridge>header span{font-size:10px;line-height:1.4;color:#97aea6}.btl-execution-bridge>header>b{padding:5px 8px;border:1px solid currentColor;border-radius:999px;font-size:9px;letter-spacing:.06em;color:#9eb6ae;white-space:nowrap}.btl-execution-bridge.is-ready>header>b{color:#70e4bb}.btl-execution-bridge.is-consumed>header>b{color:#e2c370}
.btl-execution-bridge-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.btl-execution-bridge-grid>div{min-width:0;display:grid;gap:3px;padding:10px 11px;border-right:1px solid rgba(255,255,255,.07)}.btl-execution-bridge-grid>div:last-child{border-right:0}.btl-execution-bridge-grid span{font-size:8px;letter-spacing:.07em;text-transform:uppercase;color:#78958c}.btl-execution-bridge-grid strong{overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#f0fff9;white-space:nowrap}.btl-execution-bridge-grid small{font-size:9px;color:#839c94}.btl-execution-bridge-grid strong.is-call{color:#65e0b1}.btl-execution-bridge-grid strong.is-put{color:#ff8e87}
.btl-execution-bridge-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 11px;border-top:1px solid rgba(255,255,255,.08)}.btl-execution-bridge-actions button{min-height:31px;font-size:10px}.btl-execution-bridge-actions>span{flex:1;min-width:240px;color:#8fa69e;font-size:10px;line-height:1.4}.btl-execution-bridge.is-ready .btl-execution-bridge-actions>span{color:#ace6d0}
@media(max-width:1250px){.btl-execution-bridge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.btl-execution-bridge-grid>div:nth-child(3){border-right:0}.btl-execution-bridge-grid>div:nth-child(-n+3){border-bottom:1px solid rgba(255,255,255,.07)}}
@media(max-width:720px){.btl-execution-bridge>header{flex-direction:column}.btl-execution-bridge-grid{grid-template-columns:1fr 1fr}.btl-execution-bridge-grid>div:nth-child(odd){border-right:1px solid rgba(255,255,255,.07)}.btl-execution-bridge-grid>div:nth-child(even){border-right:0}.btl-execution-bridge-grid>div{border-bottom:1px solid rgba(255,255,255,.07)}.btl-execution-bridge-grid>div:nth-last-child(-n+2){border-bottom:0}.btl-execution-bridge-actions{align-items:stretch;flex-direction:column}.btl-execution-bridge-actions button{width:100%}.btl-execution-bridge-actions>span{min-width:0;width:100%}}

/* TradeLab 1.8.4.2 — Evidence & Outcome Capture */
.btl-eoc-panel{margin:0 0 12px;border:1px solid #3a5963;border-left:5px solid #79b9d8;border-radius:11px;background:linear-gradient(135deg,#0b171d,#0d1d1a);overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.16)}
.btl-eoc-panel.is-empty{border-left-color:#73847f;opacity:.92}.btl-eoc-panel>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:12px 13px;border-bottom:1px solid rgba(255,255,255,.07)}.btl-eoc-panel>header>div{display:grid;gap:3px}.btl-eoc-panel>header small{font-size:9px;letter-spacing:.09em;color:#8ebfd2}.btl-eoc-panel>header strong{font-size:15px;color:#f3fbff}.btl-eoc-panel>header span{font-size:10px;line-height:1.45;color:#9db4bd;max-width:820px}.btl-eoc-panel>header>b{padding:5px 8px;border:1px solid #4c7889;border-radius:999px;color:#b9e7f5;background:#102b34;font-size:9px;letter-spacing:.06em;white-space:nowrap}
.btl-eoc-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px}.btl-eoc-summary-grid>div{display:grid;gap:3px;padding:9px;border:1px solid #2b434a;border-radius:8px;background:#0a1519}.btl-eoc-summary-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#829da7}.btl-eoc-summary-grid strong{font-size:12px;color:#f1fbff;overflow-wrap:anywhere}.btl-eoc-summary-grid small{font-size:9px;color:#849ca4;line-height:1.35}
.btl-eoc-trails{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 12px 10px}.btl-eoc-trails>div{display:grid;gap:6px;padding:9px;border:1px solid #29434a;border-radius:8px;background:#091418}.btl-eoc-trails>div>small{font-size:8px;letter-spacing:.08em;color:#7d9ba6}.btl-eoc-score-trail,.btl-eoc-timing-trail{display:flex;gap:5px;flex-wrap:wrap}.btl-eoc-score-trail>span{display:grid;min-width:55px;padding:5px 6px;border:1px solid #345762;border-radius:6px;background:#0c2026;text-align:center}.btl-eoc-score-trail b{font-size:11px;color:#dff5fc}.btl-eoc-score-trail small{font-size:8px;color:#8eb0bc}.btl-eoc-timing-trail>span{padding:5px 7px;border:1px solid #3a4c45;border-radius:999px;background:#102019;color:#a9c5b9;font-size:8px;font-weight:800}
.btl-eoc-hypotheses{padding:0 12px 11px}.btl-eoc-hypothesis-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 7px}.btl-eoc-hypothesis-head strong{font-size:11px;color:#edf8fb}.btl-eoc-hypothesis-head span{font-size:9px;color:#829ca6}.btl-eoc-hypothesis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.btl-eoc-hypothesis{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:9px;border:1px solid #2e4b54;border-radius:8px;background:#09161a}.btl-eoc-hypothesis>div:first-child{display:grid;gap:2px}.btl-eoc-hypothesis small{font-size:8px;letter-spacing:.05em;color:#839da7}.btl-eoc-hypothesis strong{font-size:12px;color:#f0fbff}.btl-eoc-hypothesis span{font-size:9px;color:#8aa4ad}.btl-eoc-hypothesis>b{font-size:10px;color:#f0cb76}.btl-eoc-hypothesis.is-due{border-color:#c3973d;background:#241d0e}.btl-eoc-hypothesis.is-settled{border-color:#39715f;background:#0d211a}.btl-eoc-hypothesis.is-settled>b{color:#91e1c3}.btl-eoc-result-actions{grid-column:1/-1;display:flex;gap:5px;flex-wrap:wrap}.btl-eoc-result-actions button{min-height:28px;padding:4px 8px;font-size:9px;font-weight:800}.btl-eoc-source{grid-column:1/-1}.btl-eoc-empty{padding:11px;border:1px dashed #3e5760;border-radius:8px;color:#88a2aa;font-size:10px}.btl-eoc-panel>footer{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid rgba(255,255,255,.07);font-size:9px;color:#7f99a2}.btl-eoc-panel>footer strong{color:#a7d8e8}
@media(max-width:900px){.btl-eoc-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.btl-eoc-trails,.btl-eoc-hypothesis-grid{grid-template-columns:1fr}}
@media(max-width:600px){.btl-eoc-panel>header,.btl-eoc-hypothesis-head,.btl-eoc-panel>footer{flex-direction:column}.btl-eoc-summary-grid{grid-template-columns:1fr}.btl-eoc-hypothesis{grid-template-columns:1fr}.btl-eoc-hypothesis>b{justify-self:start}}
.btl-eoc-pending-queue{margin:0 0 12px;border:1px solid #4d5741;border-radius:10px;background:#111810;overflow:hidden}.btl-eoc-pending-queue>summary{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;cursor:pointer;color:#eaf4df}.btl-eoc-pending-queue>summary span{font-size:10px;color:#aeba9e}.btl-eoc-pending-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 10px 10px}.btl-eoc-pending-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;padding:9px;border:1px solid #384734;border-radius:8px;background:#0c130b}.btl-eoc-pending-list>article.is-due{border-color:#bd9238;background:#231c0d}.btl-eoc-pending-list article>div:first-child{display:grid;gap:2px}.btl-eoc-pending-list strong{font-size:11px}.btl-eoc-pending-list span{font-size:9px;color:#98a590}.btl-eoc-pending-list b{font-size:9px;color:#eac76e}.btl-eoc-pending-list .btl-eoc-result-actions{grid-column:1/-1}@media(max-width:800px){.btl-eoc-pending-list{grid-template-columns:1fr}}@media(max-width:520px){.btl-eoc-pending-queue>summary{flex-direction:column}.btl-eoc-pending-list>article{grid-template-columns:1fr}.btl-eoc-pending-list b{justify-self:start}}

/* TradeLab 1.8.4.3 — pullback phase messaging */
.btl-pullback-phase-line{display:block;margin-top:7px;padding:7px 9px;border:1px solid rgba(255,203,102,.35);border-radius:7px;background:rgba(78,52,8,.22);color:#ffe2a0!important;font-style:normal!important;font-size:10px!important;font-weight:800;letter-spacing:.035em}.btl-watchtower-preparation.is-call .btl-pullback-phase-line{border-color:rgba(74,215,166,.32);background:rgba(14,76,58,.25);color:#bff7df!important}.btl-watchtower-preparation.is-put .btl-pullback-phase-line{border-color:rgba(255,112,112,.34);background:rgba(96,28,33,.26);color:#ffd1d1!important}

/* TradeLab 1.8.4.4 — Fast M1 Context, Signal Hygiene & Decision-First Cockpit */
.btl-current-analysis-card{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 12px;padding:14px 15px;border:1px solid #4b8eaa;border-left:6px solid #69c9ed;border-radius:11px;background:linear-gradient(120deg,rgba(10,52,68,.97),rgba(7,24,31,.99));box-shadow:0 12px 28px rgba(0,0,0,.18)}
.btl-current-analysis-card>div{display:grid;gap:4px;min-width:0}.btl-current-analysis-card small{font-size:9px;letter-spacing:.1em;color:#9bdff7}.btl-current-analysis-card strong{font-size:18px;color:#f4fcff}.btl-current-analysis-card span{font-size:11px;line-height:1.45;color:#a8cbd7}.btl-current-analysis-card>b{padding:6px 9px;border:1px solid #e6ad54;border-radius:999px;color:#ffd88f;background:#38280f;font-size:9px;letter-spacing:.05em;white-space:nowrap}
.btl-persistent-decision-dock.is-analyzing{border-color:#3f7d95;background:linear-gradient(90deg,#09222b,#0b1717)}.btl-persistent-decision-dock.is-analyzing strong,.btl-persistent-decision-dock.is-analyzing b{color:#bfeeff}
.btl-research-hub{margin:10px 0 12px;border:1px solid #334c45;border-radius:10px;background:#0b1412;overflow:hidden}.btl-research-hub>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;cursor:pointer}.btl-research-hub>summary>div{display:grid;gap:2px}.btl-research-hub>summary small{font-size:8px;letter-spacing:.09em;color:#7ea798}.btl-research-hub>summary strong{font-size:11px;color:#dff4eb}.btl-research-hub>summary>span{font-size:9px;color:#7f9990;text-align:right}.btl-research-hub-body{padding:0 10px 10px}.btl-research-hub .btl-eoc-panel,.btl-research-hub .btl-eoc-pending-queue{margin-bottom:8px}
.btl-micro-observation{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px;padding:11px 13px;border:1px solid #5a6d60;border-left:5px solid #c9a74f;border-radius:9px;background:linear-gradient(110deg,#1c2113,#0c1714)}.btl-micro-observation>div{display:grid;gap:3px}.btl-micro-observation small{font-size:8px;letter-spacing:.09em;color:#d5ba70}.btl-micro-observation strong{font-size:14px;color:#fff1bf}.btl-micro-observation span{font-size:10px;line-height:1.45;color:#b9c4b6}.btl-micro-observation>b{font-size:9px;line-height:1.35;text-align:right;color:#f1d992;max-width:280px}.btl-micro-observation.is-call{border-left-color:#53d7aa}.btl-micro-observation.is-put{border-left-color:#ff7a73}
.btl-operator-mode .btl-session-workflow{display:none}.btl-operator-mode .btl-capital-strip.btl-capital-optional-off{display:none}.btl-operator-mode .btl-state-rail{display:none}.btl-operator-mode .btl-help-line{margin-bottom:4px}.btl-operator-mode .btl-connection-status{padding-block:6px}.btl-operator-mode .btl-workspace-dock{margin-top:5px;margin-bottom:7px}.btl-operator-mode .btl-cockpit-decision{padding-top:8px}.btl-operator-mode .btl-latest-chart-card{padding-block:8px;margin-bottom:8px}
.btl-watchtower-metrics .btl-context-detect strong{color:#9ee7d1}.btl-watchtower-metrics .btl-context-detect.is-change strong{color:#ffd280}
@media(max-width:760px){.btl-current-analysis-card,.btl-micro-observation,.btl-research-hub>summary{align-items:flex-start;flex-direction:column}.btl-current-analysis-card>b{white-space:normal}.btl-micro-observation>b{text-align:left;max-width:none}.btl-research-hub>summary>span{text-align:left}}


/* TradeLab 1.8.4.5 — Single Signal Authority & Direction-Flip Protection */
.btl-single-signal-authority{margin:0 0 12px;border:1px solid #38544b;border-left:5px solid #7fa69a;border-radius:11px;background:linear-gradient(135deg,#0a1714,#0e201b);overflow:hidden}.btl-single-signal-authority.is-call{border-left-color:#42d2a5}.btl-single-signal-authority.is-put{border-left-color:#ff7770}.btl-single-signal-authority.is-flip{border-color:#d5a449;border-left-color:#ffbf4c;background:linear-gradient(135deg,#2b210e,#161711)}.btl-single-signal-authority header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.07)}.btl-single-signal-authority header>div{display:grid;gap:3px}.btl-single-signal-authority header small{font-size:9px;letter-spacing:.09em;color:#8eaa9f}.btl-single-signal-authority header strong{font-size:15px;color:#f5fff9}.btl-single-signal-authority header span{font-size:10px;color:#93aca3}.btl-single-signal-authority header>b{border:1px solid currentColor;border-radius:999px;padding:4px 8px;font-size:9px;color:#ffd787;white-space:nowrap}.btl-single-signal-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.btl-single-signal-grid>div{display:grid;gap:3px;padding:9px 10px;border-right:1px solid rgba(255,255,255,.06)}.btl-single-signal-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:#7f9c92}.btl-single-signal-grid strong{font-size:11px;color:#f2fbf7;overflow-wrap:anywhere}@media(max-width:900px){.btl-single-signal-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.btl-single-signal-grid{grid-template-columns:1fr 1fr}.btl-single-signal-authority header{flex-direction:column}}

.btl-direction-flip-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 12px;padding:12px 13px;border:1px solid #d4a148;border-left:6px solid #ffbf4c;border-radius:10px;background:linear-gradient(120deg,#2b210e,#141712);box-shadow:0 8px 24px rgba(0,0,0,.16)}.btl-direction-flip-banner>div{display:grid;gap:3px}.btl-direction-flip-banner small{font-size:9px;letter-spacing:.1em;color:#e5c77f}.btl-direction-flip-banner strong{font-size:16px;color:#fff5d9}.btl-direction-flip-banner span{font-size:11px;line-height:1.45;color:#cdbc93}.btl-direction-flip-banner>b{font-size:11px;color:#ffe09a;text-align:right;white-space:nowrap}@media(max-width:720px){.btl-direction-flip-banner{align-items:flex-start;flex-direction:column}.btl-direction-flip-banner>b{text-align:left;white-space:normal}}

/* TradeLab 1.8.4.6 — consolidated desktop alert health */
.btl-desktop-alert-toast{position:fixed;right:20px;top:82px;z-index:100000;width:min(430px,calc(100vw - 40px));display:grid;gap:6px;padding:14px 16px;border:1px solid #4a7f70;border-left:5px solid #62d4ad;border-radius:12px;background:rgba(8,24,20,.98);box-shadow:0 22px 60px rgba(0,0,0,.48);color:#effcf7;backdrop-filter:blur(10px)}
.btl-desktop-alert-toast strong{font-size:14px;line-height:1.25}.btl-desktop-alert-toast span{font-size:11px;line-height:1.45;color:#afc8bf}.btl-desktop-alert-toast.is-warning{border-left-color:#efb64f;border-color:#80642d}.btl-desktop-alert-toast.is-trade{border-left-color:#5be0b1;border-color:#4ebf9a;box-shadow:0 0 0 1px rgba(91,224,177,.12),0 22px 70px rgba(0,0,0,.55)}
.btl-desktop-alert-metric small{display:block;margin-top:3px;color:#7f9b91;font-size:9px;line-height:1.3}.btl-desktop-alert-metric .is-good{color:#7be4bd}.btl-desktop-alert-metric .is-warning{color:#ffd17c}
@media(max-width:620px){.btl-desktop-alert-toast{right:10px;left:10px;top:72px;width:auto}}

/* TradeLab 1.8.4.6 — opportunity rotation for focused one-hour sessions */
.btl-rotation-advisor{margin:0 0 12px;border:1px solid #315349;border-left:5px solid #6aa5c9;border-radius:10px;background:linear-gradient(135deg,#0a1714,#0b1a20);overflow:hidden}.btl-rotation-advisor.is-stay{border-left-color:#55d5a8;background:linear-gradient(135deg,#0a1d18,#0c201b)}.btl-rotation-advisor.is-rotate{border-left-color:#e3ad4c;background:linear-gradient(135deg,#261d0d,#151711)}.btl-rotation-advisor>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.07)}.btl-rotation-advisor>header small,.btl-rotation-advisor>header strong{display:block}.btl-rotation-advisor>header small{font-size:9px;letter-spacing:.09em;color:#88b9aa}.btl-rotation-advisor>header strong{margin-top:3px;font-size:14px;color:#f1fff9}.btl-rotation-advisor>header b{font-size:9px;color:#d8c99a;border:1px solid rgba(216,201,154,.3);border-radius:999px;padding:4px 7px}.btl-rotation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.btl-rotation-grid>div{display:grid;gap:3px;padding:10px 12px;border-right:1px solid rgba(255,255,255,.06)}.btl-rotation-grid>div:last-child{border-right:0}.btl-rotation-grid span{font-size:8px;letter-spacing:.08em;color:#7fa398}.btl-rotation-grid strong{font-size:13px;color:#f4fff9}.btl-rotation-grid small{font-size:10px;line-height:1.4;color:#93aaa2}.btl-rotation-advisor footer{display:flex;gap:10px;align-items:center;padding:9px 12px;border-top:1px solid rgba(255,255,255,.07)}.btl-rotation-advisor footer button{min-height:32px}.btl-rotation-advisor footer span{font-size:10px;color:#998f71}@media(max-width:700px){.btl-rotation-grid{grid-template-columns:1fr}.btl-rotation-grid>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.06)}.btl-rotation-advisor footer{align-items:flex-start;flex-direction:column}}


/* TradeLab v1.8.4.7.1 — Decision Cockpit Restoration */
.btl-operator-mode .btl-cockpit-grid{display:flex!important;flex-direction:column;gap:10px}.btl-operator-mode .btl-cockpit-decision{order:1}.btl-operator-mode .btl-cockpit-capture{order:2}.btl-operator-mode .btl-cockpit-evidence{order:3}.btl-operator-mode.btl-market-otc .btl-live-forex-radar{display:none!important}.btl-operator-mode .btl-acceptance-panel{display:none!important}.btl-operator-mode .btl-manual-capture-drawer{margin-top:8px;border:1px solid rgba(96,144,132,.26);border-radius:9px;background:rgba(4,18,16,.5)}.btl-manual-capture-drawer>summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:10px 12px;color:#dff9f1;font-weight:800}.btl-manual-capture-drawer>summary span{font-size:10px;color:#7eaaa0}.btl-manual-capture-body{padding:0 10px 10px}.btl-integration-compact{margin:8px 0;border:1px solid rgba(90,154,139,.25);border-radius:8px;background:rgba(4,20,18,.5)}.btl-integration-compact>summary{display:flex;gap:10px;align-items:center;padding:8px 10px;cursor:pointer;color:#dff8f0}.btl-integration-compact>summary b{margin-left:auto;color:#80d8bd}.btl-integration-compact>summary span{font-size:9px;color:#7e9e96}.btl-operator-mode .btl-watchtower-metrics>div:nth-child(n+6){display:none}.btl-operator-mode .btl-watchtower-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.btl-watchtower-diagnostics{margin-top:8px;border:1px solid rgba(91,145,132,.25);border-radius:8px;background:rgba(3,17,15,.48)}.btl-watchtower-diagnostics>summary{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;cursor:pointer;font-weight:800;color:#cfeee5}.btl-watchtower-diagnostics>summary span{font-size:9px;font-weight:500;color:#789b91}.btl-watchtower-diagnostics-body{display:grid;gap:8px;padding:0 9px 9px}.btl-rotation-compact{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;margin:8px 0;border-radius:8px}.btl-rotation-compact>div{display:flex;align-items:center;gap:10px;min-width:0}.btl-rotation-compact small{font-size:9px;color:#76a99b}.btl-rotation-compact strong{font-size:12px}.btl-rotation-compact span{font-size:10px;color:#9ab7ae;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btl-operator-mode .btl-cockpit-capture>.btl-section-head{display:none}.btl-operator-mode .btl-cockpit-decision>.btl-section-head{position:sticky;top:58px;z-index:6;background:rgba(7,18,16,.96);padding:7px 0}.btl-operator-mode .btl-watchtower{margin-top:2px}.btl-operator-mode .btl-watchtower-layout{grid-template-columns:minmax(360px,1.25fr) minmax(330px,.75fr)}.btl-operator-mode .btl-watchtower-preview{min-height:250px}.btl-operator-mode .btl-watchtower-note{margin-top:8px}.btl-operator-mode .btl-workspace-dock{display:none}.btl-operator-mode .btl-research-hub-drawer{margin-top:6px}.btl-operator-mode .btl-capture-actions{position:static;background:none}.btl-operator-mode .btl-cockpit-decision{min-height:0!important}.btl-operator-mode .btl-cockpit-capture{min-height:0!important}.btl-operator-mode .btl-latest-chart-card{display:none}.btl-operator-mode .btl-decision-persistence-banner:empty{display:none}.btl-operator-mode .btl-current-setup-no-analysis{min-height:0}
@media(max-width:1180px){.btl-operator-mode .btl-watchtower-layout{grid-template-columns:1fr}.btl-operator-mode .btl-watchtower-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.btl-operator-mode.btl-no-analysis .btl-single-signal-authority,.btl-operator-mode.btl-no-analysis .btl-execution-bridge{display:none!important}.btl-operator-mode.btl-no-analysis .btl-clarity-banner{padding:12px 14px}.btl-operator-mode.btl-no-analysis .btl-clarity-main>strong{font-size:clamp(24px,3vw,42px)}.btl-operator-mode.btl-no-analysis .btl-unified-instruction-card{display:none}.btl-operator-mode.btl-no-analysis .btl-single-decision-actions{display:none}

/* v1.8.4.7.3 — fast finalization / latency recovery keeps existing cockpit geometry; no visual authority regression. */

/* TradeLab v1.8.4.7.3 — Fast preview recovery + micro-movement research */
.btl-micro-research-candidate,.btl-micro-window-closing{margin-top:7px;padding:8px 9px;border:1px solid rgba(213,186,112,.35);border-radius:7px;background:rgba(255,255,255,.025);display:grid;gap:3px}.btl-micro-research-candidate strong{font-size:11px;color:#ffe6a8}.btl-micro-research-candidate span,.btl-micro-window-closing span{font-size:9px;color:#9fb1aa}.btl-micro-window-closing{opacity:.72}.btl-micro-window-closing strong{font-size:10px;color:#c0ccc7}


/* TradeLab v1.8.5.0 — Every-M1 Opportunity Scanner */
.btl-watchtower .btl-watchtower-efficiency-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.btl-watchtower .btl-m1-opportunity-state{border:1px solid #2d6654;border-radius:9px;padding:8px 10px;background:#0b1b17}


/* v1.8.5.0.2 deterministic confluence authority */
.btl-dcs-authority{margin:14px 0;padding:14px;border:1px solid rgba(88,166,255,.28);border-radius:12px;background:rgba(7,18,24,.78)}
.btl-dcs-authority.is-enter{border-color:rgba(65,211,148,.48)}
.btl-dcs-authority.is-watch{border-color:rgba(255,196,87,.32)}
.btl-dcs-authority .btl-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.btl-dcs-authority .btl-section-head h3{margin:3px 0 0;font-size:18px;line-height:1.2}
.btl-dcs-authority .btl-section-head small{letter-spacing:.08em;font-size:10px;opacity:.72}
.btl-dcs-authority .btl-section-head>span{white-space:nowrap;font-weight:800;font-size:11px;padding:5px 8px;border:1px solid currentColor;border-radius:999px}
.btl-dcs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.btl-dcs-grid>div{padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.025)}
.btl-dcs-grid span,.btl-dcs-grid small{display:block}
.btl-dcs-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;opacity:.66}
.btl-dcs-grid strong{display:block;margin:3px 0;font-size:13px}
.btl-dcs-grid small{font-size:10px;line-height:1.35;opacity:.72}
.btl-dcs-veto{margin:9px 0 0;padding:8px 10px;border-left:3px solid currentColor;background:rgba(255,255,255,.025);font-size:11px}
@media(max-width:900px){.btl-dcs-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.btl-dcs-grid{grid-template-columns:1fr}.btl-dcs-authority .btl-section-head{display:block}.btl-dcs-authority .btl-section-head>span{display:inline-block;margin-top:8px}}

/* v1.8.5.0.3 Pullback & Entry Timing Intelligence */
.btl-peti-authority{margin:14px 0;padding:14px;border:1px solid rgba(90,194,255,.30);border-radius:12px;background:rgba(6,18,23,.82)}
.btl-peti-authority.is-enter{border-color:rgba(65,211,148,.52)}
.btl-peti-authority.is-wait{border-color:rgba(255,196,87,.34)}
.btl-peti-authority .btl-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.btl-peti-authority .btl-section-head h3{margin:3px 0 0;font-size:18px;line-height:1.2}
.btl-peti-authority .btl-section-head small{letter-spacing:.08em;font-size:10px;opacity:.72}
.btl-peti-authority .btl-section-head>span{white-space:nowrap;font-weight:800;font-size:11px;padding:5px 8px;border:1px solid currentColor;border-radius:999px}
.btl-peti-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.btl-peti-grid>div{padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.025)}
.btl-peti-grid span,.btl-peti-grid small{display:block}
.btl-peti-grid span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;opacity:.66}
.btl-peti-grid strong{display:block;margin:3px 0;font-size:13px}
.btl-peti-grid small{font-size:10px;line-height:1.35;opacity:.72}
.btl-peti-veto{margin:10px 0 0;padding:9px 10px;border-radius:8px;background:rgba(255,196,87,.08);font-size:11px;line-height:1.45}
@media(max-width:1100px){.btl-peti-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.btl-peti-grid{grid-template-columns:1fr}.btl-peti-authority .btl-section-head{display:block}.btl-peti-authority .btl-section-head>span{display:inline-block;margin-top:8px}}


/* v1.8.5.0.4 Replay Calibration & Expiry Research */
.btl-rer-summary{margin:0 0 10px;padding:12px;border:1px solid rgba(114,177,255,.28);border-radius:10px;background:rgba(7,18,28,.66)}
.btl-rer-summary .btl-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:9px}.btl-rer-summary .btl-section-head small{font-size:9px;letter-spacing:.09em;color:#8fb8da}.btl-rer-summary .btl-section-head h3{margin:3px 0 0;font-size:15px;color:#eff8ff}.btl-rer-summary .btl-section-head>span{font-size:9px;font-weight:800;border:1px solid rgba(143,184,218,.35);border-radius:999px;padding:4px 7px;color:#b9d9f0;white-space:nowrap}
.btl-rer-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.btl-rer-summary-grid>div{padding:9px;border:1px solid rgba(255,255,255,.07);border-radius:8px;background:rgba(255,255,255,.025)}.btl-rer-summary-grid span,.btl-rer-summary-grid small{display:block}.btl-rer-summary-grid span{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:#819cab}.btl-rer-summary-grid strong{display:block;margin:3px 0;font-size:12px;color:#eef9ff}.btl-rer-summary-grid small{font-size:9px;line-height:1.4;color:#91a9b4}
@media(max-width:900px){.btl-rer-summary-grid{grid-template-columns:1fr}.btl-rer-summary .btl-section-head{display:block}.btl-rer-summary .btl-section-head>span{display:inline-block;margin-top:7px}}

/* v1.8.5.0.4.2 — Best independent horizon announcement propagation */
.btl-best-horizon-callout{margin:0 0 8px;padding:10px 12px;border:1px solid rgba(91,174,255,.34);border-radius:10px;background:rgba(8,22,31,.88);display:grid;grid-template-columns:auto 1fr auto;gap:4px 12px;align-items:center}.btl-best-horizon-callout small{grid-column:1/-1;font-size:9px;letter-spacing:.09em;color:#8fbfe0}.btl-best-horizon-callout strong{font-size:15px;line-height:1.2;color:#f1fbff}.btl-best-horizon-callout span{font-size:10px;line-height:1.35;color:#a9c0cb;text-align:right}.btl-best-horizon-callout.is-call{border-color:rgba(75,219,154,.45);background:rgba(6,31,24,.84)}.btl-best-horizon-callout.is-put{border-color:rgba(255,119,119,.42);background:rgba(38,14,17,.82)}.btl-best-horizon-callout.is-conflict{border-color:rgba(255,190,74,.5);background:rgba(37,26,7,.86)}
@media(max-width:760px){.btl-best-horizon-callout{grid-template-columns:1fr}.btl-best-horizon-callout small,.btl-best-horizon-callout strong,.btl-best-horizon-callout span{grid-column:1;text-align:left}}

/* v1.8.5.0.5.2 — structural Best Horizon vs micro pullback research cards */
.btl-dual-opportunity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.btl-triple-opportunity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.btl-opportunity-card{border:1px solid rgba(148,163,184,.28);border-radius:16px;padding:16px;background:rgba(15,23,42,.72);box-shadow:0 10px 30px rgba(2,6,23,.16);min-width:0}.btl-opportunity-card small{display:block;font-size:11px;letter-spacing:.08em;font-weight:800;opacity:.72;margin-bottom:8px}.btl-opportunity-card>strong{display:block;font-size:21px;line-height:1.2;margin-bottom:7px}.btl-opportunity-card>span{display:block;opacity:.86;line-height:1.45}.btl-opportunity-card p{margin:10px 0 0;font-size:12px;line-height:1.45;opacity:.78}.btl-opportunity-main.is-call,.btl-opportunity-micro.is-call,.btl-opportunity-continuation.is-call{border-color:rgba(34,197,94,.45)}.btl-opportunity-main.is-put,.btl-opportunity-micro.is-put,.btl-opportunity-continuation.is-put{border-color:rgba(239,68,68,.45)}.btl-opportunity-card.is-conflict{border-color:rgba(245,158,11,.65)}.btl-opportunity-micro{border-style:dashed}.btl-opportunity-micro.is-candidate{border-style:solid;box-shadow:0 0 0 1px rgba(168,85,247,.14),0 10px 30px rgba(2,6,23,.16)}.btl-opportunity-continuation{border-style:solid;background:linear-gradient(145deg,rgba(15,23,42,.78),rgba(29,24,15,.72))}.btl-opportunity-continuation.is-prime{box-shadow:0 0 0 1px rgba(245,158,11,.2),0 10px 30px rgba(2,6,23,.16)}.btl-opportunity-metrics,.btl-opportunity-horizons{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:11px}.btl-opportunity-metrics b,.btl-opportunity-horizons span{padding:5px 8px;border-radius:999px;background:rgba(148,163,184,.12);font-size:12px}.btl-opportunity-metrics em{font-size:11px;opacity:.68;font-style:normal}.btl-opportunity-horizons b{font-size:12px}.btl-opportunity-micro.is-none,.btl-opportunity-continuation.is-none{opacity:.72}@media(max-width:1180px){.btl-triple-opportunity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.btl-opportunity-continuation{grid-column:1/-1}}@media(max-width:900px){.btl-dual-opportunity-grid,.btl-triple-opportunity-grid{grid-template-columns:1fr}.btl-opportunity-continuation{grid-column:auto}.btl-opportunity-card>strong{font-size:18px}}

/* v1.8.5.0.5.7.1 — Developing Opportunity & Micro-Reversal Precision */
.btl-developing-immediate-read{margin-top:12px;padding:10px 12px;border-radius:12px;border:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.46)}
.btl-developing-immediate-read small{display:block;margin:0 0 4px;font-size:10px;letter-spacing:.08em;font-weight:800;opacity:.68}
.btl-developing-immediate-read strong{display:block;font-size:14px;line-height:1.25}
.btl-developing-immediate-read span{display:block;margin-top:4px;font-size:11px;line-height:1.35;opacity:.75}
.btl-developing-immediate-read.is-watch{border-color:rgba(245,158,11,.48);background:rgba(120,53,15,.12)}
.btl-developing-immediate-read.is-ready{border-color:rgba(168,85,247,.58);background:rgba(88,28,135,.13);box-shadow:0 0 0 1px rgba(168,85,247,.08)}
.btl-micro-reversal-precision.is-watch{border-color:rgba(245,158,11,.52);border-style:solid}
.btl-micro-reversal-precision.is-ready{border-color:rgba(168,85,247,.72);border-style:solid;box-shadow:0 0 0 1px rgba(168,85,247,.18),0 10px 30px rgba(2,6,23,.18)}
