/* BlueMoonly connection instruments. Styles are confined to the homepage test. */
.bm-ct { --ct-accent:#9aa7ff; --ct-line:rgba(172,190,235,.13); scroll-margin-top:100px; }
.bm-ct-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:36px; margin-bottom:38px; }
.bm-ct-heading h2 { font-size:clamp(34px,4.6vw,54px); margin:14px 0 0; line-height:1.12; letter-spacing:-.045em; }
.bm-ct-heading h2>span { color:#a7b8ef; }
.bm-ct-heading>p { max-width:390px; color:#a9b4c9; font-size:15px; line-height:1.85; }
.bm-ct-panel { position:relative; isolation:isolate; border:1px solid rgba(155,173,230,.2); border-radius:26px; background:radial-gradient(ellipse at 20% 20%,rgba(79,99,173,.11),transparent 52%),linear-gradient(135deg,#101626,#0b101d 65%); box-shadow:0 30px 80px rgba(0,0,0,.2),inset 0 1px rgba(218,227,255,.04); overflow:hidden; }
.bm-ct-panel:before { content:""; position:absolute; inset:0 15%; height:1px; background:linear-gradient(90deg,transparent,rgba(160,174,255,.7),transparent); pointer-events:none; }
.bm-ct-panel-top { padding:23px 30px; border-bottom:1px solid var(--ct-line); display:flex; align-items:center; justify-content:space-between; gap:16px; }
.bm-ct-instrument-label { color:#acb8d4; font-size:10px; font-weight:650; letter-spacing:.18em; display:flex; align-items:center; gap:10px; }
.bm-ct-instrument-label>span { width:6px; height:6px; flex-shrink:0; border-radius:50%; background:#8494cc; box-shadow:0 0 0 4px rgba(132,148,204,.08); }
.bm-ct-target { display:flex; align-items:center; gap:9px; color:#bcc7dc; font-size:11px; white-space:nowrap; }
.bm-ct-target>span:nth-child(2) { opacity:.35; }
.bm-ct-flag { width:15px; height:10px; border-radius:2px; background:linear-gradient(#30333a 0 33.333%,#d15c64 33.333% 66.666%,#c8ad64 66.666%); box-shadow:0 0 0 1px rgba(255,255,255,.08); }
.bm-ct-dashboard { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:28px; padding:30px 34px 32px; align-items:center; }
.bm-ct-dial-column { min-width:0; padding:3px 16px 0 0; }
.bm-ct-dial { position:relative; width:100%; max-width:500px; margin:auto; aspect-ratio:400/350; }
.bm-ct-gauge { display:block; width:100%; height:100%; overflow:visible; }
.bm-ct-dial-halo { fill:none; stroke:rgba(165,181,246,.022); stroke-width:45px; }
.bm-ct-dial-outline { fill:none; stroke:rgba(159,180,231,.085); stroke-width:1px; }
.bm-ct-track,.bm-ct-track-glow,.bm-ct-track-active { fill:none; stroke-linecap:round; stroke-width:7px; }
.bm-ct-track { stroke:#252d46; }
.bm-ct-track-glow { stroke:url(#bm-ct-track-gradient); opacity:.12; filter:blur(5px); }
.bm-ct-track-active { stroke:url(#bm-ct-track-gradient); filter:drop-shadow(0 0 5px rgba(137,165,255,.4)); transition:stroke-dashoffset .22s ease-out; }
.bm-ct-tick-minor { stroke:#44506b; stroke-width:1px; }
.bm-ct-tick-major { stroke:#8c9ab9; stroke-width:1.4px; }
.bm-ct-tick-label { fill:#a4b1cc; font-family:var(--mono); font-size:10px; font-weight:500; }
.bm-ct-dial-caption { fill:#7182ac; font-size:8px; letter-spacing:2px; font-weight:700; }
.bm-ct-dial-subcaption { fill:#55627e; font-size:5px; letter-spacing:1.2px; }
.bm-ct-needle { transition:transform .22s ease-out; }
.bm-ct-needle-shadow { fill:#7895ff; filter:blur(5px); opacity:.6; }
.bm-ct-needle-hand { fill:url(#bm-ct-needle-gradient); }
.bm-ct-hub-edge { fill:#121b30; stroke:#354467; stroke-width:1px; }
.bm-ct-hub { fill:url(#bm-ct-hub-gradient); }
.bm-ct-hub-center { fill:#c7d3fb; filter:drop-shadow(0 0 5px #829aff); }
.bm-ct-readout { position:absolute; top:65%; left:18%; width:64%; display:flex; align-items:center; flex-direction:column; text-align:center; }
.bm-ct-phase { font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#99a8cd; line-height:1.3; }
.bm-ct-readout>strong { color:#f1f4ff; font-size:clamp(45px,5.6vw,66px); font-weight:600; line-height:1.14; letter-spacing:-.06em; font-variant-numeric:tabular-nums; margin:3px 0; }
.bm-ct-unit { font-size:12px; font-weight:500; color:#8d9dc1; letter-spacing:.045em; }
.bm-ct-gauge-footer { margin:-2px 6px 0; display:flex; justify-content:space-between; gap:16px; padding-top:16px; border-top:1px solid var(--ct-line); color:#6d7e9f; font-size:9px; line-height:1.5; }
.bm-ct-gauge-footer>span:first-child { letter-spacing:.12em; }
.bm-ct-gauge-footer>span:last-child { text-align:right; }
.bm-ct-results-column { min-width:0; padding-top:4px; }
.bm-ct-progress-label { color:#a2b0ce; display:flex; align-items:center; gap:8px; font-size:11px; letter-spacing:.03em; margin-bottom:14px; }
.bm-ct-status-dot { width:6px; height:6px; background:#7788bb; border-radius:50%; }
.bm-ct-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.bm-ct-metric { padding:18px 18px 15px; min-width:0; border:1px solid var(--ct-line); border-radius:15px; background:linear-gradient(130deg,rgba(30,40,63,.6),rgba(16,23,40,.55)); box-shadow:inset 0 1px rgba(234,240,255,.02); }
.bm-ct-metric-heading { display:flex; align-items:center; gap:8px; color:#b3c0dc; }
.bm-ct-metric-heading svg,.bm-ct-actions svg,.bm-ct-stages svg,.bm-ct-notes svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.5px; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.bm-ct-metric-heading svg { color:#94a6e5; }
.bm-ct-metric h3 { font-size:12px; font-weight:550; letter-spacing:0; }
.bm-ct-metric-value { display:flex; align-items:baseline; gap:6px; margin:10px 0 2px; min-height:43px; }
.bm-ct-metric-value strong { font-size:32px; line-height:1.2; font-weight:550; letter-spacing:-.045em; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.bm-ct-metric-value>span { color:#8c9cbb; font-size:11px; }
.bm-ct-metric p { color:#8594b0; font-size:10px; line-height:1.6; }
.bm-ct-actions { display:flex; gap:10px; margin-top:20px; }
.bm-ct-start,.bm-ct-stop { display:flex; align-items:center; justify-content:center; gap:10px; padding:14px 20px; min-height:50px; border-radius:12px; border:1px solid rgba(172,185,255,.35); font-size:13px; font-weight:650; line-height:1.5; transition:background .18s,box-shadow .18s,transform .18s; }
.bm-ct-start { width:100%; color:#fff; background:linear-gradient(110deg,#6777ed,#7b70df); box-shadow:0 6px 20px rgba(85,92,210,.13),inset 0 1px rgba(255,255,255,.14); }
.bm-ct-start:hover:not(:disabled) { background:linear-gradient(110deg,#7585fa,#8a7ceb); box-shadow:0 8px 25px rgba(107,112,239,.25); transform:translateY(-1px); }
.bm-ct-start svg { fill:currentColor; stroke-width:0; width:16px; height:16px; }
.bm-ct-stop { color:#d4dcf2; background:#182135; border-color:#3b4867; flex-shrink:0; }
.bm-ct-stop:hover:not(:disabled) { background:#222d45; }
.bm-ct-stop svg { width:15px; height:15px; }
.bm-ct [hidden] { display:none!important; }
.bm-ct-status { margin:12px 0 0; min-height:36px; color:#b0bdd6; font-size:11px; line-height:1.7; }
.bm-ct-data-note { color:#7e8da9; font-size:10px; line-height:1.7; margin-top:6px; }
.bm-ct-data-note>span:not(:empty) { display:block; margin-top:3px; }
.bm-ct-stages { list-style:none; margin:0; padding:21px 30px; border-top:1px solid var(--ct-line); background:rgba(6,10,20,.2); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.bm-ct-stages li { display:flex; align-items:center; gap:11px; min-width:0; }
.bm-ct-stage-number { display:flex; align-items:center; justify-content:center; width:29px; height:29px; flex-shrink:0; border:1px solid #34405d; border-radius:50%; color:#7c8cae; font-family:var(--mono); font-size:9px; }
.bm-ct-stages strong { display:block; font-size:11px; font-weight:550; color:#9faec9; letter-spacing:.01em; }
.bm-ct-stages small { display:block; color:#6e7f9f; font-size:9px; line-height:1.5; margin-top:3px; }
.bm-ct-stages svg { margin-left:auto; color:#485776; width:14px; }
.bm-ct-stages li[data-state=active] .bm-ct-stage-number { border-color:#a4b3ff; color:#d7dfff; background:rgba(135,153,240,.15); box-shadow:0 0 0 4px rgba(132,148,232,.045); }
.bm-ct-stages li[data-state=active] strong { color:#e0e7ff; }
.bm-ct-stages li[data-state=done] .bm-ct-stage-number { border-color:#527b77; color:#a6decb; background:rgba(87,154,131,.1); }
.bm-ct-stages li[data-state=done] strong { color:#b5cfc8; }
.bm-ct:has([data-test-stage][data-state=active]) .bm-ct-status-dot { background:#a5b4ff; animation:bm-ct-pulse 1.5s ease-in-out infinite; }
.bm-ct:has([data-test-stage=ping][data-state=active]) [data-metric=ping],.bm-ct:has([data-test-stage=ping][data-state=active]) [data-metric=jitter],.bm-ct:has([data-test-stage=download][data-state=active]) [data-metric=download],.bm-ct:has([data-test-stage=upload][data-state=active]) [data-metric=upload] { border-color:rgba(153,173,255,.5); background:linear-gradient(130deg,rgba(47,60,100,.65),rgba(25,34,59,.7)); }
@keyframes bm-ct-pulse { 0%,100% { box-shadow:0 0 0 0 rgba(165,180,255,.2); } 65% { box-shadow:0 0 0 5px rgba(165,180,255,0); } }
.bm-ct-notes { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:36px; margin-top:22px; }
.bm-ct-notes>p { display:flex; gap:10px; color:#899ab7; font-size:11px; line-height:1.8; }
.bm-ct-notes>p>svg { width:15px; height:15px; margin-top:3px; color:#7c8eb7; }
.bm-ct-method { min-width:0; border-bottom:1px solid var(--ct-line); padding-bottom:11px; align-self:start; }
.bm-ct-method summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:12px; align-items:center; color:#b7c4dd; font-size:11px; font-weight:550; }
.bm-ct-method summary::-webkit-details-marker { display:none; }
.bm-ct-method summary svg { transition:transform .2s; }
.bm-ct-method[open] summary svg { transform:rotate(180deg); }
.bm-ct-method>div { display:grid; gap:13px; padding-top:19px; }
.bm-ct-method p { font-size:11px; line-height:1.85; color:#93a3bf; }
.bm-ct-method p strong { color:#c0cce0; font-weight:600; }
.bm-ct-noscript { margin-top:16px; padding:14px 18px; border:1px solid #786443; border-radius:10px; color:#dac9a4; font-size:12px; }
@media(max-width:1000px) {
  .bm-ct-dashboard { gap:20px; padding:26px 24px; }
  .bm-ct-dial-column { padding-right:0; }
  .bm-ct-metric { padding:15px 13px 12px; }
  .bm-ct-metric-value strong { font-size:28px; }
  .bm-ct-stages { padding:19px 24px; gap:14px; }
  .bm-ct-stages small { font-size:8px; }
}
@media(max-width:760px) {
  .bm-ct-heading { flex-direction:column; align-items:flex-start; gap:20px; margin-bottom:28px; }
  .bm-ct-heading>p { max-width:520px; font-size:14px; }
  .bm-ct-panel-top { padding:19px 22px; }
  .bm-ct-dashboard { grid-template-columns:minmax(0,1fr); padding:22px; gap:26px; }
  .bm-ct-dial-column { max-width:460px; width:100%; margin:auto; }
  .bm-ct-readout>strong { font-size:58px; }
  .bm-ct-metrics { gap:12px; }
  .bm-ct-metric { padding:20px; }
  .bm-ct-metric h3 { font-size:13px; }
  .bm-ct-metric-value strong { font-size:34px; }
  .bm-ct-metric-value>span { font-size:12px; }
  .bm-ct-metric p,.bm-ct-data-note { font-size:11px; }
  .bm-ct-progress-label { font-size:12px; }
  .bm-ct-start,.bm-ct-stop { font-size:14px; min-height:52px; }
  .bm-ct-status { font-size:12px; }
  .bm-ct-stages { padding:20px 22px; gap:14px; }
  .bm-ct-stages li { flex-direction:column; align-items:flex-start; gap:8px; }
  .bm-ct-stages strong { font-size:10px; }
  .bm-ct-stages small { font-size:9px; }
  .bm-ct-stages svg { display:none; }
  .bm-ct-notes { grid-template-columns:minmax(0,1fr); gap:19px; }
  .bm-ct-notes>p,.bm-ct-method summary,.bm-ct-method p { font-size:12px; }
}
@media(max-width:420px) {
  .bm-ct-panel { border-radius:19px; }
  .bm-ct-panel-top { padding:17px 16px; flex-wrap:wrap; gap:11px; }
  .bm-ct-instrument-label { font-size:9px; letter-spacing:.13em; }
  .bm-ct-target { font-size:10px; }
  .bm-ct-dashboard { padding:19px 14px 22px; gap:21px; }
  .bm-ct-phase { font-size:8px; }
  .bm-ct-readout>strong { font-size:43px; }
  .bm-ct-unit { font-size:10px; }
  .bm-ct-gauge-footer { font-size:8px; gap:8px; padding-top:12px; }
  .bm-ct-metric { padding:16px 13px 13px; border-radius:12px; }
  .bm-ct-metric h3 { font-size:11px; }
  .bm-ct-metric-heading { gap:6px; }
  .bm-ct-metric-heading svg { width:15px; height:15px; }
  .bm-ct-metric-value { gap:4px; min-height:36px; }
  .bm-ct-metric-value strong { font-size:28px; }
  .bm-ct-metric-value>span,.bm-ct-metric p { font-size:10px; }
  .bm-ct-start,.bm-ct-stop { padding:13px 14px; font-size:12px; }
  .bm-ct-actions { flex-wrap:wrap; }
  .bm-ct-stop { width:100%; }
  .bm-ct-stages { padding:18px 14px; gap:9px; }
  .bm-ct-stages strong { font-size:9px; line-height:1.5; }
  .bm-ct-stages small { font-size:8px; }
}
@media(prefers-reduced-motion:reduce) {
  .bm-ct *, .bm-ct *:before, .bm-ct *:after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
