/* Generic chrome shared by the sidebar widgets: the "Widgets / Customize" toolbar, the
   show/hide checkbox menu, and the base widget panel padding. Individual widgets (calendar,
   upcoming, pomodoro, notes) have their own stylesheet. */

.widgets-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.widget-customize { position: relative; }
.widget-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 180px;
  z-index: 10;
}
.widget-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 4px;
  cursor: pointer;
  white-space: nowrap;
}
.widget-menu input[type="checkbox"] { accent-color: var(--accent); cursor: pointer; }
.widget-panel { padding: 16px; }
.widget-panel h2 { font-size: 0.9rem; }
