/* ==========================================================================
   BundleTec · Kumaş Kompansatör Canlı Kesit  (homepage section #kompansator-3d)
   Unified Bright Engineering Light-Studio CAD Aesthetic (CyclePro 3D Parity).
   Every selector is scoped under .bk3d and uses bk- prefixed classes so the
   site-wide stylesheet and this component cannot leak into each other.
   ========================================================================== */
.bk3d {
  --bk-bg: #f8fafc;
  --bk-panel: #ffffff;
  --bk-panel-soft: #f8fafc;
  --bk-line: #cbd5e1;
  --bk-line-soft: #e2e8f0;
  --bk-text: #0f172a;
  --bk-muted: #475569;
  --bk-cyan: #0284c7;
  --bk-cyan-dark: #0369a1;
  --bk-orange: #c2410c;
  --bk-ok: #047857;
  --bk-warn: #b45309;
  --bk-bad: #b91c1c;
  --bk-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bk-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 84px;
  color: var(--bk-text);
  font-family: var(--bk-font);
  font-size: 14px;
  /* High-contrast architectural steel-blue blueprint surface against #kurumsal (#041f42) above */
  background:
    radial-gradient(900px 480px at 10% 6%, rgba(234, 88, 12, 0.08), transparent 60%),
    radial-gradient(900px 520px at 90% 28%, rgba(2, 132, 199, 0.09), transparent 62%),
    linear-gradient(180deg, #e2ecf7 0%, #eef4fb 50%, #dfeaf6 100%);
  border-top: 3px solid #38bdf8;
  border-bottom: 1px solid rgba(4, 31, 66, 0.14);
}
.section.bk3d { padding: 7rem 0 6rem; }
.bk3d::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(4, 31, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 31, 66, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}
.bk3d > .container { position: relative; z-index: 1; }
.bk3d *, .bk3d *::before, .bk3d *::after { box-sizing: border-box; }
.bk3d p { margin: 0; font-size: inherit; font-weight: 400; color: inherit; line-height: 1.6; }
.bk3d a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.bk3d button {
  font: inherit;
  color: var(--bk-text);
  cursor: pointer;
  border: 1px solid var(--bk-line);
  background: #ffffff;
  border-radius: 7px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.bk3d button:hover { border-color: #0284c7; background: #f0f9ff; color: #0369a1; }
.bk3d button:focus-visible,
.bk3d a:focus-visible,
.bk3d input:focus-visible,
.bk3d summary:focus-visible,
.bk3d .bk-stage:focus-visible { outline: 2px solid #0284c7; outline-offset: 3px; }
.bk3d svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- headline ---------- */
.bk3d .bk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; margin-bottom: 2.5rem; }
.bk3d .bk-head-copy { max-width: 820px; }
.bk3d .bk-kicker { color: #075985; font-size: 0.9rem; font-weight: 700; }
.bk3d .bk-title {
  color: #041f42;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 1rem 0 1.25rem;
  -webkit-hyphens: manual;
  hyphens: manual;
}
.bk3d .bk-title span { display: block; }
.bk3d .bk-hot, .bk3d .bk-cool { -webkit-background-clip: text; background-clip: text; color: transparent; }
.bk3d .bk-hot { background-image: linear-gradient(90deg, #9a3412 0%, #c2410c 45%, #ea580c 100%); }
.bk3d .bk-cool { background-image: linear-gradient(90deg, #041f42 0%, #075985 52%, #0284c7 100%); }
.bk3d .bk-lead { color: #243b53; font-size: 1.1rem; line-height: 1.75; max-width: 780px; }
.bk3d .bk-head-side { display: flex; flex-direction: column; gap: 0.6rem; flex-shrink: 0; max-width: 100%; }
.bk3d .bk-engine {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  min-width: 280px;
  max-width: 100%;
  padding: 0.75rem 1.05rem;
  border: 1px solid rgba(4, 31, 66, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(4, 31, 66, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 600 12.5px var(--bk-font);
  letter-spacing: 0.01em;
  color: #041f42;
}
.bk3d .bk-engine small { margin-left: auto; padding-left: 0.75rem; font: 500 11px var(--bk-mono); letter-spacing: 0.01em; color: #475569; white-space: nowrap; }
.bk3d .bk-engine-dot { width: 7px; height: 7px; border-radius: 50%; background: #ea580c; box-shadow: 0 0 8px rgba(234, 88, 12, 0.45); flex-shrink: 0; }
.bk3d .bk-engine-dot--cyan { background: #0284c7; box-shadow: 0 0 8px rgba(2, 132, 199, 0.45); }

/* ---------- stage + controls (Bright Engineering Light-Studio Parity) ---------- */
.bk3d .bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 16px; }
.bk3d .bk-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 42%, #f8fafc 0%, #eef2f6 52%, #dde6f0 100%);
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}
.bk3d .bk-stage { position: relative; flex: 1 1 auto; min-height: 575px; overflow: clip; isolation: isolate; }
.bk3d .bk-renderer { position: absolute; inset: 0; }
.bk3d .bk-layer-strip { flex: 0 0 auto; }
.bk3d .bk-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.bk3d .bk-stage:fullscreen { width: 100vw; height: 100vh; min-height: 0; background: radial-gradient(ellipse at 50% 42%, #f8fafc 0%, #eef2f6 52%, #dde6f0 100%); }
.bk3d .bk-stage-top { position: absolute; top: 16px; left: 20px; right: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; }
.bk3d .bk-model-label {
  min-width: 0;
  padding: 6px 11px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  font: 600 10px var(--bk-mono);
  letter-spacing: 1px;
  line-height: 1.65;
  color: #475569;
}
.bk3d .bk-model-label b { display: block; font: 700 13.5px var(--bk-font); letter-spacing: 0.1px; color: #041f42; }
.bk3d .bk-live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.22); }
.bk3d .bk-stage-actions { display: flex; gap: 6px; pointer-events: auto; }
.bk3d .bk-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bk3d .bk-icon-button:hover { border-color: #0284c7; background: #ffffff; color: #0369a1; }
.bk3d .bk-icon-button svg { width: 16px; height: 16px; }
.bk3d .bk-view-tabs {
  position: absolute;
  left: 22px;
  top: 86px;
  z-index: 3;
  display: flex;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bk3d .bk-view-tabs button { padding: 7px 12px; border: 0; border-radius: 5px; background: transparent; font-size: 11px; font-weight: 600; color: #334155; }
.bk3d .bk-view-tabs button:hover { background: #e0f2fe; color: #0369a1; }
.bk3d .bk-view-tabs button.active { color: #ffffff; background: #0284c7; box-shadow: 0 1px 4px rgba(2, 132, 199, 0.32); }
.bk3d .bk-tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.2s;
}
.bk3d .bk-tag b { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: #0f172a; }
.bk3d .bk-tag::after { content: ""; position: absolute; left: 50%; top: 100%; display: block; width: 1.5px; height: 18px; background: #64748b; }
.bk3d .bk-tag--hot { border-color: #ea580c; }
.bk3d .bk-tag--hot::after { background: #ea580c; }
.bk3d .bk-tag--hot b { color: #c2410c; }
.bk3d .bk-tag--layer { border-color: #0284c7; }
.bk3d .bk-tag--layer::after { background: #0284c7; }
.bk3d .bk-tag--layer b { color: #0369a1; }
.bk3d .bk-scene-bottom { position: absolute; bottom: 18px; left: 22px; right: 22px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; pointer-events: none; }
.bk3d .bk-scene-bottom button { pointer-events: auto; }
.bk3d .bk-telemetry {
  display: flex;
  gap: 20px;
  padding: 7px 13px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.bk3d .bk-telemetry span { display: block; margin-bottom: 3px; font-size: 9px; font-weight: 700; letter-spacing: 0.9px; color: #475569; }
.bk3d .bk-telemetry strong { font: 600 16px var(--bk-mono); color: #041f42; }
.bk3d .bk-telemetry em { font-size: 10px; font-style: normal; color: #475569; }
.bk3d .bk-scene-legend {
  position: absolute;
  bottom: 88px;
  left: 22px;
  z-index: 2;
  display: none;
  width: 184px;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
}
.bk3d .bk-scene-legend .bk-ramp { height: 6px; margin: 6px 0; border-radius: 3px; background: linear-gradient(90deg, #2563eb, #0ea5e9, #10b981, #eab308, #f97316, #dc2626); }
.bk3d .bk-scene-legend .bk-endpoints { display: flex; justify-content: space-between; font: 600 10px var(--bk-mono); color: #0f172a; }
.bk3d .bk-legend-label { font-size: 9px; font-weight: 700; letter-spacing: 0.9px; color: #334155; }
.bk3d .bk-camera-hint { position: absolute; bottom: 21px; left: 50%; z-index: 2; transform: translateX(-50%); font-size: 10px; font-weight: 500; color: #475569; white-space: nowrap; pointer-events: none; }
.bk3d .bk-round-play {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #0284c7;
  color: #0369a1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.bk3d .bk-round-play:hover { background: #0284c7; color: #ffffff; border-color: #0284c7; }
.bk3d .bk-round-play svg { width: 15px; height: 15px; }
.bk3d .bk-bottom-actions { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; gap: 8px; }
.bk3d .bk-camera-btn {
  padding: 8px 11px;
  font-size: 10.5px;
  font-weight: 600;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.bk3d .bk-loader { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(248, 250, 252, 0.95); font-size: 12px; font-weight: 600; color: #334155; }
.bk3d .bk-loader.hidden { display: none; }
.bk3d .bk-spinner { width: 16px; height: 16px; border: 2px solid #cbd5e1; border-top-color: #0284c7; border-radius: 50%; animation: bk3d-spin 1s linear infinite; }
@keyframes bk3d-spin { to { transform: rotate(360deg); } }
.bk3d .bk-fallback { position: absolute; inset: 0; z-index: 10; display: none; align-items: center; justify-content: center; padding: 40px; background: #f8fafc; color: #334155; text-align: center; line-height: 1.8; }

.bk3d .bk-layer-strip { padding: 17px 20px 18px; border-top: 1px solid #cbd5e1; background: #ffffff; min-height: 172px; }
.bk3d .bk-strip-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #334155; }
.bk3d .bk-strip-heading span:last-child { font-size: 10px; font-weight: 500; letter-spacing: 0; color: #64748b; }
.bk3d .bk-layer-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; min-height: 105px; }
.bk3d .bk-layer-item { position: relative; min-width: 0; padding: 11px 9px 9px; text-align: left; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; color: #0f172a; }
.bk3d .bk-layer-item:hover { border-color: #0284c7; background: #f0f9ff; }
.bk3d .bk-layer-item.active { background: #e0f2fe; border-color: #0284c7; box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.25); }
.bk3d .bk-layer-item small { display: flex; align-items: center; gap: 6px; font: 600 9.5px var(--bk-mono); color: #475569; }
.bk3d .bk-layer-item.active small { color: #0369a1; }
.bk3d .bk-swatch { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--color); border: 1px solid rgba(15, 23, 42, 0.22); }
.bk3d .bk-layer-item b { display: block; min-height: 33px; margin: 6px 0; font-size: 11px; font-weight: 600; line-height: 1.45; color: #0f172a; overflow-wrap: anywhere; }
.bk3d .bk-temp { font: 600 11px var(--bk-mono); color: #0369a1; }

.bk3d .bk-controls { display: flex; flex-direction: column; gap: 22px; padding: 21px; border: 1px solid #cbd5e1; border-radius: 12px; background: var(--bk-panel); box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05); }
.bk3d .bk-control-title { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #041f42; }
.bk3d .bk-control-title svg { width: 16px; height: 16px; color: #0284c7; }
.bk3d .bk-control-section + .bk-control-section { padding-top: 18px; border-top: 1px solid var(--bk-line-soft); }
.bk3d .bk-motion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 13px; }
.bk3d .bk-motion-btn { display: flex; align-items: center; gap: 9px; padding: 11px 8px; text-align: left; font-size: 11px; font-weight: 600; background: #f8fafc; color: #334155; border-color: #cbd5e1; }
.bk3d .bk-motion-btn svg { width: 19px; height: 19px; flex-shrink: 0; color: #64748b; }
.bk3d .bk-motion-btn.active { background: #e0f2fe; border-color: #0284c7; color: #0369a1; box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.2); }
.bk3d .bk-motion-btn.active svg { color: #0284c7; }
.bk3d .bk-range-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 16px 0 9px; font-size: 11.5px; font-weight: 600; color: #334155; }
.bk3d .bk-range-heading output { font: 600 12px var(--bk-mono); color: #041f42; white-space: nowrap; }
.bk3d .bk-range-heading output.warm { color: var(--bk-orange); }
.bk3d input[type=range] {
  display: block;
  width: 100%;
  height: 24px;
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  accent-color: #0284c7;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  background-image: linear-gradient(to right, #0284c7 var(--fill, 50%), #cbd5e1 var(--fill, 50%));
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: center;
}
.bk3d input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 3px solid #0284c7; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.22); }
.bk3d input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 2.5px solid #0284c7; border-radius: 50%; background: #ffffff; }
.bk3d input.bk-heat-range { background-image: linear-gradient(90deg, #0284c7, #eab308, #ea580c); }
.bk3d .bk-range-limits { display: flex; justify-content: space-between; font: 500 9.5px var(--bk-mono); color: #64748b; }
.bk3d .bk-toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-top: 13px; font-size: 11.5px; font-weight: 500; color: #334155; }
.bk3d .bk-toggle { position: relative; flex-shrink: 0; width: 44px; height: 24px; min-width: 44px; min-height: 24px; padding: 0; border: 1px solid #94a3b8; border-radius: 14px; background: #e2e8f0; }
.bk3d .bk-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25); transition: transform 0.2s; }
.bk3d .bk-toggle.on { background: #0284c7; border-color: #0284c7; }
.bk3d .bk-toggle.on::after { background: #ffffff; transform: translateX(20px); }
.bk3d .bk-temp-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; padding: 12px; border: 1px solid #cbd5e1; border-left: 3px solid #0284c7; border-radius: 6px; background: #f8fafc; }
.bk3d .bk-temp-card > span { font-size: 10.5px; line-height: 1.55; color: #334155; }
.bk3d .bk-temp-card strong { font: 700 17px var(--bk-mono); color: #047857; white-space: nowrap; }
.bk3d .bk-warmup { width: 100%; margin-top: 12px; padding: 9px 10px; font-size: 11px; font-weight: 600; color: #0369a1; background: #f0f9ff; border-color: #bae6fd; }
.bk3d .bk-warmup:hover { background: #e0f2fe; border-color: #0284c7; }
.bk3d .bk-warmup.running { color: #c2410c; background: #fff7ed; border-color: #fdba74; }
.bk3d .bk-model-note { margin-top: auto; padding-top: 6px; font-size: 10.5px; line-height: 1.65; color: #64748b; }

/* ---------- thermal band ---------- */
.bk3d .bk-thermal-band { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 16px; margin-top: 16px; }
.bk3d .bk-thermal-profile { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 20px; min-width: 0; padding: 19px 22px; border: 1px solid #cbd5e1; border-radius: 10px; background: #ffffff; box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.04); }
.bk3d .bk-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: 1.1px; color: #0369a1; }
.bk3d h3.bk-profile-title { margin: 8px 0; font-size: 17px !important; font-weight: 700; letter-spacing: 0; color: #041f42; }
.bk3d .bk-profile-copy p { font-size: 11px; line-height: 1.6; color: #475569; min-height: 4.8em; }
.bk3d .bk-chart-wrap { position: relative; height: 105px; min-width: 0; direction: ltr; }
.bk3d .bk-chart-wrap svg { width: 100%; height: 100%; max-width: none; overflow: visible; direction: ltr; }
.bk3d .bk-chart-wrap svg text[font-family="Arial"] { font-family: var(--bk-font); }
.bk3d .bk-detail-panel { padding: 18px 21px; border: 1px solid #cbd5e1; border-radius: 10px; background: #ffffff; box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.04); min-height: 248px; }
.bk3d .bk-detail-panel .bk-eyebrow { color: #0284c7; }
.bk3d h3.bk-detail-title { margin: 9px 0; font-size: 14.5px !important; font-weight: 700; letter-spacing: 0; color: #041f42; }
.bk3d .bk-detail-panel p { font-size: 11.5px; line-height: 1.65; color: #334155; }
.bk3d .bk-detail-panel p.bk-detail-meta { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cbd5e1; font: 600 10.5px/1.6 var(--bk-mono); color: #0369a1; min-height: 43px; }
.bk3d .bk-detail-panel p.bk-detail-meta:empty { visibility: hidden; }

/* ---------- BundleTec engineering summary + conversion bridge ---------- */
.bk3d .bk-kpi-band { margin-top: 16px; padding: 20px 22px 22px; border: 1px solid #cbd5e1; border-radius: 12px; background: linear-gradient(180deg, #ffffff, #f8fafc); box-shadow: 0 14px 32px -12px rgba(15, 23, 42, 0.11), 0 3px 10px rgba(15, 23, 42, 0.04); }
.bk3d .bk-kpi-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.bk3d .bk-kpi-head .bk-eyebrow { color: #0369a1; }
.bk3d .bk-kpi-trust { font: 600 11px var(--bk-font); color: #475569; letter-spacing: 0.01em; }
.bk3d .bk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bk3d .bk-kpi { display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 176px; padding: 14px 15px; border: 1px solid #cbd5e1; border-radius: 9px; background: #ffffff; }
.bk3d .bk-kpi-label { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #475569; }
.bk3d .bk-kpi-value { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-height: 29px; }
.bk3d .bk-kpi-value strong { font: 700 24px var(--bk-mono); color: #041f42; white-space: nowrap; }
.bk3d .bk-kpi-value em { font-size: 11px; font-style: normal; color: #475569; }
.bk3d .bk-kpi-sub { font-size: 11px; line-height: 1.5; color: #475569; min-height: 3em; }
.bk3d .bk-kpi-sub[data-state="ok"] { color: var(--bk-ok); font-weight: 600; }
.bk3d .bk-kpi-sub[data-state="bad"] { color: var(--bk-bad); font-weight: 600; }
.bk3d .bk-badge { display: inline-block; width: fit-content; max-width: 100%; min-height: 23px; padding: 3px 8px; border: 1px solid currentColor; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.2px; line-height: 1.4; color: var(--bk-muted); background: #f8fafc; }
.bk3d .bk-badge[data-state="SAFE"] { color: var(--bk-ok); background: #ecfdf5; border-color: #6ee7b7; }
.bk3d .bk-badge[data-state="WARNING"] { color: var(--bk-warn); background: #fffbeb; border-color: #fcd34d; }
.bk3d .bk-badge[data-state="EXCEEDED"] { color: var(--bk-bad); background: #fef2f2; border-color: #fca5a5; }
.bk3d .bk-kpi[data-state="EXCEEDED"] { border-color: #fca5a5; background: #fffafa; }
.bk3d .bk-cmr-track { position: relative; height: 7px; margin: 6px 0 2px; border-radius: 4px; background: linear-gradient(90deg, #d1fae5 0 60%, #fef3c7 60% 80%, #fee2e2 80% 100%); direction: ltr; }
.bk3d .bk-cmr-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--bk-ok); transition: width 0.12s linear; }
.bk3d .bk-cmr-bar[data-state="WARNING"] { background: #d97706; }
.bk3d .bk-cmr-bar[data-state="EXCEEDED"] { background: #dc2626; }
.bk3d .bk-cmr-tick { position: absolute; top: -3px; bottom: -3px; width: 1px; background: #64748b; }
.bk3d .bk-cmr-tick--a { left: 60%; }
.bk3d .bk-cmr-tick--b { left: 80%; }
.bk3d .bk-cmr-marker { position: absolute; top: -5px; left: 0; width: 2.5px; height: 17px; border-radius: 1px; background: #041f42; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9); transform: translateX(-1px); transition: left 0.25s ease; }

.bk3d .bk-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  background:
    radial-gradient(520px 180px at 95% 50%, rgba(2, 132, 199, 0.08), transparent 70%),
    linear-gradient(90deg, #f0f9ff, #f8fafc);
}
.bk3d .bk-bridge-copy { max-width: 760px; min-width: 0; }
.bk3d .bk-bridge-title { display: block; margin-bottom: 5px; font-size: 14.5px; font-weight: 700; color: #041f42; letter-spacing: -0.01em; }
.bk3d .bk-bridge-copy p { font-size: 12px; line-height: 1.65; color: #334155; }
.bk3d .bk-bridge-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.bk3d .bk-kpi-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 8px; background: #0369a1; font-size: 12.5px; font-weight: 700; color: #ffffff; transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s; white-space: nowrap; }
.bk3d .bk-kpi-cta:hover { background: #075985; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(3, 105, 161, 0.24); }
.bk3d .bk-kpi-cta svg { width: 15px; height: 15px; stroke-width: 2.2; flex-shrink: 0; }
.bk3d .bk-kpi-quote { display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px; border: 1.5px solid #041f42; border-radius: 8px; background: #ffffff; font-size: 12.5px; font-weight: 700; color: #041f42; transition: border-color 0.2s, background 0.2s, transform 0.2s; white-space: nowrap; }
.bk3d .bk-kpi-quote:hover { border-color: #0284c7; color: #0369a1; background: #f0f9ff; transform: translateY(-1px); }

/* ---------- method / sources ---------- */
.bk3d .bk-info { margin-top: 20px; font-size: 11px; line-height: 1.8; color: #334e68; }
.bk3d .bk-info summary { display: inline-block; padding-bottom: 2px; border-bottom: 1px solid rgba(4, 31, 66, 0.32); color: #041f42; font-weight: 600; cursor: pointer; list-style: none; }
.bk3d .bk-info summary:focus-visible,
.bk3d .bk-info a:focus-visible { outline-color: #0284c7; }
.bk3d .bk-info summary::-webkit-details-marker { display: none; }
.bk3d .bk-info summary::before { content: "+ "; color: #0284c7; font-weight: 700; }
.bk3d .bk-info[open] summary::before { content: "− "; }
.bk3d .bk-info[open] summary { margin-bottom: 12px; }
.bk3d .bk-info p { max-width: 1040px; margin: 6px 0; }
.bk3d .bk-info a { color: #075985; font-weight: 600; border-bottom: 1px solid rgba(7, 89, 133, 0.4); }
.bk3d .bk-toast { position: fixed; bottom: 24px; left: 50%; z-index: 1000; display: none; padding: 12px 20px; border: 1px solid #0284c7; border-radius: 8px; background: #041f42; color: #f8fafc; font-size: 12px; font-weight: 600; box-shadow: 0 10px 26px rgba(4, 31, 66, 0.22); transform: translateX(-50%); }

/* ---------- responsive ---------- */
@media (min-width: 1550px) { .bk3d .bk-stage { min-height: 640px; } }
@media (max-width: 1100px) {
  .bk3d .bk-layout, .bk3d .bk-thermal-band { grid-template-columns: minmax(0, 1fr) 280px; }
  .bk3d .bk-controls { padding: 17px; }
  .bk3d .bk-stage { min-height: 560px; }
  .bk3d .bk-layer-strip { min-height: 168px; }
  .bk3d .bk-layer-list { gap: 4px; min-height: 103px; }
  .bk3d .bk-layer-item { padding: 9px 6px; }
  .bk3d .bk-layer-item b { font-size: 10px; }
  .bk3d .bk-telemetry { gap: 13px; }
  .bk3d .bk-camera-hint { display: none; }
  .bk3d .bk-thermal-profile { grid-template-columns: 170px 1fr; gap: 10px; }
  .bk3d .bk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk3d .bk-bridge { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bk3d .bk-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .bk3d .bk-head-side { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .section.bk3d { padding: 4.5rem 0 4rem; }
  .bk3d > .container { padding: 0 1rem; }
  .bk3d .bk-lead { font-size: 1rem; }
  .bk3d .bk-engine { min-width: 0; }
  .bk3d .bk-layout { grid-template-columns: 1fr; gap: 12px; }
  .bk3d .bk-stage { min-height: 490px; }
  .bk3d .bk-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 19px; }
  .bk3d .bk-control-section + .bk-control-section { padding-top: 0; padding-left: 18px; border-top: 0; border-left: 1px solid var(--bk-line-soft); }
  .bk3d .bk-controls .bk-control-section--toggles { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--bk-line-soft); }
  .bk3d .bk-controls .bk-control-section--toggles .bk-toggle-row { display: inline-flex; gap: 15px; margin-right: 24px; }
  .bk3d .bk-model-note { grid-column: 1 / -1; margin-top: -6px; }
  .bk3d .bk-thermal-band { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .bk3d .bk-thermal-profile { grid-template-columns: 180px 1fr; }
  .bk3d .bk-detail-panel { min-height: 212px; }
  .bk3d .bk-view-tabs { top: 88px; }
  .bk3d .bk-tag { font-size: 9px; }
  .bk3d .bk-tag b { font-size: 11px; }
}
@media (max-width: 520px) {
  .bk3d .bk-head-side { width: 100%; flex-direction: column; }
  .bk3d .bk-engine { width: 100%; padding: 0.65rem 0.9rem; }
  .bk3d .bk-engine small { width: 100%; margin-left: 0; padding-left: calc(7px + 0.65rem); white-space: normal; }
  .bk3d .bk-stage { min-height: 455px; }
  .bk3d .bk-stage-top { left: 12px; right: 12px; top: 12px; gap: 6px; }
  .bk3d .bk-view-tabs { left: 14px; top: 94px; }
  .bk3d .bk-view-tabs button { padding: 8px 9px; min-height: 36px; }
  .bk3d .bk-model-label { font-size: 8.5px; line-height: 1.45; }
  .bk3d .bk-model-label b { font-size: 11.5px; line-height: 1.3; margin-bottom: 3px; }
  .bk3d .bk-scene-bottom { left: 14px; right: 14px; }
  .bk3d .bk-telemetry { gap: 10px; padding: 6px 9px; }
  .bk3d .bk-telemetry strong { font-size: 13px; }
  .bk3d .bk-telemetry span, .bk3d .bk-telemetry em { font-size: 8px; }
  .bk3d .bk-camera-btn { display: none; }
  .bk3d .bk-tag { padding: 6px 8px; }
  .bk3d .bk-tag b { font-size: 10px; }
  .bk3d .bk-layer-strip { padding: 13px 12px; min-height: 304px; }
  .bk3d .bk-strip-heading { font-size: 9px; }
  .bk3d .bk-strip-heading span:last-child { display: none; }
  .bk3d .bk-layer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-height: 250px; }
  .bk3d .bk-layer-item { padding: 8px 10px; }
  .bk3d .bk-layer-item:last-child { grid-column: 1 / -1; }
  .bk3d .bk-layer-item b { min-height: 0; margin: 4px 0; font-size: 10.5px; line-height: 1.35; overflow-wrap: break-word; }
  .bk3d .bk-layer-item .bk-temp, .bk3d .bk-layer-item small { font-size: 9.5px; }
  .bk3d .bk-thermal-profile { grid-template-columns: 1fr; gap: 11px; padding: 18px; }
  .bk3d .bk-profile-copy p { min-height: 3.2em; }
  .bk3d .bk-detail-panel { min-height: 232px; }
  .bk3d .bk-controls { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .bk3d .bk-control-section + .bk-control-section { padding-left: 0; padding-top: 14px; border-left: 0; border-top: 1px solid var(--bk-line-soft); }
  .bk3d .bk-controls .bk-control-section--toggles .bk-toggle-row { display: flex; width: 100%; justify-content: space-between; margin-right: 0; margin-left: 0; }
  .bk3d .bk-motion-btn { gap: 6px; padding: 10px 6px; font-size: 10px; min-height: 40px; }
  .bk3d .bk-scene-legend { bottom: 76px; left: 14px; width: min(176px, calc(100% - 28px)); }
  .bk3d .bk-round-play { width: 38px; height: 38px; }
  .bk3d .bk-kpis { grid-template-columns: 1fr; }
  .bk3d .bk-kpi { min-height: 118px; }
  .bk3d .bk-kpi:has(.bk-cmr-track) { min-height: 168px; }
  .bk3d .bk-kpi-value strong { font-size: 21px; }
  .bk3d .bk-bridge-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .bk3d .bk-kpi-cta, .bk3d .bk-kpi-quote { justify-content: center; width: 100%; min-height: 44px; white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bk3d .bk-spinner { animation: none; }
  .bk3d .bk-tag,
  .bk3d .bk-toggle::after,
  .bk3d .bk-cmr-bar,
  .bk3d .bk-cmr-marker,
  .bk3d .bk-kpi-cta,
  .bk3d .bk-kpi-quote { transition: none; }
  .bk3d .bk-kpi-cta:hover,
  .bk3d .bk-kpi-quote:hover { transform: none; }
}

/* ---------- Arabic RTL layout & typography ---------- */
[dir="rtl"] .bk3d,
html[lang="ar"] .bk3d {
  --bk-font: "IBM Plex Sans Arabic", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bk-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "IBM Plex Sans Arabic", sans-serif;
}
[dir="rtl"] .bk3d .bk-engine small,
[dir="rtl"] .bk3d .bk-model-label,
[dir="rtl"] .bk3d .bk-detail-panel p.bk-detail-meta {
  font-family: var(--bk-font);
  font-variant-numeric: tabular-nums;
}
[dir="rtl"] .bk3d .bk-title,
html[lang="ar"] .bk3d .bk-title {
  letter-spacing: 0;
  line-height: 1.24;
}
[dir="rtl"] .bk3d .bk-hot,
html[lang="ar"] .bk3d .bk-hot {
  background-image: linear-gradient(270deg, #9a3412 0%, #c2410c 45%, #ea580c 100%);
}
[dir="rtl"] .bk3d .bk-cool,
html[lang="ar"] .bk3d .bk-cool {
  background-image: linear-gradient(270deg, #041f42 0%, #075985 52%, #0284c7 100%);
}
[dir="rtl"] .bk3d .bk-kicker,
[dir="rtl"] .bk3d .bk-engine,
[dir="rtl"] .bk3d .bk-model-label,
[dir="rtl"] .bk3d .bk-model-label b,
[dir="rtl"] .bk3d .bk-telemetry span,
[dir="rtl"] .bk3d .bk-legend-label,
[dir="rtl"] .bk3d .bk-strip-heading,
[dir="rtl"] .bk3d .bk-control-title,
[dir="rtl"] .bk3d .bk-eyebrow,
[dir="rtl"] .bk3d .bk-kpi-trust,
[dir="rtl"] .bk3d .bk-kpi-label,
[dir="rtl"] .bk3d .bk-badge,
[dir="rtl"] .bk3d .bk-bridge-title {
  letter-spacing: 0;
}
[dir="rtl"] .bk3d .bk-engine small {
  margin-left: 0;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0.75rem;
}
[dir="rtl"] .bk3d .bk-live-dot {
  margin-right: 0;
  margin-left: 7px;
}
[dir="rtl"] .bk3d .bk-view-tabs {
  left: auto;
  right: 22px;
}
[dir="rtl"] .bk3d .bk-scene-legend {
  left: auto;
  right: 22px;
}
[dir="rtl"] .bk3d .bk-layer-strip {
  min-height: 172px;
}
[dir="rtl"] .bk3d .bk-layer-list {
  min-height: 105px;
}
[dir="rtl"] .bk3d .bk-layer-item,
[dir="rtl"] .bk3d .bk-motion-btn {
  text-align: right;
}
[dir="rtl"] .bk3d .bk-temp-card {
  border-left: 1px solid #cbd5e1;
  border-right: 3px solid #0284c7;
}
[dir="rtl"] .bk3d input[type=range] {
  background-image: linear-gradient(to left, #0284c7 var(--fill, 50%), #cbd5e1 var(--fill, 50%));
}
[dir="rtl"] .bk3d input.bk-heat-range {
  background-image: linear-gradient(270deg, #0284c7, #eab308, #ea580c);
}
[dir="rtl"] .bk3d .bk-toggle::after {
  left: auto;
  right: 3px;
}
[dir="rtl"] .bk3d .bk-toggle.on::after {
  transform: translateX(-20px);
}
[dir="rtl"] .bk3d .bk-kpi-cta svg {
  transform: scaleX(-1);
}
[dir="rtl"] .bk3d .bk-telemetry strong,
[dir="rtl"] .bk3d .bk-telemetry em,
[dir="rtl"] .bk3d .bk-range-heading output,
[dir="rtl"] .bk3d .bk-range-limits span,
[dir="rtl"] .bk3d .bk-temp,
[dir="rtl"] .bk3d .bk-temp-card strong,
[dir="rtl"] .bk3d .bk-kpi-value strong,
[dir="rtl"] .bk3d .bk-kpi-value em,
[dir="rtl"] .bk3d #bk3d-gasTagValue,
[dir="rtl"] .bk3d .bk-endpoints {
  direction: ltr;
  unicode-bidi: isolate;
}
@media (max-width: 820px) {
  [dir="rtl"] .bk3d .bk-control-section + .bk-control-section {
    padding-left: 0;
    padding-right: 18px;
    border-left: 0;
    border-right: 1px solid var(--bk-line-soft);
  }
  [dir="rtl"] .bk3d .bk-controls .bk-control-section--toggles {
    padding-right: 0;
    border-right: 0;
  }
  [dir="rtl"] .bk3d .bk-controls .bk-control-section--toggles .bk-toggle-row {
    margin-right: 0;
    margin-left: 24px;
  }
}
@media (max-width: 520px) {
  [dir="rtl"] .bk3d .bk-layer-strip {
    min-height: 304px;
  }
  [dir="rtl"] .bk3d .bk-layer-list {
    min-height: 250px;
  }
  [dir="rtl"] .bk3d .bk-detail-panel {
    min-height: 232px;
  }
  [dir="rtl"] .bk3d .bk-engine small {
    margin-right: 0;
    padding-right: calc(7px + 0.65rem);
  }
  [dir="rtl"] .bk3d .bk-view-tabs {
    left: auto;
    right: 14px;
  }
  [dir="rtl"] .bk3d .bk-scene-legend {
    left: auto;
    right: 14px;
  }
  [dir="rtl"] .bk3d .bk-control-section + .bk-control-section {
    padding-right: 0;
    border-right: 0;
  }
  [dir="rtl"] .bk3d .bk-controls .bk-control-section--toggles .bk-toggle-row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ---------- Enriched 3D Viewport Controls (Light-Studio CAD Parity) ---------- */
.bk3d .bk-stage canvas { cursor: grab; }
.bk3d .bk-stage canvas:active { cursor: grabbing; }
.bk3d .bk-stage.bk-stage--engaged canvas,
.bk3d .bk-stage:fullscreen canvas { touch-action: none; }
.bk3d .bk-stage.bk-pan-mode canvas { cursor: move !important; touch-action: none !important; }
.bk3d .bk-stage-top.bk-stage-top--enhanced {
  top: 16px;
  left: 20px;
  right: 20px;
  z-index: 3;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.bk3d .bk-stage-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 12px;
  width: 100%;
  pointer-events: none;
}
.bk3d .bk-stage-head-row .bk-model-label {
  flex: 1 1 210px;
  min-width: 0;
}
.bk3d .bk-stage-actions {
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
  gap: 5px;
  pointer-events: auto;
}
.bk3d .bk-stage-sub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  pointer-events: none;
}
.bk3d .bk-stage-sub-row .bk-view-tabs {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  pointer-events: auto;
  flex-wrap: wrap;
  max-width: 100%;
}
.bk3d .bk-icon-button { width: 32px; height: 32px; }
.bk3d .bk-icon-button svg { width: 15px; height: 15px; }
.bk3d .bk-icon-button.active { border-color: #0284c7; background: #0284c7; color: #ffffff; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28); }
.bk3d .bk-tool-btn { width: auto; padding: 0 8px; gap: 4px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.bk3d .bk-tool-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.bk3d .bk-camera-hint {
  bottom: 6px;
  max-width: calc(100% - 44px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.bk3d .bk-scene-bottom { bottom: 28px; }
.bk3d .bk-scene-legend { bottom: 96px; }
.bk3d .bk-bottom-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.bk3d .bk-camera-btn { padding: 8px 10px; font-size: 10px; }
.bk3d .bk-camera-btn.active { border-color: #0284c7; background: #0284c7; color: #ffffff; }
.bk3d .bk-axis-triad {
  position: absolute;
  bottom: 84px;
  right: 22px;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  user-select: none;
  direction: ltr;
}
.bk3d .bk-axis-triad .bk-triad-hit { cursor: pointer; }
.bk3d .bk-axis-triad .bk-triad-hit:hover circle { filter: brightness(0.92); }
.bk3d .bk-panned-chip {
  position: absolute;
  top: 132px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #0369a1;
  border-radius: 6px;
  background: #0284c7;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.26);
  pointer-events: auto;
}
.bk3d .bk-stage-sub-row .bk-panned-chip {
  position: static;
  top: auto;
  left: auto;
  right: auto;
}
.bk3d .bk-panned-chip:hover { background: #0369a1; color: #ffffff; border-color: #075985; }
[dir="rtl"] .bk3d .bk-axis-triad { right: auto; left: 22px; }
[dir="rtl"] .bk3d .bk-panned-chip { left: auto; right: 22px; }
[dir="rtl"] .bk3d .bk-stage-sub-row .bk-panned-chip,
[dir="rtl"] .bk3d .bk-stage-sub-row .bk-view-tabs { left: auto; right: auto; }
@media (max-width: 1240px) {
  .bk3d .bk-tool-btn span { display: none; }
  .bk3d .bk-tool-btn { width: 32px; padding: 0; }
}
@media (max-width: 1100px) {
  .bk3d .bk-scene-bottom { bottom: 16px; }
  .bk3d .bk-axis-triad { bottom: 72px; }
  .bk3d .bk-scene-legend { bottom: 84px; }
}
@media (max-width: 680px) {
  .bk3d .bk-stage-actions { max-width: 100%; gap: 5px; }
  .bk3d .bk-icon-button,
  .bk3d .bk-tool-btn { min-width: 36px; min-height: 36px; width: 36px; height: 36px; }
  .bk3d .bk-icon-button svg { width: 15px; height: 15px; }
  .bk3d .bk-axis-triad { display: none; }
  .bk3d .bk-cam-preset { min-height: 36px; padding: 7px 9px; font-size: 10px; }
  .bk3d .bk-panned-chip { min-height: 36px; font-size: 10.5px; padding: 5px 10px; }
}
@media (max-width: 520px) {
  .bk3d .bk-stage-top.bk-stage-top--enhanced { top: 12px; left: 12px; right: 12px; gap: 6px; }
  .bk3d .bk-stage-head-row { gap: 6px; }
  .bk3d .bk-stage-head-row .bk-model-label { flex: 1 1 100%; }
  .bk3d .bk-stage-head-row .bk-stage-actions { justify-content: flex-start; gap: 4px; }
  .bk3d .bk-icon-button,
  .bk3d .bk-tool-btn { min-width: 36px; min-height: 36px; width: 36px; height: 36px; }
  .bk3d .bk-stage-sub-row { gap: 6px; }
  .bk3d .bk-stage-sub-row .bk-view-tabs button { padding: 6px 9px; min-height: 36px; font-size: 10.5px; }
  .bk3d .bk-scene-legend { bottom: 76px; }
}
