/**
 * Native recording bar — synced from projects/reactable/bar/index.work
 * Loaded in BarPanel WKWebView at /bar. Keep in lockstep with the .work client.
 */
.rt-bar-window {
  box-shadow: none !important;
  background: transparent;
}

.rt-bar-window .shell {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 48px;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.rt-bar-window .bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  height: 48px;
  padding: 0 8px 0 4px;
  background: rgba(22, 22, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.rt-bar-window .ic {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.rt-bar-window .ic.sm { width: 14px; height: 14px; }

.rt-bar-window .drag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 32px;
  border-radius: 6px;
  cursor: grab;
  color: #666;
  touch-action: none;
}

.rt-bar-window .drag:hover { color: #aaa; background: rgba(255, 255, 255, 0.05); }
.rt-bar-window .drag:active { cursor: grabbing; color: #ccc; }

.rt-bar-window .sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2px;
  flex-shrink: 0;
}

.rt-bar-window .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ccc;
  cursor: pointer;
  font: 12px/1 ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rt-bar-window .bar:active { cursor: grabbing; }
.rt-bar-window .btn:hover { background: rgba(255, 255, 255, 0.12); color: #eee; }
.rt-bar-window .btn.on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.rt-bar-window .btn.mode { min-width: 76px; justify-content: flex-start; gap: 6px; padding: 0 11px; }
.rt-bar-window .btn.mode.collapsed { opacity: 0.55; }
.rt-bar-window .btn.picker { max-width: 140px; min-width: 0; padding: 0 8px; gap: 4px; }
.rt-bar-window .btn.picker .lbl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100px;
  font-size: 11px;
  color: #bbb;
}
.rt-bar-window .btn.rec { background: #e11; color: #fff; min-width: 36px; }
.rt-bar-window .btn.rec.on { background: #b00; }
.rt-bar-window .btn.rec.paused { background: #c60; }
.rt-bar-window .btn.icon { width: 32px; padding: 0; }
.rt-bar-window .btn.close { width: 28px; color: #888; margin-left: 2px; }
.rt-bar-window .btn.close:hover { color: #fff; background: rgba(255, 80, 80, 0.25); }

.rt-bar-window .timer {
  font: 11px ui-monospace, monospace;
  color: #888;
  min-width: 42px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}
