.osb-fw-host {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1009;
}

.osb-fw-window {
  position: absolute;
  min-width: 320px;
  min-height: 160px;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(226, 232, 240, 0.9);
  pointer-events: auto;
}

.osb-fw-window.is-focused {
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.28);
}

.osb-fw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 5px 10px;
  color: #fff;
  background: linear-gradient(180deg, #fb8c00, #f97316);
  cursor: move;
  user-select: none;
}

.osb-fw-title-wrap {
  min-width: 0;
}

.osb-fw-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
}

.osb-fw-subtitle {
  display: none !important;
}

.osb-fw-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.osb-fw-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  background: var(--card-bg, #ffffff);
  color: #0b2e59;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-button-family, system-ui);
  font-size: var(--font-button-size, 1rem);
  font-weight: var(--font-button-weight, 400);
}

.osb-fw-btn:hover {
  background: var(--brand-blue-soft, #e3f2ff);
}

body.layout-template-movia-sidebar .osb-fw-actions {
  gap: 4px;
}

body.layout-template-movia-sidebar .osb-fw-btn {
  width: 28px;
  height: 28px;
  border-radius: 0 !important;
  font-size: 0.82rem;
}

.osb-fw-body {
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding: 12px;
}
